https://github.com/lromul/nvidia-docker-makefile
An example of using nvidia-docker with Makefile
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (4.6%) to scientific vocabulary
Repository
An example of using nvidia-docker with Makefile
Basic Info
Statistics
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
An example of using nvidia-docker with Makefile
Train EfficientNet B0 on CIFAR with argus and timm.
Requirements
- Nvidia drivers >= 470, CUDA >= 11.4
- Docker, nvidia-docker
The provided Dockerfile is supplied to build an image with CUDA support and cuDNN.
Build an image and enter bash session
bash
make build
make run
or just
bash
make
then run training
bash
make COMMAND="python cifar_advanced.py --batch_size 256 --lr 0.001"
Run training using command argument
bash
make COMMAND="python cifar_advanced.py --batch_size 256 --lr 0.001"
Distributed data parallel training with Apex mixed precision and gradient accumulation
bash
make GPUS=2 COMMAND="./cifar_advanced.sh 2 --batch_size 128 --lr 0.0005 --amp --iter_size 2"
Other Makefile targets ```bash make # stop, build, run
do the same
make stop make build make run
make # by default all GPUs passed make GPUS=all # do the same make GPUS=none # without GPUs
make run GPUS=2 # pass the first two gpus make run GPUS='\"device=0,1\"' # pass GPUs numbered 0 and 1
make logs make exec # runs a new command in a running container make exec COMMAND="bash" # do the same make stop ```
Owner
- Name: Ruslan Baikulov
- Login: lRomul
- Kind: user
- Location: Moscow, Russia
- Repositories: 5
- Profile: https://github.com/lRomul
Deep Learning Engineer
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- ghcr.io/osai-ai/dokai 21.11-pytorch build