Skip to content

ScribblePrompt3D, VoxelPrompt, and Rating Tab#9

Draft
EtienneChollet wants to merge 100 commits intofreesurfer:mainfrom
EtienneChollet:main
Draft

ScribblePrompt3D, VoxelPrompt, and Rating Tab#9
EtienneChollet wants to merge 100 commits intofreesurfer:mainfrom
EtienneChollet:main

Conversation

@EtienneChollet
Copy link
Copy Markdown

Features

  1. ScribblePrompt3D and VoxelPrompt inference
  2. Subjective rating system by auto-loading NIfTI files

EtienneChollet and others added 30 commits February 26, 2026 20:25
…all-to' into epc28/epc-1508-incorporate-rating-tab-into-the-qa-viewer-as-per-pauls
Moves optional-dependency handling to server.py instead of guarding
inside each module. Server starts with whatever routes are available
and logs warnings for anything it can't load.
Base env (pixi run dev) now only installs the viewer deps.
ML and QA deps are opt-in via pixi run -e ml dev / -e qa dev / -e full dev.
Server imports are gated by ENABLE_ML / ENABLE_QA env vars set
through pixi feature activations — failed imports are real errors now.
encode_nifti (used by qa.py) doesn't need torch, but the module-level
import forced it. Now torch is imported only inside clip_volume, with
TYPE_CHECKING for the type hints.
Lockfile covers all four environments (default, ml, qa, full).
Logs a warning at startup when CUDA is unavailable so users
know inference will be slower without GPU-enabled pytorch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant