kvcache-ai-ktransformers/kt-kernel/python/cli/utils
Rin 786987a95f
Handle unquoted paths and special characters in model scanner (#1840)
* Handle unquoted paths and special characters in model scanner

* Fix ValueError: capture_output cannot be used with stderr

`capture_output=True` internally sets `stderr=PIPE`, which conflicts
with `stderr=subprocess.DEVNULL`. Replace `capture_output=True` with
explicit `stdout=subprocess.PIPE` to keep stderr suppressed correctly.
Also remove redundant `shell=False` (already the default).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: ErvinXie <ervinxie@foxmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 15:44:45 +08:00
..
__init__.py Kt minimax (#1742) 2025-12-24 15:39:44 +08:00
analyze_moe_model.py kt-cli enhancement (#1834) 2026-02-04 16:44:54 +08:00
console.py Kt minimax (#1742) 2025-12-24 15:39:44 +08:00
debug_configs.py kt-cli enhancement (#1834) 2026-02-04 16:44:54 +08:00
download_helper.py kt-cli enhancement (#1834) 2026-02-04 16:44:54 +08:00
environment.py Kt minimax (#1742) 2025-12-24 15:39:44 +08:00
input_validators.py kt-cli enhancement (#1834) 2026-02-04 16:44:54 +08:00
kv_cache_calculator.py kt-cli enhancement (#1834) 2026-02-04 16:44:54 +08:00
model_discovery.py kt-cli enhancement (#1834) 2026-02-04 16:44:54 +08:00
model_registry.py Cli (#1765) 2025-12-29 15:18:42 +08:00
model_scanner.py Handle unquoted paths and special characters in model scanner (#1840) 2026-02-26 15:44:45 +08:00
model_table_builder.py kt-cli enhancement (#1834) 2026-02-04 16:44:54 +08:00
model_verifier.py kt-cli enhancement (#1834) 2026-02-04 16:44:54 +08:00
port_checker.py kt-cli enhancement (#1834) 2026-02-04 16:44:54 +08:00
quant_interactive.py kt-cli enhancement (#1834) 2026-02-04 16:44:54 +08:00
repo_detector.py kt-cli enhancement (#1834) 2026-02-04 16:44:54 +08:00
run_configs.py kt-cli enhancement (#1834) 2026-02-04 16:44:54 +08:00
run_interactive.py kt-cli enhancement (#1834) 2026-02-04 16:44:54 +08:00
sglang_checker.py Kt minimax (#1742) 2025-12-24 15:39:44 +08:00
tuna_engine.py kt-cli enhancement (#1834) 2026-02-04 16:44:54 +08:00
user_model_registry.py kt-cli enhancement (#1834) 2026-02-04 16:44:54 +08:00