File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -95,19 +95,19 @@ jobs:
9595 run : |
9696 wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb
9797 sudo dpkg -i cuda-keyring_1.1-1_all.deb
98- sudo apt-get update
99- sudo apt-get install build-essential libcurl4-openssl-dev ccache cuda nvidia-cuda-toolkit datacenter-gpu-manager cuda-drivers-fabricmanager
100- sudo apt install software-properties-common
101- sudo add-apt-repository ppa:ubuntu-toolchain-r/test
102- sudo apt update
103- sudo apt install gcc-13 g++-13
104- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 13 --slave /usr/bin/g++ g++ /usr/bin/g++-13
98+ sudo apt-get update # Run apt-get update only once
99+ sudo apt-get install -y build-essential libcurl4-openssl-dev ccache cuda
100+ # sudo apt install software-properties-common
101+ # sudo add-apt-repository ppa:ubuntu-toolchain-r/test
102+ # sudo apt update
103+ # sudo apt install gcc-13 g++-13
104+ # sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 13 --slave /usr/bin/g++ g++ /usr/bin/g++-13
105105
106106 - name : Build
107107 id : cmake_build
108108 run : |
109- export PATH=/usr/local/cuda-12.6 /bin${PATH:+:${PATH}}
110- export LD_LIBRARY_PATH=/usr/local/cuda-12.6 /lib64 ${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
109+ export PATH=/usr/local/cuda/bin${PATH:+:${PATH}}
110+ export LD_LIBRARY_PATH=/usr/local/cuda/lib64 ${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
111111 mkdir build
112112 cd build
113113 cmake .. -DLLAMA_FATAL_WARNINGS=OFF -DBUILD_SHARED_LIBS=ON -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES="86"
You can’t perform that action at this time.
0 commit comments