Skip to content

feat: spark CLI v0.0.1 — initial implementation#1

Merged
massimo92 merged 2 commits into
mainfrom
feat/initial-implementation
May 18, 2026
Merged

feat: spark CLI v0.0.1 — initial implementation#1
massimo92 merged 2 commits into
mainfrom
feat/initial-implementation

Conversation

@massimo92
Copy link
Copy Markdown
Owner

Summary

  • Single bash script (spark) implementing all 11 commands from the spec
  • Auto-profiler reads model config.json to detect reasoning parser, quantization, context length, MoE/multimodal architecture
  • Interactive setup wizard with 3 phases (System Base, Remote Access, Inference Engine)
  • install.sh curl-pipe-bash installer
  • Full README documentation

Commands

setup · doctor · run · stop · pull · list · rm · status · logs · update · help

Key design decisions

  • POSIX-compatible grep (no -P flag) for portability
  • HF cache path resolution handles models--Org--Name double-dash convention
  • GPU memory utilization auto-calculated from safetensors file sizes
  • Profile caching at ~/.config/spark/profiles/ (bash-sourceable, editable)
  • Config precedence: CLI flags > per-model profile > global config > defaults

Test plan

  • spark help / spark version — basic CLI
  • spark doctor — checks prerequisites
  • spark list — lists HF cache models
  • spark run --dry-run <model> — generates correct Docker command
  • spark setup --check — read-only prerequisite check
  • Full flow on GX10: pull → run → curl → stop

🤖 Generated with Claude Code

@massimo92 massimo92 force-pushed the feat/initial-implementation branch from 114088c to 06e3ece Compare May 17, 2026 20:07
CLI tool for NVIDIA DGX Spark: setup wizard, remote access via
Tailscale, and LLM serving with vLLM. Includes auto-profiler,
auto-update checks, tests, and CI.
@massimo92 massimo92 force-pushed the feat/initial-implementation branch from 24e9724 to 3a92b92 Compare May 18, 2026 14:35
@massimo92 massimo92 merged commit 2708da8 into main May 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant