File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ def test_load_state_dict(self) -> None:
81
81
"one" : 1.0 ,
82
82
"tensor" : torch .tensor ([5.0 , 6.0 ]),
83
83
"sharded_tensor" : sharded_tensor .full (
84
- # pyre-ignore [28]
84
+ # pyre-fixme
85
85
sharding_spec .ChunkShardingSpec (
86
86
dim = 0 , placements = ["rank:0/cpu" ]
87
87
),
@@ -116,7 +116,7 @@ def test_load_state_dict(self) -> None:
116
116
"one" : 1.0 ,
117
117
"tensor" : torch .tensor ([5.0 , 6.0 ]),
118
118
"sharded_tensor" : sharded_tensor .full (
119
- # pyre-ignore [28]
119
+ # pyre-fixme
120
120
sharding_spec .ChunkShardingSpec (dim = 0 , placements = ["rank:0/cpu" ]),
121
121
(4 ,),
122
122
fill_value = 1.0 ,
@@ -157,7 +157,7 @@ def test_load_state_dict(self) -> None:
157
157
expected_state_dict ["state" ]["param_1" ]["tensor" ] = torch .tensor ([50.0 , 60.0 ])
158
158
# pyre-ignore [6]
159
159
expected_state_dict ["state" ]["param_1" ]["sharded_tensor" ] = sharded_tensor .full (
160
- # pyre-ignore [28]
160
+ # pyre-fixme
161
161
sharding_spec .ChunkShardingSpec (dim = 0 , placements = ["rank:0/cpu" ]),
162
162
(4 ,),
163
163
fill_value = 10.0 ,
You can’t perform that action at this time.
0 commit comments