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
17 changes: 16 additions & 1 deletion docker/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,20 @@ RUN --mount=type=bind,source=pyproject.toml,target=/workspace/pyproject.toml \

# Use the container's torch installation rather than reinstall it
uv venv --system-site-packages ${UV_PROJECT_ENVIRONMENT}
uv sync --link-mode symlink --locked --only-group test --only-group dev
uv sync --link-mode symlink --locked --all-groups \
--no-install-package absl-py \
--no-install-package torch \
--no-install-package triton \
--no-install-package nvidia-cublas-cu12 \
--no-install-package nvidia-cuda-cupti-cu12 \
--no-install-package nvidia-cuda-nvrtc-cu12 \
--no-install-package nvidia-cuda-runtime-cu12 \
--no-install-package nvidia-cudnn-cu12 \
--no-install-package nvidia-cufft-cu12 \
--no-install-package nvidia-cufile-cu12 \
--no-install-package nvidia-curand-cu12 \
--no-install-package nvidia-cusolver-cu12 \
--no-install-package nvidia-cusparse-cu12 \
--no-install-package nvidia-cusparselt-cu12 \
--no-install-package nvidia-nccl-cu12
EOF
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ classifiers = [
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
]
dependencies = []
dependencies = [
"torch",
"absl-py",
"megatron-core>=0.14.0a0,<0.16.0",
]

[build-system]
requires = ["setuptools>=61"]
Expand Down Expand Up @@ -83,6 +87,9 @@ dev = [
"mypy>=1.8.0",
]

[tool.uv]
managed = true

[tool.setuptools]
packages = ["emerging_optimizers"]

Expand Down
Loading