Spaces:
Paused
Paused
Commit History
-
Update .env.spark.example: TORCH_DTYPE now auto-detected
gary-boon +1: Claude Opus 4.5TORCH_DTYPE is automatically set from model config: - codegen-350m → fp16 - devstral-small → bf16 Only uncomment to override the default. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>543454f -
Add DEVICE env var to force CPU mode on DGX Spark
gary-boon +1: Claude Opus 4.5GB10 GPU (sm_121 compute capability) is not yet supported by PyTorch/NGC containers. This adds a DEVICE environment variable override to force CPU mode until GPU support is available. - Add os import to model_service.py - Check DEVICE env var before auto-detecting device - Support DEVICE=cpu or DEVICE=cuda to override detection - Default .env.spark.example to DEVICE=cpu for Spark 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>5f122aa -
Phase 1: DGX Spark infrastructure
gary-boon +1: Claude Opus 4.5- Add .env.spark.example template for Spark configuration - Add docker/compose.spark.yml with GPU support and model cache mount - Add runs/.gitkeep for runtime outputs - Update .gitignore for .env.spark and runs/* - Add /ready endpoint (503 until model loaded, then 200) - Add /debug/device endpoint for GPU verification (no secrets) Paths follow DGX Spark deployment spec: - /srv/projects/visualisable-ai-backend - /srv/models-cache/huggingface (mounted) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>a2bd186