Skip to content

New adapters and local development #199

@ronaldmannak

Description

@ronaldmannak

Question on the new adapters: how are downstream apps expected to develop against a local mlx-swift-lm checkout when all four adapter packages (DePasqualeOrg/swift-huggingface-mlx, DePasqualeOrg/swift-hf-api-mlx, DePasqualeOrg/swift-tokenizers-mlx, DePasqualeOrg/swift-transformers-mlx) pin mlx-swift-lm to an exact commit?
That makes local development and updating hard for projects that track main or use a local path dependency. Is the intended workflow to fork/vendor the adapters, or is the plan to retire the adapters with v3? As it stands, this feels overly complicated for downstream consumers.
Having multiple adapter options is already unfortunate, and the current exact-pin approach makes that worse. Especially since using the old HF packages directly is no longer an option. Right now the practical answer seems to be “fork/vendor the adapters or write the bridge yourself,” which undermines much of the value of publishing them as separate packages. If there’s a better alternative or if this will be addressed in v3, please let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions