Skip to content

Conversation

@austin362667
Copy link
Contributor

@austin362667 austin362667 commented Jan 16, 2025

Summary

  1. Add a general version_dispatch utility function that selects constructors and its args based on version comparisons.
  2. Update LlamaRotaryEmbedding.

Closes Issue #525 and PR #523 (Thanks to @hebiao064's nice works).

Testing Done

  • Hardware Type:
  • run make test to ensure correctness
  • run make checkstyle to ensure code style
  • run make test-convergence to ensure convergence

Signed-off-by: Austin Liu <[email protected]>
Signed-off-by: Austin Liu <[email protected]>
@austin362667
Copy link
Contributor Author

austin362667 commented Jan 16, 2025

duplicate to #523

@austin362667 austin362667 changed the title Apply LlamaConfig(head_dim) Fix HF transformers Breaking Changes Jan 19, 2025
@austin362667 austin362667 reopened this Jan 19, 2025
Copy link
Contributor

@hebiao064 hebiao064 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for picking it up

@austin362667 austin362667 merged commit a8fa3bb into main Jan 20, 2025
4 of 5 checks passed
@austin362667 austin362667 deleted the austin362667/fix_llama_rope branch January 20, 2025 02:44
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

Successfully merging this pull request may close these issues.

3 participants