File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 86
86
steps :
87
87
- name : Checkout PyTorch builder
88
88
uses : actions/checkout@v2
89
- - name : Instlla Conda
89
+ - name : Install Conda
90
90
uses : conda-incubator/setup-miniconda@v2
91
91
with :
92
92
python-version : ${{ inputs.python_version }}
@@ -102,7 +102,6 @@ jobs:
102
102
DESIRED_CUDA : ${{ matrix.desired_cuda }}
103
103
DESIRED_DEVTOOLSET : ${{ matrix.devtoolset }}
104
104
PACKAGE_TYPE : libtorch
105
- LD_LIBRARY_PATH : /usr/local/cuda/lib
106
105
run : |
107
106
sudo apt-get install unzip -y
108
107
set -ex
@@ -111,4 +110,6 @@ jobs:
111
110
conda create -yp ${ENV_NAME} python=${{ inputs.python_version }} numpy
112
111
export LD_LIBRARY_PATH="$(dirname $(which python))/lib"
113
112
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/cuda/lib
113
+ conda run -p ${ENV_NAME} python3 ./test/smoke_test/smoke_test.py
114
114
conda run -p ${ENV_NAME} --cwd libtorch env LD_LIBRARY_PATH=${LD_LIBRARY_PATH} bash ./../check_binary.sh
115
+ conda env remove -p ${ENV_NAME}
You can’t perform that action at this time.
0 commit comments