All Projects → bfolkens → nvidia-docker-bootstrap

bfolkens / nvidia-docker-bootstrap

Licence: MIT license
For those times when nvidia-docker is not possible (like AWS ECS)

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to nvidia-docker-bootstrap

Macos Egpu Cuda Guide
Set up CUDA for machine learning (and gaming) on macOS using a NVIDIA eGPU
Stars: ✭ 187 (+884.21%)
Mutual labels:  nvidia
Moonlight Common C
Core implementation of Nvidia's GameStream protocol
Stars: ✭ 218 (+1047.37%)
Mutual labels:  nvidia
Nvidia Modded Inf
Modified nVidia .inf files to run drivers on all video cards, research & telemetry free drivers
Stars: ✭ 227 (+1094.74%)
Mutual labels:  nvidia
Nvidia Sniper
🎯 Autonomously buy Nvidia Founders Edition GPUs as soon as they become available.
Stars: ✭ 193 (+915.79%)
Mutual labels:  nvidia
Nvidia Clerk
A cross-platform go bot that tracks for availability of stock from Nvidia's store and adds a cart to your checkout.
Stars: ✭ 214 (+1026.32%)
Mutual labels:  nvidia
Relion
Image-processing software for cryo-electron microscopy
Stars: ✭ 219 (+1052.63%)
Mutual labels:  nvidia
Nfancurve
A small and lightweight POSIX script for using a custom fan curve in Linux for those with an Nvidia GPU.
Stars: ✭ 180 (+847.37%)
Mutual labels:  nvidia
Plotoptix
Data visualisation in Python based on OptiX 7.2 ray tracing framework.
Stars: ✭ 252 (+1226.32%)
Mutual labels:  nvidia
Genomeworks
SDK for GPU accelerated genome assembly and analysis
Stars: ✭ 215 (+1031.58%)
Mutual labels:  nvidia
Nemosminer
NemosMiner multi algo profit switching NVIDIA miner
Stars: ✭ 224 (+1078.95%)
Mutual labels:  nvidia
Pine
🌲 Aimbot powered by real-time object detection with neural networks, GPU accelerated with Nvidia. Optimized for use with CS:GO.
Stars: ✭ 202 (+963.16%)
Mutual labels:  nvidia
Nvidia Htop
A tool for enriching the output of nvidia-smi.
Stars: ✭ 213 (+1021.05%)
Mutual labels:  nvidia
Jetson easy
🔩 Automatically script to setup and configure your NVIDIA Jetson [Nano, Xavier, TX2i, TX2, TX1, TK1] . This script run different modules to update, fix and patch the kernel, install ROS and other...
Stars: ✭ 219 (+1052.63%)
Mutual labels:  nvidia
Smart Sketch
🖌 photorealistic drawings from simple sketches using NVIDIA's GauGAN
Stars: ✭ 195 (+926.32%)
Mutual labels:  nvidia
Jetson Containers
Machine Learning Containers for NVIDIA Jetson and JetPack-L4T
Stars: ✭ 223 (+1073.68%)
Mutual labels:  nvidia
Srmd Ncnn Vulkan
SRMD super resolution implemented with ncnn library
Stars: ✭ 186 (+878.95%)
Mutual labels:  nvidia
Nicehashquickminer
Super simple & easy Windows 10 cryptocurrency miner made by NiceHash.
Stars: ✭ 211 (+1010.53%)
Mutual labels:  nvidia
F1-demo
Real-time vehicle telematics analytics demo using OmniSci
Stars: ✭ 27 (+42.11%)
Mutual labels:  nvidia
Deeppicar
Deep Learning Autonomous Car based on Raspberry Pi, SunFounder PiCar-V Kit, TensorFlow, and Google's EdgeTPU Co-Processor
Stars: ✭ 242 (+1173.68%)
Mutual labels:  nvidia
Gl ssao
optimized screen-space ambient occlusion, cache-aware hbao
Stars: ✭ 220 (+1057.89%)
Mutual labels:  nvidia

nvidia-docker-bootstrap

Provides a solution for the times when nvidia-docker isn't something that is available for use. A good example of this is in AWS's ECS environment, where the docker containers are created without invoking the command line client.

Background

This script was made as a result of the comments and revisions from the article Deep Learning Image Recognition Using GPUs in Amazon ECS Docker Containers, and after several months of using these tweaks in production environments at CloudSight.

Instructions

Install the NVIDIA drivers into your docker host machine. This might look a bit different depending on your distro, but in general will look something like this:

sudo yum groupinstall -y "Development Tools"
version=364.19
arch=`uname -m`
wget http://us.download.nvidia.com/XFree86/Linux-${arch}/${version}/NVIDIA-Linux-${arch}-${version}.run
sudo bash ./NVIDIA-Linux-${arch}-${version}.run -silent

When you run your container, make sure to enable the --privileged mode. The bootstrap script below will copy the drivers from the host into the running container, so you'll need to attach a volume for /usr as /hostusr. The command to do this in docker looks something like:

docker run --rm -it --privileged -v /usr:/hostusr [your-image]

Next, run the bootstrap.sh file in a running container to copy the driver files from the host container.

wget -O- https://git.io/vHckS | bash

A typical setup would have the bootstrap script downloaded to the image, then execute after the container is running. A great place to put this is in an entrypoint script that is run from CMD.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].