User Tools

Site Tools


tutoriais:conda

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutoriais:conda [2024-04-16 19:01] – [Tensorflow] gnanntutoriais:conda [2024-04-16 19:01] – [Torch] gnann
Line 42: Line 42:
 # python do sistema # python do sistema
 conda install pytorch-gpu conda install pytorch-gpu
 +</code>
 +
 +<code python>
 +import torch
 +
 +print("gpu: "+torch.cuda.get_device_name(0))
 +print("cuda: "+torch.version.cuda)
 </code> </code>
tutoriais/conda.txt · Last modified: 2024-04-16 19:33 by gnann

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki