diff --git a/src/AdvancedSettingsDialog.ui b/src/AdvancedSettingsDialog.ui
index 3b7f788..9c9cd4a 100644
--- a/src/AdvancedSettingsDialog.ui
+++ b/src/AdvancedSettingsDialog.ui
@@ -1,260 +1,260 @@
-
- AdvancedSettingsDialog
-
-
-
- 0
- 0
- 600
- 450
-
-
-
- Advanced Settings
-
-
- -
-
-
- 0
-
-
-
- Performance
-
-
-
-
-
-
- Low VRAM Mode
-
-
-
- -
-
-
- Unload models between generation phases to save VRAM. Slower but uses less memory.
-
-
- true
-
-
-
- -
-
-
- Flash Attention
-
-
- true
-
-
-
- -
-
-
- Use flash attention for faster generation. Disable if experiencing issues.
-
-
- true
-
-
-
- -
-
-
- Qt::Vertical
-
-
-
- 20
- 40
-
-
-
-
-
-
-
-
- JSON Template
-
-
- -
-
-
- JSON Template for AceStep generation:
-
-
- true
-
-
-
- -
-
-
-
-
-
-
- Model Paths
-
-
-
- QFormLayout::FieldGrowthPolicy::AllNonFixedFieldsGrow
-
- -
-
-
- AceStep Path:
-
-
-
- -
-
-
-
-
-
- -
-
-
- Browse...
-
-
-
-
-
- -
-
-
- Qwen3 Model:
-
-
-
- -
-
-
-
-
-
- -
-
-
- Browse...
-
-
-
-
-
- -
-
-
- Text Encoder Model:
-
-
-
- -
-
-
-
-
-
- -
-
-
- Browse...
-
-
-
-
-
- -
-
-
- DiT Model:
-
-
-
- -
-
-
-
-
-
- -
-
-
- Browse...
-
-
-
-
-
- -
-
-
- VAE Model:
-
-
-
- -
-
-
-
-
-
- -
-
-
- Browse...
-
-
-
-
-
-
-
-
-
- -
-
-
- QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Save
-
-
-
-
-
-
-
-
- buttonBox
- accepted()
- AdvancedSettingsDialog
- accept()
-
-
- 248
- 254
-
-
- 157
- 254
-
-
-
-
- buttonBox
- rejected()
- AdvancedSettingsDialog
- reject()
-
-
- 316
- 260
-
-
- 286
- 260
-
-
-
-
-
+
+ AdvancedSettingsDialog
+
+
+
+ 0
+ 0
+ 600
+ 450
+
+
+
+ Advanced Settings
+
+
+ -
+
+
+ 0
+
+
+
+ Performance
+
+
+
-
+
+
+ Low VRAM Mode
+
+
+
+ -
+
+
+ Unload models between generation phases to save VRAM. Slower but uses less memory.
+
+
+ true
+
+
+
+ -
+
+
+ Flash Attention
+
+
+ true
+
+
+
+ -
+
+
+ Use flash attention for faster generation. Disable if experiencing poor output quality on vulkan.
+
+
+ true
+
+
+
+ -
+
+
+ Qt::Orientation::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+
+
+
+
+ JSON Template
+
+
+ -
+
+
+ JSON Template for AceStep generation:
+
+
+ true
+
+
+
+ -
+
+
+
+
+
+
+ Model Paths
+
+
+
+ QFormLayout::FieldGrowthPolicy::AllNonFixedFieldsGrow
+
+ -
+
+
+ AceStep Path:
+
+
+
+ -
+
+
-
+
+
+ -
+
+
+ Browse...
+
+
+
+
+
+ -
+
+
+ Qwen3 Model:
+
+
+
+ -
+
+
-
+
+
+ -
+
+
+ Browse...
+
+
+
+
+
+ -
+
+
+ Text Encoder Model:
+
+
+
+ -
+
+
-
+
+
+ -
+
+
+ Browse...
+
+
+
+
+
+ -
+
+
+ DiT Model:
+
+
+
+ -
+
+
-
+
+
+ -
+
+
+ Browse...
+
+
+
+
+
+ -
+
+
+ VAE Model:
+
+
+
+ -
+
+
-
+
+
+ -
+
+
+ Browse...
+
+
+
+
+
+
+
+
+
+ -
+
+
+ QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Save
+
+
+
+
+
+
+
+
+ buttonBox
+ accepted()
+ AdvancedSettingsDialog
+ accept()
+
+
+ 248
+ 254
+
+
+ 157
+ 254
+
+
+
+
+ buttonBox
+ rejected()
+ AdvancedSettingsDialog
+ reject()
+
+
+ 316
+ 260
+
+
+ 286
+ 260
+
+
+
+
+
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index 16b07e1..e8b0551 100644
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -29,6 +29,7 @@ MainWindow::MainWindow(QWidget *parent)
isGeneratingNext(false)
{
aceStep->moveToThread(&aceThread);
+ aceThread.setObjectName("AceStep Woker Thread");
ui->setupUi(this);
@@ -110,6 +111,8 @@ MainWindow::MainWindow(QWidget *parent)
MainWindow::~MainWindow()
{
aceStep->cancelGeneration();
+ aceThread.quit();
+ aceThread.wait();
autoSavePlaylist();
saveSettings();
@@ -165,7 +168,7 @@ void MainWindow::loadSettings()
aceStep->setLowVramMode(lowVram);
// Load flash attention setting
- bool flashAttention = settings.value("flashAttention", true).toBool();
+ bool flashAttention = settings.value("flashAttention", false).toBool();
aceStep->setFlashAttention(flashAttention);
}