Skip to content

Commit

Permalink
Move inputgen and specdb under facto
Browse files Browse the repository at this point in the history
Differential Revision: D68585131

Pull Request resolved: pytorch#7912
  • Loading branch information
manuelcandales authored Jan 24, 2025
1 parent 5487fcc commit b1ffa1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions examples/cadence/operators/facto_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
from typing import List, OrderedDict, Tuple

import torch
from inputgen.argtuple.gen import ArgumentTupleGenerator
from inputgen.specs.model import ConstraintProducer as cp
from inputgen.utils.random_manager import random_manager
from inputgen.variable.type import ScalarDtype
from specdb.db import SpecDictDB
from facto.inputgen.argtuple.gen import ArgumentTupleGenerator
from facto.inputgen.specs.model import ConstraintProducer as cp
from facto.inputgen.utils.random_manager import random_manager
from facto.inputgen.variable.type import ScalarDtype
from facto.specdb.db import SpecDictDB

# seed to generate identical cases every run to reproduce from bisect
random_manager.seed(1729)
Expand Down
3 changes: 1 addition & 2 deletions examples/cadence/operators/targets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ def define_common_targets():
typing = True,
deps = [
"fbcode//caffe2:torch",
"fbcode//pytorch/facto:inputgen",
"fbcode//pytorch/facto:specdb",
"fbcode//pytorch/facto:facto",
],
)

Expand Down

0 comments on commit b1ffa1e

Please sign in to comment.