Skip to content

Instantly share code, notes, and snippets.

View 3outeille's full-sized avatar
🎯
https://www.youtube.com/watch?v=VYPi0qcHWvQ&ab_channel=ABANIMETION

Ferdinand Mom 3outeille

🎯
https://www.youtube.com/watch?v=VYPi0qcHWvQ&ab_channel=ABANIMETION
View GitHub Profile
@mingfeima
mingfeima / part_3_vectorization_techniques.md
Last active December 26, 2023 07:16
PyTorch CPU Performance Optimization Tutorial - Section III
@jph00
jph00 / py.md
Last active May 31, 2022 06:16
Organized and hyperlinked index to every module, function, and class in the Python standard library

All of the python 3.9 standard library

For a version without the collapsible details sections (so you can search the whole thing in your browser), click here.

@nixiz
nixiz / threadpool.cc
Last active October 12, 2023 20:30
thread pool implementation with modern c++. requires std=c++17 to build and run the tests. https://godbolt.org/z/6oTco3Tjz
#include <iostream>
#include <memory>
#include <thread>
#include <mutex>
#include <future>
#include <condition_variable>
#include <functional>
#include <vector>
#include <deque>
#include <type_traits>
@nixiz
nixiz / cache_friendly_programming.cpp
Last active December 2, 2022 08:15
cache friendly programming best practices with google/benchmark results
#include <benchmark/benchmark.h>
#include <iostream>
#include <random>
#include <algorithm>
#include <vector>
#include <chrono>
#include <iterator>
#include <execution>
static void count_if_random(benchmark::State& state)
@jmoyers
jmoyers / 1. README.md
Last active June 23, 2023 17:00
Get up and running with a terminal, vim, and c++
  • color scheme
  • terminal
  • z proj, takes you to /some/deep/directory/project
#!/usr/bin/python3
#import nnvm.frontend.darknet
import tvm.relay.testing.yolo_detection
import tvm.relay.testing.darknet
import tvm.relay.transform as _transform
import matplotlib.pyplot as plt
import numpy as np
import tvm
import onnx
@viridiano
viridiano / researchtoolbox.md
Last active March 21, 2024 12:20
Researchers Toolbox – Tools for grad students and researchers

AWESOME LINGUISTICS - A curated list of anything remotely related to linguistics, sorted in alphabetical order. Awesome

Getting Started with Coding for Humanities Scholars (Python)

NOTE: The Programming Historian contains many coding lessons gea

@cbalint13
cbalint13 / yolo-quantization-demo.py
Last active January 10, 2024 09:29
TVM quantized YoloV3 demo
#!/usr/bin/python3
import nnvm
import nnvm.frontend.darknet
import tvm.relay.testing.yolo_detection
import tvm.relay.testing.darknet
import tvm.relay.transform as _transform
import matplotlib.pyplot as plt
import numpy as np
import tvm
@toolness
toolness / adventures-in-python-core-dumping.md
Last active May 25, 2024 04:10
Adventures in Python Core Dumping

Adventures in Python Core Dumping

After watching Bryan Cantrill's presentation on [Running Aground: Debugging Docker in Production][aground] I got all excited (and strangely nostalgic) about the possibility of core-dumping server-side Python apps whenever they go awry. This would theoretically allow me to fully inspect the state of the program at the point it exploded, rather than relying solely on the information of a stack trace.