Repository navigation
feat(salm): Update model index | bump version to 0.3.1 #111
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
base: main
Are you sure you want to change the base?
Changes from all commits
71b9f54
9f02d3b
0e1e8d6
f8a0e54
06ef3cb
0f91e8d
d15aa02
8090c0b
c79650d
47ced7a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| NEMO_SPEECH_VERSION: 0.3.0 | ||
| NEMO_SPEECH_VERSION: 0.3.1 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -771,6 +771,12 @@ command_transcribe(int argc, char** argv) { | |
| throw std::invalid_argument( | ||
| std::string("SALM supports complete audio only; ") + | ||
| (options.live ? "--live" : "--stream") + " streaming recognition is unavailable"); | ||
| // after the checks above, so a rejected command downloads nothing; the engine loads a draft | ||
| // model only for speculative decoding (mtp_draft > 0) | ||
| if (speech_llm && config.salm.mtp_draft > 0 && !config.salm.dflash_path.empty()) | ||
| config.salm.dflash_path = | ||
| resolve_model_file(config.salm.dflash_path, "draft", "DFlash2 draft model") | ||
| .string(); | ||
|
Comment on lines
+776
to
+779
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
CPU runs and runs with The same problem affects |
||
| if (!options.vad_model.empty() || !config.vad.model_path.empty()) | ||
| config.vad.model_path = | ||
| require_model_file( | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preserve local-file precedence when collecting indexed names.
If a local GGUF file is named
nemotron-asr, resolution loads that file before checking the index. This lookup instead selects the indexed entry with that alias. The server then accepts that entry’s repository ID and other aliases for a different loaded model, rather than returning404 unknown_model. Return no indexed names when the reference resolves locally. Keep the startup reference and filename names added byserve. (raw.githubusercontent.com)