Query for mixed precision training #27
-
Hello, when I try to run the files in scripts, I get |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @BenjaminKKK, as I mentioned in this recent issue #26, these two HF arguments/parameters ( So, in case you don't have such resources, just delete these two arguments to train models with standard I'll update the |
Beta Was this translation helpful? Give feedback.
Hi @BenjaminKKK, as I mentioned in this recent issue #26, these two HF arguments/parameters (
--fp16
,--fp16_full_eval
) are only applicable (working) when there are available (and correctly configured) NVIDIA GPUs in a machine station (server or cluster) and alsotorch
is correctly configured to use these compute resources.So, in case you don't have such resources, just delete these two arguments to train models with standard
fp32
precision. In case you have such resources, make sure to correctly install the NVIDIA CUDA drivers, and also correctly installtorch
(consider this page to figure out the appropriate steps: https://pytorch.org/get-started/locally/)I'll update the
README.md
to …