Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Git directory (contains tokens in remote URL)
.git
.gitignore

# Local directories (from .gitignore)
data/
scripts/
wandb/
playground/
output/
outputs/
trainer_output/
checkpoints/

# Python artifacts
__pycache__/
*.py[cod]
*$py.class
*.egg-info/
*.egg
*.so
*.pth
build/
dist/
develop-eggs/
.eggs/
sdist/
wheels/
MANIFEST

# Environments
.env
.venv
venv/
env/
ENV/
env.bak/
venv.bak/

# IDE / editor
.vscode
.idea/

# Testing / coverage
.pytest_cache/
.coverage
.coverage.*
htmlcov/
.tox/
.nox/
.hypothesis/
cover/
nosetests.xml
coverage.xml

# Documentation build
docs/_build/

# Type checkers
.mypy_cache/
.dmypy.json
.pytype/
.pyre/

# Misc
.DS_Store
*.log
.deepspeed_env
cython_debug/
.ipynb_checkpoints
.cache

# Docker
Dockerfile
.dockerignore
25 changes: 25 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
FROM pytorch/pytorch:2.9.1-cuda12.8-cudnn9-devel

# System dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
ffmpeg \
libsndfile1 \
libgl1-mesa-glx \
libglib2.0-0 \
ninja-build \
curl \
&& rm -rf /var/lib/apt/lists/*

# Install uv for fast package management
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/local/bin/

WORKDIR /workspace

# Copy source (filtered by .dockerignore)
COPY . .

# Install lmms-engine with all extras, flash-attn, and liger-kernel
RUN uv pip install --system -e ".[all]" && \
uv pip install --system flash-attn --no-build-isolation && \
uv pip install --system liger-kernel
Loading