This commit is contained in:
Dobromir Popov
2026-07-21 14:00:30 +03:00
parent cd6b4d9d48
commit 505f37dd8d
21 changed files with 2653 additions and 0 deletions

View File

@@ -22,6 +22,16 @@ def test_curated_models_list_is_non_empty():
assert len(CURATED_MODELS) >= 5
def test_gguf_qwen_coder_model_is_listed_and_resolves():
"GGUF Qwen coder model is listed and resolves\n\nTags: general"
from meshnet_node.model_catalog import CURATED_MODELS, resolve_model_alias
model = next(m for m in CURATED_MODELS if m.hf_repo == "alal123/Qwen2.5-Coder-1.5B-Instruct-Q2_K-GGUF")
assert model.name == "Qwen2.5-Coder-1.5B-Instruct-Q2_K-GGUF"
assert model.num_layers == 28
assert resolve_model_alias("qwen2.5-coder-1.5b-instruct-q2_k-gguf") is model
def test_model_preset_vram_for_quant():
"Model preset vram for quant\n\nTags: general"
from meshnet_node.model_catalog import CURATED_MODELS