Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TypeScript port #283

Merged
merged 2 commits into from
Aug 13, 2023
Merged

Add TypeScript port #283

merged 2 commits into from
Aug 13, 2023

Conversation

wizzard0
Copy link
Contributor

@wizzard0 wizzard0 commented Aug 13, 2023

I've never been so happy to have missed that the JS port already exists :D also it was nice to discover that the JS can reach 80% of the single-threaded gcc -O3 (10 tokens/s for TinyStories-110M compared to 12 t/s for make run)

UPD: runs the full 7B model as well 😎

image

I've never been so happy to have missed that the JS port already exists :D also it was nice to discover that the JS can reach 80% of the single-threaded C speed (10 tokens/s for TinyStories-110M)
@karpathy karpathy merged commit b51c63b into karpathy:master Aug 13, 2023
vinhtran2611 pushed a commit to vinhtran2611/llama2.c that referenced this pull request Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants