dolly icon indicating copy to clipboard operation
dolly copied to clipboard

ValueError: Your setup doesn't support bf16/gpu.

Open yinwangsong opened this issue 2 years ago • 1 comments

I run the notebook on 8 V100 GPUs, but an error occured:

  File "<string>", line 105, in __init__
  File "/databricks/python/lib/python3.9/site-packages/transformers/training_args.py", line 1098, in __post_init__
    raise ValueError(
ValueError: Your setup doesn't support bf16/gpu. You need torch>=1.10, using Ampere GPU with cuda>=11.0

I changed "bf16" to "fp16" in ds_z3_bf16_config.json, but nothing happen...

yinwangsong avatar Mar 26 '23 16:03 yinwangsong

You might need to also change these settings: https://github.com/databrickslabs/dolly/blob/master/training/trainer.py#L182

matthayes avatar Mar 26 '23 17:03 matthayes

Thanks, this works.

yinwangsong avatar Mar 27 '23 03:03 yinwangsong