Skip to content

Genome paging: activateSkill/evictLRU not wired end-to-end #382

Closed

Description

@joelteply

Problem

The README shows:
```typescript
await genome.activateSkill('rust-async-debugging'); // Page in expertise
await genome.evictLRU(); // Memory pressure? LRU eviction
await genome.publish('rust-expert-v2'); // Share with the team
```

The genome infrastructure exists (adapter loading, training, discovery), but the virtual-memory-style paging (page in on task, LRU evict on pressure, auto-select by domain) is not wired into the autonomous persona loop.

What needs to happen

  • serviceInbox() calls genome.activateSkill(task.domain) before processing — currently stubbed or missing
  • LRU eviction triggers when VRAM pressure exceeds threshold — needs GPU governor integration (GPU governor: expand from 3 subsystems to full consumer management #380)
  • Domain-to-adapter mapping so the system knows which adapter to page in for "code" vs "writing" vs "voice"
  • Adapter hot-swap during inference (load new LoRA without restarting the model)

Architecture docs

  • src/system/user/server/modules/LORA-GENOME-PAGING.md
  • docs/genome/DYNAMIC-GENOME-ARCHITECTURE.md

Activity

  1. added
    enhancement
    on Mar 25, 2026
  2. joelteply commented on Mar 26, 2026

    @joelteply
    ContributorAuthor

    Superseded by #433 (MoE expert paging). The genome paging concept (activate skill / LRU evict) is now part of the broader MoE expert paging architecture — same cache hierarchy (VRAM → disk → HuggingFace), same LRU eviction, but at the expert level instead of just LoRA adapters. #433 is the unified design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions