Skip to content

feat: Add 'state_dict' method to create state dictionary #74

feat: Add 'state_dict' method to create state dictionary

feat: Add 'state_dict' method to create state dictionary #74

Triggered via pull request January 11, 2024 18:39
Status Cancelled
Total duration 3m 43s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

15 errors
build (3.10, macOS-latest): tests/sims/test_state_dict.py#L40
TestStateDict.test_setitem TypeError: "'StateDict' cannot be modified after creation." object (type: <class 'str'>) must be callable
build (3.10, macOS-latest): tests/sims/test_state_dict.py#L44
TestStateDict.test_delitem TypeError: "'StateDict' cannot be modified after creation." object (type: <class 'str'>) must be callable
build (3.10, macOS-latest): tests/sims/test_state_dict.py#L78
TestStateDict.test__to_safetensors assert b'\xd0\x00\x00\x00\x00\x00\x00\x00{"__metadata__":{"created_time":"2024-01-11T18:41:27.521121","software_version":"0.5.1.dev59"},"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.dev59","created_time":"2024-01-11T18:41:27.521121"},"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'ev59","created_time":"2024-01-11T18:41:27.521121"},"var1":{"dtype":"F32","sh' + b'18:41:27.521121","software_version":"0.5.1.dev59"},"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, ubuntu-latest)
Process completed with exit code 1.
build (3.10, ubuntu-latest): tests/sims/test_state_dict.py#L40
TestStateDict.test_setitem TypeError: "'StateDict' cannot be modified after creation." object (type: <class 'str'>) must be callable
build (3.10, ubuntu-latest): tests/sims/test_state_dict.py#L44
TestStateDict.test_delitem TypeError: "'StateDict' cannot be modified after creation." object (type: <class 'str'>) must be callable
build (3.10, ubuntu-latest)
Process completed with exit code 1.
build (3.11, macOS-latest)
Process completed with exit code 1.
build (3.9, windows-latest)
Process completed with exit code 1.
build (3.11, windows-latest)
Process completed with exit code 1.
build (3.10, windows-latest)
Canceling since a higher priority waiting request for 'CI-refs/pull/51/merge' exists
build (3.10, windows-latest)
The operation was canceled.