-
-
Notifications
You must be signed in to change notification settings - Fork 15
documenting out-of-date tf post re cuda override #52
Conversation
@wolfv this PR follows #48 with minor clarifications / edits on overriding CUDA constraints on CPU-only machines. Note this was out of date --- credit to how fast things move at conda-forge 😄 Hopefully this is okay for now. I will be thinking more about adding more verbose details to the documentation later. I think we ought to have a more thorough "Getting Started" section with a lot of pointers and details about the general philosophy and how to get the most out of conda-forge/conda. |
posts/2021-11-03-tensorflow-gpu.rst
Outdated
# OR | ||
CONDA_CUDA_OVERRIDE="11.2" mamba install tensorflow -c conda-forge | ||
|
||
Note that you should select the cudatoolkit version most appropraite for your GPU; currently, we have "10.2", "11.0", "11.1", and "11.2" available. If you want the slimmer "cpu-only" package, then you can install `tensorflow-cpu` directly. At the time of writing (February 2022), on a machine without a GPU, one would always get the `-cpu` variant unless overriden like above. This decision has been made to allow greater accessibility for users with limited bandwidth and resources. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This CUDA selection is done automatically when you have a GPU by calling nvidia-smi
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me try to incorporate this into the text, paging @jakirkham for help in how to best phrase this.
I am fine with mentioning that:
(note that I used the |
Co-authored-by: Chris Burr <chrisburr@users.noreply.github.com>
@wolfv since this was really your blog post, how do you feel about the edits? I am somewhat hesitant to push this further because it is like walking into a minefield with a lot of confusing and unresolved issues. So I am happy to drop this and leave the status quo as is. Let me know. |
I am happy with the content. You could also add that to force a given version of |
Good call |
Thanks! |
Is it |
Looking at this doc, it appears to be the former Would you be interested in submitting a PR to update the blogpost? |
Sure! I’ll take a look. |
Xref: conda-forge/tensorflow-feedstock#174 and conda-forge/tensorflow-feedstock#189
Thanks to @hmaarrfk for the info and patience explaining this!
how to add a blog post
.rst
format in theposts
directory. Look at the other posts for the format.Make sure you have a
.. post::
directive at the top and a section title at the top.make clean
,ablog build
, andablog serve
.