-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a callback for downstream evals, update Docker builds (#73)
Replaces #72. Gives us complete parity with the original downstream evals in the OLMo repo.
- Loading branch information
Showing
16 changed files
with
321 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
BASE_IMAGE = ghcr.io/allenai/pytorch:2.4.1-cuda12.1-python3.11 | ||
# NOTE: make sure CUDA versions match across these variables | ||
BASE_IMAGE = ghcr.io/allenai/pytorch:2.5.1-cuda12.1-python3.11-v2024.10.29 | ||
CUDA_TOOLKIT_VERSION = 12.1.0 | ||
TORCH_CUDA_VERSION = 121 | ||
|
||
# NOTE: when upgrading the nightly version you also need to upgrade the torch version specification | ||
# in 'pyproject.toml' to include that nightly version. | ||
NIGHTLY_VERSION = "2.6.0.dev20241009+cu121 --index-url https://download.pytorch.org/whl/nightly/cu121" | ||
TORCHAO_VERSION = "torchao==0.5.0 --extra-index-url https://download.pytorch.org/whl/cu121" | ||
NIGHTLY_VERSION = "2.6.0.dev20241009+cu121" | ||
TORCHAO_VERSION = "torchao==0.5.0" | ||
MEGABLOCKS_VERSION = "megablocks[gg] @ git+https://[email protected]/epwalsh/megablocks.git@epwalsh/deps" | ||
CUDA_TOOLKIT_VERSION = 12.1.0 | ||
|
||
VERSION = $(shell python src/olmo_core/version.py) | ||
VERSION_SHORT = $(shell python src/olmo_core/version.py short) | ||
|
@@ -49,6 +51,7 @@ stable-image : | |
--build-arg BUILDKIT_INLINE_CACHE=1 \ | ||
--build-arg BASE=$(BASE_IMAGE) \ | ||
--build-arg CUDA_TOOLKIT_VERSION=$(CUDA_TOOLKIT_VERSION) \ | ||
--build-arg TORCH_CUDA_VERSION=$(TORCH_CUDA_VERSION) \ | ||
--build-arg MEGABLOCKS_VERSION=$(MEGABLOCKS_VERSION) \ | ||
--build-arg TORCHAO_VERSION=$(TORCHAO_VERSION) \ | ||
--target stable \ | ||
|
@@ -62,6 +65,7 @@ nightly-image : | |
--build-arg BUILDKIT_INLINE_CACHE=1 \ | ||
--build-arg BASE=$(BASE_IMAGE) \ | ||
--build-arg CUDA_TOOLKIT_VERSION=$(CUDA_TOOLKIT_VERSION) \ | ||
--build-arg TORCH_CUDA_VERSION=$(TORCH_CUDA_VERSION) \ | ||
--build-arg MEGABLOCKS_VERSION=$(MEGABLOCKS_VERSION) \ | ||
--build-arg TORCHAO_VERSION=$(TORCHAO_VERSION) \ | ||
--build-arg NIGHTLY_VERSION=$(NIGHTLY_VERSION) \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.