Initial SQL-only 1C adapter baseline

This commit is contained in:
2026-07-22 03:03:47 +03:00
commit e2503b77e7
545 changed files with 184711 additions and 0 deletions
@@ -0,0 +1,12 @@
{
"schema": "onec_extension_runner_config.v1",
"runner_id": "manual-disposable-1c-validation",
"runner_kind": "manual",
"platform_version": "8.3.x",
"disposable_base_ref": "test-disposable-upo-copy",
"disposable_base_kind": "file-or-server-copy",
"disposable_base_confirmed": true,
"validation_mode": "manual",
"evidence_root": "reports/1c-sql/upo/extension-validation-evidence",
"notes": "Do not put users, passwords, tokens, or production base references in this file."
}
+19
View File
@@ -0,0 +1,19 @@
{
"upo_test": {
"server": "sql-host",
"database": "infobase-database",
"user": "readonly-sql-user",
"password_env": "ONEC_SQL_PASSWORD_UPO_TEST",
"repository": {
"backend": "karman_bridge",
"runtime_version": "8.3.x",
"bridge_id": "configured-bridge-id",
"layer": "base",
"runner": {
"kind": "http",
"url": "http://host.docker.internal:8121",
"token_env": "ONEC_REPOSITORY_RUNNER_TOKEN"
}
}
}
}
@@ -0,0 +1,22 @@
{
"upo_test": {
"repository": {
"backend": "karman_bridge",
"runner": {
"kind": "local"
},
"designer_path": "C:\\Program Files\\1cv8\\8.3.x.x\\bin\\1cv8.exe",
"runtime_version": "8.3.x",
"endpoint": "tcp://repository-relay.example:15420/repository-name",
"bridge_id": "configured-bridge-id",
"layer": "base",
"infobase": {
"server": "onec-server/infobase"
},
"infobase_user": "designer-user",
"infobase_password_env": "ONEC_INFOBASE_PASSWORD_UPO_TEST",
"repository_user": "repository-user",
"repository_password_env": "ONEC_REPOSITORY_PASSWORD_UPO_TEST"
}
}
}
+83
View File
@@ -0,0 +1,83 @@
{
"default": {
"id": "default",
"label": "Default text/audio",
"command": "powershell -ExecutionPolicy Bypass -File scripts\\switch_gpu_profile.ps1 -Profile default",
"starts": ["vllm-text", "translation-api", "audio-api", "model-chat-ui"],
"stops": ["video-api", "image-api", "llama-gguf"],
"wait": [
{"name": "vLLM", "url": "http://192.168.220.91:8000/v1/models"},
{"name": "translation", "url": "http://192.168.220.91:8010/health"},
{"name": "audio", "url": "http://192.168.220.91:8020/health"},
{"name": "UI", "url": "http://192.168.220.91:8765/api/health"}
],
"notes": "Текст, 1С, перевод и аудио; video/image выключены, чтобы не занимать VRAM."
},
"text": {
"id": "text",
"label": "Text and 1C",
"command": "powershell -ExecutionPolicy Bypass -File scripts\\switch_gpu_profile.ps1 -Profile text",
"starts": ["vllm-text", "translation-api", "audio-api", "model-chat-ui"],
"stops": ["video-api", "image-api", "llama-gguf"],
"wait": [
{"name": "vLLM", "url": "http://192.168.220.91:8000/v1/models"},
{"name": "translation", "url": "http://192.168.220.91:8010/health"},
{"name": "audio", "url": "http://192.168.220.91:8020/health"},
{"name": "UI", "url": "http://192.168.220.91:8765/api/health"}
],
"notes": "Основной режим для текстовых чатов, RAG 1С и переводов."
},
"audio": {
"id": "audio",
"label": "Audio checks",
"command": "powershell -ExecutionPolicy Bypass -File scripts\\switch_gpu_profile.ps1 -Profile audio",
"starts": ["audio-api", "translation-api", "vllm-text", "model-chat-ui"],
"stops": ["video-api", "image-api", "llama-gguf"],
"wait": [
{"name": "audio", "url": "http://192.168.220.91:8020/health"},
{"name": "translation", "url": "http://192.168.220.91:8010/health"},
{"name": "vLLM", "url": "http://192.168.220.91:8000/v1/models"},
{"name": "UI", "url": "http://192.168.220.91:8765/api/health"}
],
"notes": "Распознавание речи плюс текстовый endpoint; video выключен."
},
"video": {
"id": "video",
"label": "Vision/video",
"command": "powershell -ExecutionPolicy Bypass -File scripts\\switch_gpu_profile.ps1 -Profile video",
"starts": ["translation-api", "video-api", "model-chat-ui"],
"stops": ["vllm-text", "audio-api", "image-api", "llama-gguf"],
"wait": [
{"name": "translation", "url": "http://192.168.220.91:8010/health"},
{"name": "video", "url": "http://192.168.220.91:8030/health"},
{"name": "UI", "url": "http://192.168.220.91:8765/api/health"}
],
"notes": "Освобождает VRAM под Qwen2.5-VL; первый анализ изображения может грузиться несколько минут."
},
"image": {
"id": "image",
"label": "Image generation",
"command": "powershell -ExecutionPolicy Bypass -File scripts\\switch_gpu_profile.ps1 -Profile image",
"starts": ["translation-api", "image-api", "model-chat-ui"],
"stops": ["vllm-text", "audio-api", "video-api", "llama-gguf"],
"wait": [
{"name": "translation", "url": "http://192.168.220.91:8010/health"},
{"name": "image", "url": "http://192.168.220.91:8040/health"},
{"name": "UI", "url": "http://192.168.220.91:8765/api/health"}
],
"notes": "Освобождает VRAM под SDXL generation/inpainting; первая генерация загружает diffusers pipeline."
},
"gguf-1c": {
"id": "gguf-1c",
"label": "GGUF 1C",
"command": "powershell -ExecutionPolicy Bypass -File scripts\\switch_gpu_profile.ps1 -Profile gguf-1c",
"starts": ["llama-gguf", "translation-api", "model-chat-ui"],
"stops": ["vllm-text", "audio-api", "video-api", "image-api"],
"wait": [
{"name": "llama.cpp", "url": "http://192.168.220.91:8080/v1/models"},
{"name": "translation", "url": "http://192.168.220.91:8010/health"},
{"name": "UI", "url": "http://192.168.220.91:8765/api/health"}
],
"notes": "Режим для llama.cpp / GGUF 1С после появления готового адаптера или GGUF-сборки."
}
}
+66
View File
@@ -0,0 +1,66 @@
{
"default": "gpu-fast",
"profiles": {
"gpu-fast": {
"id": "gpu-fast",
"label": "GPU fast",
"host": "docker-gpu.cin.su",
"docker_endpoint": "ssh://docker-gpu",
"role": "interactive",
"notes": "Main interactive RTX 4090 host for chat, 1C, code, image, audio and video tasks.",
"endpoints": {
"text": "http://docker-gpu.cin.su:8000",
"1c": "http://docker-gpu.cin.su:8081",
"translation": "http://docker-gpu.cin.su:8010",
"audio": "http://docker-gpu.cin.su:8020",
"video": "http://docker-gpu.cin.su:8030",
"image": "http://docker-gpu.cin.su:8040"
},
"model_overrides": {
"qwen3-coder-30b-a3b-instruct-q6_k": {
"base_url": "http://docker-gpu.cin.su:8081",
"served_model_name": "qwen3-coder-1c-q6",
"container_name": "llm-llama-qwen3-coder-q6-test",
"start_hint": "powershell -ExecutionPolicy Bypass -File scripts\\manage_gpu_q6_service.ps1 -Action start"
},
"qwen3-coder-30b-a3b-instruct-q4_k_m": {
"base_url": "http://docker-gpu.cin.su:8080",
"served_model_name": "qwen3-coder-1c-q4"
},
"devstral-small-2-24b-instruct-2512-q4_k_m": {
"base_url": "http://docker-gpu.cin.su:8080",
"served_model_name": "devstral-1c-q4"
}
}
},
"cpu-test": {
"id": "cpu-test",
"label": "CPU test",
"host": "docker-test.cin.su",
"docker_endpoint": "ssh://test-docker",
"role": "benchmark",
"notes": "Shared CPU Docker host for benchmark and fallback runs. Start heavyweight models manually before selecting this profile.",
"endpoints": {
"text": "http://docker-test.cin.su:18086",
"1c": "http://docker-test.cin.su:18086"
},
"model_overrides": {
"qwen3-coder-30b-a3b-instruct-q6_k": {
"base_url": "http://docker-test.cin.su:18086",
"served_model_name": "qwen3-coder-1c-q6-cpu",
"container_name": "llm-qwen3-coder-q6-cpu-test",
"start_hint": "powershell -ExecutionPolicy Bypass -File scripts\\manage_cpu_q6_service.ps1 -Action start"
}
}
},
"background": {
"id": "background",
"label": "Background",
"host": "docker-test.cin.su",
"docker_endpoint": "ssh://test-docker",
"role": "batch",
"notes": "Use for model downloads, RAG indexing, conversions and other long CPU jobs. Not selected automatically for chat.",
"endpoints": {}
}
}
}