File tree 4 files changed +9
-0
lines changed
4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 9
9
try :
10
10
from .some_dependency import a_non_torch_leaf
11
11
except ImportError :
12
+ # pyre-fixme[21]: Could not find module `some_dependency`.
12
13
from some_dependency import a_non_torch_leaf
13
14
14
15
Original file line number Diff line number Diff line change 24
24
Simple ,
25
25
)
26
26
except ImportError :
27
+ # pyre-fixme[21]: Could not find module `examples`.
27
28
from examples import (
28
29
BatchedModel ,
29
30
load_library ,
36
37
try :
37
38
from .fx .examples import SimpleWithLeaf
38
39
except ImportError :
40
+ # pyre-fixme[21]: Could not find module `fx.examples`.
39
41
from fx .examples import SimpleWithLeaf
40
42
41
43
try :
42
44
from .tensorrt_example import make_trt_module
43
45
except ImportError :
46
+ # pyre-fixme[21]: Could not find module `tensorrt_example`.
44
47
from tensorrt_example import make_trt_module
45
48
46
49
@@ -92,6 +95,7 @@ def main() -> None:
92
95
global p
93
96
args = parser .parse_args ()
94
97
if args .install_dir is None :
98
+ # pyre-fixme[10]: Name `p` is used but not defined.
95
99
p = Path (__file__ ).parent / "generated"
96
100
p .mkdir (exist_ok = True )
97
101
else :
Original file line number Diff line number Diff line change 6
6
7
7
import unittest
8
8
9
+ # pyre-fixme[21]: Could not find module `test_deploy_python_ext`.
9
10
# @manual=//multipy/runtime:test_deploy_python_ext
10
11
import test_deploy_python_ext
11
12
Original file line number Diff line number Diff line change 5
5
# LICENSE file in the root directory of this source tree.
6
6
7
7
import torch
8
+
9
+ # pyre-fixme[21]: Could not find name `nn` in `torch`.
8
10
from torch import nn
9
11
10
12
13
+ # pyre-fixme[11]: Annotation `Module` is not defined as a type.
11
14
class SimpleModel (nn .Module ):
12
15
def __init__ (self ):
13
16
super (SimpleModel , self ).__init__ ()
You can’t perform that action at this time.
0 commit comments