mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[torchfuzz] fix some errors when walkthroughing README.md (#165225)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/165225 Approved by: https://github.com/soulitzer
This commit is contained in:
committed by
PyTorch MergeBot
parent
e93343cfab
commit
2c600bb665
@ -63,7 +63,7 @@ print('Compile Success! ✅')
|
||||
### Single Seed Execution
|
||||
|
||||
```bash
|
||||
cd tools/experimental/dynamic_shapes/torchfuzz
|
||||
cd tools/experimental/torchfuzz
|
||||
python fuzzer.py --seed 42
|
||||
```
|
||||
|
||||
|
@ -6,8 +6,8 @@ Visualization tools for operation stacks and graphs as DAGs.
|
||||
|
||||
import subprocess
|
||||
|
||||
from ops_fuzzer import OperationGraph
|
||||
from tensor_fuzzer import TensorSpec
|
||||
from torchfuzz.ops_fuzzer import OperationGraph
|
||||
from torchfuzz.tensor_fuzzer import TensorSpec
|
||||
|
||||
|
||||
def save_and_render_dot(dot_content: str, filename: str = "operation_stack"):
|
||||
|
Reference in New Issue
Block a user