Merged
Conversation
Collaborator
|
Wow thanks for sending this. I checked out your llama.cpp PR and I'm having trouble creating a GGUF file. Any ideas? I ran this command: |
Contributor
Author
|
Hmmm looking into this now |
Contributor
Author
|
Could you try with a fresh copy of llama.cpp at
and then run I was able to then run and it seems to inference |
Collaborator
jart
approved these changes
Jul 22, 2024
Collaborator
jart
left a comment
There was a problem hiding this comment.
Fantastic. This model goes wicked fast on CPU.
llama_print_timings: load time = 59.98 ms
llama_print_timings: sample time = 1.16 ms / 30 runs ( 0.04 ms per token, 25862.07 tokens per second)
llama_print_timings: prompt eval time = 45.54 ms / 203 tokens ( 0.22 ms per token, 4457.82 tokens per second)
llama_print_timings: eval time = 185.74 ms / 29 runs ( 6.40 ms per token, 156.14 tokens per second)
llama_print_timings: total time = 237.18 ms / 232 tokens
Log end
smol jart@luna:~/llamafile$ ls -hal /weights/SmolLM-135M.BF16.gguf
-rw-rw-r-- 1 jart jart 259M Jul 22 10:29 /weights/SmolLM-135M.BF16.gguf
Thank you! Approved!
Contributor
Author
|
Llamafiles for all SmolLM models can be found here. |
Collaborator
|
Nice! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

These changes are needed to make a gguf for SmolLM work with llamafile. The gguf was generated with this PR for llama.cpp
Tested with