Fix formatting in get_wandb function call

This commit is contained in:
Sermet Pekin 2025-11-06 10:26:30 +03:00 committed by GitHub
parent 1e989829b3
commit 79e0eb8da9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,7 +68,7 @@ ptdtype = torch.float32 if dtype == 'float32' else torch.bfloat16
autocast_ctx = torch.amp.autocast(device_type=device_type, dtype=ptdtype) if device_type == "cuda" else nullcontext()
# wandb logging init
wandb_run = get_wandb("nanochat-sft" , run=run, master_process=master_process, user_config=user_config)
wandb_run = get_wandb("nanochat-sft", run=run, master_process=master_process, user_config=user_config)
# Load the model and tokenizer
model, tokenizer, meta = load_model(source, device, phase="train", model_tag=model_tag, step=step)