litdata icon indicating copy to clipboard operation
litdata copied to clipboard

Add support for torch.uint16 data type

Open bhimrazy opened this issue 7 months ago • 2 comments

What does this PR do ?

Fixes #596 Introduce support for the torch.uint16 data type in the _TORCH_DTYPES_MAPPING.

test already seems to be present under test_tensor_serializer

bhimrazy avatar May 19 '25 18:05 bhimrazy

In the docs it does seem to say, limited support though: image

cc: @robmarkcole @tchaton

bhimrazy avatar May 19 '25 18:05 bhimrazy

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 79%. Comparing base (32950dd) to head (ddf1ba7). Report is 1 commits behind head on main.

Additional details and impacted files
@@         Coverage Diff         @@
##           main   #597   +/-   ##
===================================
  Coverage    79%    79%           
===================================
  Files        41     41           
  Lines      6136   6136           
===================================
  Hits       4836   4836           
  Misses     1300   1300           
:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar May 19 '25 18:05 codecov[bot]