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

Add section on Checking GPU Availability #1633

Merged
merged 5 commits into from
Aug 30, 2021
Merged

Conversation

logankilpatrick
Copy link
Member

@ToucheSir
Copy link
Member

ToucheSir commented Jun 26, 2021

Depending on how long it takes for #1566 to land, we may want to pull over the default_gpu_converter functionality into Flux first and reference that here and/or add a user-facing API for checking GPU availability.

@logankilpatrick
Copy link
Member Author

I don't have a good grasp of these things right now but I thought this would be useful for the time being.

Copy link
Member

@darsnack darsnack left a comment

Choose a reason for hiding this comment

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

I think this will need to be updated for multiple GPUs, but clearer docs never hurt anyone in the meantime.

docs/src/gpu.md Outdated Show resolved Hide resolved
@DhairyaLGandhi
Copy link
Member

Should we avoid talking about the Flux.use_cuda flag. Its not something stable at all, and is more of a detail which may change any time, in fact I believe Tim also suggested some changes to that mechanism.

@darsnack
Copy link
Member

Sure we can limit this to just CUDA.functional

darsnack
darsnack previously approved these changes Aug 22, 2021
docs/src/gpu.md Outdated Show resolved Hide resolved
Co-authored-by: Carlo Lucibello <[email protected]>
@logankilpatrick
Copy link
Member Author

Alright I think we are at the finish line here!

@CarloLucibello
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Aug 30, 2021

Build succeeded:

@bors bors bot merged commit 7ada01c into master Aug 30, 2021
@CarloLucibello CarloLucibello deleted the logankilpatrick-patch-2 branch April 7, 2022 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants