-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Continued pretraining for llama 3.2 not working #1530
Comments
Would you be able to print the Unsloth info out (the Pytorch version, etc) |
Hi, sure. First I tried with the latest version:
and then I've tried to downgrade to:
Same error occurred for both. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm trying to fine-tune a llama 3.2 3B model for a new language.
I followed this notebook: https://colab.research.google.com/drive/1tEd1FrOXWMnCU9UIvdYhs61tkxdMuKZu?usp=sharing locally.
The only thing I've changed is the model name, so instead of "unsloth/mistral-7b-v0.3" I set it to "unsloth/Llama-3.2-3B-bnb-4bit".
When trainer_stats = trainer.train() is called, a strange error occurs:
Exception has occurred: Unsupported
generator
KeyError: <code object sort_logit_avg at 0x773e9003e230, file "./llama-fine-tune/.venv/lib/python3.12/site-packages/cut_cross_entropy/cce.py", line 30>
During handling of the above exception, another exception occurred:
File "./llama-fine-tune/main.py", line 214, in
trainer_stats = trainer.train()
^^^^^^^^^^^^^^^
torch._dynamo.exc.Unsupported: generator
Thanks in advance for any help.
The text was updated successfully, but these errors were encountered: