Spaces:
Paused
Paused
Commit History
-
Optimize Docker build: add .dockerignore, layer caching, drop editable install
- Add .dockerignore to exclude .git/, __pycache__/, tests/, notebooks/ from build context - Separate dependency install from source copy for better layer caching on rebuilds - Replace editable install (-e) with standard install (not needed in production) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>20f0740 -
Fix HF Space runtime error: replace failing base image with python:3.12-slim
The openenv-base image's init script tries to curl huggingface.co during startup, which fails DNS resolution inside the HF Spaces runtime (exit code 6), causing HTTP 503 and breaking WebSocket connections from Colab. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>f38d204 -
Deploy to HF Spaces + add TRL/Unsloth training notebook
- Add OpenEnv-compliant root-level wrappers (__init__.py, client.py, models.py, server/) - Update Dockerfile to use ghcr.io/meta-pytorch/openenv-base with health checks - Add HF Spaces frontmatter to README.md (sdk: docker, app_port: 8000) - Update pyproject.toml with [project.scripts] server entry point - Update openenv.yaml to point to server.app:app - Add notebooks/hcm21_trl_training.ipynb: GRPO training with Unsloth on Colab T4 - Passes `openenv validate` — deployed and running at https://huggingface.co/spaces/ParetoOptimal/hcm21 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>c7d603c