mirror of
https://github.com/QwenLM/Qwen.git
synced 2026-05-21 00:45:48 +08:00
Update finetune.py
This commit is contained in:
@@ -278,7 +278,7 @@ def train():
|
||||
|
||||
local_rank = training_args.local_rank
|
||||
|
||||
device_map = "auto"
|
||||
device_map = None
|
||||
world_size = int(os.environ.get("WORLD_SIZE", 1))
|
||||
ddp = world_size != 1
|
||||
if lora_args.q_lora:
|
||||
|
||||
Reference in New Issue
Block a user