@@ -55,41 +55,27 @@ jobs:
5555 steps :
5656 - name : Install dependencies
5757 run : |
58- pip install -U pip setuptools==68.2.2 wheel --user
59- - uses : actions/checkout@v2
60- with :
61- repository : hpcaitech/TensorNVMe
62- ssh-key : ${{ secrets.SSH_KEY_FOR_CI }}
63- path : TensorNVMe
64- - name : Install tensornvme
65- run : |
66- cd TensorNVMe
6758 apt update && apt install -y cmake
68- pip install -r requirements.txt
69- DISABLE_URING=1 pip install -v .
59+ pip install -U pip setuptools==68.2.2 wheel --user
60+
7061 - uses : actions/checkout@v2
7162 with :
7263 ssh-key : ${{ secrets.SSH_KEY_FOR_CI }}
73- - name : Download cub for CUDA 10.2
74- run : |
75- CUDA_VERSION=$(nvcc -V | awk -F ',| ' '/release/{print $6}')
7664
77- # check if it is CUDA 10.2
78- # download cub
79- if [ "$CUDA_VERSION" = "10.2" ]; then
80- wget https://github.com/NVIDIA/cub/archive/refs/tags/1.8.0.zip
81- unzip 1.8.0.zip
82- cp -r cub-1.8.0/cub/ colossalai/kernel/cuda_native/csrc/kernels/include/
83- fi
8465 - name : Install Colossal-AI
8566 run : |
8667 BUILD_EXT=1 pip install -v .
87- pip install -r requirements/requirements-test.txt
68+ pip install --no-cache-dir -r requirements/requirements-test.txt
69+
70+ - name : Install tensornvme
71+ run : |
72+ DISABLE_URING=1 pip install -v git+https://github.com/hpcaitech/TensorNVMe.git
73+
8874 - name : Unit Testing
8975 run : |
9076 PYTHONPATH=$PWD pytest --durations=0 tests
9177 env :
9278 DATA : /data/scratch/cifar-10
93- LD_LIBRARY_PATH : /github/home/.tensornvme/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
79+ LD_LIBRARY_PATH : /github/home/.tensornvme/lib
9480 LLAMA_PATH : /data/scratch/llama-tiny
9581 MOE_TENSOR_PATH : /data/scratch/moe_tensors
0 commit comments