Make fattn off the default due to vulkan issues
This commit is contained in:
parent
55be24b36f
commit
e3fb4761b0
2 changed files with 263 additions and 260 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<ui version="4.0">
|
<ui version="4.0">
|
||||||
<class>AdvancedSettingsDialog</class>
|
<class>AdvancedSettingsDialog</class>
|
||||||
<widget class="QDialog" name="AdvancedSettingsDialog">
|
<widget class="QDialog" name="AdvancedSettingsDialog">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
|
|
@ -54,7 +54,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="flashAttentionLabel">
|
<widget class="QLabel" name="flashAttentionLabel">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Use flash attention for faster generation. Disable if experiencing issues.</string>
|
<string>Use flash attention for faster generation. Disable if experiencing poor output quality on vulkan.</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="wordWrap">
|
<property name="wordWrap">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
|
@ -64,7 +64,7 @@
|
||||||
<item>
|
<item>
|
||||||
<spacer name="verticalSpacer">
|
<spacer name="verticalSpacer">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Vertical</enum>
|
<enum>Qt::Orientation::Vertical</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizeHint" stdset="0">
|
<property name="sizeHint" stdset="0">
|
||||||
<size>
|
<size>
|
||||||
|
|
@ -257,4 +257,4 @@
|
||||||
</hints>
|
</hints>
|
||||||
</connection>
|
</connection>
|
||||||
</connections>
|
</connections>
|
||||||
</ui>
|
</ui>
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,7 @@ MainWindow::MainWindow(QWidget *parent)
|
||||||
isGeneratingNext(false)
|
isGeneratingNext(false)
|
||||||
{
|
{
|
||||||
aceStep->moveToThread(&aceThread);
|
aceStep->moveToThread(&aceThread);
|
||||||
|
aceThread.setObjectName("AceStep Woker Thread");
|
||||||
|
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
|
||||||
|
|
@ -110,6 +111,8 @@ MainWindow::MainWindow(QWidget *parent)
|
||||||
MainWindow::~MainWindow()
|
MainWindow::~MainWindow()
|
||||||
{
|
{
|
||||||
aceStep->cancelGeneration();
|
aceStep->cancelGeneration();
|
||||||
|
aceThread.quit();
|
||||||
|
aceThread.wait();
|
||||||
|
|
||||||
autoSavePlaylist();
|
autoSavePlaylist();
|
||||||
saveSettings();
|
saveSettings();
|
||||||
|
|
@ -165,7 +168,7 @@ void MainWindow::loadSettings()
|
||||||
aceStep->setLowVramMode(lowVram);
|
aceStep->setLowVramMode(lowVram);
|
||||||
|
|
||||||
// Load flash attention setting
|
// Load flash attention setting
|
||||||
bool flashAttention = settings.value("flashAttention", true).toBool();
|
bool flashAttention = settings.value("flashAttention", false).toBool();
|
||||||
aceStep->setFlashAttention(flashAttention);
|
aceStep->setFlashAttention(flashAttention);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue