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

TypeError: FalconRotaryEmbedding.forward() missing 1 required positional argument: position_ids #72

Open
luchangli03 opened this issue Apr 11, 2024 · 0 comments

Comments

@luchangli03
Copy link

luchangli03 commented Apr 11, 2024

when using transformers verison 4.35.2, I got this error, and similar error for quanting llama:
it seems you are using version <=4.33.3, can you support newer transformers version?

OmniQuant-main/models/int_falcon_layer.py", line 148, in forward
query_layer, key_layer = self.maybe_rotary(query_layer, key_layer, past_kv_length)
File "lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
TypeError: FalconRotaryEmbedding.forward() missing 1 required positional argument: 'position_ids'

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