File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ def _parse_step_and_suffix_or_error(filepath):
118118 sorted (steps_and_suffixes - incomplete_steps_and_suffixes ,
119119 reverse = decreasing ),
120120 lambda x : x [0 ]):
121- if not suffixes .difference (set (x [1 ] for x in group )):
121+ if not suffixes .difference (set (x [1 ] for x in group )): # pyrefly: ignore[missing-attribute]
122122 yield step
123123
124124
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ def frozen_fn(params: optax.Params) -> PyTree:
166166 flatparams = flax .traverse_util .flatten_dict (
167167 flax .serialization .to_state_dict (params ), sep = '/' )
168168 output = {
169- key : search_true if pattern .search (key ) else search_false
169+ key : search_true if pattern .search (key ) else search_false # pyrefly: ignore[missing-attribute]
170170 for key , value in flatparams .items ()
171171 }
172172 return flax .serialization .from_state_dict (
You can’t perform that action at this time.
0 commit comments