yuki-koyama / blender-cli-rendering

Blender Python scripts for rendering images directly from command-line interface
GNU General Public License v3.0
756 stars 108 forks source link

Selecting GPU devices in utils.py and run.sh #39

Open vadimkantorov opened 3 years ago

vadimkantorov commented 3 years ago

I found a useful tutorial: https://b3d.interplanety.org/en/render-from-console-only-on-the-specified-gpu-devices-2/

This is useful for big GPU machines which may be shared by multiple people, specifying the devices is useful. Btw does Blender respect CUDA_VISIBLE_DEVICES / NVIDIA_VISIBLE_DEVICES?