Subprozess.calledProceserror: Befehl '[' ninja ']' zurückgegebener Austrittsstatus 1 ungleich Null zurückgegebenPython

Python-Programme
Anonymous
 Subprozess.calledProceserror: Befehl '[' ninja ']' zurückgegebener Austrittsstatus 1 ungleich Null zurückgegeben

Post by Anonymous »

So beheben Sie diesen Fehler < /p>
[SPARSE] Backend: spconv, Attention: flash_attn
/usr/local/lib/python3.11/dist-packages/gradio_client/utils.py:1097: UserWarning: file() is deprecated and will be removed in a future version. Use handle_file() instead.
warnings.warn(
[SPARSE][CONV] spconv algo: native
[ATTENTION] Using backend: flash_attn
[1/40] [GCC][c++/pch]/usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/tensorview_bind/TensorViewBind.h.gch
FAILED: /usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/tensorview_bind/TensorViewBind.h.gch
g++ -MMD -MT /usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/tensorview_bind/TensorViewBind.h.gch -MF /usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/tensorview_bind/TensorViewBind.h.gch.d -I "/usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include" -I "/usr/local/lib/python3.11/dist-packages/pybind11/include" -I "/usr/include/python3.11" -I "/usr/local/cuda/include" -I "/usr/local/lib/python3.11/dist-packages/include" -O3 -DTV_STATIC_VARIABLE_IMPLEMENTATION -std=c++14 -fPIC -x c++-header -DTV_ENABLE_HARDWARE_ACC -c /usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/tensorview_bind/TensorViewBind.h -o /usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/tensorview_bind/TensorViewBind.h.gch
/usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/tensorview_bind/TensorViewBind.h:1:9: warning: #pragma once in main file
1 | #pragma once
| ^~~~
/usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/tensorview_bind/TensorViewBind.h:2:10: fatal error: tensorview/pybind_utils.h: No such file or directory
2 | #include
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[2/40] [GCC][c++/pch]/usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/csrc/arrayref/ArrayPtr.h.gch
FAILED: /usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/csrc/arrayref/ArrayPtr.h.gch
g++ -MMD -MT /usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/csrc/arrayref/ArrayPtr.h.gch -MF /usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/csrc/arrayref/ArrayPtr.h.gch.d -I "/usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include" -I "/usr/local/lib/python3.11/dist-packages/pybind11/include" -I "/usr/include/python3.11" -I "/usr/local/lib/python3.11/dist-packages/include" -I "/usr/local/cuda/include" -O3 -DTV_STATIC_VARIABLE_IMPLEMENTATION -std=c++14 -fPIC -x c++-header -DTV_ENABLE_HARDWARE_ACC -c /usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/csrc/arrayref/ArrayPtr.h -o /usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/csrc/arrayref/ArrayPtr.h.gch
/usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/csrc/arrayref/ArrayPtr.h:1:9: warning: #pragma once in main file
1 | #pragma once
| ^~~~
In file included from /usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/csrc/arrayref/ArrayPtr.h:3:
/usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/common/TensorViewCPU.h:3:10: fatal error: tensorview/core/all.h: No such file or directory
3 | #include
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[3/40] [GCC][c++]/usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/src/tensorview_bind/PyBindTensorViewBind/PyBindTensorViewBind_bind_TensorViewBind.cc.o
FAILED: /usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/src/tensorview_bind/PyBindTensorViewBind/PyBindTensorViewBind_bind_TensorViewBind.cc.o
g++ -MMD -MT /usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/src/tensorview_bind/PyBindTensorViewBind/PyBindTensorViewBind_bind_TensorViewBind.cc.o -MF /usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/src/tensorview_bind/PyBindTensorViewBind/PyBindTensorViewBind_bind_TensorViewBind.cc.o.d -I "/usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include" -I "/usr/local/lib/python3.11/dist-packages/pybind11/include" -I "/usr/include/python3.11" -I "/usr/local/cuda/include" -I "/usr/local/lib/python3.11/dist-packages/include" -O3 -DTV_STATIC_VARIABLE_IMPLEMENTATION -std=c++14 -fPIC -DTV_ENABLE_HARDWARE_ACC -c /usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/src/tensorview_bind/PyBindTensorViewBind/PyBindTensorViewBind_bind_TensorViewBind.cc -o /usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/src/tensorview_bind/PyBindTensorViewBind/PyBindTensorViewBind_bind_TensorViewBind.cc.o
In file included from /usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/src/tensorview_bind/PyBindTensorViewBind/PyBindTensorViewBind_bind_TensorViewBind.cc:2:
/usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/tensorview_bind/TensorViewBind.h:2:10: fatal error: tensorview/pybind_utils.h: No such file or directory
2 | #include
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/content/TRELLIS-3D/app.py", line 408, in
pipeline = TrellisImageTo3DPipeline.from_pretrained("JeffreyXiang/TRELLIS-image-large")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/content/TRELLIS-3D/trellis/pipelines/trellis_image_to_3d.py", line 56, in from_pretrained
pipeline = super(TrellisImageTo3DPipeline, TrellisImageTo3DPipeline).from_pretrained(path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/content/TRELLIS-3D/trellis/pipelines/base.py", line 39, in from_pretrained
_models = {
^
File "/content/TRELLIS-3D/trellis/pipelines/base.py", line 40, in
k: models.from_pretrained(f"{path}/{v}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/content/TRELLIS-3D/trellis/models/__init__.py", line 59, in from_pretrained
model = __getattr__(config['name'])(**config['args'], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/content/TRELLIS-3D/trellis/models/structured_latent_vae/decoder_mesh.py", line 108, in __init__
SparseSubdivideBlock3d(
File "/content/TRELLIS-3D/trellis/models/structured_latent_vae/decoder_mesh.py", line 43, in __init__
sp.SparseConv3d(channels, self.out_channels, 3, indice_key=f"res_{self.out_resolution}"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/content/TRELLIS-3D/trellis/modules/sparse/conv/conv_spconv.py", line 11, in __init__
import spconv.pytorch as spconv
File "/usr/local/lib/python3.11/dist-packages/spconv/__init__.py", line 15, in
from . import build as _build
File "/usr/local/lib/python3.11/dist-packages/spconv/build.py", line 21, in
from .constants import PACKAGE_NAME, PACKAGE_ROOT, DISABLE_JIT, SPCONV_INT8_DEBUG
File "/usr/local/lib/python3.11/dist-packages/spconv/constants.py", line 19, in
from cumm.gemm.constants import NVRTCMode
File "/usr/local/lib/python3.11/dist-packages/cumm/__init__.py", line 33, in
pccm.builder.build_pybind([ArrayPtr(), TensorViewBind(), AppleMetalImpl()],
File "/usr/local/lib/python3.11/dist-packages/pccm/builder/pybind.py", line 121, in build_pybind
res = ccimport.ccimport(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/ccimport/core.py", line 155, in ccimport
target_filename, no_work = build_simple_ninja(
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/ccimport/buildtools/writer.py", line 1109, in build_simple_ninja
raise subprocess.CalledProcessError(proc.returncode, cmds)
subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit status 1.
< /code>
GPU- und Python-Versionen: < /p>
NVCC: NVIDIA (R) CUDA-Compiler-Treiber
Copyright (C) 2005-2024 NVIDIA Corporation
Inbaut auf THU_JUN__6_02: 18: 23_PDT_2024
Cuda, 18: 23_PDT_2024
cuda, 18: 23_PDT_2024
Cuda, 18: 23_PDT_2024
Cuda, 18: 23_PDT_2024
Cuda, 18: 23_PDT_2024
Cuda, 18: 23_PDT_2024
u. 12.5, V12.5.82
Build cuda_12.5.r12.5/compiler.34385749_0
=== Default Python & Pip Version ===
/usr/local/bin/python
Python 3.11.12
pip 25.1 from /usr/local/lib/python3.11/dist-packages/pip (Python 3.11)

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post