@@ -177,27 +177,15 @@ jobs:
177177 - name : Install ilab
178178 working-directory : ./instructlab
179179 run : |
180- export CUDA_HOME="/usr/local/cuda"
181- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64"
182- export PATH="$PATH:$CUDA_HOME/bin"
183- python3.11 -m venv --upgrade-deps venv
184- . venv/bin/activate
185- nvidia-smi
186- python3.11 -m pip cache remove llama_cpp_python
187-
188- CMAKE_ARGS="-DLLAMA_CUDA=on" python3.11 -m pip install . -c constraints-dev.txt
189-
190- # https://github.com/instructlab/instructlab/issues/1821
191- # install with Torch and build dependencies installed
192- python3.11 -m pip install packaging wheel setuptools-scm
193- python3.11 -m pip install .[cuda] -r requirements-vllm-cuda.txt
180+ ./scripts/install-ilab-with-cuda.sh
194181
195182 - name : Update instructlab-training library
196183 working-directory : ./training
197184 run : |
198185 . ../instructlab/venv/bin/activate
199- pip install .
200- pip install .[cuda]
186+ pip_install="pip install -c constraints-dev.txt"
187+ $pip_install .
188+ $pip_install .[cuda]
201189
202190 - name : Check disk before tests
203191 if : always()
@@ -380,7 +368,7 @@ jobs:
380368 working-directory : ./training
381369 run : |
382370 python -m pip install --upgrade pip
383- pip install -r requirements-dev.txt
371+ pip install -r requirements-dev.txt -c constraints-dev.txt
384372
385373 - name : Try to upload Phase 1 to s3
386374 id : phase-1-upload-s3
0 commit comments