Initial RPS CUDA implementation
This commit is contained in:
commit
8d583036d0
33 changed files with 2968 additions and 0 deletions
11
scripts/install-debian.sh
Normal file
11
scripts/install-debian.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
set -eu
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# Add the Debian components containing the packaged NVIDIA driver and toolkit.
|
||||
if ! grep -Eq '^Components: .*non-free([[:space:]]|$)' /etc/apt/sources.list.d/debian.sources; then
|
||||
sed -i.rps-original '/^Components: main$/s/$/ contrib non-free non-free-firmware/' /etc/apt/sources.list.d/debian.sources
|
||||
fi
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends "linux-headers-$(uname -r)" nvidia-driver nvidia-smi nvidia-cuda-toolkit build-essential cmake libssl-dev nlohmann-json3-dev openssl
|
||||
modprobe nvidia
|
||||
nvidia-smi -L
|
||||
Loading…
Add table
Add a link
Reference in a new issue