Skip to content

Pin each package release to an immutable Hugging Face checkpoint #3

Description

@thonzyk

Problem

The default model is currently selected at runtime by reading models/stable_version.txt from the main branch of thonzik/sc-unveil.

This means the same installed scunveil package version can load different weights at different times if the text file—or files inside the referenced model directory—is changed on Hugging Face. This makes results difficult to reproduce and allows an already-published package release to change behavior remotely.

Proposed solution

Bind every scunveil package release to a specific model directory and immutable Hugging Face commit:

SCUNVEIL_MODEL_REPO = "thonzik/sc-unveil"
DEFAULT_MODEL_VERSION = "2026-07-09_18-42-14_full"
DEFAULT_MODEL_REVISION = "<full-hugging-face-commit-sha>"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions