Better HN
topnewbestaskshowjobs
Log inSign up

gman_

24 karma · joined Oct 2, 2020 (6y ago) · 3 submissions

Submissions

comment 3y ago · link · parent

Wow! This is the most fun I've had programming in a while. Thanks for sharing

comment 3y ago · link · parent

Looks like you spoke too soon, I'm clocking 340+ tokens per second with my improved Rust implementation, compared to 106 with the original C. That being said, I didn't share this for any reason other than to share ideas and promote learning. Cheers

comment 3y ago · link · parent

Here's a Rust version in case anyone's curious what it would look like. It also clocks 106 tokens/second in release mode.

https://github.com/garrisonhess/llama2.c/blob/517a1a3e487f31...