Skip to content

Commit f13ea81

Browse files
janselfacebook-github-bot
authored andcommitted
Remove VariableTracker.as_specialized (#112363)
Summary: My local testing can't seem to find this function actually doing anything. X-link: pytorch/pytorch#112363 Approved by: https://github.com/yanboliang Reviewed By: ZainRizvi Differential Revision: D50819849 Pulled By: jansel fbshipit-source-id: 2ef4dd2fef653986c1211dbcc709c3ae29751c2f
1 parent 2d7c770 commit f13ea81

File tree

1 file changed

+0
-10
lines changed
  • userbenchmark/dynamo/dynamobench/_dynamo

1 file changed

+0
-10
lines changed

userbenchmark/dynamo/dynamobench/_dynamo/utils.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -879,16 +879,6 @@ def check_numpy_ndarray_args(args, kwargs):
879879
)
880880

881881

882-
def specialize_args_kwargs(tx, args, kwargs):
883-
specialized_args = []
884-
specialized_kwargs = {}
885-
for x in args:
886-
specialized_args.append(x.as_specialized(tx))
887-
for k, v in kwargs.items():
888-
specialized_kwargs.update({k: v.as_specialized(tx)})
889-
return specialized_args, specialized_kwargs
890-
891-
892882
dict_values = type(dict().values())
893883
odict_values = type(collections.OrderedDict().values())
894884
tuple_iterator = type(iter(tuple()))

0 commit comments

Comments
 (0)