Skip to content

Commit

Permalink
lint for meta unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
wkcn committed Jun 25, 2023
1 parent 9eec4ff commit a750b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/common/tensor/test_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_meta_pickle(self):
"""Test pickle and unpickle of ScalingMeta."""
meta = ScalingMeta(Dtypes.kfloat8_e4m3)
value = torch.randn((3, 4), device='cuda')
fp8_value = value.cast(meta.qtype, meta=meta)
value.cast(meta.qtype, meta=meta)

meta2 = pickle.loads(pickle.dumps(meta))

Expand Down

0 comments on commit a750b62

Please sign in to comment.