Skip to content

[iris] Hide local staging from target model locators #592

Description

@loom-oa-dev

Typed Iris requests expose ModelLocator.local_path as a required caller input. Object-store targets are materialized into that path, while an immutable Hugging Face target cannot be represented: ModelSource accepts only object-store URIs and rejects source metadata paired with a Hub repo ID. Callers therefore have to choose between supplying a launcher-owned staging path and dropping the exact Hub revision.

This also makes the target-model contract inconsistent with speculative draft models, whose public configuration contains only a source URI and immutable identity.

Done when:

  • Typed job callers provide only the target source URI and immutable identity; they do not choose a task-local path.
  • Hugging Face repositories retain and load the requested commit through training, rollout, resume, and terminal export.
  • S3 and GCS targets retain their immutable identity and use an implementation-owned cache or staging directory when a downstream loader requires a filesystem path.
  • Existing unpinned Hub repo IDs remain supported during migration.
  • Launcher tests cover immutable Hugging Face and object-store target locators end to end.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions