Skip to content

Commit beee5b4

Browse files
committed
fix bug
1 parent db2a523 commit beee5b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/torch_tensorrt/dynamo/_engine_caching.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def get_hash(gm: torch.fx.GraphModule) -> str:
3939
for name, param in new_gm.named_parameters():
4040
param.data.zero_()
4141

42-
hash_val = cast(str, FxGraphCachePickler.get_hash(gm))
42+
hash_val = cast(str, FxGraphCachePickler.get_hash(new_gm))
4343

4444
return hash_val
4545

0 commit comments

Comments
 (0)