Skip to content

Instantly share code, notes, and snippets.

View adam-dziedzic's full-sized avatar
🎯
Focusing

Adam Dziedzic adam-dziedzic

🎯
Focusing
View GitHub Profile
@adam-dziedzic
adam-dziedzic / git-clearHistory
Created October 21, 2020 16:16 — forked from stephenhardy/git-clearHistory
Steps to clear out the history of a git/github repository
-- Remove the history from
rm -rf .git
-- recreate the repos from the current content only
git init
git add .
git commit -m "Initial commit"
-- push to the github remote repos ensuring you overwrite history
git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adam-dziedzic
adam-dziedzic / nvvp.md
Created June 6, 2020 04:08 — forked from sonots/nvvp.md
How to use NVIDIA profiler

Usually, located at /usr/local/cuda/bin

Non-Visual Profiler

$ nvprof python train_mnist.py

I prefer to use --print-gpu-trace.