Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions python/test/unit/language/test_conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,9 @@ def test_typeconvert_downcast_clamping(src_dtype, dst_dtype, mode, device, round
if dst_dtype in ('float8e5', 'float8e4nv') and rounding == 'rtne' and torch.cuda.get_device_capability(0) < (9, 0):
pytest.skip(f"{dst_dtype} downcast with RTNE rounding tests only supported on NVGPU with compute capability 9.0+")

if mode in ('inf', '-inf') and is_hip_gfx12():
pytest.skip(f"clamping from `{mode}` is not supported on AMDGPU GFX12")

converter = {
tl.float8e4nv: torch.float8_e4m3fn,
tl.float8e5: torch.float8_e5m2,
Expand Down
Loading
Loading