-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbuild.env.example
More file actions
86 lines (77 loc) · 2.73 KB
/
build.env.example
File metadata and controls
86 lines (77 loc) · 2.73 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Build-time configuration (Dockerfile ARGs)
# Copy to `build.env` if you want, then export vars before building.
#
# Notes:
# - These variables only affect image builds (Dockerfile `ARG`), not runtime.
# - They are NOT read by `docker-compose.yml` in this repo because it uses a prebuilt image.
#
# Build examples:
# - Makefile: `make build INSTALL_GPU_STACK=1 INSTALL_INVOKE=1 INSTALL_AI_TOOLKIT=1 AI_TOOLKIT_REF=<branch|tag|commit>`
# - Docker: `docker build --build-arg INSTALL_GPU_STACK=1 --build-arg TORCH_VERSION=2.8.0 -t lora-pilot:dev .`
# ========================================
# COMPONENT INSTALLATION (0/1)
# ========================================
INSTALL_GPU_STACK=1
INSTALL_COMFY=1
INSTALL_KOHYA=1
INSTALL_INVOKE=1
INSTALL_DIFFPIPE=1
INSTALL_AI_TOOLKIT=1
INSTALL_AI_TOOLKIT_UI=1
INSTALL_COPILOT_CLI=1
# ========================================
# COPILOT CLI
# ========================================
# Default pinned to the latest published Copilot CLI package version.
COPILOT_CLI_VERSION=1.0.10
# ========================================
# DEV TOOLS
# ========================================
CODE_SERVER_VERSION=4.112.0
JUPYTERLAB_VERSION=4.5.6
IPYWIDGETS_VERSION=8.1.8
# ========================================
# UPSTREAM REFS
# ========================================
# Defaults are pinned to verified upstream refs instead of floating on repo HEAD.
COMFYUI_REF=v0.20.2
COMFYUI_MANAGER_REF=4.2.1
KOHYA_REF=v25.2.1
DIFFPIPE_REF=535bc585391d7f7d861d5f8952f1e144bc997270
AI_TOOLKIT_REF=6bb8acbffc2021cc009cc18491f00aa3800bf45a
# ========================================
# TRAINING STACKS
# ========================================
# AI Toolkit now uses its own venv and upstream-pinned Diffusers.
AI_TOOLKIT_DIFFUSERS_VERSION=git
DIFFPIPE_DIFFUSERS_VERSION=0.38.0
DIFFPIPE_TRANSFORMERS_VERSION=4.57.6
# ========================================
# VERSION PINS (GPU STACK)
# ========================================
TORCH_VERSION=2.8.0
TORCHVISION_VERSION=0.23.0
TORCHAUDIO_VERSION=2.8.0
TORCH_INDEX_URL=https://download.pytorch.org/whl/cu128
XFORMERS_VERSION=0.0.32.post2
BITSANDBYTES_VERSION=0.49.2
CORE_DIFFUSERS_VERSION=0.32.2
TRANSFORMERS_VERSION=4.57.6
PEFT_VERSION=0.19.1
# ========================================
# VERSION PINS (INVOKE VENV)
# ========================================
INVOKEAI_VERSION=6.12.0
INVOKE_TORCH_VERSION=2.7.1
INVOKE_TORCHVISION_VERSION=0.22.1
INVOKE_TORCHAUDIO_VERSION=2.7.1
INVOKE_TORCH_INDEX_URL=https://download.pytorch.org/whl/cu128
INVOKE_DIFFUSERS_VERSION=0.36.0
INVOKE_TRANSFORMERS_VERSION=4.57.6
INVOKE_ACCELERATE_VERSION=1.13.0
INVOKE_HF_HUB_VERSION=0.36.2
# ========================================
# SYSTEM PACKAGES / TOOLS
# ========================================
CUDA_NVCC_PKG=cuda-nvcc-12-8
CROC_VERSION=10.4.2