Skip to content

Commit

Permalink
try flash, no compile
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Dec 3, 2024
1 parent 2863fe9 commit 5858777
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/scripts/train/OLMo2-26B.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
def build_model_config(common: CommonComponents) -> TransformerConfig:
return TransformerConfig.olmo2_26B(
vocab_size=common.tokenizer.padded_vocab_size(),
compile=True,
compile=False,
fused_ops=False,
use_flash=True,
dp_config=TransformerDataParallelConfig(
name=DataParallelType.fsdp, param_dtype=DType.bfloat16, reduce_dtype=DType.float32
),
Expand Down

0 comments on commit 5858777

Please sign in to comment.