mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
fix torchrun log message (#131652)
fixes https://github.com/pytorch/pytorch/issues/131461 Pull Request resolved: https://github.com/pytorch/pytorch/pull/131652 Approved by: https://github.com/awgu
This commit is contained in:
parent
d0e2ab617d
commit
1eedb0a962
|
|
@ -708,10 +708,10 @@ def determine_local_world_size(nproc_per_node: str):
|
|||
) from e
|
||||
|
||||
logger.info(
|
||||
"Using nproc_per_node=%s," " setting to %s since the instance " "has %s %s",
|
||||
"Using nproc_per_node=%s, setting nproc_per_node to %s since the instance has %s %s",
|
||||
nproc_per_node,
|
||||
num_proc,
|
||||
os.cpu_count(),
|
||||
num_proc,
|
||||
device_type,
|
||||
)
|
||||
return num_proc
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user