Skip to content

TorchBench issues with optimization pass for inference #1325

@csarofeen

Description

@csarofeen

Reported by Jason Ansel

Repo:
https://github.com/jansel/torchdynamo/blob/main/torchbench.py

Repro:
./torchbench.py --no-skip -d cuda -n 200 --speedup-ts --nvfuser
Can be compared with
./torchbench.py --no-skip -d cuda -n 200 --speedup-ts

Error:

File "/fsx/users/jansel/conda/envs/torchbenchmark/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
    return forward_call(*input, **kwargs)
RuntimeError: Graph::copy() encountered a use of a value input.84 not in scope. Run lint!

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions