Commit c956db4
committed
Move ONNX model to GitHub Releases to eliminate Vercel bandwidth costs
The 93MB maia_rapid.onnx file was served from public/ causing ~$150/month
in Vercel Fast Data Transfer charges. Move it to a GitHub Release asset
(free, served with CORS headers) and remove from git tracking.
- Update model URL to GitHub Releases download URL (with NEXT_PUBLIC_MAIA_MODEL_URL env var override)
- Remove public/maia2/*.onnx from git via .gitignore
To complete: create a GitHub Release tagged `models-v1` and upload
maia_rapid.onnx as a release asset.
https://claude.ai/code/session_01T73Yphu4y2U3c3ctCcHVPf1 parent c2afeea commit c956db4
3 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
0 commit comments