Repository navigation
[Triton/Gluon] Fix HSTU test dtype failures - #6493
Conversation
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: |
There was a problem hiding this comment.
🟢 Approval recommended
The focused test correction is valid and introduces no unresolved issues.
0 open findings
What changed in this PR
Updates the HSTU reference test to create expected padding with the input tensor’s dtype and device.
Changes:
- Replaces default
torch.zerosallocation withoriginal.new_zeros.
| File | Description |
|---|---|
op_tests/triton_tests/attention/test_hstu_attention_ref.py |
Preserves dtype and device when constructing expected output. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
No description provided.