c0de128 719ccfd773 Add unit tests for get_fp8_min_max() helper function
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>
2025-12-24 13:20:26 -06:00
..