Skip to content

Instantly share code, notes, and snippets.

View svp19's full-sized avatar
💭
A smile can get any job done

S V Praveen svp19

💭
A smile can get any job done
View GitHub Profile
@svp19
svp19 / local.conf
Last active October 6, 2020 05:53
Configuration file for OpenStack Deployment
# Sample ``local.conf`` for user-configurable variables in ``stack.sh``
# NOTE: Copy this file to the root DevStack directory for it to work properly.
# ``local.conf`` is a user-maintained settings file that is sourced from ``stackrc``.
# This gives it the ability to override any variables set in ``stackrc``.
# Also, most of the settings in ``stack.sh`` are written to only be set if no
# value has already been set; this lets ``local.conf`` effectively override the
# default values.
@svp19
svp19 / torch_distributed.py
Created September 15, 2020 02:24
Playground code for distributed training in PyTorch. While the docs and tutorials out there are great, I felt a simple example like this was much needed.
'''
Tutorial Code for distributed training in PyTorch that trains
an inception_v3 model on dummy data.
*Installation: *
Use pip/conda to install the following libraries
- torch
- torchvision
- argparse
- tqdm