This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
feat: Add 'state_dict' method to create state dictionary #78
Annotations
6 errors
build (3.10, macOS-latest):
tests/sims/test_state_dict.py#L79
TestStateDict.test__to_safetensors
assert b'\xd0\x00\x00\x00\x00\x00\x00\x00{"__metadata__":{"created_time":"2024-01-11T19:00:42.811464","software_version":"0.5.1.dev63"},"var1":{"dtype":"F32","shape":[],"data_offsets":[0,4]},"var2":{"dtype":"F32","shape":[],"data_offsets":[4,8]}} \x00\x00\x80?\x00\x00\x00@' == b'\xd0\x00\x00\x00\x00\x00\x00\x00{"__metadata__":{"software_version":"0.5.1.dev63","created_time":"2024-01-11T19:00:42.811464"},"var1":{"dtype":"F32","shape":[],"data_offsets":[0,4]},"var2":{"dtype":"F32","shape":[],"data_offsets":[4,8]}} \x00\x00\x80?\x00\x00\x00@'
At index 26 diff: b'c' != b's'
Full diff:
(
- b'\xd0\x00\x00\x00\x00\x00\x00\x00{"__metadata__":{"software_version":"0.5.1.d'
? ^^^^^^ ^ ----- ^^^ ^^
+ b'\xd0\x00\x00\x00\x00\x00\x00\x00{"__metadata__":{"created_time":"2024-01-11T'
? ^ ++++ ^^^ + ^^^^ ^^^^
- b'ev63","created_time":"2024-01-11T19:00:42.811464"},"var1":{"dtype":"F32","sh'
+ b'19:00:42.811464","software_version":"0.5.1.dev63"},"var1":{"dtype":"F32","sh'
b'ape":[],"data_offsets":[0,4]},"var2":{"dtype":"F32","shape":[],"data_offsets'
b'":[4,8]}} \x00\x00\x80?\x00\x00\x00@',
)
|
build (3.10, macOS-latest)
Process completed with exit code 1.
|
build (3.9, macOS-latest)
Process completed with exit code 1.
|
build (3.9, ubuntu-latest)
Process completed with exit code 1.
|
build (3.11, windows-latest)
Process completed with exit code 1.
|
build (3.9, windows-latest)
Process completed with exit code 1.
|