Skip to content

Add support for tensor parallelism and add OLMo2-26B model config / train script - #117

Merged
epwalsh merged 43 commits into
mainfrom
epwalsh/olmo2-13B
Dec 3, 2024
Merged

epwalsh merged 43 commits into
mainfrom
epwalsh/olmo2-13B

Conversation

@epwalsh

@epwalsh epwalsh commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

@epwalsh epwalsh changed the title Add OLMo2-26B model config and train script Add support for tensor parallelism and add OLMo2-26B model config / train script Dec 2, 2024
@epwalsh
epwalsh merged commit d6981b3 into main Dec 3, 2024
@epwalsh
epwalsh deleted the epwalsh/olmo2-13B branch December 3, 2024 22:05
@github-actions

Copy link
Copy Markdown

This PR has been released in v1.8.0.

AkshitaB added a commit that referenced this pull request Sep 10, 2026
The pinned dion (7452a58, 2026-01) is ~98 commits stale and its HSDP path
deadlocks on an ALLREDUCE on torch 2.13 (test_hsdp_dion hangs -> NCCL watchdog
timeout -> SIGABRT); it passes on torch 2.10. HEAD (e64832041) carries the
relevant fixes: megabatch_orthogonalize_async hang (#74), per-step allreduce
sync change (#75), FSDP2 padding regression (#97), and the PyTorch-2.13 /
Triton-3.7.1 inductor-miscompile fix (#117).

Needs a rebuild + re-run of the dion tests (single-GPU and HSDP) to confirm; a
98-commit bump may require adjusting olmo-core's dion integration.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
AkshitaB added a commit that referenced this pull request Sep 10, 2026
With dion bumped to e64832041 the HSDP deadlock is gone, but on torch 2.13
test_hsdp_dion[shard1_replica2] hits PyTorch's new static Triton launcher with
"CUDA driver error: invalid argument" (static_triton_launcher._launch_kernel).
Setting TORCHINDUCTOR_STATIC_CUDA_LAUNCHER=0 in the spawned worker falls back to
the dynamic launcher and both HSDP variants pass. Scoped to the dion test
(not image-wide) to avoid the launch-overhead cost on non-dion compiled paths.

TODO: remove once dion fixes its compiled kernels for torch 2.13 (it did the
analogous NorDion2 fix upstream in PR #117).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant