Skip to content

save_to_gguf doesn't work with absolute paths #1118

Closed

Description

@giuliabaldini

Hi there,

thank you for the absolutely amazing package!

I have encountered an error when saving to gguf.

In this line you build the path for the final save, but if the path is absolute, this causes convert-hf-to-gguf.py to not find it and throw an error.

I am happy to write a PR to fix this, the best way is probably to use pathlib internally.

Best,
Giulia

Activity

  1. danielhanchen commented on Oct 9, 2024

    @danielhanchen
    Member

    Oh thanks for the quick fix as well!!

  2. danielhanchen commented on Oct 11, 2024

    @danielhanchen
    Member

    Merged and thank you!

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions