microsoft / microsoft/TRELLIS

Kaolin _C error on launch TRELLIS-gradio

Open
#343 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13.7k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Hi guys! For a long time I’ve been using a TRELLIS build for Windows called StableProjectorz (hope I’m not mixing anything up). Today I bought an RTX 5060 Ti, updated the build, and now Gradio no longer starts. Here’s the traceback:

Traceback (most recent call last):
File "F:\Soft\AI\v40_py311_trellis_stableprojectorz\code\gradio_main.py", line 24, in
from trellis.pipelines import TrellisImageTo3DPipeline
File "F:\Soft\AI\v40_py311_trellis_stableprojectorz\code\trellis_init_.py", line 3, in
from . import pipelines
File "F:\Soft\AI\v40_py311_trellis_stableprojectorz\code\trellis\pipelines_init_.py", line 2, in
from .trellis_image_to_3d import TrellisImageTo3DPipeline
File "F:\Soft\AI\v40_py311_trellis_stableprojectorz\code\trellis\pipelines\trellis_image_to_3d.py", line 15, in
from ..representations import Gaussian, Strivec, MeshExtractResult
File "F:\Soft\AI\v40_py311_trellis_stableprojectorz\code\trellis\representations_init_.py", line 4, in
from .mesh import MeshExtractResult
File "F:\Soft\AI\v40_py311_trellis_stableprojectorz\code\trellis\representations\mesh_init_.py", line 1, in
from .cube2mesh import SparseFeatures2Mesh, MeshExtractResult
File "F:\Soft\AI\v40_py311_trellis_stableprojectorz\code\trellis\representations\mesh\cube2mesh.py", line 5, in
from .flexicubes.flexicubes import FlexiCubes
File "F:\Soft\AI\v40_py311_trellis_stableprojectorz\code\trellis\representations\mesh\flexicubes\flexicubes.py", line 11, in
from kaolin.utils.testing import check_tensor
File "F:\Soft\AI\v40_py311_trellis_stableprojectorz\code\venv\Lib\site-packages\kaolin_init_.py", line 1, in
from . import io
File "F:\Soft\AI\v40_py311_trellis_stableprojectorz\code\venv\Lib\site-packages\kaolin\io_init_.py", line 1, in
from . import dataset
File "F:\Soft\AI\v40_py311_trellis_stableprojectorz\code\venv\Lib\site-packages\kaolin\io\dataset.py", line 31, in
import kaolin.utils.testing as testing
File "F:\Soft\AI\v40_py311_trellis_stableprojectorz\code\venv\Lib\site-packages\kaolin\utils_init_.py", line 1, in
from . import testing
File "F:\Soft\AI\v40_py311_trellis_stableprojectorz\code\venv\Lib\site-packages\kaolin\utils\testing.py", line 24, in
import kaolin.ops.spc.uint8 as uint8_ops
File "F:\Soft\AI\v40_py311_trellis_stableprojectorz\code\venv\Lib\site-packages\kaolin\ops_init_.py", line 1, in
from . import batch
File "F:\Soft\AI\v40_py311_trellis_stableprojectorz\code\venv\Lib\site-packages\kaolin\ops\batch.py", line 17, in
from kaolin import _C
ImportError: DLL load failed while importing _C: Не найдена указанная процедура.
Something went wrong, consider removing code/trellis_init_done.txt and venv folder to re-initialize from scratch

Please help me (

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the launch from gradio_main.py and follow the traceback through trellis/representations/mesh/flexicubes/flexicubes.py into the installed kaolin package. Check the kaolin _C import failure in the reported Windows environment; done means the TRELLIS Gradio application starts without this DLL error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.