Dataset Viewer

The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.

πŸ“‚ Fachbereich / Domain: πŸ€– Autonomous Agents & Swarm Safety
πŸ” Katalog-Filter: Alle verwandten Autonomous Agents & Swarm Safety Suiten auf Hugging Face anzeigen
πŸ›’ Kommerzielle Lizenz & Webshop: emgena.com/trainingslager?product=postgres_pgvector_hnsw_oom_memory_cap_limiter&coupon=LAUNCH20


πŸ›‘οΈ PostgreSQL pgvector HNSW OOM Memory Cap Limiter MCP

Official Turnkey Model Context Protocol (MCP) Guard & Fine-Tuning Suite (FAANG v2.5 Gold Standard)


βš–οΈ Dual-Licensing & Fair-Use Compliance Notice

  • Community & Evaluation License (CC-BY-NC-4.0): This evaluation repository is 100% free for academic research, education, personal experimentation, and local evaluation.
  • Commercial & Enterprise License: Any integration into commercial software, SaaS applications, proprietary models, or corporate pipelines requires a valid commercial license from emgena.com/trainingslager.
  • Launch Discount: Use code LAUNCH20 at checkout for 20% off all commercial tiers (Single, Team, Enterprise).

πŸ“¦ What is Included in this Package

This repository contains the full 500-sample verified dataset and in-IDE guardrails:

  1. Parquet & JSONL Datasets (postgres_pgvector_hnsw_oom_memory_cap_limiter.parquet, chatml_format.jsonl):
    • 500 verified multi-turn trajectories across 30 production incidents.
    • 100% AST Invariance: Zero syntax errors (validated via ast.parse()).
  2. Deterministic MCP Engine (server.py & server_free.py):
    • Zero-dependency stdio engine (<0.15ms latency, 100% offline).
    • Compatible with Cursor IDE, Claude Desktop, and VS Code.
  3. Dual Fine-Tuning Recipes:
    • Apple Silicon Mac (train_mlx.py): Native LoRA fine-tuning for M1/M2/M3/M4 unified memory in 15 minutes.
    • Nvidia CUDA (train_lora_unsloth.py): 4-bit QLoRA fine-tuning on RTX 4090 / 5090 / Colab.
  4. Active AST Tools:
  • execute_tool('calculate_hnsw_maintenance_work_mem'): Calculates safe maintenance_work_mem for HNSW index builds without exhausting system RAM.
  • execute_tool('detect_pgvector_query_oom_risk'): Estimates memory footprint of vector similarity queries with high m and ef_construction values.
  • execute_tool('enforce_hnsw_ef_search_runtime_bound'): Sets deterministic hnsw.ef_search bounds per transaction to balance recall and CPU latency.
  • execute_tool('quarantine_unindexed_vector_sequential_scan'): Alerts when large tables (>100k rows) perform brute-force sequential scans on vector columns.
  • execute_tool('audit_pgvector_dimension_normalization'): Verifies embeddings match column dimensions and are normalized for cosine distance.
  • execute_tool('fuzz_halfvec_quantization_memory_reduction'): Evaluates halfvec (16-bit float) and bit (binary) quantization to reduce RAM by 50-90%.
  • execute_tool('sanitize_postgres_explain_analyze_dump'): Parses EXPLAIN ANALYZE vector query plans without exposing embedded query vectors.
  • execute_tool('circuit_break_vector_oom_kill_prevention'): Rejects concurrent vector index builds if available RAM falls below 20% safety margin.

πŸš€ Quickstart: Apple Silicon Fine-Tuning (MLX)

pip install mlx mlx-lm
python train_mlx.py

πŸ’» Quickstart: Cursor IDE & Claude Desktop MCP Setup

Add the following to your .cursor/mcp.json or claude_desktop_config.json:

{
  "mcpServers": {
    "postgres_pgvector_hnsw_oom_memory_cap_limiter": {
      "command": "python",
      "args": ["server.py"]
    }
  }
}

βš–οΈ License & Commercial Deployment

Distributed under Creative Commons Attribution-NonCommercial 4.0 International (CC-BY-NC-4.0).
For commercial enterprise deployment rights, BGB Β§ 97 UrhG indemnification, and EU AI Act Annex IV audit certificates, visit:
πŸ‘‰ emgena.com/trainingslager

Downloads last month
47