HackerTrans
TopNewTrendsCommentsPastAskShowJobs

xnan

no profile record

Submissions

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

github.com
3 points·by xnan·4 mesi fa·2 comments

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

github.com
1 points·by xnan·6 mesi fa·0 comments

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

github.com
2 points·by xnan·6 mesi fa·1 comments

comments

xnan
·4 mesi fa·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 mesi fa·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!