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

Running TRL example doesn't work when using deepspeed on accelerate #3354

Open
2 of 4 tasks
Superskyyy opened this issue Jan 20, 2025 · 0 comments
Open
2 of 4 tasks

Comments

@Superskyyy
Copy link

Superskyyy commented Jan 20, 2025

System Info

Just linking the issue back to accelerate so maybe someone can help to resolve it instead of at the TRL repo. huggingface/trl#2377 Currently we are stuck at a low version because of this bug.

error: initialize your accelerator via accelerator = Accelerator()

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • 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

Please find in the linked issue

Expected behavior

Deepspeed can run properly on the example with accelerate.

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