mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-03-18 11:07:11 +08:00
Add test_fp8_min_max_helper.py with mocked unit tests that verify: - Standard FP8 dtype uses PyTorch's finfo values - fnuz dtype on fnuz platform (MI300) returns 224.0, not 240.0 - Standard dtype on fnuz platform uses finfo values - fnuz dtype on non-fnuz platform uses finfo values These tests use mocking to verify the logic without requiring actual ROCm hardware. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: c0de128 <kevin.mckay@outlook.com>