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

num_parallel_workers is deprecated #1878

Closed
nstarman opened this issue Oct 6, 2024 · 2 comments
Closed

num_parallel_workers is deprecated #1878

nstarman opened this issue Oct 6, 2024 · 2 comments

Comments

@nstarman
Copy link
Contributor

nstarman commented Oct 6, 2024

num_parallel_workers=1,

This should be replaced by the "devices" argument. I think (but may be wrong) that this defaults to 1 and can be removed entirely, otherwise I think devices=jax.devices()[:1] is the correct substitution.

@nstarman
Copy link
Contributor Author

nstarman commented Oct 6, 2024

I see this will be resolved by #1871

@fehiepsi
Copy link
Member

Right. Let me close the issue.

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

No branches or pull requests

2 participants