mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
debug
This commit is contained in:
parent
46721dc84a
commit
e71546b06d
@ -78,5 +78,6 @@ torchrun $DISTRIBUTED_ARGS \
|
||||
++train_conf.avg_nbest_model=10 \
|
||||
++train_conf.use_deepspeed=false \
|
||||
++train_conf.deepspeed_config=${deepspeed_config} \
|
||||
++train_conf.find_unused_parameters=true \
|
||||
++optim_conf.lr=0.0002 \
|
||||
++output_dir="${output_dir}" &> ${log_file}
|
||||
@ -134,7 +134,7 @@ def main(**kwargs):
|
||||
**kwargs.get("train_conf"),
|
||||
)
|
||||
|
||||
model = trainer.warp_model(model)
|
||||
model = trainer.warp_model(model, **kwargs)
|
||||
|
||||
kwargs["device"] = int(os.environ.get("LOCAL_RANK", 0))
|
||||
trainer.device = int(os.environ.get("LOCAL_RANK", 0))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user