Code Monkey home page Code Monkey logo

Comments (4)

Ryandonofrio3 avatar Ryandonofrio3 commented on August 16, 2024

Hi there if you are on windows I had the same issue! To fix I uninstalled CUDA/CUDNN followed this guide:

https://medium.com/geekculture/install-cuda-and-cudnn-on-windows-linux-52d1501a8805)

Then for the install of pytorch et al:

https://stackoverflow.com/questions/55717751/torch-cuda-is-available-keeps-switching-to-false

And now i run this code to test:

`
import torch

print(torch.version)

print(torch.cuda.is_available())
`

from omnimotion.

qianqianwang68 avatar qianqianwang68 commented on August 16, 2024

Thank you @Ryandonofrio3! @ShenEffort Let me know if your issue is resolved. If not, could you provide your system information and Python version?

from omnimotion.

ShenEffort avatar ShenEffort commented on August 16, 2024

Thank you for response. The first time I configured the environment on the windows system according to the official document, then the above error message appeared, but when I used another computer (ubnutu system) did not appear the above error, I think it is the difference of the system. Finally, I also want to ask how to reduce the training costs, because my computer only 12 g memory, and have, in accordance with the official suggest the num_pts and chunk_size modified into 1.

from omnimotion.

ShenEffort avatar ShenEffort commented on August 16, 2024

你好,如果你在 Windows 上,我也遇到了同样的问题!为了解决这个问题,我按照以下指南卸载了 CUDA/CUDNN:

https://medium.com/geekculture/install-cuda-and-cudnn-on-windows-linux-52d1501a8805)

然后安装 pytorch 等:

https://stackoverflow.com/questions/55717751/torch-cuda-is-available-keeps-switching-to-false

现在我运行这段代码来测试:

` 进口火炬

打印(火炬。版本

打印(torch.cuda.is_available()) `

Thanks for reply, I have success on ubnutu system configuration

from omnimotion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.