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.

Choose a reason for hiding this comment

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

Done

@quic-hemagnih quic-hemagnih marked this pull request as draft October 10, 2025 17:12
@qcdipankar qcdipankar marked this pull request as ready for review October 14, 2025 06:07
@qcdipankar qcdipankar force-pushed the add_olmo2 branch 3 times, most recently from b735f24 to 553f1b8 Compare October 14, 2025 20:01
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.

6 participants