Skip to content

Commit

Permalink
Added huggingfaceserver rock and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BON4 committed Jan 20, 2025
1 parent f51876e commit aa439f6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions huggingfaceserver/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,13 @@ parts:
cuda:
plugin: nil
override-prime: |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
dpkg -i cuda-keyring_1.1-1_all.deb
apt-get update -y
apt-get install cuda-runtime-12-1 -y
craftctl default
curl -sL "https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub" | apt-key add -
echo "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /" > /etc/apt/sources.list.d/cuda.list
apt-get -yq update
apt-get -yq install --no-install-recommends cuda-compat-cuda-compat-12-1 cuda-cudart-cuda-cudart-12-1 cuda-toolkit-12-1
apt-get clean
rm -rf /var/lib/apt/lists/*
python:
plugin: nil
Expand Down

0 comments on commit aa439f6

Please sign in to comment.