We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
neuronx-distributed/examples/inference/llama2/neuron_modeling_llama.py
Line 36 in a80091d
The llama inference example needs to be updated because transformers==4.36 now needs an additional argument layer_idx in the LlamaDecoderLayer class. https://github.com/huggingface/transformers/blob/v4.37.0/src/transformers/models/llama/modeling_llama.py#L754
layer_idx
The text was updated successfully, but these errors were encountered:
Hi @sol0invictus,
Thank you for the code reference! We reproduced the problem here and are intending to release a fix for this example in the upcoming release
As an immediate solution, you can either downgrade the transformers version or update the code to handle the layer_idx argument.
transformers
Sorry, something went wrong.
No branches or pull requests
neuronx-distributed/examples/inference/llama2/neuron_modeling_llama.py
Line 36 in a80091d
The llama inference example needs to be updated because transformers==4.36 now needs an additional argument
layer_idx
in the LlamaDecoderLayer class.https://github.com/huggingface/transformers/blob/v4.37.0/src/transformers/models/llama/modeling_llama.py#L754
The text was updated successfully, but these errors were encountered: