jmservera/aithena/vector-quantization-evaluation

Claude Code and agent skill by jmservera/aithena

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Evaluate Aithena float32 vs int8/Solr scalar-quantized vector search with recall@10 and memory evidence

Install

npx vskill@latest install jmservera/aithena/vector-quantization-evaluation

SKILL.md

The same SKILL.md was published earlier as jmservera/aithena/vector-quantization-evaluation.

Context

Apply this skill when validating VECTOR_QUANTIZATION=int8 or any change to Solr vector storage. The safe release question is whether scalar-quantized results preserve semantic/hybrid top-10 retrieval while reducing vector memory.

Procedure

  1. Confirm schema/config:
  • Solr 10: ScalarQuantizedDenseVectorField with vectorDimension="768", similarityFunction="cosine", and bits="7".
  • Solr 9 rollback: DenseVectorField vectorEncoding="BYTE".
  • Runtime selector: VECTOR_QUANTIZATION=none|fp16|int8; int8 routes to embedding_byte_v.
  1. Index the same representative corpus twice:
  • Float32 reference: VECTOR_QUANTIZATION=none.
  • Int8 candidate: VECTOR_QUANTIZATION=int8.
  • Treat this as a full reindex migration from embedding_v to embedding_byte_v; do not mutate an existing vector field in place.
  1. Run the benchmark suite in semantic and hybrid modes:

```bash python3 scripts/benchmark/run_benchmark.py \ --base-url http://localhost:8080 \ --modes semantic hybrid \ --output results/benchmark-1344-float32.json

python3 scripts/benchmark/run_benchmark.py \ --base-url http://localhost:8080 \ --modes semantic hybrid \ --output results/benchmark-1344-int8.json ```

  1. Compare top-10 agreement:

``bash python3 scripts/benchmark/compare_quantization.py \ --baseline results/benchmark-1344-float32.json \ --candidate results/benchmark-1344-int8.json \ --top-k 10 \ --min-recall 0.95 \ --output results/benchmark-1344-quantization-comparison.json ``

  1. Capture memory evidence from the same corpus size:

``bash docker stats --no-stream solr solr2 solr3 ``

Interpretation

  • Any semantic/hybrid query below recall@10 0.95 needs review before enabling int8 broadly.
  • The comparison script estimates raw vector payload savings, but release notes must use measured Solr memory samples before claiming actual runtime savings.
  • For 1M 768D vectors, raw payload reference points are 3,072,000,000 bytes for float32, about 672,000,000 bytes for Solr 10 bits=7 scalar payload, and 768,000,000 bytes for Solr 9 BYTE compatibility.

Anti-Patterns

  • Do not compare float32 and int8 runs indexed from different corpora.
  • Do not claim measured memory or recall unless the JSON reports and docker stats samples were captured.
  • Do not use Solr 10 bits="8"; supported scalar bits are 4 and 7.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jmservera/aithena/vector-quantization-evaluation/badge)](https://verified-skill.com/skills/jmservera/aithena/vector-quantization-evaluation)

Something wrong with this skill or its page? Tell us.