You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it looks linke not support data_type params if you delet this params it works。
i met the same problem is decode “Traceback (most recent call last):
File "/code/sglang_v6/test_nbf16_new.py", line 40, in
decoded_array = codec1.decode(encoded_array, data_type='f4')
ValueError: Unknown output data type
”
Thank you @imbalu007 for raising this point. We had a typo in our documentation, and with the new patch release of nvCOMP (4.1.1) we also updated this.
2-byte floats should be referred to as <f2, i.e., 2-byte little-endian float using the Python array-protocol type strings. Note, that indicating endianness is also required. With this change, your example changes to:
The following snippet fails in encoding step:
Fails in encode step with error:
ValueError: Unknown output data type
nvcomp version: 4.1.0
nvcomp cuda version: 12050
OS: Ubuntu
The text was updated successfully, but these errors were encountered: