8000 A forward pass by jamorphy · Pull Request #3 · jamorphy/llama.cpp · GitHub
[go: up one dir, main page]

Skip to content

A forward pass #3

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

Merged
merged 1 commit into from
Apr 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
A forward pass
Run forward passes with dummy codes. Output tensor shapes (raw audio samples) seem to match expected shape given number of input frames. Attempts with Orpheus to be done soon.

The gguf used in this commit is at: https://huggingface.co/jamorphy/snac-fwd-pass-devel-gguf
  • Loading branch information
jamorphy committed Apr 6, 2025
commit 9d25ca1d21768cd36926bbbc1aa7eaaa70f87646
2 changes: 1 addition & 1 deletion convert_hf_to_gguf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2494,7 +2494,7 @@ def set_vocab(self):

def set_gguf_parameters(self):
super().set_gguf_parameters()
self.gguf_writer.add_vocab_size (4096) # TODO: Fix
self.gguf_writer.add_vocab_size(self.hparams["vocab_size"])
self.gguf_writer.add_uint32("snac.quantizer.codebook_size", self.hparams["codebook_size"])
self.gguf_writer.add_uint32("snac.quantizer.codebook_dim", self.hparams["codebook_dim"])
self.gguf_writer.add_embedding_length(self.hparams["decoder_dim"]) # 1024
Expand Down
Loading
0