This repository was archived by the owner on Jun 17, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
72 lines (62 loc) · 2.15 KB
/
Copy path.env.example
File metadata and controls
72 lines (62 loc) · 2.15 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
# ============================================
# I.R.I.S. Environment Configuration Template
# ============================================
# Copy this file to .env and fill in your values
# ============================================
# Discord Bot Configuration (Optional)
# ============================================
DISCORD_BOT_TOKEN=your_bot_token_here
DISCORD_BOT_ID=your_bot_id_here
DISCORD_BOT_OWNER_ID=your_owner_id_here
DISCORD_CHANNEL_NEW_IMAGES=1442114035368591462
DISCORD_CHANNEL_VARIATIONS=1442114068445003839
DISCORD_CHANNEL_UPSCALED=1442114100095090822
# ============================================
# Server Settings
# ============================================
HOST=0.0.0.0
PORT=8000
# ============================================
# Model Settings (Lazy Loading)
# ============================================
DEFAULT_MODEL=anime
HF_TOKEN=your_hf_token_here
# ============================================
# Model Paths (all in project root - default)
# ============================================
# Root folder: ./models (in project root)
# HUGGINGFACE_MODELS_PATH=./models/huggingface
# REALESRGAN_MODELS_PATH=./models/realesrgan
# SWINIR_MODELS_PATH=./models/swinir
# HF_HOME=./models/hf_cache
# ============================================
# Upscaler Settings
# ============================================
DEFAULT_UPSCALER=realesrgan
ENABLE_SWINIR=true
MIN_UPSCALE_FACTOR=2
MAX_UPSCALE_FACTOR=16
# ============================================
# DirectML/ROCm Settings
# ============================================
DIRECTML_OPTIMIZATION_LEVEL=1
ROCM_OPTIMIZATION_LEVEL=1
ROCM_FORCE_FLOAT32=false
ROCM_SMI_PATH=rocm-smi
ROCM_DEVICE_ID=0
# ============================================
# Upscaler Tile Sizes
# ============================================
UPSCALER_TILE_SIZE_LOW_VRAM=400
UPSCALER_TILE_SIZE_HIGH_VRAM=0
UPSCALER_VRAM_THRESHOLD_GB=6.0
# ============================================
# Performance
# ============================================
ENABLE_UPSCALER_METRICS=true
# ============================================
# DRAM Extension (low VRAM)
# ============================================
DRAM_EXTENSION_ENABLED=false
VRAM_THRESHOLD_GB=6
MAX_DRAM_GB=16