Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MME - deviceId while creating workers #1257

Merged
merged 2 commits into from
Nov 4, 2023
Merged

MME - deviceId while creating workers #1257

merged 2 commits into from
Nov 4, 2023

Conversation

sindhuvahinis
Copy link
Contributor

Description

Brief description of what this PR is about

  • If this change is a backward incompatible change, why must this change be made?
  • Interesting edge cases to note here

@sindhuvahinis sindhuvahinis requested review from zachgk, frankfliu and a team as code owners November 2, 2023 20:05
for (int i = 0; i < mpiWorkers; ++i) {
logger.debug("Pre-creating python worker: {} ", i);
PyProcess worker = new PyProcess(this, pyEnv, i * tp);
PyProcess worker = new PyProcess(this, pyEnv, deviceId + (i * tp));
workerQueue.offer(worker);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for MPI use case. We dont have to take this up now, if it needs thorough testing @frankfliu

@frankfliu frankfliu merged commit 61c2a23 into master Nov 4, 2023
7 checks passed
@frankfliu frankfliu deleted the mme branch November 4, 2023 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants