Validate downloaded model files #8

Open
opened 2026-06-16 21:39:51 +02:00 by vince · 0 comments
Owner

Context:\nModel downloads can silently save HTML, JSON, auth failure pages, or incomplete files. The manager must catch common mistakes before marking jobs successful.\n\nRequirements:\n- Reject obvious HTML, JSON, XML, and plain text responses.\n- Validate basic safetensors header structure for .safetensors files.\n- Optionally verify SHA256 when provided.\n- Record content type and final filename.\n- Keep failed .part files available for retry unless user deletes them.\n\nAcceptance criteria:\n- Invalid HTML saved as .safetensors is marked failed.\n- Valid safetensors files pass basic validation.\n- Error messages explain likely auth/download problems.

Context:\nModel downloads can silently save HTML, JSON, auth failure pages, or incomplete files. The manager must catch common mistakes before marking jobs successful.\n\nRequirements:\n- Reject obvious HTML, JSON, XML, and plain text responses.\n- Validate basic safetensors header structure for .safetensors files.\n- Optionally verify SHA256 when provided.\n- Record content type and final filename.\n- Keep failed .part files available for retry unless user deletes them.\n\nAcceptance criteria:\n- Invalid HTML saved as .safetensors is marked failed.\n- Valid safetensors files pass basic validation.\n- Error messages explain likely auth/download problems.
vince added the
comfyui
mvp
labels 2026-06-16 21:42:29 +02:00
vince added this to the v0.1 MVP milestone 2026-06-16 21:42:29 +02:00
Sign in to join this conversation.
No description provided.