Upload train4.py with huggingface_hub
Browse files
train4.py
CHANGED
@@ -219,7 +219,7 @@ def fsdp_main(args):
|
|
219 |
rank = int(os.environ['RANK'])
|
220 |
world_size = int(os.environ['WORLD_SIZE'])
|
221 |
if args.use_wandb and rank == 0:
|
222 |
-
wandb.init(entity="SemiNAT", project="SemiNAT-
|
223 |
|
224 |
local_rank = int(os.environ['LOCAL_RANK'])
|
225 |
device = f"cuda:{local_rank}"
|
|
|
219 |
rank = int(os.environ['RANK'])
|
220 |
world_size = int(os.environ['WORLD_SIZE'])
|
221 |
if args.use_wandb and rank == 0:
|
222 |
+
wandb.init(entity="SemiNAT", project="SemiNAT-SFT", name=args.run_name)
|
223 |
|
224 |
local_rank = int(os.environ['LOCAL_RANK'])
|
225 |
device = f"cuda:{local_rank}"
|