Skip to content

Conversation

@divakar-amd
Copy link
Contributor

@divakar-amd divakar-amd commented Dec 1, 2025

  • This PR resolves the following error for llama4_eagle:
    • AttributeError: 'EagleLlama4ForCausalLM' object has no attribute 'lm_head'
  • Tested on H100 and mi300
  • Output log: attached
  • Test cmd:

python examples/offline_inference/spec_decode.py --num_spec_tokens 7 --num_prompts 1 --method eagle --model_dir meta-llama/Llama-4-Scout-17B-16E-Instruct --eagle_dir morgendave/EAGLE-Llama-4-Scout-17B-16E-Instruct --tp 4 2>&1 | tee logs_specdecode_llama4_fixed.txt

@mergify mergify bot added llama Related to Llama models speculative-decoding labels Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

llama Related to Llama models speculative-decoding

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant