#!/usr/bin/env bash # SiLVANN in a container, set up and started — the usual machine in one line: # # curl -fsSL https://raw.githubusercontent.com/eval-apply-labs/SiLVANN/HEAD/docker/setup.sh | bash # # (or `wget -qO- … | bash` where there is no curl, as on Debian's netinstall) # # It finds Podman (or Docker) and the card — an AMD card, an NVIDIA card, or none — checks what the host needs and says # what is missing, makes the folder SiLVANN keeps everything in (~/SiLVANN), asks for a Brave Search API key for the # model's web search (Enter skips) and for a first user (Enter skips), pulls the image and starts it; then the chat is at # http://localhost:8080 — and, once it is multi user, at this machine's address on the network too. # # … | bash -s -- update the newest image, the container made again over the same folder # … | bash -s -- stop | start stop it (giving it time to save the conversations), or start it again # … | bash -s -- --dry-run say what it would run, and run nothing # # --card amd|nvidia|cpu which, where it guesses wrong --data another folder than ~/SiLVANN # --port a port of your own (by default 8080, --name another container name than silvann # or the first free one after it) # --engine podman|docker which, where both are installed --no-search ask for no search key # --image an image of your own (docker/advanced.md, "Building an image") in place of the published one # --private the chat on this machine alone, even once it is multi user # # Everything else — SearXNG, names under localhost, a card a container, a model over several machines, building an # image — is in docker/advanced.md. Nothing here needs root, but where the host is missing something that does (a # group, NVIDIA's description of the card), the script names the command and stops. set -euo pipefail ACTION=setup; CARD=""; DATA="$HOME/SiLVANN"; PORT=""; NAME=silvann; ENGINE=""; DRY=0; SEARCH=1; OWN_IMAGE=""; PRIVATE=0 IMAGE_BASE=ghcr.io/eval-apply-labs/silvann MAJOR=1 # the major version whose newest release the images follow (:1-amd, :1-nvidia) while [ $# -gt 0 ]; do case "$1" in setup|update|stop|start) ACTION=$1 ;; --card) CARD=${2:-}; shift ;; --data) DATA=${2:-}; shift ;; --port) PORT=${2:-}; shift ;; --name) NAME=${2:-}; shift ;; --engine) ENGINE=${2:-}; shift ;; --image) OWN_IMAGE=${2:-}; shift ;; --dry-run) DRY=1 ;; --no-search) SEARCH=0 ;; --private) PRIVATE=1 ;; -h|--help) cat <<'USAGE' setup.sh [setup|update|stop|start] [--card amd|nvidia|cpu] [--data ] [--port ] [--name ] [--engine podman|docker] [--image ] [--no-search] [--private] [--dry-run] setup (the default) set SiLVANN up in a container and start it; the chat at http://localhost:8080 update the newest image, the container made again over the same folder stop stop it, giving it time to save the conversations; start start it again --private the chat on this machine alone, even once it is multi user USAGE exit 0 ;; *) echo "setup.sh: unknown argument '$1' (--help lists them)" >&2; exit 2 ;; esac shift done say() { printf '\033[1m%s\033[0m\n' "$*"; } note() { printf ' %s\n' "$*"; } stop_here() { printf '\n\033[1;31m%s\033[0m\n' "$1" >&2; shift; for l in "$@"; do printf ' %s\n' "$l" >&2; done; exit 1; } run() { if [ $DRY = 1 ]; then printf ' would run: %s\n' "$*" >&2; else "$@"; fi; } tty_read() { # tty_read [silent]: a line from the terminal even when this script is piped into bash local answer="" if [ -r /dev/tty ] && { exec 3/dev/null; then printf '%s' "$1" > /dev/tty if [ "${3:-}" = silent ]; then IFS= read -rs answer <&3 || true; echo > /dev/tty; else IFS= read -r answer <&3 || true; fi exec 3<&- fi printf -v "$2" '%s' "$answer" } [ "$(uname -s)" = Linux ] || stop_here "SiLVANN's container runs on Linux." \ "On Windows, install SiLVANN instead: see the README's quick start (install.ps1)." # ── the container engine ────────────────────────────────────────────────────────────────────────────────────────── if [ -z "$ENGINE" ]; then if command -v podman >/dev/null; then ENGINE=podman elif command -v docker >/dev/null; then ENGINE=docker else stop_here "Neither Podman nor Docker is installed." \ "On Ubuntu or Debian: sudo apt install podman crun uidmap slirp4netns fuse-overlayfs" \ "On Fedora, Podman is there already. Then run this again." fi fi command -v "$ENGINE" >/dev/null || stop_here "$ENGINE is not installed." if [ "$ENGINE" = docker ] && ! docker info >/dev/null 2>&1; then stop_here "Docker is installed, but you cannot use it as you." \ "Either install Podman (sudo apt install podman crun uidmap slirp4netns fuse-overlayfs) and run this again," \ "or add yourself to the docker group (sudo usermod -aG docker \$USER), log out and in, and run this again." fi # ── the port: 8080, or the first free one after it ────────────────────────────────────────────────────────────────── busy() { if command -v ss >/dev/null; then ss -Htln "( sport = :$1 )" 2>/dev/null | grep -q .; else (exec 3<>"/dev/tcp/127.0.0.1/$1") 2>/dev/null; fi; } # whether the chat answers on a port — through curl, or wget where there is no curl (Debian's netinstall), or a bare connect answers() { if command -v curl >/dev/null; then curl -sf -o /dev/null "http://127.0.0.1:$1/" elif command -v wget >/dev/null; then wget -q -T 5 -t 1 -O /dev/null "http://127.0.0.1:$1/" else (exec 3<>"/dev/tcp/127.0.0.1/$1") 2>/dev/null; fi; } if command -v curl >/dev/null; then FETCH="curl -fsSL"; else FETCH="wget -qO-"; fi published() { "$ENGINE" port "$NAME" 8080 2>/dev/null | head -1 | sed 's/.*://'; } address() { echo "http://silvann.localhost:$1 (or http://localhost:$1)"; } # ── stop, start ─────────────────────────────────────────────────────────────────────────────────────────────────── exists() { "$ENGINE" container inspect "$NAME" >/dev/null 2>&1; } # the container started — one made with an NVIDIA card is handed it by the toolkit's description of the card (CDI), # which a driver update leaves stale: Podman's own word for that, and what to run start_it() { local err if [ $DRY = 1 ]; then run "$ENGINE" start "$NAME"; return; fi err=$("$ENGINE" start "$NAME" 2>&1 >/dev/null) && return 0 case "$err" in *CDI*) stop_here "$NAME would not start: $ENGINE cannot see the NVIDIA card it was made with." \ "1. NVIDIA's container toolkit: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html" \ "2. Run: sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml (again after every driver update)" \ "Then run this again — or make the container again on the CPU: this same line with 'bash -s -- update --card cpu'." ;; *) stop_here "$NAME would not start:" "$err" ;; esac } if [ "$ACTION" = stop ]; then exists || stop_here "There is no container called $NAME." say "Stopping $NAME (up to five minutes, while it saves the conversations)…" run "$ENGINE" stop -t 300 "$NAME" >/dev/null; say "Stopped."; exit 0 fi if [ "$ACTION" = start ]; then exists || stop_here "There is no container called $NAME: run this script without 'start' to set it up." start_it; say "Started: the chat is at $(address "$(published)")"; exit 0 fi if [ "$ACTION" = setup ] && exists; then say "SiLVANN is set up already (container $NAME)." if [ "$("$ENGINE" container inspect -f '{{.State.Running}}' "$NAME" 2>/dev/null)" != true ]; then start_it; fi note "The chat: $(address "$(published)")" note "Newest version: run this again with 'update'. Stop: with 'stop'." exit 0 fi if [ -n "$PORT" ]; then { [ "$ACTION" = update ] && exists && [ "$(published)" = "$PORT" ]; } || ! busy "$PORT" \ || stop_here "Port $PORT is taken by another program." "Leave --port out, and the first free one from 8080 is taken." elif [ "$ACTION" = update ] && exists && [ -n "$(published)" ]; then PORT=$(published) # the port it had else PORT=8080 while busy "$PORT"; do PORT=$((PORT + 1)); [ $PORT -le 8099 ] || stop_here "Ports 8080 to 8099 are all taken: name one with --port."; done [ $PORT = 8080 ] || note "Port 8080 is taken by another program: SiLVANN's chat goes on $PORT." fi # ── the card ────────────────────────────────────────────────────────────────────────────────────────────────────── # AMD's cards as the kernel driver lists them, a line a card: its number as ROCm counts the cards, its architecture, and # `amd` where the AMD image holds a family for it — the Instinct MI50 and MI60 (gfx906), the MI100 and later, the # Radeons of RDNA4 — or `-` where no image does. ROCm numbers the driver's card nodes in their order, the processors' # nodes left out. SILVANN_KFD_NODES names another folder of the driver's nodes. KFD=${SILVANN_KFD_NODES:-/sys/class/kfd/kfd/topology/nodes} gfx_name() { printf 'gfx%d%d%x' $(($1 / 10000)) $(($1 / 100 % 100)) $(($1 % 100)); } amd_cards() { local n=0 node v for node in $(ls "$KFD" 2>/dev/null | sort -n); do v=$(awk '$1 == "gfx_target_version" {print $2}' "$KFD/$node/properties" 2>/dev/null || true) [ -n "$v" ] && [ "$v" != 0 ] || continue case "$v" in 90006|90008|90010|90402|90500|120000|120001) echo "$n $(gfx_name "$v") amd" ;; *) echo "$n $(gfx_name "$v") -" ;; esac n=$((n + 1)) done } numbers_for() { echo "$AMD_CARDS" | awk -v image="$1" '$3 == image {print $1}' | paste -sd, -; } # the image's cards, or `-`'s named() { echo "$AMD_CARDS" | awk -v image="$1" '$3 == image {print $2 " (card " $1 ")"}' | paste -sd, - | sed 's/,/, /g'; } # ⭐ THE ORDER IS THE ONE SiLVANN TAKES THE FAMILIES IN ON AN INSTALL (runtime/silvann_runtime/machine.py): an AMD card # one of ROCm's families runs, then an NVIDIA card, then what is left. An AMD card no image runs — a processor's own # graphics beside an NVIDIA card — does not come before the NVIDIA card. AMD_CARDS=$(amd_cards) nvidia_here() { command -v nvidia-smi >/dev/null && nvidia-smi -L >/dev/null 2>&1; } # an update keeps its container's vendor: one made for the NVIDIA card stays NVIDIA's while the card answers if [ -z "$CARD" ] && [ "$ACTION" = update ] && exists && nvidia_here; then case "$("$ENGINE" container inspect -f '{{.Config.Image}}' "$NAME" 2>/dev/null || true)" in *-nvidia) CARD=nvidia ;; esac fi if [ -z "$CARD" ]; then if [ -n "$(numbers_for amd)" ]; then CARD=amd elif nvidia_here; then CARD=nvidia elif [ -e /dev/kfd ]; then CARD=amd else CARD=cpu fi fi case "$CARD" in amd-rocm6|amd-rocm7) CARD=amd ;; esac # the words 1.4.4 had for its two AMD images case "$CARD" in amd|nvidia|cpu) ;; *) stop_here "--card is amd, nvidia or cpu, not '$CARD'." ;; esac case "$CARD" in amd) WHAT="an AMD card" ;; nvidia) WHAT="an NVIDIA card" ;; *) WHAT="no card — the CPU runs the models" ;; esac say "SiLVANN in a container: $ENGINE, $WHAT" FLAGS=() if [ "$CARD" = amd ]; then # ⭐ THE AMD IMAGE HOLDS ONE FAMILY, AND THE FAMILY COUNTS ONLY THE CARDS IT LISTS: every card of the machine it # lists is the container's. A card it does not list — an older Radeon, a processor's own graphics — is hidden # from the container (ROCR_VISIBLE_DEVICES), so its ROCm opens only the cards its family runs; a machine with none # it lists is refused. mine=$(numbers_for amd) if [ -n "$AMD_CARDS" ] && [ -z "$mine" ] && [ -z "$OWN_IMAGE" ]; then found=$(echo "$AMD_CARDS" | awk '{print $2}' | sort -u | paste -sd, - | sed 's/,/, /g') stop_here "This machine's AMD card ($found) is not one the published image is built for." \ "$IMAGE_BASE:$MAJOR-amd is built for gfx906 (Instinct MI50 and MI60, Radeon VII), gfx908, gfx90a, gfx942, gfx950" \ "(Instinct MI100 and later), gfx1200 and gfx1201 (Radeon RX 9060, 9070)." \ "Build an image for it (docker/advanced.md, 'Building an image') and add --image ," \ "or run on the CPU: add --card cpu." fi if [ -n "$mine" ] && [ -n "$(numbers_for -)" ] && [ -z "$OWN_IMAGE" ]; then FLAGS+=(-e "ROCR_VISIBLE_DEVICES=$mine") note "This container takes $(named amd)." note "Left out of it: $(named -), which no image is built for." fi missing="" for g in video render; do id -nG | tr ' ' '\n' | grep -qx "$g" || missing="$missing $g"; done if [ -n "$missing" ] && [ "$ENGINE" = podman ]; then stop_here "You are not in the group(s)$missing, which own the card." \ "Run: sudo usermod -aG video,render \$USER" "then log out and in again, and run this again." fi if [ "$ENGINE" = podman ]; then rt=$(podman info --format '{{.Host.OCIRuntime.Name}}' 2>/dev/null || echo "") if [ "$rt" != crun ]; then command -v crun >/dev/null || stop_here "Podman needs the crun runtime to hand the card in." "Run: sudo apt install crun" "then run this again." if [ ! -e "$HOME/.config/containers/containers.conf" ]; then note "Podman set to use crun (~/.config/containers/containers.conf)" [ $DRY = 1 ] || { mkdir -p "$HOME/.config/containers"; printf '[engine]\nruntime = "crun"\n' > "$HOME/.config/containers/containers.conf"; } else stop_here "Podman runs '$rt'; handing the card in needs crun." \ "Add runtime = \"crun\" under [engine] in ~/.config/containers/containers.conf, then run this again." fi fi FLAGS+=(--group-add keep-groups) else for g in video render; do gid=$(getent group "$g" | cut -d: -f3); [ -n "$gid" ] && FLAGS+=(--group-add "$gid"); done fi FLAGS+=(--device /dev/kfd --device /dev/dri) IMAGE=$IMAGE_BASE:$MAJOR-amd elif [ "$CARD" = nvidia ]; then if [ "$ENGINE" = podman ]; then pv=$(podman version --format '{{.Client.Version}}' 2>/dev/null || echo 0) if [ "$(printf '%s\n4.1\n' "$pv" | sort -V | head -1)" != 4.1 ]; then stop_here "Podman $pv cannot hand in an NVIDIA card: that needs Podman 4.1 or later (Ubuntu 24.04's, Debian 12's)." \ "Or use Docker with NVIDIA's container toolkit: run this again with --engine docker" fi if ! { command -v nvidia-ctk >/dev/null && nvidia-ctk cdi list 2>/dev/null | grep -q 'nvidia.com/gpu=all'; }; then stop_here "Podman cannot see the NVIDIA card yet: it needs NVIDIA's container toolkit and its description of the card." \ "1. Install NVIDIA's container toolkit: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html" \ "2. Run: sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml" "Then run this again." fi FLAGS+=(--device nvidia.com/gpu=all) else FLAGS+=(--gpus all) fi # a card older than CUDA's family takes (compute capability 7.5 on) — Pascal's GTX 10x0 — runs through OpenCL 1.2 old=$(nvidia-smi --query-gpu=compute_cap --format=csv,noheader 2>/dev/null | awk -F. '$1 * 10 + $2 < 75' | sort -u | paste -sd ',' || true) [ -n "$old" ] && note "compute capability $old: older than CUDA's family takes (7.5 and newer) — that card runs through OpenCL 1.2" IMAGE=$IMAGE_BASE:$MAJOR-nvidia else IMAGE=$IMAGE_BASE:$MAJOR-amd # either image runs on the CPU alone fi [ -z "$OWN_IMAGE" ] || IMAGE=$OWN_IMAGE # ── what the model's commands may reach ─────────────────────────────────────────────────────────────────────────── # Podman's own seccomp profile lets the kernel's Landlock through from containers/common v0.49; an older one (Ubuntu # 22.04's) refuses it, and the model's shell is then off: the profile is made again with Landlock's three calls added if [ "$ENGINE" = podman ]; then # ⭐ WHO THE APP IS INSIDE. `--userns=keep-id` makes the app's user in the container the one who runs this script, so # the folder's files stay theirs. ⛔ Podman 3 opens no published port for such a container on a network of the # containers' own, and the companions' is one (`MEASURED`, Ubuntu 22.04's 3.4.4: the chat answers inside the # container and nothing listens outside it). There the app runs as the container's root instead — whom rootless # Podman maps to the same user outside, so the folder's files stay theirs too — with none of root's capabilities # and the image's own files read-only: what rootless Docker's container is given below, the capabilities aside. if [ "$(id -u)" != 0 ] && [ "$(podman version -f '{{.Client.Version}}' 2>/dev/null | cut -d. -f1)" = 3 ]; then FLAGS+=(--cap-drop=all --read-only --tmpfs /tmp) else FLAGS+=(--userns=keep-id) fi host_profile=/usr/share/containers/seccomp.json if [ -f "$host_profile" ] && ! grep -q landlock_create_ruleset "$host_profile"; then command -v python3 >/dev/null || stop_here "python3 is needed once, to write Podman's security profile." "Run: sudo apt install python3" "then run this again." profile="$HOME/.config/containers/silvann-seccomp.json" note "Podman's security profile with Landlock let through (~/.config/containers/silvann-seccomp.json)" [ $DRY = 1 ] || { mkdir -p "$HOME/.config/containers"; python3 -c "import json, sys p = json.load(open(sys.argv[1])) p['syscalls'].append({'names': ['landlock_create_ruleset', 'landlock_add_rule', 'landlock_restrict_self'], 'action': 'SCMP_ACT_ALLOW'}) json.dump(p, open(sys.argv[2], 'w'))" "$host_profile" "$profile"; } FLAGS+=(--security-opt "seccomp=$profile") fi else # rootless Docker runs the app as the container's root: the image's own files kept from it docker info -f '{{.SecurityOptions}}' 2>/dev/null | grep -q rootless && FLAGS+=(--read-only --tmpfs /tmp) fi # ── the folder ──────────────────────────────────────────────────────────────────────────────────────────────────── run mkdir -p "$DATA" VOLUME="$DATA:/data" if command -v getenforce >/dev/null && [ "$(getenforce 2>/dev/null)" = Enforcing ]; then VOLUME="$VOLUME:Z"; fi note "Everything SiLVANN keeps: $DATA (the models, the conversations, the model's workspace)" # ── web search: a Brave Search API key, kept in the tools file, where the model never reads it ─────────────────── TOOLS="$DATA/tools/default.json" if [ $SEARCH = 1 ] && [ "$ACTION" = setup ]; then has_key=0 [ -f "$TOOLS" ] && grep -q '"brave_key": *"' "$TOOLS" && has_key=1 if [ $has_key = 0 ]; then echo note "The model can search the web with a Brave Search API key (free plan: https://brave.com/search/api/)." tty_read " Paste the key, or press Enter to skip: " KEY silent if [ -n "$KEY" ]; then if command -v python3 >/dev/null; then [ $DRY = 1 ] || { mkdir -p "$DATA/tools"; ( umask 077; KEY="$KEY" python3 -c "import json, os, sys f = sys.argv[1] d = json.load(open(f)) if os.path.isfile(f) else {} e = d.setdefault('search', {}) e.setdefault('enabled', 'auto') e.setdefault('config', {})['brave_key'] = os.environ['KEY'] json.dump(d, open(f, 'w'), indent=2)" "$TOOLS" ); } note "Kept in $TOOLS (the server reads it; the model does not)." else note "python3 is missing, so the key was not written: put it in $TOOLS later (docs/tools.md)." fi KEY="" else note "No web search for now: add a key later in $TOOLS (search → brave_key)." fi fi fi # ── the image, and the container ────────────────────────────────────────────────────────────────────────────────── echo if [ -z "$OWN_IMAGE" ]; then say "Fetching $IMAGE (under 1 GB the first time)…" run "$ENGINE" pull "$IMAGE" fi if [ "$ACTION" = update ] && exists; then say "Replacing the old container (the folder stays)…" run "$ENGINE" stop -t 300 "$NAME" >/dev/null || true run "$ENGINE" rm "$NAME" >/dev/null # the port let go before the new one binds it (Podman 3.4 can still hold it a moment) [ $DRY = 1 ] || for i in $(seq 1 20); do busy "$PORT" || break; sleep 1; done fi # the companions' network (install_companions.sh): SiLVANN on it finds them by name, and their firewalls keep them from it NET=silvann-companions # the companions' network, made where it is not — ⛳ at CNI's config version 0.4.0 under Podman 3, which writes 1.0.0 and # ships plugins that refuse it (Ubuntu 22.04's 3.4.4: "plugin firewall does not support config version 1.0.0") make_net() { "$ENGINE" network inspect "$NET" >/dev/null 2>&1 && return 0 run "$ENGINE" network create "$NET" >/dev/null if [ $DRY = 0 ] && [ "$ENGINE" = podman ] && [ "$(podman version -f '{{.Client.Version}}' 2>/dev/null | cut -d. -f1)" = 3 ]; then for f in "${XDG_CONFIG_HOME:-$HOME/.config}/cni/net.d/$NET.conflist" "/etc/cni/net.d/$NET.conflist"; do [ ! -w "$f" ] || sed -i 's/"cniVersion": "1.0.0"/"cniVersion": "0.4.0"/' "$f" done fi } make_net # ⭐ THIS MACHINE'S ACCOUNT, AND WHO REACHES THE CHAT (▶ docs/users.md): SiLVANN asks for a sign-in, and its first account — # the machine's admin — is made here, in a terminal, or at the chat's first page. The chat is published to the # network only where the machine is multi user — the accounts signed in side by side, each one's model in its own # folder; a single user's, one account at a time whose admin's model reaches the container as the tools file lets it, # stays this machine's. `--private` keeps a multi user's here too. has_account() { [ -f "$DATA/sso.json" ] || compgen -G "$DATA/users/*/user.json" >/dev/null; } # users/.mode says which; a folder from before it was written was multi user where it had a user multi_user() { if [ -f "$DATA/users/.mode" ]; then [ "$(cat "$DATA/users/.mode")" = multi ]; else has_account; fi } if [ "$ACTION" = setup ] && [ $DRY = 0 ] && ! has_account; then echo note "SiLVANN asks for a sign-in. Its first account is this machine's admin: a name and a password of your own." tty_read " Its name (Enter to make it at the chat's first page instead): " FIRST_USER if [ -n "$FIRST_USER" ]; then if "$ENGINE" run --rm -it "${FLAGS[@]}" -v "$VOLUME" "$IMAGE" silvann users add "$FIRST_USER" /dev/null if [ $DRY = 0 ]; then for i in $(seq 1 90); do answers "$PORT" && break; sleep 2; done answers "$PORT" || stop_here "SiLVANN did not answer on port $PORT." \ "Its log says why: $ENGINE logs $NAME" fi echo [ $DRY = 1 ] && { say "(a dry run: nothing was changed)"; exit 0; } say "SiLVANN is running: open $(address "$PORT")" if [ "$PUBLISH" = "$PORT:8080" ]; then lan=$(hostname -I 2>/dev/null | awk '{print $1}') note "From other machines on your network: http://${lan:-$(hostname)}:$PORT — each signs in (docs/users.md)." note "Passwords cross the network unencrypted over plain HTTP: fine at home; elsewhere put a TLS proxy in front." else has_account || note "Its first page asks for this machine's account: a name and a password of your own." note "The chat is this machine's alone. To open it to your network, switch to multi user in its Options," note " then this same line with 'bash -s -- update'" if [ $PRIVATE = 1 ]; then note "(--private keeps it here even then)"; fi fi note "In Options, 'Download models' fetches a model and 'start' runs it." note "Put files for the model in $DATA/workspace." note "Stop: $ENGINE stop -t 300 $NAME Start again: $ENGINE start $NAME" note "Newest version: this same line with 'bash -s -- update' in place of 'bash'." note "A browser and a search engine of the model's own, in containers beside this one (docker/advanced.md), once:" note " $FETCH https://raw.githubusercontent.com/eval-apply-labs/SiLVANN/HEAD/docker/install_companions.sh | bash" note "To read MP4 and other video files (PyAV, which the image leaves out), once:" note " $FETCH https://raw.githubusercontent.com/eval-apply-labs/SiLVANN/HEAD/docker/install_nonfree.sh | bash"