mirror of
				https://github.com/Wan-Video/Wan2.1.git
				synced 2025-11-04 06:15:17 +00:00 
			
		
		
		
	This commit introduces comprehensive Docker support for running Wan2.1 video generation models locally with GPU acceleration. Changes: - Add Dockerfile with CUDA 12.1 support and optimized layer caching - Add docker-compose.yml for easy container orchestration - Add .dockerignore for efficient Docker builds - Add DOCKER_SETUP.md with detailed setup and troubleshooting guide - Add DOCKER_QUICKSTART.md for rapid deployment - Add docker-run.sh helper script for container management - Update Makefile with Docker management commands Features: - Full GPU support with NVIDIA Docker runtime - Single-GPU and multi-GPU (FSDP + xDiT) configurations - Memory optimization flags for consumer GPUs (8GB+) - Gradio web interface support on port 7860 - Volume mounts for models, outputs, and cache - Comprehensive troubleshooting and optimization guides - Production-ready security best practices The Docker setup supports all Wan2.1 models (T2V, I2V, FLF2V, VACE) and includes both 1.3B (consumer GPU) and 14B (high-end GPU) variants. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
		
			
				
	
	
		
			93 lines
		
	
	
		
			798 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			93 lines
		
	
	
		
			798 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# Git files
 | 
						|
.git
 | 
						|
.gitignore
 | 
						|
.gitattributes
 | 
						|
 | 
						|
# Docker files
 | 
						|
Dockerfile
 | 
						|
docker-compose.yml
 | 
						|
.dockerignore
 | 
						|
 | 
						|
# Python cache
 | 
						|
__pycache__/
 | 
						|
*.py[cod]
 | 
						|
*$py.class
 | 
						|
*.so
 | 
						|
.Python
 | 
						|
build/
 | 
						|
develop-eggs/
 | 
						|
dist/
 | 
						|
downloads/
 | 
						|
eggs/
 | 
						|
.eggs/
 | 
						|
lib/
 | 
						|
lib64/
 | 
						|
parts/
 | 
						|
sdist/
 | 
						|
var/
 | 
						|
wheels/
 | 
						|
*.egg-info/
 | 
						|
.installed.cfg
 | 
						|
*.egg
 | 
						|
 | 
						|
# Virtual environments
 | 
						|
venv/
 | 
						|
env/
 | 
						|
ENV/
 | 
						|
.venv
 | 
						|
 | 
						|
# IDE files
 | 
						|
.vscode/
 | 
						|
.idea/
 | 
						|
*.swp
 | 
						|
*.swo
 | 
						|
*~
 | 
						|
.DS_Store
 | 
						|
 | 
						|
# Model files (download separately)
 | 
						|
models/
 | 
						|
*.pth
 | 
						|
*.pt
 | 
						|
*.bin
 | 
						|
*.safetensors
 | 
						|
*.ckpt
 | 
						|
 | 
						|
# Output files
 | 
						|
outputs/
 | 
						|
output/
 | 
						|
*.mp4
 | 
						|
*.avi
 | 
						|
*.mov
 | 
						|
*.png
 | 
						|
*.jpg
 | 
						|
*.jpeg
 | 
						|
 | 
						|
# Cache directories
 | 
						|
cache/
 | 
						|
.cache/
 | 
						|
__pycache__/
 | 
						|
 | 
						|
# Logs
 | 
						|
*.log
 | 
						|
logs/
 | 
						|
 | 
						|
# Documentation (keep lightweight)
 | 
						|
*.md
 | 
						|
!README.md
 | 
						|
!DOCKER_SETUP.md
 | 
						|
 | 
						|
# Test files
 | 
						|
tests/
 | 
						|
test/
 | 
						|
*.test.py
 | 
						|
 | 
						|
# CI/CD
 | 
						|
.github/
 | 
						|
.gitlab-ci.yml
 | 
						|
.travis.yml
 | 
						|
 | 
						|
# Temporary files
 | 
						|
tmp/
 | 
						|
temp/
 | 
						|
*.tmp
 |