Pinned Tweet
nobody talks about nodejs much on twitter but today is not that day.
→Learn basics of what and how of Nodejs:
LIKE AND RETWEET
thread 🧵👇
Re-designed the gear drive to be 16:1 gear reduction,
needed the extra kick for small sized robotic leg actuator.
Improvements:-
1. Torque peak 5Nm(before 2Nm)
2. Torque nominal 3Nm
3. Weight ~305gm
4. Smooth small scale motion.
Just finished building complete MIT style QDD actuator module with 4:1 gear drive train.
Improvement from last design:
- can communicate over CAN bus.
- easily programmable with arduino
- expected good torque rating (yet to benchmark fully).
- handling high current upto 40 amps
Just finished prototyping cheapest possible foc based position control motor/actuator.
- 1: 4 planetry gear based output.
Able to do velocity, torque and position control.
Can not find a good affordable 3 phase motor driver in india... 🥲
If anyone is interested in how CPU works, I have created this project that work as 6502 cpu emulator, you can load assembly programs directly onto cpu, also included some references.
looking forward to create BIOS for it.
github.com/navdhakar/6502cpu
Navdeep⚡ retweeted
If you want to use @karpathy 's llm.c gpt2 on low end gpu (in my case MX 330, 2GB memory), you can use unified memory in cuda, just replace
cudaMalloc->cudaMallocManaged
If you want to use @karpathy 's llm.c gpt2 on low end gpu (in my case MX 330, 2GB memory), you can use unified memory in cuda, just replace
cudaMalloc->cudaMallocManaged
even small LLMs are insanely data hungry, I fine-tuned mistral7B with 20k data points it still overfits in less than 100 iterations
Some things to do as a developer.
Been diving deep into linux for a month, Just read this book, awesome stuff, was very Intimidated by linux, but when you can build kernel and drivers from scratch linux become so much easier.
Resources that I went through👇
- deep dive books (kernel, drivers)
kroah.com/lkn/
lwn.net/Kernel/LDD3/
- install gentoo os (how real life linux distros are packaged and installed)
gentoo.org/
- awesome youtube channels
youtube.com/@Doriandotslash
youtube.com/@nirlichtman
One important channel I forgot, he gets right into meaty stuff of building real life linux drivers, its easy and its useful, you will never complain why your nvidia card is not working on linux.
youtube.com/watch?v=XoYkHUnm…
I ran @karpathy's llm.c as pytorch and native c on low-end cpu.
difference is already significant.
👇 below is simple comparision.
1. model compiled with C
-almost 1 GB less memory use (no pytorch overhead)
-efficient use of all 8 threads on cpu
✅successfully trained 1st test LLM for generating prompt from text chunks of raw data that can acts as synthetic data generator for anyone to make domain specific dataset.
-comparison between base model and finetuned













