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

Added scheduler support to Ray Tune hyperopt and fixed GPU usage #1088

Merged
merged 24 commits into from
Feb 26, 2021

Conversation

tgaddair
Copy link
Collaborator

@tgaddair tgaddair commented Feb 1, 2021

Ray will set CUDA_VISIBLE_DEVICES for each trial automatically, so we do not need to manually restrict GPUs in Ludwig.

See the Ray Tune documentation for details.

cc @ANarayan.

@tgaddair tgaddair changed the title Fixed Ray Tune hyperopt to use GPUs set by Ray Added scheduler support to Ray Tune hyperopt and fixed GPU usage Feb 3, 2021
@ANarayan
Copy link
Collaborator

ANarayan commented Feb 9, 2021

I think we may want to encode the configs in tune.report here using json.dumps() rather than str(config). I am having a hard time parsing the returned training_stats, config, and parameters using json.loads() and other decoding methods.

@tgaddair tgaddair merged commit 9c3f9f7 into master Feb 26, 2021
@tgaddair tgaddair deleted the fix-tune-gpus branch February 26, 2021 00:32
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.

None yet

2 participants