Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not train with a single GPU #39

Open
CHAOS-Yang opened this issue Oct 14, 2023 · 1 comment
Open

Can not train with a single GPU #39

CHAOS-Yang opened this issue Oct 14, 2023 · 1 comment

Comments

@CHAOS-Yang
Copy link

I run the code with

CUDA_VISIBLE_DEVICES=0 python -m classification.run_wrapper --output_dir ./classification/checkpoints --task_name sst-2 --target_epsilon 1 --model_name_or_path bert-base-uncased --data_dir ./classification/data

and get the result:

src/trainer.py", line 254, in train raise ValueError("Multi-gpu and distributed training is currently not supported.") ValueError: Multi-gpu and distributed training is currently not supported.

I try all the args and can not disable the Mutil-GPU training?

@CHAOS-Yang
Copy link
Author

I find the problem that should keep transformers==4.20.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant