Skip to content

Misc. bug: convert_hf_to_gguf.py: No module named 'conversion' #23171

@dfriehs

Description

@dfriehs

Name and Version

version: 9190

Operating systems

Linux

Which llama.cpp modules do you know to be affected?

Python/Bash scripts

Command line

convert_hf_to_gguf.py --help

Problem description & steps to reproduce

In #17114 the conversion logic got moved to separate files in conversion, but the script is still installed by cmake install (CMakeLists.txt:289). I'd suggest removing the install command as AFAIK packaging python dependencies isn't as straightforward.

First Bad Commit

cc7200b

Relevant log output

Logs
Traceback (most recent call last):
  File "/usr/bin/convert_hf_to_gguf.py", line 18, in <module>
    from conversion import (
    ...<8 lines>...
    )
ModuleNotFoundError: No module named 'conversion'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions