mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
adding symbolic link to get CI to run tests where cmake is not run on CI node (#95402)
Fixes #95155 which breaks CI and no nvfuser python tests are run on CI nodes. Thanks to @davidberard98 for noticing this. Pull Request resolved: https://github.com/pytorch/pytorch/pull/95402 Approved by: https://github.com/davidberard98
This commit is contained in:
parent
5d29b68bbc
commit
e096bca5f9
9 changed files with 6 additions and 5 deletions
0
test/_nvfuser/__init__.py
Normal file
0
test/_nvfuser/__init__.py
Normal file
1
test/_nvfuser/test_dynamo.py
Symbolic link
1
test/_nvfuser/test_dynamo.py
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../third_party/nvfuser/python_tests/test_dynamo.py
|
||||
1
test/_nvfuser/test_python_frontend.py
Symbolic link
1
test/_nvfuser/test_python_frontend.py
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../third_party/nvfuser/python_tests/test_python_frontend.py
|
||||
1
test/_nvfuser/test_torchscript.py
Symbolic link
1
test/_nvfuser/test_torchscript.py
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../third_party/nvfuser/python_tests/test_torchscript.py
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Owner(s): ["module: nvfuser"]
|
||||
|
||||
try:
|
||||
from _nvfuser.test_torchscript import run_tests # noqa: F403
|
||||
from _nvfuser.test_torchscript import * # noqa: F403,F401
|
||||
except ImportError:
|
||||
def run_tests():
|
||||
return
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Owner(s): ["module: nvfuser"]
|
||||
|
||||
try:
|
||||
from _nvfuser.test_dynamo import run_tests # noqa: F403
|
||||
from _nvfuser.test_dynamo import * # noqa: F403,F401
|
||||
except ImportError:
|
||||
def run_tests():
|
||||
return
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Owner(s): ["module: nvfuser"]
|
||||
|
||||
try:
|
||||
from _nvfuser.test_python_frontend import run_tests # noqa: F403
|
||||
from _nvfuser.test_python_frontend import * # noqa: F403,F401
|
||||
except ImportError:
|
||||
def run_tests():
|
||||
return
|
||||
|
|
|
|||
0
third_party/nvfuser/python_tests/__init__.py
vendored
Normal file
0
third_party/nvfuser/python_tests/__init__.py
vendored
Normal file
|
|
@ -25,8 +25,6 @@ from torch.testing._internal.jit_utils import clone_inputs, get_traced_sample_va
|
|||
from torch.testing._internal.jit_metaprogramming_utils import create_traced_fn
|
||||
from torch.testing import FileCheck
|
||||
|
||||
from jit.test_fuser_common import TestFuserCommon # noqa: F401
|
||||
|
||||
import itertools
|
||||
import numpy as np
|
||||
import math
|
||||
|
|
|
|||
Loading…
Reference in a new issue