jmservera/aithena/vector-quantization-evaluation
Claude Code and agent skill by jmservera/aithena
- community
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-evaluationSKILL.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
- Confirm schema/config:
- Solr 10:
ScalarQuantizedDenseVectorFieldwithvectorDimension="768",similarityFunction="cosine", andbits="7". - Solr 9 rollback:
DenseVectorField vectorEncoding="BYTE". - Runtime selector:
VECTOR_QUANTIZATION=none|fp16|int8;int8routes toembedding_byte_v.
- 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_vtoembedding_byte_v; do not mutate an existing vector field in place.
- 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 ```
- 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 ``
- 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.95needs 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 statssamples were captured. - Do not use Solr 10
bits="8"; supported scalar bits are4and7.
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
- SKILL.md in the repositoryChecking.squad/skills/vector-quantization-evaluation/SKILL.md
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
[](https://verified-skill.com/skills/jmservera/aithena/vector-quantization-evaluation)