Skip to content

hf: move safetensors into its own crate so decision stops depending on hf #528

Closed

Description

@midagedev

crates/decision depends on crates/hf only for hf::safetensors. Because of that edge, every hf-only commit moves the gate keys of the decision gates and of everything that links decision.

Wanted: safetensors.rs (about 967 lines; it needs gguf, memmap2 and serde_json) moves into a crate of its own, and decision depends on that crate instead of hf. python3 tools/recipes.py gaps --rev origin/main bloomery-hf should then report no decision recipe.

This is the step after the hf edge cut of round hfcut (gpu-gates hf feature, crates/model-hf).

Activity

  1. added
    model
    tools
    on Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    modeltools

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions