Skip to content

Missing load.py in .deb package causes Step 6 failure (ModuleNotFoundError: No module named 'load') #22

Closed

Description

@uzumo

Environment:
Host: Proxmox VE 7 (PVE7)
Guest OS: Ubuntu 24.04 LTS (or 26.04)
GPU: Intel Arc B580 (Passed through to the Guest OS)
Package: xestrata-contrib-cuda13.1_0.1.43-2_amd64.deb

Description:
First of all, thank you for creating such an amazing tool!

During the setup process, Step 6 fails when preparing the Q2_0 model because the load.py file is missing from the package.

Note that this issue only occurs with the Q2_0 model; other quantization formats like IQ3_S and IQ2_XS work perfectly fine without this file.

Error log:

=== Step 6: preparing the model for Strata ===
  Converting the Q2_0 experts for the AVX-512 kernel (one time, ~40 GB written, 2-5 min) ...
  > /usr/bin/python3 /usr/share/xestrata/tools/strata_pack.py build --gguf /mnt/256GB/Strata-data/models/Q2_0/Q2_0/Qwen3.8-Flash-Next-GSQ-RCO-Q2_0-00001-of-00002.gguf --out /home/ubuntu/.local/share/xestrata/packs/q2_0 --skip-hash --force
Traceback (most recent call last):
  File "/usr/share/xestrata/tools/strata_pack.py", line 42, in <module>
    from canonical_xcheck import (MAPPINGS, KV_IQ4NL, open_shard,             # noqa: E402
                                  data_section_offset, reference_values)
  File "/usr/share/xestrata/tools/canonical_xcheck.py", line 46, in <module>
    from load import _dequant_flat                             # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'load'

  [X]  command failed (exit 1): python3

Setup stopped. Fix the item above and run it again - everything already done is kept and skipped.

Root cause & Workaround:
The file load.py does not exist in /usr/share/xestrata/tools/. I confirmed that downloading the missing file manually via the following command fixes the issue:

sudo wget -P /usr/share/xestrata/tools/ https://github.com/MistVVK/XeStrata/raw/main/ref/load.py

Could you please include load.py in the /usr/share/xestrata/tools/ directory in future package updates? Thank you!

Activity

  1. MistVVK commented on Oct 20, 2026

    @MistVVK
    Owner

    Fixed: the deb and rpm packages and the Windows 7z now include ref/ (load.py), which the Q2_0 conversion in setup's step 6 imports. This will be in the next release. Until then, your workaround (copying ref/load.py into /usr/share/xestrata/tools/) is fine. Thank you for the report and the root cause.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions