Coder Social home page Coder Social logo

blender-on-colab's People

Contributors

sinaasadiyan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

okinter11

blender-on-colab's Issues

Issue with setgpu.py

Hey friend, thanks for keeping this notebook up to date.

I've been using a similar notebook for almost a month without the setgpu.py trick.

Unfortunately I keep running on an issue when running blender with the setgpu.py script. Here is what I get out on the terminal.

Blender 3.0.0 Alpha (hash 7d5e8d2bc149 built 2021-08-30 02:51:40)
Traceback (most recent call last):
  File "/content/setgpu.py", line 6, in <module>
    prefs.addons['cycles'].preferences.get_devices()
  File "/content/blender-3.0.0-alpha+cycles-x.7d5e8d2bc149-linux.x86_64-release/3.0/scripts/addons/cycles/properties.py", line 1329, in get_devices
    self.refresh_devices()
  File "/content/blender-3.0.0-alpha+cycles-x.7d5e8d2bc149-linux.x86_64-release/3.0/scripts/addons/cycles/properties.py", line 1325, in refresh_devices
    self.update_device_entries(_cycles.available_devices(device_type))
ValueError: Device "OPENCL" not known.
Read blend: /gdrive/MyDrive/Blender/primitives_02.blend

Notice the ValueError: Device "OPENCL" not known.. Blender keeps running and I get a render out of the notebook, but it seems that is not using the GPU.

For more context, I'm using Google Colab Pro+ and I followed your advice to restart the notebook in order to get a P100.

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.57.02    Driver Version: 460.32.03    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Tesla P100-PCIE...  Off  | 00000000:00:04.0 Off |                    0 |
| N/A   39C    P0    26W / 250W |      0MiB / 16280MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

Any advice? Thanks!

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.