-
Notifications
You must be signed in to change notification settings - Fork 86
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
symbolic values: error in infer_tensor_properties, through reshape or numel #1257
Comments
mark here that the old assert is gone with #1260 I'm hitting a new assert here lightning-thunder/thunder/core/jit_ext.py Line 1376 in 9943778
I think it's coming from using numel in code logic.
One way to resolve is to add static constraints, which we should do. Meanwhile, I'm unsure why we needed that numel call in the first place, I'll try to remove it in #1451 |
This script seems to be functional, but we don't have a cache hit during second iteration, which is a bit odd. Looks like there's some input with dtype change during second iteration. But I did confirm that the same behavior happens even for static input shapes. So that's just something the model does I guess?! But cache hit did happen afterwards. 🥳 |
gives
|
I think we are good with closing this issue. Will let @t-vi to do that. |
Running (with lates litgpt to get Llama 3.2, but you can also use llama2-like)
gives
@jjsjann123
The text was updated successfully, but these errors were encountered: