feat: rename binaries ace-qwen3 --> ace-lm, dit-vae --> ace-synth (1e627bf+)
In acestep.cpp since commit 1e627bf, binary file names changed: - ace-qwen3 --> ace-lm - dit-vae --> ace-synth ! For users of previous aceradio versions: - Delete settings for re-configuration - Binaries rebuild with new names
This commit is contained in:
parent
6297477e29
commit
227ee981a3
1 changed files with 8 additions and 8 deletions
|
|
@ -57,11 +57,11 @@ bool AceStep::requestGeneration(SongItem song, QString requestTemplate, QString
|
||||||
|
|
||||||
request = {song, QRandomGenerator::global()->generate(), aceStepPath, textEncoderModelPath, ditModelPath, vaeModelPath};
|
request = {song, QRandomGenerator::global()->generate(), aceStepPath, textEncoderModelPath, ditModelPath, vaeModelPath};
|
||||||
|
|
||||||
QString qwen3Binary = aceStepPath + "/ace-qwen3";
|
QString qwen3Binary = aceStepPath + "/ace-lm";
|
||||||
QFileInfo qwen3Info(qwen3Binary);
|
QFileInfo qwen3Info(qwen3Binary);
|
||||||
if (!qwen3Info.exists() || !qwen3Info.isExecutable())
|
if (!qwen3Info.exists() || !qwen3Info.isExecutable())
|
||||||
{
|
{
|
||||||
generationError("ace-qwen3 binary not found at: " + qwen3Binary);
|
generationError("ace-lm binary not found at: " + qwen3Binary);
|
||||||
busy = false;
|
busy = false;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
@ -136,16 +136,16 @@ void AceStep::qwenProcFinished(int code, QProcess::ExitStatus status)
|
||||||
if(code != 0)
|
if(code != 0)
|
||||||
{
|
{
|
||||||
QString errorOutput = qwenProcess.readAllStandardError();
|
QString errorOutput = qwenProcess.readAllStandardError();
|
||||||
generationError("ace-qwen3 exited with code " + QString::number(code) + ": " + errorOutput);
|
generationError("ace-lm exited with code " + QString::number(code) + ": " + errorOutput);
|
||||||
busy = false;
|
busy = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString ditVaeBinary = request.aceStepPath + "/dit-vae";
|
QString ditVaeBinary = request.aceStepPath + "/ace-synth";
|
||||||
QFileInfo ditVaeInfo(ditVaeBinary);
|
QFileInfo ditVaeInfo(ditVaeBinary);
|
||||||
if (!ditVaeInfo.exists() || !ditVaeInfo.isExecutable())
|
if (!ditVaeInfo.exists() || !ditVaeInfo.isExecutable())
|
||||||
{
|
{
|
||||||
generationError("dit-vae binary not found at: " + ditVaeBinary);
|
generationError("ace-synth binary not found at: " + ditVaeBinary);
|
||||||
busy = false;
|
busy = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -153,7 +153,7 @@ void AceStep::qwenProcFinished(int code, QProcess::ExitStatus status)
|
||||||
request.requestLlmFilePath = tempDir + "/request_" + QString::number(request.uid) + "0.json";
|
request.requestLlmFilePath = tempDir + "/request_" + QString::number(request.uid) + "0.json";
|
||||||
if (!QFileInfo::exists(request.requestLlmFilePath))
|
if (!QFileInfo::exists(request.requestLlmFilePath))
|
||||||
{
|
{
|
||||||
generationError("ace-qwen3 failed to create enhanced request file "+request.requestLlmFilePath);
|
generationError("ace-lm failed to create enhanced request file "+request.requestLlmFilePath);
|
||||||
busy = false;
|
busy = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -175,7 +175,7 @@ void AceStep::qwenProcFinished(int code, QProcess::ExitStatus status)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Step 2: Run dit-vae to generate audio
|
// Step 2: Run ace-synth to generate audio
|
||||||
QStringList ditVaeArgs;
|
QStringList ditVaeArgs;
|
||||||
ditVaeArgs << "--request"<<request.requestLlmFilePath;
|
ditVaeArgs << "--request"<<request.requestLlmFilePath;
|
||||||
ditVaeArgs << "--text-encoder"<<request.textEncoderModelPath;
|
ditVaeArgs << "--text-encoder"<<request.textEncoderModelPath;
|
||||||
|
|
@ -194,7 +194,7 @@ void AceStep::ditProcFinished(int code, QProcess::ExitStatus status)
|
||||||
if (code != 0)
|
if (code != 0)
|
||||||
{
|
{
|
||||||
QString errorOutput = ditVaeProcess.readAllStandardError();
|
QString errorOutput = ditVaeProcess.readAllStandardError();
|
||||||
generationError("dit-vae exited with code " + QString::number(code) + ": " + errorOutput);
|
generationError("ace-synth exited with code " + QString::number(code) + ": " + errorOutput);
|
||||||
busy = false;
|
busy = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue