Skip to content

Instantly share code, notes, and snippets.

View hamelsmu's full-sized avatar
💻
Always learning.

Hamel Husain hamelsmu

💻
Always learning.
View GitHub Profile
@hamelsmu
hamelsmu / fastai-azureml.ipynb
Last active May 22, 2021 16:15
fastai example doesn't work
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hamelsmu
hamelsmu / start_vm.sh
Created April 30, 2021 00:16
Quickly Spin Up a Deep Learning Rig on Google Cloud
export IMAGE_FAMILY="pytorch-latest-gpu"
export ZONE="us-west1-b"
export INSTANCE_NAME="dl-rig"
gcloud compute instances create $INSTANCE_NAME \
--zone=$ZONE \
--image-family=$IMAGE_FAMILY \
--image-project=deeplearning-platform-release \
--maintenance-policy=TERMINATE \
--accelerator="type=nvidia-tesla-v100,count=2" \
@hamelsmu
hamelsmu / draft-mode.ipynb
Last active April 2, 2021 06:03
What is the payload field for determining the draft status of a PR for GitHub Actions?
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hamelsmu
hamelsmu / sanity.ipynb
Last active March 13, 2021 14:01
GitHub Notification Sanity With `ghapi`
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hamelsmu
hamelsmu / lp.ipynb
Last active February 25, 2021 15:11
Linear Program with Python
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hamelsmu
hamelsmu / nbdev_jekyll.py
Last active April 18, 2023 04:25
Helper Script to use nbdev remote theme
#!/usr/bin/env python
# coding: utf-8
from fastcore.all import *
from shutil import rmtree
import yaml
rm=['_includes','_layouts','css','fonts','js','licenses','tooltips.json','Gemfile','Gemfile.lock']
raw='https://raw.githubusercontent.com/fastai/nbdev_template/master/docs/'
@hamelsmu
hamelsmu / Automating_Conda_Directory.md
Created January 9, 2021 23:57
Notes on working with Jeremy Howard to automate creation of files for Conda builds https://github.com/fastai/fastconda
@hamelsmu
hamelsmu / fastcore_run.ipynb
Created January 5, 2021 00:56
Problem with fastcore's run
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hamelsmu
hamelsmu / Rich_notes.ipynb
Created January 4, 2021 03:35
Rich CLI Notes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.