HackerTrans
TopNewTrendsCommentsPastAskShowJobs

xnan

no profile record

Submissions

Show HN: ngrep – grep plus word embeddings (Rust)

github.com
3 points·by xnan·قبل 4 أشهر·2 comments

I wrote a minimal PyTorch FSDP to understand how it works (~240 LOC)

github.com
1 points·by xnan·قبل 6 أشهر·0 comments

Show HN: EduFSDP – Minimal and educational Fully Sharded Data Parallel

github.com
2 points·by xnan·قبل 6 أشهر·1 comments

comments

xnan
·قبل 4 أشهر·discuss
Oops, didn't know, thanks! I just added a section on how to compile and try it without a system installation to avoid any name clash :)
xnan
·قبل 6 أشهر·discuss
Hi everyone,

I’ve recently been digging into the PyTorch FSDP implementation. It’s powerful and highly optimized, which naturally means the codebase is extensive and isn't always straightforward to navigate. In the process, I decided to write a minimal implementation based on my findings, mainly to emphasize and show the different states and pre/post forward/backward of FSDP, all in a single place!

Hope this helps others!