Skip to content

Commit 0ef4e96

Browse files
cpgaffney1t5-copybara
authored andcommitted
#v1 Eliminate explicit usages of epath.Path. Use more generic pathlib.Path for type hinting, which will default to epath.Path as the implementation. This will enable more dynamic testing.
PiperOrigin-RevId: 823542688
1 parent f74917c commit 0ef4e96

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

t5x/checkpoint_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ def _get_param_info(
289289
skip_deserialize = meta_or_value.skip_deserialize
290290
return ocp.type_handlers.ParamInfo(
291291
name=name,
292-
path=directory / name,
293292
parent_dir=directory,
294293
skip_deserialize=skip_deserialize,
295294
is_ocdbt_checkpoint=is_ocdbt_checkpoint,

0 commit comments

Comments
 (0)