mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 01:24:36 +00:00
add max tts length 1024
This commit is contained in:
parent
bcaf379509
commit
a42328b063
2 changed files with 10 additions and 1 deletions
|
@ -2,6 +2,11 @@
|
|||
|
||||
void dia_model::assign_weight(std::string name, struct ggml_tensor * tensor) {
|
||||
std::vector<std::string> parts = split(name, ".");
|
||||
// GGML_LOG("\nassign_weight %s\n",name.c_str());
|
||||
if(name=="GGUF tensor data binary blob") //patch for gguf, idk why this tensor exists
|
||||
{
|
||||
return;
|
||||
}
|
||||
TTS_ASSERT(parts.size() >= 3);
|
||||
|
||||
if (parts[1] == "encoder") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue