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

BUG FIX: fp16 "TypeError: unflatten_dense_tensors(): argument 'tensors' (position 2) must be tuple of Tensors, not generator" #129

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

NoahSchiro
Copy link
Contributor

If you try to use the fp16 flag to train your model, you will likely see the above message. This pull request fixes that issue. I believe this repository is not being updated / maintained, so this fix is here for anyone who runs into this issue.

The fix changes only a single line of code so it's quite easy to implement yourself.

@NoahSchiro NoahSchiro mentioned this pull request Mar 11, 2024
@unixpickle unixpickle merged commit 1bc7bbb into openai:main Mar 13, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants