Skip to content

Instantly share code, notes, and snippets.

View aboucaud's full-sized avatar

Alexandre Boucaud aboucaud

View GitHub Profile
@ASKabalan
ASKabalan / Slurm Gists
Last active January 26, 2026 16:18
Slurm Scripting and Profiling
#!/bin/bash
##############################################################################################################################
# USAGE: sbatch myscript.sh <RUN_NAME> python <script.py> [args...]
# EXAMPLE: sbatch myscript.sh my_experiment_v1 python train.py --lr 0.01
##############################################################################################################################
#SBATCH --job-name=Likelihoods
#SBATCH --cpus-per-task=8
#SBATCH --nodes=1
#SBATCH --tasks-per-node=1
#SBATCH --hint=nomultithread
@veekaybee
veekaybee / normcore-llm.md
Last active February 6, 2026 01:07
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

@DavidAce
DavidAce / nvidia-tdp.service
Last active January 28, 2026 01:55
Nvidia power limit at boot
[Unit]
Description=Set NVIDIA power limit above default
[Service]
Type=oneshot
ExecStartPre=/usr/bin/nvidia-smi -pm 1
ExecStart=/usr/bin/nvidia-smi -pl 275
@katef
katef / plot.awk
Last active January 28, 2026 10:56
#!/usr/bin/awk -f
# This program is a copy of guff, a plot device. https://github.com/silentbicycle/guff
# My copy here is written in awk instead of C, has no compelling benefit.
# Public domain. @thingskatedid
# Run as awk -v x=xyz ... or env variables for stuff?
# Assumptions: the data is evenly spaced along the x-axis
# TODO: moving average
@nadavrot
nadavrot / Matrix.md
Last active February 2, 2026 03:56
Efficient matrix multiplication

High-Performance Matrix Multiplication

This is a short post that explains how to write a high-performance matrix multiplication program on modern processors. In this tutorial I will use a single core of the Skylake-client CPU with AVX2, but the principles in this post also apply to other processors with different instruction sets (such as AVX512).

Intro

Matrix multiplication is a mathematical operation that defines the product of

@soxofaan
soxofaan / README.md
Last active May 2, 2025 22:26
Simple pretty CSV and TSV file viewer.