Skip to content

Commit

Permalink
another change to test_demos.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vedpatwardhan committed Nov 3, 2023
1 parent d1f667a commit ca9e783
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions tests/test_demos.sh
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
#!/bin/bash

cd ivy
python3 -m pip install .
conda install -c "nvidia/label/cuda-11.8.0" cuda-nvcc

cd ..
cd demos
pip install -e .

cd ../demos
mkdir .ivy
touch .ivy/key.pem
echo -n "$1" > .ivy/key.pem

conda install -c "nvidia/label/cuda-11.8.0" cuda-nvcc

# install dependencies
python3 -m pip install -r requirements.txt >/dev/null 2>&1
pip install -r requirements.txt >/dev/null 2>&1

# run test
echo "$2"
python3 tests/main.py "$2"
python3 new_tests/main.py "$2"

0 comments on commit ca9e783

Please sign in to comment.