Skip to content

Conversation

vbaddi
Copy link
Contributor

@vbaddi vbaddi commented Jul 9, 2025

  • Add support for Olmo2 CausalLM Model.
  • Verified on "allenai/OLMo-2-0425-1B", PL32, CL128

image

@vbaddi vbaddi self-assigned this Jul 9, 2025
@vbaddi vbaddi added the enhancement New feature or request label Jul 9, 2025
@vbaddi vbaddi added the 1.21.0 label Jul 9, 2025
@vbaddi
Copy link
Contributor Author

vbaddi commented Sep 5, 2025

Perplexity is verified. Thanks @tchawada
Good to merge now: @quic-hemagnih

image

Copy link
Contributor

@quic-hemagnih quic-hemagnih left a comment

Choose a reason for hiding this comment

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

Will merge once CI passes

Copy link
Contributor

@quic-rishinr quic-rishinr left a comment

Choose a reason for hiding this comment

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

LGTM. Do add the model under validated model list.

@vbaddi vbaddi force-pushed the add_olmo2 branch 3 times, most recently from dbf736c to 82de9ac Compare September 29, 2025 09:10
)
assert (pytorch_hf_tokens == pytorch_kv_tokens).all(), (
"Tokens don't match for HF PyTorch model output and KV PyTorch model output"
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove this check also, as you can see, we are checking the same in the if condition above for non-swiftkv models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.21.0 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants