tutoriais:conda
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutoriais:conda [2024-04-16 18:49] – gnann | tutoriais:conda [2024-04-16 19:01] – [Torch] gnann | ||
---|---|---|---|
Line 26: | Line 26: | ||
<code bash> | <code bash> | ||
# python=3.9 | # python=3.9 | ||
- | conda install tensorflow-gpu | + | conda install tensorflow-gpu |
+ | </ | ||
+ | |||
+ | <code python> | ||
+ | import tensorflow as tf | ||
+ | cuda_version = tf.sysconfig.get_build_info()[" | ||
+ | gpu = tf.test.gpu_device_name() | ||
+ | |||
+ | print(" | ||
+ | print(" | ||
</ | </ | ||
Line 33: | Line 42: | ||
# python do sistema | # python do sistema | ||
conda install pytorch-gpu | conda install pytorch-gpu | ||
+ | </ | ||
+ | |||
+ | <code python> | ||
+ | import torch | ||
+ | |||
+ | print(" | ||
+ | print(" | ||
</ | </ |
tutoriais/conda.txt · Last modified: 2024-04-16 19:33 by gnann