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
and the argument --local-rank does not even appear in Uni-Core. I am using PyTorch 2.0, and the log also warns me that:
If your script expects `--local-rank` argument to be set, please change it to read from `os.environ['LOCAL_RANK']` instead. See https://pytorch.org/docs/stable/distributed.html#launch-utility for further instructions
It confuses me whether it means Uni-Core does not support PyTorch 2.0 (which seems not likely), or is there another problem?
The text was updated successfully, but these errors were encountered:
open the file called options.py (probably dir : ~/miniconda3/envs/unicore/lib/python3.10/site-packages/unicore/options.py)
replace the '--local_rank' to '--local-rank' :
group.add_argument('--device-id', '--local-rank', default=0, type=int,
help='which GPU to use (usually configured automatically)')
I tried to run the fine-tuning script provided in Uni-Mol (pasted here for easy reference).
However, I encountered the following error:
and the argument --local-rank does not even appear in Uni-Core. I am using PyTorch 2.0, and the log also warns me that:
It confuses me whether it means Uni-Core does not support PyTorch 2.0 (which seems not likely), or is there another problem?
The text was updated successfully, but these errors were encountered: