Skip to content

Trellis2 GGUF not installing properly #269

Open

Description

@Bazmundi

Which official extension?

Trellis2 GGUF from Modly page

Describe the bug

Seems aking to #129

But there's been multiple stabs at fixing #129 and that is aqainst an older version of modly

Seems the extension is missing cumesh module.

Steps to reproduce

  1. copy basic workflow https://github.com/lightningpixel/modly-trellis2-gguf-extension#basic-workflow
  2. From Generate page I get the error attached.
  3. Per descructions in the error log I try the "Click Repair", the repair "runs" to finish but there is not progress reported.
  4. Try generating again but get the error again.

Modly version

0.4.1

Operating system

Ubuntu

GPU

RTX4080

Screenshots & logs

Error: Traceback (most recent call last):
File "/tmp/.mount_Modly-cISyU3/resources/api/routers/generation.py", line 154, in _run_generation
gen = await loop.run_in_executor(None, generator_registry.get_active)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/asterion/.config/Modly/python-embed/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/.mount_Modly-cISyU3/resources/api/services/generator_registry.py", line 253, in get_active
gen.load()
File "/tmp/.mount_Modly-cISyU3/resources/api/services/extension_process.py", line 263, in load
raise RuntimeError(msg.get("traceback") or msg.get("message"))
RuntimeError: Traceback (most recent call last):
File "/home/asterion/Documents/Modly/extensions/trellis2/generator.py", line 1338, in _ensure_trellis2_gguf
from trellis2_gguf.pipelines import Trellis2ImageTo3DPipeline # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/asterion/Documents/Modly/extensions/trellis2/venv/lib/python3.11/site-packages/trellis2_gguf/pipelines/init.py", line 16, in getattr
module = importlib.import_module(f".{module_name}", name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/.mount_Modly-cISyU3/resources/python-embed/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/asterion/Documents/Modly/extensions/trellis2/venv/lib/python3.11/site-packages/trellis2_gguf/pipelines/trellis2_image_to_3d.py", line 10, in
from ..representations import Mesh, MeshWithVoxel
File "/home/asterion/Documents/Modly/extensions/trellis2/venv/lib/python3.11/site-packages/trellis2_gguf/representations/init.py", line 18, in getattr
module = importlib.import_module(f".{module_name}", name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/.mount_Modly-cISyU3/resources/python-embed/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/asterion/Documents/Modly/extensions/trellis2/venv/lib/python3.11/site-packages/trellis2_gguf/representations/mesh/init.py", line 1, in
from .base import Mesh, MeshWithVoxel, MeshWithPbrMaterial, TextureFilterMode, TextureWrapMode, AlphaMode, PbrMaterial, Texture
File "/home/asterion/Documents/Modly/extensions/trellis2/venv/lib/python3.11/site-packages/trellis2_gguf/representations/mesh/base.py", line 4, in
import cumesh
ModuleNotFoundError: No module named 'cumesh'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/tmp/.mount_Modly-cISyU3/resources/api/runner.py", line 153, in main
gen.load()
File "/home/asterion/Documents/Modly/extensions/trellis2/generator.py", line 160, in load
self._ensure_trellis2_gguf()
File "/home/asterion/Documents/Modly/extensions/trellis2/generator.py", line 1340, in _ensure_trellis2_gguf
raise RuntimeError(
RuntimeError: [Trellis2GGUFGenerator] trellis2_gguf not found. Click Repair on the Models page to re-run setup.py.

Confirmation

  • I have searched existing issues and this has not been reported yet.
  • I can reproduce this on the latest version of Modly.

Activity

  1. Bazmundi commented on Aug 18, 2026

    @Bazmundi
    Author

    So, I decided to use TripoSG instead. The generation wizarded reported TripoSG removing background then went into the mesh generation then a few moment later it raised an exception, then reported what I had above (so still reporting Trellis exception). So you've go some problems tidying up in the code post exceptions. I tried running again, same problem. I repaired the TripoSG node, the hit refres on the workflow canvas. Still got the TripoSG exception but reported this time as:

    Error: Error: Error:
    Something went wrong installing the "sharp" module

    Module did not self-register: '/home/asterion/.config/Modly/builtin-extensions/mesh-optimizer/node_modules/sharp/build/Release/sharp-linux-x64.node'.

    Possible solutions:

  2. Bazmundi commented on Aug 18, 2026

    @Bazmundi
    Author

    Closed Modly and reopened, reran and got: AxiosError: Request failed with status code 400

    Tried repairing the TripoSG node got the following in the TriposSG config panel:

    Image
  3. Bazmundi commented on Aug 18, 2026

    @Bazmundi
    Author

    Have fun. Deleted my install and will try some other approach.

  4. Lorchie commented on Oct 18, 2026

    @Lorchie
    Collaborator

    The Linux CUDA wheels are built for glibc 2.35 or newer (Ubuntu 22.04+). Until now, a wheel pip refused was only logged and setup still reported success. Since 1.0.9, setup fails and names the wheel that could not be installed, with a hint when the system glibc is too old.

    Could you click Repair on Trellis.2 GGUF and paste the setup log if it still fails? Also, which Ubuntu version are you on (lsb_release -a)?

    The "sharp" / TripoSG errors in your follow-up are a separate problem in the mesh-optimizer extension.

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

    bugSomething isn't working

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions