mirror of
https://github.com/karpathy/nanochat.git
synced 2026-06-19 20:49:09 +00:00
Fix formatting in get_wandb function call
This commit is contained in:
parent
1e989829b3
commit
79e0eb8da9
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user