You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
My own task or dataset (give details below)
Reproduction
How to set PYTORCH_ENABLE_MPS_FALLBACK environment variable when running a script with accelerate. The accelerate is not picking up the PYTORCH_ENABLE_MPS_FALLBACK environment variable when running a script, no matter where this variable is set. I tried to set this variable in the script, in the command line and in the ./zshenv, and still PyTorch is complaining it does not see this variable.
Expected behavior
expected the PYTORCH_ENABLE_MPS_FALLBACK variable be visible in the sub-process/thread.
The text was updated successfully, but these errors were encountered:
System Info
Information
Tasks
no_trainer
script in theexamples
folder of thetransformers
repo (such asrun_no_trainer_glue.py
)Reproduction
How to set
PYTORCH_ENABLE_MPS_FALLBACK
environment variable when running a script with accelerate. The accelerate is not picking up the PYTORCH_ENABLE_MPS_FALLBACK environment variable when running a script, no matter where this variable is set. I tried to set this variable in the script, in the command line and in the./zshenv
, and still PyTorch is complaining it does not see this variable.Expected behavior
expected the PYTORCH_ENABLE_MPS_FALLBACK variable be visible in the sub-process/thread.
The text was updated successfully, but these errors were encountered: