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

[QUESTION]UnboundLocalError:local variable ‘output tensor’ referenced before assignmnet #1311

Open
zmtttt opened this issue Dec 5, 2024 · 0 comments

Comments

@zmtttt
Copy link

zmtttt commented Dec 5, 2024

I pretrain Llama3-8B,but met the problem:
(1)the configuration : vp2, pp 8, 8gpus, meeting the erros:
deallocate_output_tensor(output_tensor, config.deallocate_pipeline_outputs),
UnboundLocalError:local variable ‘output tensor’ referenced before assignmnet

(2)but when I change the pp from 8 to 4, it can work well.

why? have someone met the same problem?

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