InternLM / InternLM/xtuner

TypeError: LlamaRotaryEmbedding.forward() missing 1 required positional argument: 'position_ids'

Open
#491 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5.2k
Forks
448
Avg merge
3d 15h
Merged PRs (30d)
26

Description

This is a known issue which we are currently working to resolve.

Before that, please downgrade `transformers` by `pip install 'transformers<4.38'` if you meet this error.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the error with the reported setup and compare it with the documented workaround, `pip install 'transformers<4.38'`. The issue mentions no source file or test; done means the `position_ids` TypeError no longer occurs without requiring that downgrade.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.