Skip to content

kit init uses a too broad .bin for pytorch #1052

@gorkem

Description

@gorkem

Native PyTorch uses .pt or .pth extensions for model weights when you save with torch.save().

The .bin extension comes from Hugging Face Transformers, which uses pytorch_model.bin as their convention.

We should narrow the Pytorch detection on kit init to pythorch_model*.bin instead of the generic .bin

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions