-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·42 lines (33 loc) · 1.45 KB
/
install.sh
File metadata and controls
executable file
·42 lines (33 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/bash -i
# Temporarily make installations non-interactive
export DEBIAN_FRONTEND=noninteractive
# Install and setup ranger + other useful stuff
sudo apt update
sudo apt-get install -y ranger tesseract-ocr ffmpeg zstd
echo "alias ranger='. ranger'" >> ~/.bashrc
# Install Ollama
echo "Installing Ollama..."
curl -fsSL https://ollama.com/install.sh | sh
# Get some Ollama models
echo "Getting some Ollama models..."
ollama pull moondream
ollama pull dolphin-phi
ollama pull deepseek-r1:7b
ollama pull glm4:latest
ollama list
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.local/bin/env
# Setup environment
uv sync
# get the weights file
wget https://data.pjreddie.com/files/yolov3.weights -P object-detection/
export HF_XET_HIGH_PERFORMANCE=1
export HF_XET_NUM_CONCURRENT_RANGE_GETS=32
uv run hf download segmind/tiny-sd --include "*.safetensors" --include "*.json"
uv run hf download nitrosocke/Ghibli-Diffusion --include "*.safetensors" --include "*.json"
uv run hf download SimianLuo/LCM_Dreamshaper_v7 --include "*.safetensors" --include "*.json"
uv run hf download lykon/dreamshaper-8 --include "*.safetensors" --include "*.json"
uv run hf download kandinsky-community/kandinsky-2-2-decoder --include "*.safetensors" --include "*.json"
uv run hf download damo-vilab/text-to-video-ms-1.7b --include "*.safetensors" --include "*.json"
uv run hf download kandinsky-community/kandinsky-2-2-prior --include "*.safetensors" --include "*.json"