Skip to content
Python

fixed qwen3.5vllm with low VRAM

DeepBeepMeep1972b1495ced
diff --git a/README.md b/README.md
index 89ca970..5f483ba 100644
--- a/README.md
+++ b/README.md
@@ -52,7 +52,9 @@ WanGP supports the Wan (and derived models) but also Hunyuan Video, Flux, Qwen,
- **LTX Desktop WanGP**: as a sample app (made just for fun) that uses WanGP API, you may try LTX Desktop. This app offers Video / Audio nice editing capabilities but will require 32+ VRAM to run. As now it uses WanGP as its core engine, VRAM requirements are much smaller. It will use LTX 2.3 for Video Gen & Z Image turbo fo Image gen. You can reuse (in theory) your current WanGP install with *LTX Destop WanGP*. https://github.com/deepbeepmeep/LTX-Desktop-WanGP
-Please note as people preferred mataynone v1 over v2 I have added an option to select matanyone version in the Config / Extension tab
+- **New Audio Ouput formats in mp4**: audio stored in video file can now be of higher quality (*AAC192 - AAC356*) or *ALAC* (lossless). Please note that you wont be able listen to ALAC audio track directly in the webapp.
+
+Also note as people preferred mataynone v1 over v2 I have added an option to select matanyone version in the Config / Extension tab
### March 7th 2026: WanGP v10.981, Expecting an Update ?
diff --git a/docs/API.md b/docs/API.md
index ea66a96..def1060 100644
--- a/docs/API.md
+++ b/docs/API.md
@@ -4,6 +4,8 @@
The main goal is to let third-party code call WanGP directly, keep the last loaded model alive across requests, receive structured progress updates, and still capture the same stdout/stderr output that would normally go to the console.
+**Please note that use of the WanGP API is subject to the WanGP Terms and Conditions. Any product that integrates WanGP should clearly disclose that it uses WanGP in both its user interface and its documentation.**
+
## Quick Start
```python
diff --git a/shared/prompt_enhancer/qwen35_text.py b/shared/prompt_enhancer/qwen35_text.py
index d5b552f..2da9727 100644
--- a/shared/prompt_enhancer/qwen35_text.py
+++ b/shared/prompt_enhancer/qwen35_text.py
@@ -626,6 +626,8 @@ def load_qwen35_text_prompt_enhancer(
model._prompt_enhancer_safe_legacy = safe_legacy_mode
model._prompt_enhancer_use_vllm = engine_name == "vllm"
model._prompt_enhancer_vllm_force_eager = engine_name == "vllm" and engine_detail != "cuda graph"
+ if engine_name == "vllm":
+ model._budget = 0
print(f"[Prompt Enhancer][{spec['display_name']}] Text generation engine: {engine_name} ({engine_detail})")
model.generate_messages = types.MethodType(_generate_messages, model)
model.unload = types.MethodType(_unload_prompt_enhancer_text_runtime, model)