Skip to content

Instantly share code, notes, and snippets.


Saurabh saurabh-kataria

View GitHub Profile
saurabh-kataria /
Created Feb 21, 2021 — forked from sgraaf/
PyTorch Distributed Data Parallel (DDP) example
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from argparse import ArgumentParser
import torch
import torch.distributed as dist
from torch.nn.parallel import DistributedDataParallel as DDP
from import DataLoader, Dataset
from import DistributedSampler
from transformers import BertForMaskedLM
View tmux_cheatsheet.markdown

tmux cheatsheet

As configured in my dotfiles.

start new:


start new with session name:

saurabh-kataria /
Created Jun 22, 2018 — forked from cmaureir/
Sun Grid Engine SGE state letter symbol codes meanings
saurabh-kataria /
Created Dec 29, 2015 — forked from bishboria/
Springer have made a bunch of books available for free, here are the direct links