Add low vram mode (unloads models)

This commit is contained in:
Carl Philipp Klemm 2026-04-15 13:01:41 +02:00
parent 14dec9f335
commit 216e59c105
7 changed files with 597 additions and 122 deletions

View file

@ -19,6 +19,43 @@
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="performanceTab">
<attribute name="title">
<string>Performance</string>
</attribute>
<layout class="QVBoxLayout" name="performanceLayout">
<item>
<widget class="QCheckBox" name="lowVramCheckBox">
<property name="text">
<string>Low VRAM Mode</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lowVramLabel">
<property name="text">
<string>Unload models between generation phases to save VRAM. Slower but uses less memory.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="jsonTab">
<attribute name="title">
<string>JSON Template</string>