Created
March 3, 2017 05:43
-
-
Save hakatashi/9129cb07fca82d73d5cd65af893a6718 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get install nvidia-cuda-toolkit nvidia-modprobe awscli p7zip-full blender aria2 -y | |
aria2c -x 16 -s 16 https://developer.nvidia.com/compute/cuda/8.0/prod/local_installers/cuda-repo-ubuntu1604-8-0-local_8.0.44-1_amd64-deb | |
sudo dpkg -i cuda-repo-ubuntu1604-8-0-local_8.0.44-1_amd64.deb | |
sudo apt-get update && sudo apt-get install cuda -y | |
aws s3 cp s3://hakata-generic/blender/umikaze_cycles_packed.7z . | |
7z x umikaze_cycles_packed.7z | |
echo "import bpy; bpy.context.user_preferences.system.compute_device_type = 'CUDA'; bpy.context.user_preferences.system.compute_device = 'CUDA_0'; bpy.context.scene.cycles.device = 'GPU'" > gpu.py | |
time blender -P gpu.py -b umikaze_cardboard.blender -P gpu.py -t 0 -a > blender-g2-2x.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment