sinatv52 / blender-on-colab Goto Github PK
View Code? Open in Web Editor NEWRendering Blender Animations using Google Colab
Rendering Blender Animations using Google Colab
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.