Skip to content

Commit

Permalink
added relevant issue about dynamic shape config setting
Browse files Browse the repository at this point in the history
  • Loading branch information
brucekimrokcmu committed Oct 10, 2023
1 parent 1876fa4 commit ec1ac74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/eager_mlp/mlp_eager_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import torchvision.transforms as transforms
import torchvision.datasets as datasets

torch._dynamo.config.dynamic_shapes = False
torch._dynamo.config.dynamic_shapes = False # TODO: https://github.com/nod-ai/SHARK-Turbine/issues/93


class MNISTDataLoader:
Expand Down
5 changes: 4 additions & 1 deletion tests/dynamo/mninst_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
import torchvision.transforms as transforms
import torchvision.datasets as datasets

torch._dynamo.config.dynamic_shapes = False

import torch._dynamo.config

torch._dynamo.config.dynamic_shapes = False # TODO: https://github.com/nod-ai/SHARK-Turbine/issues/93


class MNISTDataLoader:
Expand Down

0 comments on commit ec1ac74

Please sign in to comment.