Description
What I observed in Studio
I loaded a local Qwen3.5-4B Safetensors model from the Chat page in Unsloth Studio.
After I initiated the load, Studio displayed the following message for a long time:
Starting model...
Loading cached model into memory.
The loading dialog then showed that causal-conv1d was being installed. After waiting for a while, Studio displayed a success notification:
Qwen3.5-4B loaded
A green status icon also appeared next to the model name. At this point, the page appeared ready for chat.
I sent a message:
Hello
Studio immediately displayed:
Generation failed
Request failed (400)
The chat also showed a red error message:
Request failed (400)
Resending the message, clicking Retry, and sending another message in a new chat all produced HTTP 400. The page continued to show Qwen3.5-4B as loaded, so the actual model state could not be determined from the UI.
Steps to reproduce
- Run Unsloth Studio in a Linux aarch64 environment.
- Make sure
causal-conv1dis not installed. - Open the Chat page in Studio.
- Select a local Qwen3.5-4B Safetensors model.
- Wait until Studio displays
Qwen3.5-4B loaded. - Send
你好in the chat input. - Click Retry, or create a new chat and send another message.
Actual behavior
- Studio displays
Qwen3.5-4B loaded. - A green status icon appears next to the model name.
- Every chat request returns HTTP 400.
- The UI reports
Request failed (400). - The background process associated with model loading continues to run and occupy GPU memory.
Expected behavior
- Once Studio reports that the model is loaded, chat messages should work immediately.
- If model loading times out or dependency installation fails, the UI should report the loading failure and its specific cause.
- The model state shown in the UI should match the model state available in the backend.
Environment
- Unsloth: 2026.8.18
- Transformers: 5.5.0
- PyTorch: 2.11.0+cu130
- CUDA: 13.0
- Python: 3.13.13
- OS: Linux aarch64
- GPU: NVIDIA GB10, DGX Spark
- Model: local Qwen3.5-4B Safetensors
My hypothesis
I checked the backend logs and found that loading the model triggered the installation of causal-conv1d. The relevant timeline was:
14:46:50 Inference subprocess started (pid=3951967)
14:46:54 Model load exceeded 15s; padding the response so a proxy cannot time it out
14:47:04 Subprocess status: Installing causal-conv1d (prebuilt kernel) for this model...
14:52:04 Timeout waiting for 'loaded' response (no activity for 300.0s)
14:52:04 Model load failed with 500 after the response committed
14:52:04 POST /api/inference/load -> HTTP 200
14:56:39 POST /v1/chat/completions -> HTTP 400
My hypothesis is that downloading, installing, or checking the importability of the prebuilt causal-conv1d wheel took longer than 300 seconds without producing another model-loading status update. The parent process consequently treated the load as an inactivity timeout.
The model-loading response had already committed HTTP 200 after 15 seconds. The backend later placed the loading error in the response body. The frontend assets used by this Studio session interpreted the HTTP 200 response as a successful load, which led Studio to display Qwen3.5-4B loaded.
After the loading timeout, the backend did not register an active model. Chat requests consequently received No model loaded, which appeared in Studio as Request failed (400).
The installation task continued running after the loading timeout. I later observed pip, nvcc, and ptxas compiling causal_conv1d_bwd.cu. The inference subprocess was still alive approximately 18 minutes later. My hypothesis is that the model-loading state, dependency installation process, and frontend success notification became inconsistent during this sequence.
Activity
Studio: keep SSM kernel installs alive and reap the worker on load ti…
indrajeetapache commentedon Aug 20, 2026
@NilayYadav, I’ve opened #9419 for #9398.
The PR:
causal-conv1dwheel is installing, preventing the 300-second inactivity timeout;Could you please take a look when you have time?