File tree 2 files changed +1
-15
lines changed
2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,7 @@ test/forward_backward_compatibility/nightly_schemas.txt
62
62
dropout_model.pt
63
63
test /generated_type_hints_smoketest.py
64
64
test /htmlcov
65
- test /cpp_extensions /install /
66
- test /cpp_extensions /open_registration_extension /install
67
- test /cpp_extensions /libtorch_agnostic_extension /install
65
+ test /cpp_extensions /** /install
68
66
test /kernel.errors.txt
69
67
third_party /build /
70
68
third_party /nccl /
Original file line number Diff line number Diff line change 3
3
import os
4
4
import re
5
5
import subprocess
6
- import sys
7
6
import unittest
8
7
from itertools import repeat
9
8
from pathlib import Path
16
15
from torch .testing ._internal .common_cuda import TEST_CUDA
17
16
from torch .testing ._internal .common_utils import (
18
17
IS_WINDOWS ,
19
- shell ,
20
18
skipIfTorchDynamo ,
21
19
TEST_XPU ,
22
20
xfailIfTorchDynamo ,
@@ -217,16 +215,6 @@ def test_python_agnostic(self):
217
215
missing_symbols = subprocess .check_output (["nm" , "-u" , so_file ]).decode ("utf-8" )
218
216
self .assertFalse ("Py" in missing_symbols )
219
217
220
- # finally, clean up the folder
221
- cmd = [sys .executable , "setup.py" , "clean" ]
222
- return_code = shell (
223
- cmd ,
224
- cwd = os .path .join ("cpp_extensions" , "python_agnostic_extension" ),
225
- env = os .environ .copy (),
226
- )
227
- if return_code != 0 :
228
- return return_code
229
-
230
218
@unittest .skipIf (not TEST_CUDA , "some aspects of this test require CUDA" )
231
219
def test_libtorch_agnostic (self ):
232
220
import libtorch_agnostic
You can’t perform that action at this time.
0 commit comments