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

fix ray test in nano #5128

Merged
merged 3 commits into from
Jul 20, 2022
Merged

fix ray test in nano #5128

merged 3 commits into from
Jul 20, 2022

Conversation

MeouSker77
Copy link
Contributor

@MeouSker77 MeouSker77 commented Jul 19, 2022

Description

the default value of num_processes argument of Trainer is 1, and the trainer won't use distributed backend when num_processes==1, so we need to set it

in addition, fix the bug that the test of ray backend doesn't set the PYTHONPATH environment variable and ray backend doesn't pass this environment variable to subprocesses

@MeouSker77 MeouSker77 marked this pull request as ready for review July 20, 2022 02:21
@MeouSker77 MeouSker77 requested a review from yangw1234 July 20, 2022 02:21
@yangw1234
Copy link
Contributor

LGTM

@MeouSker77 MeouSker77 merged commit bc9e30c into intel:main Jul 20, 2022
@MeouSker77 MeouSker77 deleted the nano-fix-ray-test branch November 17, 2022 06:23
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