-
Notifications
You must be signed in to change notification settings - Fork 33
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
Generation fails with exceeding context length #276
Comments
Thanks for the report @TomasTomecek! If this is triggered specifically in a RHEL AI environment, then I'd encourage you to pursue specific Red Hat channels for getting the support you need. However, there are situations where you could hit and reproduce this directly with InstructLab, so let's walk through out how to diagnose that. First, what model is in use here? What pipeline? Are you sure it's pointing to the correct taxonomy? You're looking for the Secondly, since you passed the |
@bbrowning thank you for guiding me, Ben!
In the config, I only switched from mixtral to granite but will try merlinite you suggest as well.
Since this is the workshop for RHELAI, there were some preloaded taxonomies - I disabled them all and only left mine. The logs confirm this:
Seems the model actually be a problem because there is no tokenizer for it:
I can see a ton of 400s in the logs. The end of the log is pretty confusing:
followed by the exception from my original post:
|
With merlinite, I'm in a similar spot:
I tried setting the memory utilization as the error suggests but it didn't help. Neither lowering the context length. I'd appreciate any help. |
Ok, so at this point I think we should redirect this to specific Red Hat support channels, as what it looks like is you're hitting issues specifically with how you're using RHEL AI that won't be present in InstructLab directly. I'll reach out to you via those channels. |
The data generation fails with exceeded model's context length. I'm assuming there is something wrong with my input data but it's hard to tell because the error message doesn't give me any pointers.
I am using this knowledge taxonomy: https://github.com/fedora-copr/logdetective-taxonomy/pull/1/files#diff-72023c16fbdf204c9d0cf1d3710f1cd4d3626e02786a23162ce649e20a8adf51
Expected output
Print out the entry from my input which would help me update it.
ilab 0.18.4, RHELAI 1.1, demo.redhat.com environment
The text was updated successfully, but these errors were encountered: