Skip to content

Commit

Permalink
Merge pull request #253 from ndif-team/torch-patching
Browse files Browse the repository at this point in the history
feat (api): add patching for torch.cat()
  • Loading branch information
JadenFiotto-Kaufman authored Oct 4, 2024
2 parents cb991ff + 75afb82 commit b21ce8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nnsight/contexts/GraphBasedContext.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ class GlobalTracingContext(GraphBasedContext):
global_patch(torch, "randn"),
global_patch(torch, "randperm"),
global_patch(torch, "zeros"),
global_patch(torch, "cat")
]
+ [
global_patch_class(value)
Expand Down

0 comments on commit b21ce8a

Please sign in to comment.