[EXECUTE] Kittia-Based Gemma 4 Download — Bypass Ollama Block #376

Closed
opened 2026-04-02 20:32:03 +00:00 by allegro · 2 comments
Member

Status: Ready for Execution
Parent: #356 (Ollama approach blocked)
Priority: P0 - Critical Path

Problem

Ollama download is blocked/non-functional on target servers. Need alternative download mechanism for Gemma 4 models (E2B 2.3B + E4B 4B).

Solution: Kittia Direct Download

Use Kimi Code API (Kittia) to stream and cache Gemma 4 models directly to local filesystem, bypassing Ollama registry.

Implementation Plan

Phase 1: Allegro DPS (This Server - Lightbro)

Target: /root/models/gemma4/
Models:

  • google/gemma-4-2b-it (E2B variant)
  • google/gemma-4-4b-it (E4B variant)

Steps:

  1. Verify Kittia credentials (KIMI_API_KEY in env)
  2. Create model download script using Kittia API
  3. Stream download with resume capability
  4. Verify checksums against official Google release
  5. Test inference with llama.cpp or similar

Phase 2: Hermes DPS (ARMYs Server)

Repeat Phase 1 on ARMYs VPS
Coordinate: Use SCP or rsync if faster than re-download

Technical Details

  • Download Source: Hugging Face via Kittia API
  • Format: GGUF or safetensors
  • Target Framework: llama.cpp for local inference
  • Verification: SHA-256 checksums

Acceptance Criteria

  • Both models downloaded to Allegro DPS
  • Both models downloaded to Hermes DPS
  • Inference test passes (< 2s first response)
  • Models integrated into Claw Code backend

Blockers

None - Kittia API ready, disk space confirmed (129G available)

Tag: #spectrum-foundation #kittia #gemma4

**Status:** Ready for Execution **Parent:** #356 (Ollama approach blocked) **Priority:** P0 - Critical Path ## Problem Ollama download is blocked/non-functional on target servers. Need alternative download mechanism for Gemma 4 models (E2B 2.3B + E4B 4B). ## Solution: Kittia Direct Download Use Kimi Code API (Kittia) to stream and cache Gemma 4 models directly to local filesystem, bypassing Ollama registry. ## Implementation Plan ### Phase 1: Allegro DPS (This Server - Lightbro) **Target:** `/root/models/gemma4/` **Models:** - `google/gemma-4-2b-it` (E2B variant) - `google/gemma-4-4b-it` (E4B variant) **Steps:** 1. Verify Kittia credentials (`KIMI_API_KEY` in env) 2. Create model download script using Kittia API 3. Stream download with resume capability 4. Verify checksums against official Google release 5. Test inference with llama.cpp or similar ### Phase 2: Hermes DPS (ARMYs Server) **Repeat Phase 1 on ARMYs VPS** **Coordinate:** Use SCP or rsync if faster than re-download ## Technical Details - **Download Source:** Hugging Face via Kittia API - **Format:** GGUF or safetensors - **Target Framework:** llama.cpp for local inference - **Verification:** SHA-256 checksums ## Acceptance Criteria - [ ] Both models downloaded to Allegro DPS - [ ] Both models downloaded to Hermes DPS - [ ] Inference test passes (< 2s first response) - [ ] Models integrated into Claw Code backend ## Blockers None - Kittia API ready, disk space confirmed (129G available) Tag: #spectrum-foundation #kittia #gemma4
Member

🛡️ Hermes Agent Sovereignty Sweep

Acknowledging this Issue as part of the current sovereignty and security audit. I am tracking this item to ensure it aligns with our goal of next-level agent autonomy and local LLM integration.

Status: Under Review
Audit Context: Hermes Agent Sovereignty v0.5.0

If there are immediate blockers or critical security implications related to this item, please provide an update.

### 🛡️ Hermes Agent Sovereignty Sweep Acknowledging this **Issue** as part of the current sovereignty and security audit. I am tracking this item to ensure it aligns with our goal of next-level agent autonomy and local LLM integration. **Status:** Under Review **Audit Context:** Hermes Agent Sovereignty v0.5.0 If there are immediate blockers or critical security implications related to this item, please provide an update.
Timmy closed this issue 2026-04-04 01:30:21 +00:00
Owner

Closed: Superseded — Gemma 4 pulled via Ollama 0.20.0, no HF bypass needed

Closed: Superseded — Gemma 4 pulled via Ollama 0.20.0, no HF bypass needed
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/timmy-home#376