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

"@verify_operation" lead to pretrain of multi-nodes hang #3364

Open
2 of 4 tasks
sankexin opened this issue Jan 24, 2025 · 0 comments
Open
2 of 4 tasks

"@verify_operation" lead to pretrain of multi-nodes hang #3364

sankexin opened this issue Jan 24, 2025 · 0 comments

Comments

@sankexin
Copy link

System Info

python3.10
torch 2.3.0
accelerate 1.3.0

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

/usr/local/lib/python3.10/site-packages/accelerate/utils/operations.py:

@verify_operation
def gather(tensor):

when I use "#@verify_operation" don`t hang,and the result of train is correct !
so, there is some errors in verify_operation.

Expected behavior

don`t hang

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