prolific open-source contributor. former 100x engineer; now replaced by an LLM. early eng team @cursor_ai and @github

San Francisco, CA
Pinned Tweet
Beautiful day in SF today
1
25
8,973
tell me where you work without telling me where you work
101
13
2,416
1,460,328
POV: releasing a new version of Cursor to the world
26
18
939
102,734
Excited to share that I am working with the amazing team at @anysphere to help build @cursor_ai
19
2
240
27,256
just another day at the office
5
1
128
55,788
Literally bought GPUs out of a trunk tonight
9
3
96
9,313
This month I got PRs merged into cutlass, flash-attention, xformers, transformers, peft and vllm. All relatively trivial changes, but still feels good.
6
2
88
9,559
the github.com test suite runs in under a minute with github.com/tmm1/test-queue
6
48
81
Testing Llama-2-7b-chat inference speeds on my local hardware: Mac M1 Ultra + GGML (q4_K_M) 25.18 tokens/s 3090 + hf load_in_4bit 8.61 tokens/s 3090 + hf 11.62 tokens/s 3090 + vllm/PagedAttention 43.1 tokens/s
6
4
75
12,438
FYI: flash-attn 2.1.0 was released, with inference fixes xformers 0.0.21 was released, with FA2 now bundled vLLM 0.1.4 was released, with bumped xformers dependency
2
4
51
4,981
Farewell San Francisco, the last 10 years were a blast. 👋🏼🌉
3
41
ffmpeg's hls (http live streaming) demuxer used to speak only http/1.0 taught it to use http keepalive and pipelining, and overall streaming throughput increased by 3x ffmpeg.org/pipermail/ffmpeg-…
5
39
Hacked up line_profiler to capture VRAM usage instead of clock time, and its already pretty useful! In this example, training_step uses 4GB VRAM and optimizer state uses 160MB github.com/pyutils/line_prof…
3
40
7,172
Ruby meetup at GitHub HQ in SF.
1
3
33
6,502
fast and accurate tags for your ruby code: gem install ripper-tags ripper-tags -R .
2
8
37
Garbage Collection in Ruby 2.1 tmm1.net/ruby21-rgengc/
7
52
35
Out-of-Band GC in Ruby 2.1: tmm1.net/ruby21-oobgc/
7
39
36
3 years and 2 days ago, my first commit to github/github
10
2
32
Faster ruby code with 2.1 and stackprof tmm1.net/ruby21-profiling/
3
29
34
Started a blog thing to show off some of the cool stuff shipping with Ruby 2.1. First up, the method cache: tmm1.net/ruby21-method-cache…
6
26
32
Tried ctranslate2 on 3090 w/ Llama2-13B-chat Impressive inference performance, but exllama still ahead. 34 tok/s vs 40 tok/s And exllama loads way faster.
Replying to @kaushikpatnaik
Try ctranslate2, has batching and int8
1
1
31
9,613
Initial tests show ruby 2.1 spends 70% less time in GC on the github.com rails app.
7
91
28
started exploring some LLM training tooling today cobbled together monkey patches to get QLoRA + FlashAttention v2 working together, then optimized to eek out a bit more perf peft: 37/3693 [05:57<9:51:49, 9.71s/it] peft + flash-attn: 37/3693 [05:45<9:32:35, 9.40s/it]
2
28
3,430
I built a little web app that can estimate income tax owed for US taxpayers: taxsim.app #TaxTwitter
2
1
23
i've been working on a small benchmark suite to compare various training methods and optimizations, and am finally starting to get back some results!
4
2
25
3,612
found another one
3
22
3,283
Want to store key/value metadata about your git commits? Use git-notes + jq as a simple append-only json database
3
1
23
10,628
"Open-source is the only way to go" - my uber driver
3
22
. @yukihiro_matz just approved my commit bit on Ruby. \o/
5
3
19
In case you missed any of my 2.1 posts, here's a list: tmm1.net/ruby21/
16
17
Whoa, a docker fork that adds native macOS container support github.com/moby/moby/compare…
macOS Containers (native, not linux) macoscontainers.org/ Very cool !
3
19
3,517
current status:
1
19
Replying to @HamelHusain
Must be an old version? I fixed this bug.
1
1
20
2,306
alias t='git ls-files | grep'
1
19
Ruby 2.1 is going to be an incredible release. I'm excited.
2
23
19
success at last, thanks to help from @chpwn. hubotsiri is alive: f.cl.ly/items/0v3Y2W1z242B2e…
17
27
13
ProTip: git config --global url."git://github.com/".insteadOf gh:
3
4
13
Created a jenkins job today that runs a bash script that uses a ruby script to talk to a windows server over http to run powershell cmdlets.
3
5
16
Do your future self a favor and install @atuinsh
My top commands from 2023
1
4
16
3,288
when i saw people monkey patching pytorch modules, everything clicked for me it's a dynamic language runtime. i know this! 🧵
1
5
16
4,527
how to install pytorch nightly in a uv venv with one simple trick..
1
1
13
1,779
Incredibly proud of @p_reynolds and the GH systems team for turning a simple PoC into a full blown production system
1
16
attention is quadratic, but what does that mean? processing 2k tokens requires 2.7GB of VRAM processing 4k tokens requires 7.8GB of VRAM!
3
1
17
4,130
Got this message from a friend today after their "quick trip to micro center"
2
15
1,936
Thanks to @charliesome's fstrings, ruby trunk now boots our rails app with 40% fewer long-lived strings on the heap. bugs.ruby-lang.org/issues/91…
3
19
16
Replying to @HamelHusain
exllama + GPTQ was fastest for me vLLM also very competitive if you want to run without quantization TGI for me was slow even tho it uses exllama kernels. Maybe it's better optimized for data centers (A100) vs what I have locally (3090)
1
15
1,436
them: >convert your azure pipelines to github actions using our automated tool me: >run azure pipeline inside github action
4
10
1,147
Landed my first golang patch: github.com/golang/go/commit/… I guess I'm a windows programmer now.
15
ended up down a tree-sitter rabbit hole today..
1
15
1,694
firefox is the new IE
38
13
invalid byte sequence in utf-8 #FiveWordsTechHorrors
18
13
you gotta spend gold fish to make gold fish
5
14
ruby 2.1.0-preview2 is out. Try the new ObjectSpace.dump_all or profiler api: github.com/tmm1/stackprof
1
8
12
If you haven't heard yet, I am moving back to SF!
14
1,787
so excited to finally have generics in golang 1.18
1
13
vnc over gif
2
4
12
If you're going to try the Llama2 chat models, make sure you're using the right prompt format! github.com/ggerganov/llama.c… gpus.llm-utils.org/llama-2-p…
2
14
1,752
yarn.lock package-lock.json pnpm-lock.yaml bun.lockb gotta catch em all
1
1
12
1,766
ProTip: git commit -p
3
6
13
Just made my first two commits to ruby/ruby.
4
4
12
javascript doesn't have 64bit ints. good thing server software doesn't need those.
7
14
12
Turns out the repo is empty because your future self is trying to do the same thing.
1
1
11
reminder that software is everywhere and everything is terrible.
9
11
Replying to @fxn @github
IIRC, my initial implementation downloaded `git ls-files` to the browser and ran a js fuzzy text lib over it. Probably never changed much.
12
Wanted to try 13B-chat on 3090 next, but I was getting OOMs with hf/vllm (expected), and then 4bit also failed strangely (mismatched shape on mul) Ended up using GPTQ with exllama, which loads quick (<5s) and runs fast! 7B: 43 tokens/s 13B: 39 tokens/s github.com/turboderp/exllama
1
1
12
2,431
Helped a friend put together a build for local ML dev: Amazon: NUC12WSHi5 = $489 64GB DDR4 = $105 2TB NVMe = $89 PCIe power Y-splitters = $16 OWC TB4 Hub = $129 Facebook: Sonnet 750 = $175 Razer Core X = $300 Mantiz Saturn Pro II = $250 3x 3090 = $2100 Total: $1553 + $2100
2
11
1,757
TIL: hitting 'v' in less launches $EDITOR
3
19
12
lol TIL python lets you alter your caller's local variable namespace? inspect.currentframe().f_back.f_locals.pop stackoverflow.com/a/70606157
4
1
10
6,810
don't mind me just buying every GPU on craigslist
1
10
2,235
"The syscalls are coming from inside the process"
5
9
TIL the prlimit64 syscall on Linux lets you change resource limits (including the open file limit) on any running process.
1
8
10
good overview of security and sandbox implementation in iOS: media.blackhat.com/bh-us-11/… semantiscope.com/research/BH…
4
4
10
Ruby 2.1: Frozen String Literals tmm1.net/ruby21-fstrings/
18
11
great presentation about writing good ruby code // RT @jeremyevans0: Finally got slides for my #mwrc presentation up http://is.gd/ayPcY
9
Replying to @atmos
@atmos Green in sixty seconds.
9
Ruby 2.1: Process.setproctitle() tmm1.net/ruby21-process-setp…
1
7
8
Hotel elevators not working after a 7.8 earthquake in Tokyo. We're stuck in the lobby.
7
1
9
really enjoyed slides from @idangazit's Design for Developers talk http://scr.bi/e3eDdN
10
Finally tracked down the root cause of the most infuriating 4 month old bug. Feels good.
3
9
Our solution was to use separate appid/bundle for QA, use fixed version number (2017) to only go through beta review once.
1
1
8