Skip to content

Commit 97034c3

Browse files
authored
Update validate-linux-binaries.yml
1 parent decb5fb commit 97034c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/validate-linux-binaries.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
steps:
8787
- name: Checkout PyTorch builder
8888
uses: actions/checkout@v2
89-
- name: Instlla Conda
89+
- name: Install Conda
9090
uses: conda-incubator/setup-miniconda@v2
9191
with:
9292
python-version: ${{ inputs.python_version }}
@@ -102,7 +102,6 @@ jobs:
102102
DESIRED_CUDA: ${{ matrix.desired_cuda }}
103103
DESIRED_DEVTOOLSET: ${{ matrix.devtoolset }}
104104
PACKAGE_TYPE: libtorch
105-
LD_LIBRARY_PATH: /usr/local/cuda/lib
106105
run: |
107106
sudo apt-get install unzip -y
108107
set -ex
@@ -111,4 +110,6 @@ jobs:
111110
conda create -yp ${ENV_NAME} python=${{ inputs.python_version }} numpy
112111
export LD_LIBRARY_PATH="$(dirname $(which python))/lib"
113112
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/cuda/lib
113+
conda run -p ${ENV_NAME} python3 ./test/smoke_test/smoke_test.py
114114
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}

0 commit comments

Comments
 (0)