Skip to content

fix: update get_nproc_per_node to get_nprocs_per_node API#3766

Closed
Aanushka001 wants to merge 2 commits into
pytorch:masterfrom
Aanushka001:fix-nproc-api
Closed

fix: update get_nproc_per_node to get_nprocs_per_node API#3766
Aanushka001 wants to merge 2 commits into
pytorch:masterfrom
Aanushka001:fix-nproc-api

Conversation

@Aanushka001
Copy link
Copy Markdown

Description

This PR fixes the API call from the deprecated get_nproc_per_node() to the current get_nprocs_per_node() method, and updates the corresponding variable name from nproc to nprocs.

Changes

  • Changed idist.get_nproc_per_node() to idist.get_nprocs_per_node()
  • Updated variable name from nproc to nprocs

Related

Based on original PR #3763

@github-actions github-actions Bot added the module: distributed Distributed module label May 31, 2026
@vfdev-5
Copy link
Copy Markdown
Collaborator

vfdev-5 commented May 31, 2026

This change is inappropriate, closing.

@vfdev-5 vfdev-5 closed this May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: distributed Distributed module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants