Skip to content

Instantly share code, notes, and snippets.

View nil0x9's full-sized avatar
🎯
Focusing

Tianyang Lin nil0x9

🎯
Focusing
View GitHub Profile
@nil0x9
nil0x9 / private_fork.md
Created June 10, 2025 12:53 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@nil0x9
nil0x9 / flash_muon_partial_materialization.py
Last active May 20, 2025 08:37
A quick implementation of flash-muon but without materializing lower triangular parts of matrix A and B in Newton-Schulz iteration (using triton)
#!/usr/bin/env python
# coding: utf-8
import pandas as pd
import triton
import triton.language as tl
import torch
from torch import Tensor
try:
from flash_muon import fast_newtonschulz as fast_newtonschulz_v1
except ImportError as e: