Skip to content

Automatically use CPU for API-only evaluations - #67

Merged
invi-bhagyesh merged 2 commits into
mainfrom
fix/automatic-api-cpu
Sep 24, 2026
Merged

invi-bhagyesh merged 2 commits into
mainfrom
fix/automatic-api-cpu

Conversation

@invi-bhagyesh

Copy link
Copy Markdown
Member

API-only panels now automatically use CPU compute, enforced server-side for both submissions and spec previews. Panels containing Hugging Face models use GPU in the form. CPU routing applies to regular LAISR-funded accounts as well as admins and personal-key runs, and admin CPU limits are checked after compute selection.

The form hides GPU controls and stock checks for API-only panels and labels the shared option “LAISR Lab compute”. Credit enforcement remains disabled by default; existing admin limits still apply.

Validation: 100 backend tests passed (5 skipped), including CPU selection, mixed panels, preview consistency, and CPU-limit enforcement. TypeScript and production frontend build passed.

@invi-bhagyesh
invi-bhagyesh merged commit 6866e39 into main Sep 24, 2026
1 check passed
@invi-bhagyesh
invi-bhagyesh deleted the fix/automatic-api-cpu branch October 18, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant