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:
jjsjann123 2023-03-01 19:01:18 +00:00 committed by PyTorch MergeBot
parent 5d29b68bbc
commit e096bca5f9
9 changed files with 6 additions and 5 deletions

View file

View file

@ -0,0 +1 @@
../../third_party/nvfuser/python_tests/test_dynamo.py

View file

@ -0,0 +1 @@
../../third_party/nvfuser/python_tests/test_python_frontend.py

View file

@ -0,0 +1 @@
../../third_party/nvfuser/python_tests/test_torchscript.py

View file

@ -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

View file

@ -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

View file

@ -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

View file

View 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