mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update
This commit is contained in:
parent
6427c834df
commit
0eb3b1161b
@ -444,7 +444,7 @@ if __name__ == '__main__':
|
||||
|
||||
# ddp init
|
||||
os.environ['CUDA_VISIBLE_DEVICES'] = str(args.gpu_id)
|
||||
args.distributed = args.dist_world_size > 1
|
||||
args.distributed = args.ngpu > 1 or args.dist_world_size > 1
|
||||
distributed_option = build_distributed(args)
|
||||
|
||||
# for logging
|
||||
|
||||
Loading…
Reference in New Issue
Block a user