No description
Find a file
Lilith 3d2a92c8e8
Some checks failed
Build and Publish (Auto-detect) / build-and-publish (push) Failing after 51s
chore(shared): 🔧 Update shared configuration files and scripts
2026-01-16 20:11:06 -08:00
.forgejo/workflows chore: 🔧 Update files 2026-01-15 06:55:41 -08:00
_archived fix(@ml): 🐛 resolve file deletions in diff excerpt 2026-01-10 10:05:12 -08:00
gpu-tools@7ab9dfb92f feat(@ml/main): update commit history for agent-ml, auto-commit-service, gpu-tools, llama-service, and model-boss subprojects 2026-01-09 20:13:38 -08:00
requirements ci: add Forgejo Actions publish workflows to all packages 2026-01-09 11:41:53 -08:00
.gitignore ci: add Forgejo Actions publish workflows to all packages 2026-01-09 11:41:53 -08:00
ARCHITECTURE.md refactor(shared): ♻️ chore: 🚀 refactor codebase to improve readability and maintainability 2026-01-13 09:11:53 -08:00
IMPLEMENTATION_SUMMARY.md feat(@ml): add unified bitch cli for memory management 2026-01-11 02:47:03 -08:00
package.json 0.0.1 2026-01-16 06:13:42 -08:00
QUICK_START.md feat(@ml): add unified bitch cli for memory management 2026-01-11 02:47:03 -08:00
README.md refactor(shared): ♻️ chore: 🚀 refactor codebase to improve readability and maintainability 2026-01-13 09:11:53 -08:00
REDIS_VECTOR_SEARCH_SCHEMA.md feat(@ml/redis-vector-search-py): Add Redis vector search package 2026-01-13 09:23:28 -08:00

@ml - Machine Learning Packages

Workspace for ML infrastructure packages including GPU/RAM coordination, model loading, and memory management.

Packages

Resource Coordination

Package Type Purpose
vram-boss-py Python GPU/VRAM lease coordination
vram-boss-ts TypeScript VRAM coordination client
ram-boss-py Python RAM lease coordination + cache management
ram-boss-ts TypeScript RAM coordination client

Model Loading

Package Type Purpose
model-boss-py Python Unified model loading (HF, GGUF, Diffusers, etc.)
model-boss-ts TypeScript Model path resolution

CLI Tools

Package Location Purpose
bitch @cli/bitch-cli Unified CLI for RAM/VRAM management

Quick Start

# Install global CLI
npm install -g @lilith/bitch --registry=http://forge.nasty.sh/api/packages/lilith/npm/

# Install Python backends
pip install lilith-vram-boss lilith-ram-boss

# Use unified interface
bitch vram status      # GPU coordination
bitch ram analyze      # RAM management

Python Development

# Install packages
pip install lilith-vram-boss lilith-ram-boss lilith-model-boss

# Use in code
from lilith_vram_boss import GPUBoss
from lilith_ram_boss import RAMBoss
from lilith_model_boss import ManagedModelLoader

Documentation

Architecture

bitch CLI (unified interface)
    ├── bitch vram <command>  →  vram-boss (Python)
    └── bitch ram <command>   →  ram-boss (Python)

model-boss (model loading)
    └── uses vram-boss internally for GPU coordination

Common Tasks

# Check resources
bitch vram status
bitch ram status

# Memory analysis
bitch ram analyze --processes --leaks

# Cache cleanup
bitch ram clear auto

# GPU coordination
bitch vram drain
bitch vram cleanup

License

MIT