mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01: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:
parent
e93343cfab
commit
2c600bb665
|
|
@ -63,7 +63,7 @@ print('Compile Success! ✅')
|
||||||
### Single Seed Execution
|
### Single Seed Execution
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd tools/experimental/dynamic_shapes/torchfuzz
|
cd tools/experimental/torchfuzz
|
||||||
python fuzzer.py --seed 42
|
python fuzzer.py --seed 42
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ Visualization tools for operation stacks and graphs as DAGs.
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
from ops_fuzzer import OperationGraph
|
from torchfuzz.ops_fuzzer import OperationGraph
|
||||||
from tensor_fuzzer import TensorSpec
|
from torchfuzz.tensor_fuzzer import TensorSpec
|
||||||
|
|
||||||
|
|
||||||
def save_and_render_dot(dot_content: str, filename: str = "operation_stack"):
|
def save_and_render_dot(dot_content: str, filename: str = "operation_stack"):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user