Spaces:
Paused
Paused
Commit History
25 days ago
-
Refuse new jobs while the R2 bucket is near its free tier
Chandra KiranUnverified signatureSTORAGE_LIMIT_GB (default 8) caps what runs can store: the bucket is measured at most every 5 minutes and new jobs get HTTP 507 while it is over the limit. Old files keep expiring after 30 days, which frees space again. python -m api.storage usage shows the current size.115459a -
Keep the default Modal deploy free of stored data
Chandra KiranUnverified signatureCosmos Reason (its 16 GB model Volume, which Modal bills even under a $0 spend limit) is now opt-in with ENABLE_COSMOS=1 at deploy, and AUTO_REVIEW defaults to off. The Hugging Face secret is only attached when MODAL_HF_SECRET is set; without it dataset exports come back as a zip in R2. The basic deploy needs only the R2 secret. New: python -m api.storage expire --days 30 deletes old run files so the bucket stays inside R2's free tier.916d469
26 days ago
-
Add a first-pass video review with NVIDIA Cosmos Reason
Chandra KiranUnverified signatureEvery finished run with a video gets a follow-up job (AUTO_REVIEW, on by default; or POST /simulate/run/{id}/review): Cosmos Reason on a Modal L4 watches the video at 2 fps next to the scenario text and the simulator's facts, and answers whether the scene matches, whether the physics look plausible and whether the robot fell, with its reasoning. The verdict shows on the run's report. Weights live in a Modal volume filled once by download_cosmos. Runs now also save trajectory.npz (robot joint positions, velocities and controls at 30 Hz) for dataset export.6772038
27 days ago
-
Harden simulation runs: official Foxglove embed, WebM video, CI image build
Chandra KiranUnverified signature- Report page uses Foxglove's embedding library (@foxglove/embed, vendored) with the MCAP as a remote-file source; R2 CORS now allows embed.foxglove.dev; FOXGLOVE_ORG setting - Worker writes a VP9 WebM next to the H.264 MP4 so every browser plays the video; a rendering failure mid-run no longer loses the run - Pin onnxruntime below 1.29, whose Linux build sends Microsoft telemetry, and disable its telemetry events - CI: lint, tests, build the RunPod worker image and run a real job in it04ad412 -
Add GPU simulation runs: RunPod worker, R2 storage, report page
Chandra KiranUnverified signature- POST /simulate/run re-validates the scene, logs the call (tester, time) and submits a RunPod serverless job; GET /simulate/run/{id} for status; GET /simulate/report/{id} (signed link) shows the run summary, video and an embedded Foxglove replay of the MCAP - worker/: MuJoCo simulation with the robot holding its keyframe, Foxglove MCAP (/scene, /tf, /state), H.264 video via EGL with CPU fallback, upload to Cloudflare R2; Dockerfile for RunPod - Usage visibility without caps: runs table, burst warning in logs, review runs/usage commands - R2 setup CLI (CORS for Foxglove, credential check); README setup for R2, the RunPod endpoint and the spend alert5dbd0bf