Repository navigation
Open
Description
Summary
onecomp is killed while loading weights
Environment
- OneComp version: 1.1.0 w/ CUDA 13.0
- GPU: NVIDIA GeForce RTX 4060 Ti (16380 MiB total)
- RAM: 128GB
- Model: Qwen3.5-122B-A10B-heretic
- Command: onecomp ./Qwen3.5-122B-A10B-heretic --save-dir output
Step to reproduce
onecomp ./Qwen3.5-122B-A10B-heretic --save-dir output
What happened
Memory usage keeps rising until it exhausts all available memory and gets killed instantly.
(venv) [ romanov@cuvelia ] $ onecomp Qwen3.5-122B-A10B-heretic --save-dir output
[transformers] `torch_dtype` is deprecated! Use `dtype` instead!
[transformers] The fast path is not available because one of the required library is not installed. Falling back to torch implementation. To install follow https://github.com/fla-org/flash-linear-attention#installation and https://github.com/Dao-AILab/causal-conv1d
GPU: NVIDIA GeForce RTX 4060 Ti (16.72 GB)
VRAM estimation → target wbits=-0.08 (16.72 GB total, ratio=80%)
OneComp version: 1.1.0
Model: Qwen3.5-122B-A10B-heretic
Start the run method of Runner class
Checking the settings...
MoE model (num_experts=256): excluding 'router' layers from quantization (vLLM GateLinear does not support quantization)
Start quantization with error propagation (QEP)
Loading weights: 60%|█████████████████████████████████████████████████████████████████████████████████████████████▋ | 496/831 [07:10<03:26, 1.62it/s]
zsh: killed onecomp Qwen3.5-122B-A10B-heretic --save-dir output
(venv) [ romanov@cuvelia ] $
Root Cause Analysis
Seems that ModelConfig.load_model() in onecomp/model_config.py try to load entire model file.
Workaround
N/A
Suggested Fix
I’m not a developer myself, so I'm sorry I can't provide specific PRs or implementation ideas.
But I see so much potential in onecomp's compression, especially with MoE, to bring smart, large-scale models to hobbyists. It would be amazing if the RAM overhead could be lowered by shifting from bulk loading to a streaming approach.
Metadata
Metadata
Assignees
Labels
No labels
Activity