Skip to content

Conversation

@Kingsleyandher
Copy link
Contributor

Summary

This pull request introduces support for the Hunyuanv1 dense and moe model within the Liger-Kernel framework.
HunyuanV1 Model PR

Testing Done

1763112849386

And a simple test:
image

  • Hardware Type: H20
  • [ x ] run make test to ensure correctness
  • [ x ] run make checkstyle to ensure code style
  • [ x ] run make test-convergence to ensure convergence

@kashif
Copy link
Contributor

kashif commented Nov 14, 2025

@Kingsleyandher could you kindly update the hunyuan_v1.py to use the output types that also return the metric? See the other models for that refactoring

@Kingsleyandher
Copy link
Contributor Author

@Kingsleyandher could you kindly update the hunyuan_v1.py to use the output types that also return the metric? See the other models for that refactoring

Thank you. It's done
image

@Kingsleyandher
Copy link
Contributor Author

@Kingsleyandher could you kindly update the hunyuan_v1.py to use the output types that also return the metric? See the other models for that refactoring

Thank you. It's done image

image

@Kingsleyandher
Copy link
Contributor Author

@kashif Please review it, thanks

@Kingsleyandher
Copy link
Contributor Author

@shimizust Hi, this PR's workflow is pending maintainer approval. Could someone please approve running the workflows? Thanks!

@shimizust shimizust self-assigned this Nov 21, 2025
Copy link
Collaborator

@shimizust shimizust left a comment

Choose a reason for hiding this comment

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

verified hunyuan tests pass, lgtm!

@shimizust shimizust merged commit 98d9e19 into linkedin:main Nov 21, 2025
4 of 7 checks passed
Ginray pushed a commit to Ginray/Liger-Kernel that referenced this pull request Nov 24, 2025
## Summary
<!--- This is a required section; please describe the main purpose of
this proposed code change. --->
This pull request introduces support for the Hunyuanv1 dense and moe
model within the Liger-Kernel framework.
[HunyuanV1 Model
PR](huggingface/transformers#39606)
<!---
## Details
This is an optional section; is there anything specific that reviewers
should be aware of?
--->

## Testing Done
<!--- This is a required section; please describe how this change was
tested. --->
<img width="3482" height="595" alt="1763112849386"
src="https://github.com/user-attachments/assets/eaab7b15-7737-4285-9f23-1d01cc09ee91"
/>

And a simple test:
<img width="2748" height="1051" alt="image"
src="https://github.com/user-attachments/assets/fa6155f3-9456-4054-a874-41e1c25e4b47"
/>


<!-- 
Replace BLANK with your device type. For example, A100-80G-PCIe

Complete the following tasks before sending your PR, and replace `[ ]`
with
`[x]` to indicate you have done them. 
-->

  - Hardware Type: H20
- [ x ] run `make test` to ensure correctness
- [ x ] run `make checkstyle` to ensure code style
- [ x ] run `make test-convergence` to ensure convergence

Co-authored-by: aureli <[email protected]>
Co-authored-by: Steven Shimizu <[email protected]>
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