Spaces:
Paused
Paused
Chandra Kiran commited on
Raise the shared result-storage limit to 9 GB
Browse filesSTORAGE_LIMIT_GB now defaults to 9 (all testers together), still under R2's
free 10 GB.
Files changed (3)
- .env.example+1-1
- README.md+1-1
- api/config.py+1-1
67 unmodified lines6869707172737467 unmodified linesMONTHLY_CREDIT_LIMIT_USD=29.98 # the Modal credit for the month; 0 = no limitCOMPUTE_TESTERS=4 # the credit is split equally: 29.98 / 4 = $7.495 per tester# COMPUTE_PER_TESTER_USD= # set to override the equal shareSTORAGE_LIMIT_GB=8 # new jobs are refused while the R2 bucket holds more (free tier: 10 GB)# JOB_PRICES=t4=0.00019,l4=0.00025,cpu=0.00004,runpod=0.00031 # USD per second of container time# JOB_OVERHEAD_S=45 # billed start-up + idle seconds added to each job67 unmodified lines6869707172737467 unmodified linesMONTHLY_CREDIT_LIMIT_USD=29.98 # the Modal credit for the month; 0 = no limitCOMPUTE_TESTERS=4 # the credit is split equally: 29.98 / 4 = $7.495 per tester# COMPUTE_PER_TESTER_USD= # set to override the equal shareSTORAGE_LIMIT_GB=9 # all testers together; new jobs wait while R2 holds more (free tier: 10 GB)# JOB_PRICES=t4=0.00019,l4=0.00025,cpu=0.00004,runpod=0.00031 # USD per second of container time# JOB_OVERHEAD_S=45 # billed start-up + idle seconds added to each job
213 unmodified lines214215216217218219220213 unmodified lines5. **Spend limit**: every job's cost is estimated from its run time (`JOB_PRICES`, `JOB_OVERHEAD_S`). A new job isrefused with HTTP 402 unless its worst case still fits in the tester's equal share and in`MONTHLY_CREDIT_LIMIT_USD` (default $29.98; see *GPU budget* above); everything else keeps working. Likewise, while the R2 bucket holds more than `STORAGE_LIMIT_GB`(default 8, under R2's free 10 GB) new jobs are refused with HTTP 507 until old files expire. The estimate is not Modal's bill, so also set a budgetor usage alert in Modal's workspace settings (*Usage and Billing*). On RunPod, set a spend notification.`GET /health` shows `"runs_enabled": true` and the backend once it and R2 are configured. Otherwise `/simulate/run` answers213 unmodified lines214215216217218219220213 unmodified lines5. **Spend limit**: every job's cost is estimated from its run time (`JOB_PRICES`, `JOB_OVERHEAD_S`). A new job isrefused with HTTP 402 unless its worst case still fits in the tester's equal share and in`MONTHLY_CREDIT_LIMIT_USD` (default $29.98; see *GPU budget* above); everything else keeps working. Likewise, while the R2 bucket holds more than `STORAGE_LIMIT_GB`(default 9 GB for all testers together, under R2's free 10 GB) new jobs are refused with HTTP 507 until old files expire. The estimate is not Modal's bill, so also set a budgetor usage alert in Modal's workspace settings (*Usage and Billing*). On RunPod, set a spend notification.`GET /health` shows `"runs_enabled": true` and the backend once it and R2 are configured. Otherwise `/simulate/run` answers
141 unmodified lines142143144145146147148141 unmodified linesmonthly_credit_usd=float(_env("MONTHLY_CREDIT_LIMIT_USD", "29.98")),compute_testers=int(_env("COMPUTE_TESTERS", "4")),compute_per_tester_usd=float(_env("COMPUTE_PER_TESTER_USD", "0")),storage_limit_gb=float(_env("STORAGE_LIMIT_GB", "8")),job_prices=_prices(_env("JOB_PRICES", "")),job_overhead_s=float(_env("JOB_OVERHEAD_S", "45")),isaac_daily_limit=int(_env("ISAAC_DAILY_LIMIT", "10")),141 unmodified lines142143144145146147148141 unmodified linesmonthly_credit_usd=float(_env("MONTHLY_CREDIT_LIMIT_USD", "29.98")),compute_testers=int(_env("COMPUTE_TESTERS", "4")),compute_per_tester_usd=float(_env("COMPUTE_PER_TESTER_USD", "0")),storage_limit_gb=float(_env("STORAGE_LIMIT_GB", "9")),job_prices=_prices(_env("JOB_PRICES", "")),job_overhead_s=float(_env("JOB_OVERHEAD_S", "45")),isaac_daily_limit=int(_env("ISAAC_DAILY_LIMIT", "10")),
.env.example+1-1
README.md+1-1
api/config.py+1-1