
ME PhD, manufacturing, ML, robotics 🇻🇦🇺🇸
Storrs, CT
Joined May 2023
- Tweets1.1K
- Following1.2K
- Followers1K
- Likes85.9K
Sean Rescsanski retweeted
Tesla GigaPress is often brought up in convo of world’s largest press
This confuses people seeing other industrial presses that are 10x “stronger”, but these are different machines entirely
Here’s a simple breakdown of Die Casting vs Forging presses
Sean Rescsanski retweeted
Here is Lecture 3 of my class Advanced Machining at MIT.
This class covered machining different kinds of materials and goes over which types of machines are best for working with various materials.
The guest lecture was given by Sean Rescsanski (@srescs) and covered other types of metal fabrication and additive manufacturing.
Credit: Thank you to @TrevorCampbell_ for filming the lecture
Sean Rescsanski retweeted
Happy to publish Lecture 1 of my course, Advanced Machining, here on @X. This lecture is an introduction to the course and also dives into the history of machining.
I hope you enjoy it! Please let me know what you think in the comments :)
Sean Rescsanski retweeted
I'm excited for the first lecture on January 6th! Please use this Google Form link (in reply) to sign up if you would like to receive information about the class by email including links to the video lectures once they are posted.
Excited to announce that I will be teaching a course at MIT during the month of January titled Advanced Machining. I’m teaching the class that I wish I had when I was an undergrad: a practical deep-dive into all the details of machining, metrology, workholding, tool-selection, tolerances, etc. that you would normally learn after many years of experience.
It will be open to the public and also will be posted on YouTube :) Please let me know what you think! (Link in the reply)
Sean Rescsanski retweeted
we are bringing back grand industrial expositions of old. i am no longer asking, i am telling.
Sean Rescsanski retweeted
We’ve successfully programmed an incremental serial engraving process using G-code and macros. This saves us countless hours by automating serial number programming for the thousands of parts we produce each year. We're ready to full implementation on our Mazak HCN-4000
Sean Rescsanski retweeted
Excited to announce that I will be teaching a course at MIT during the month of January titled Advanced Machining. I’m teaching the class that I wish I had when I was an undergrad: a practical deep-dive into all the details of machining, metrology, workholding, tool-selection, tolerances, etc. that you would normally learn after many years of experience.
It will be open to the public and also will be posted on YouTube :) Please let me know what you think! (Link in the reply)
Sean Rescsanski retweeted
Did you know (I didn’t) that single use beverage cups (SUBC) like what you’d get ordering coffee has a ~30 um polyethylene liner, and that could generate enough nanoparticles to give one for each of your cells (15 trillions) after 13 cups.
It’s “well under FDA’s mass based limit”, but the authors argue the mass limit might not capture enough of the potential health effects.
Sean Rescsanski retweeted
The idea that the drawings get printed out is particularly disturbing to software bros.
Sean Rescsanski retweeted
“You get books out of the machines”
The best response to degrowth is to share Hans Rosling’s experience of washing machines
Sean Rescsanski retweeted
Can’t stop thinking about how sick the paint jobs are on Greek Air Force planes
Sean Rescsanski retweeted
📽️ New 4 hour (lol) video lecture on YouTube:
"Let’s reproduce GPT-2 (124M)"
youtu.be/l8pRSuU81PU
The video ended up so long because it is... comprehensive: we start with empty file and end up with a GPT-2 (124M) model:
- first we build the GPT-2 network
- then we optimize it to train very fast
- then we set up the training run optimization and hyperparameters by referencing GPT-2 and GPT-3 papers
- then we bring up model evaluation, and
- then cross our fingers and go to sleep.
In the morning we look through the results and enjoy amusing model generations. Our "overnight" run even gets very close to the GPT-3 (124M) model. This video builds on the Zero To Hero series and at times references previous videos. You could also see this video as building my nanoGPT repo, which by the end is about 90% similar.
Github. The associated GitHub repo contains the full commit history so you can step through all of the code changes in the video, step by step.
github.com/karpathy/build-na…
Chapters.
On a high level Section 1 is building up the network, a lot of this might be review. Section 2 is making the training fast. Section 3 is setting up the run. Section 4 is the results. In more detail:
00:00:00 intro: Let’s reproduce GPT-2 (124M)
00:03:39 exploring the GPT-2 (124M) OpenAI checkpoint
00:13:47 SECTION 1: implementing the GPT-2 nn.Module
00:28:08 loading the huggingface/GPT-2 parameters
00:31:00 implementing the forward pass to get logits
00:33:31 sampling init, prefix tokens, tokenization
00:37:02 sampling loop
00:41:47 sample, auto-detect the device
00:45:50 let’s train: data batches (B,T) → logits (B,T,C)
00:52:53 cross entropy loss
00:56:42 optimization loop: overfit a single batch
01:02:00 data loader lite
01:06:14 parameter sharing wte and lm_head
01:13:47 model initialization: std 0.02, residual init
01:22:18 SECTION 2: Let’s make it fast. GPUs, mixed precision, 1000ms
01:28:14 Tensor Cores, timing the code, TF32 precision, 333ms
01:39:38 float16, gradient scalers, bfloat16, 300ms
01:48:15 torch.compile, Python overhead, kernel fusion, 130ms
02:00:18 flash attention, 96ms
02:06:54 nice/ugly numbers. vocab size 50257 → 50304, 93ms
02:14:55 SECTION 3: hyperpamaters, AdamW, gradient clipping
02:21:06 learning rate scheduler: warmup + cosine decay
02:26:21 batch size schedule, weight decay, FusedAdamW, 90ms
02:34:09 gradient accumulation
02:46:52 distributed data parallel (DDP)
03:10:21 datasets used in GPT-2, GPT-3, FineWeb (EDU)
03:23:10 validation data split, validation loss, sampling revive
03:28:23 evaluation: HellaSwag, starting the run
03:43:05 SECTION 4: results in the morning! GPT-2, GPT-3 repro
03:56:21 shoutout to llm.c, equivalent but faster code in raw C/CUDA
03:59:39 summary, phew, build-nanogpt github repo
Sean Rescsanski retweeted
Out of a ~$3.2MM total project budget (Cerca 2019), this Moongate cost us about $15k.
It made the project. People take prom and wedding photos in front all the time. It anchors it in people’s mind.
Where do you live? “I live by the Moongate” is a common refrain.
This taught me something: beauty is powerful, and the moments that make a project, and capture peoples’ hearts, can be quite small.
It’s the power of human scale, beauty and placemaking. I call these types of things Anchor Architecture now. Architecture that draws people in, that they remember, that anchors a place in people’s minds.
Often, it’s a tiny fraction of a project budget, but it can change everything. – at Oklahoma City, OK
Sean Rescsanski retweeted
Have you guys heard the story about the Roman guy who invented plastic, and the emperor got freaked out and had him executed?
Replying to @robinhanson
"Englishman William Lee, who invented an early mechanized knitter that would allow people to make clothes in a fraction of the normal time. In 1589, he finally secured an audience with Queen Elizabeth I with the hopes of being issued a royal patent. Sadly, his hopes were crushed, because Elizabeth feared that the machine would destabilize the realm by throwing too many people out of work. Attempts to acquire a patent in France and from Elizabeth’s successor James I were also refused on the same grounds."















































