Comments (3)
Hey there;
The thing that was not obvious to me when trying to follow troubleshooting advice from the existing docs is what's actually happening with Python under the hood here. Maybe you've already figured this out, but this suite of tools leverages Hython, which ships with Houdini. So, there's no reliance on external/system/anaconda python versions. The troubleshooting mentions uninstalling Torch from system python, for reasons that aren't quite clear to me.
In my case, what had happened is that I had installed Torch via Hython previously, and had done so without Cuda compatibility. So, when this repo tries to download dependencies, it found Torch already installed, skipped it, then claimed everything had been installed correctly.
To fix it for me, then, I needed to uninstall my erroneous Torch package via Hython, then reinstall it via the shelf tool (actually, I dug into the shelf tool code and just ran the Hython pip install command directly, so I could understand what was happening...the shelf tool wasn't providing enough feedback for me to have a clear understanding what it was doing).
You might try the same...uninstall Torch if it had been previously installed via Hython, then reinstall via the shelf tool (or, if you wanna do it manually, this:)
hython -m pip install torch --index-url https://download.pytorch.org/whl/cu117
from mlops.
How did you finally fix this problem? I never had PyTorch installed and I installed CUDA after I started getting the error.
Within Houdini in the Python shell 'torch' cannot seem to find cuda
>>> import torch
>>> torch.cuda.is_available()
False
from mlops.
That helped! Thanks a ton.
After installed the correct version of CUDA (11.7), I wasn't uninstalling torch. I was just deleting the folders in the Houdini/scripts/python folder. Installing torch didn't compile it with CUDA as there was already torch CPU version present.
Following your advice, I uninstalled torch and installed again and it works!
from mlops.
Related Issues (20)
- SD Solver 2.0 failing when targeting a custom LoRA
- SAM not delivering prims HOT 1
- Install Dependencies throwing subprocess error HOT 12
- ControlNet spits out error first time using it and can't get past it! HOT 2
- ValueError in diffusers dependency HOT 9
- sd_pipeline Invalid source - Windows 10 / Linux Mint - Shared Drive HOT 2
- sd_scheduler V3 is missing the Compute Device menu HOT 2
- SD Solver numpy Error HOT 2
- NumPy Traceback When Launching Houdini 19.5.605 with MLOPS HOT 1
- pycocotools-2.0.7-cp310-cp310-win_amd64.whl is not a supported wheel on this platform. HOT 4
- Camera to points - Render/Refresh via python script not working
- 'Convert Model' shelf tool broken in H20/MLOPs 3.0 HOT 2
- PDG (TOPs) Network Sticks on First Frame During Cook
- MLOPs 3.0 install issue with H20.0.625 - No module named 'numpy.core._multiarray_umath' HOT 1
- SDXL implementation not working HOT 1
- Should this work on linux ? HOT 2
- No render because of hardcoded paths/names in "CameraToPoints"? :( HOT 1
- Error installing dependencies on Windows 11 Houdini 20.0.547 Py3.9 HOT 2
- MLOPS Download models error on Mac M2 HOT 2
- Error installing dependencies in Houdini 20.5 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mlops.