- Nvidia Driver 375.39 on ubuntu is broken when it comes to EGL. Follow comment #11 to fix the host machine.
- To fix an nvidia-docker driver mount, you need to either fix
/var/lib/nvidia-docker/volumes/nvidia_driver/375.39/lib64
or use a docker viadocker run -it --rm -v nvidia_driver_375.39:/nvidia_driver debian
to gain write permissions to the drivers, and patch them.- Copy
/usr/lib/nvidia-375/libEGL.so.375.39
into the{nvidia_driver}/lib64/
directory - Make sure the symlinks for
{nvidia_driver}/lib64/libEGL.so.1
and{nvidia_driver}/lib64/libEGL.so
eventually link to thelibEGL.so.375.39
file.
- Copy
- To fix an nvidia-docker driver mount, you need to either fix
- If you have the environment variable
DISPLAY
set, EGL will try and use the actual Display for offscreen OpenGL rendering instead of the headless route. This is difficult (but not impossible) because now you must run the command as the same user as the graphically logged in user.
This file contains 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
""" | |
Helper functions to save git information every time you | |
Requirements: | |
- GitPython==2.1.12 | |
(Probably works on other GitPython versions, but this is the version I've tested.) | |
Usage: | |
``` |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Outputs some information on CUDA-enabled devices on your computer, | |
including current memory usage. | |
It's a port of https://gist.github.com/f0k/0d6431e3faa60bffc788f8b4daa029b1 | |
from C to Python with ctypes, so it can run without compiling anything. Note | |
that this is a direct translation with no attempt to make the code Pythonic. |
People experimenting with kubernetes clusters on the GKE not necessarily have money to keep a full cluster on at all time. GKE clusters can be easily resized, but this still incurs in the full instance cost when the cluster is up.
Google has added preemptible instances that are ideal for many