feat: add optional Q8 quantized model support
- Add Q8 quantized models (75% smaller than FP32) - Enhance download scripts with model variant selection - Add smart model loading with availability detection - Implement runtime warnings for Q8 compatibility - Update documentation with Q8 usage examples - Maintain 100% backward compatibility (FP32 default) BREAKING CHANGE: None - FP32 remains default 🧠 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
223311f4e7
commit
32df3ee6ae
8 changed files with 259 additions and 40 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@soulcraft/brainy",
|
||||
"version": "2.7.4",
|
||||
"version": "2.8.0",
|
||||
"description": "Universal Knowledge Protocol™ - World's first Triple Intelligence database unifying vector, graph, and document search in one API. 31 nouns × 40 verbs for infinite expressiveness.",
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.js",
|
||||
|
|
@ -73,6 +73,9 @@
|
|||
"test:ci-integration": "NODE_OPTIONS='--max-old-space-size=16384' CI=true vitest run --config tests/configs/vitest.integration.config.ts",
|
||||
"test:ci": "npm run test:ci-unit",
|
||||
"download-models": "node scripts/download-models.cjs",
|
||||
"download-models:fp32": "node scripts/download-models.cjs fp32",
|
||||
"download-models:q8": "node scripts/download-models.cjs q8",
|
||||
"download-models:both": "node scripts/download-models.cjs",
|
||||
"models:verify": "node scripts/ensure-models.js",
|
||||
"lint": "eslint --ext .ts,.js src/",
|
||||
"lint:fix": "eslint --ext .ts,.js src/ --fix",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue