Skip to content

Misc. bug: in version 0.16.2, the gguf-dump CLI tool fails due to a missing PySide6 module, indicating an unintended GUI depende #13054

Closed
@Manamama

Description

@Manamama

Name and Version

~ $ llama-cli --version
version: 5162 (2016f07)
built with clang version 20.1.3 for aarch64-unknown-linux-android24
~ $ gguf-dump --version
usage: gguf-dump [-h] [--no-tensors] [--json]
[--json-array] [--data-offset]
[--data-alignment] [--markdown]
[--verbose]
model
gguf-dump: error: the following arguments are required: model
~ $

Operating systems

Linux, Termux

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

Other (Please specify in the next section)

Command line

Gguf

Problem description & steps to reproduce

Successfully installed gguf-0.16.2
~ $ python /data/data/com.termux/files/usr/bin/gguf-dump
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/bin/gguf-dump", line 5, in
from gguf.scripts import gguf_dump_entrypoint
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/gguf/scripts/init.py", line 7, in
from .gguf_editor_gui import main as gguf_editor_gui_entrypoint
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/gguf/scripts/gguf_editor_gui.py", line 15, in
from PySide6.QtWidgets import (
ModuleNotFoundError: No module named 'PySide6'
~ $

First Bad Commit

gguf-0.16.2
See also: termux/termux-packages#21004 (comment)

Relevant log output

This solves it: 

pip install gguf[gui]
...
Installing collected packages: gguf
  Attempting uninstall: gguf
    Found existing installation: gguf 0.16.2
    Uninstalling gguf-0.16.2:
      Successfully uninstalled gguf-0.16.2
  • sic, as it downgrades it elegantly on its own to non Qt version.

Ver. 1.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions