thu-ml / thu-ml/TurboDiffusion
Install Error
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 277
- Avg merge
- 2h 57m
- Merged PRs (30d)
- 2
Description
pip install -e . --no-build-isolation
...
Building wheels for collected packages: turbodiffusion
Building editable for turbodiffusion (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building editable for turbodiffusion (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [72 lines of output]
/root/anaconda3/envs/env_td/lib/python3.10/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: project.license as a TOML table is deprecated
!!
********************************************************************************
Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
By 2026-Feb-18, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
corresp(dist, value, root_dir)
/root/anaconda3/envs/env_td/lib/python3.10/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: Apache Software License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
dist._finalize_license_expression()
/root/anaconda3/envs/env_td/lib/python3.10/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: Apache Software License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running editable_wheel
creating /tmp/pip-ephem-wheel-cache-rvtprusr/wheels/66/bc/7f/088d247f2a64772b84a0a18350b86f3ba2ddee145411b58896/tmpschbt6co/.tmp-gxpoxp3u/turbodiffusion.egg-info
writing /tmp/pip-ephem-wheel-cache-rvtprusr/wheels/66/bc/7f/088d247f2a64772b84a0a18350b86f3ba2ddee145411b58896/tmpschbt6co/.tmp-gxpoxp3u/turbodiffusion.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-ephem-wheel-cache-rvtprusr/wheels/66/bc/7f/088d247f2a64772b84a0a18350b86f3ba2ddee145411b58896/tmpschbt6co/.tmp-gxpoxp3u/turbodiffusion.egg-info/dependency_links.txt
writing entry points to /tmp/pip-ephem-wheel-cache-rvtprusr/wheels/66/bc/7f/088d247f2a64772b84a0a18350b86f3ba2ddee145411b58896/tmpschbt6co/.tmp-gxpoxp3u/turbodiffusion.egg-info/entry_points.txt
writing requirements to /tmp/pip-ephem-wheel-cache-rvtprusr/wheels/66/bc/7f/088d247f2a64772b84a0a18350b86f3ba2ddee145411b58896/tmpschbt6co/.tmp-gxpoxp3u/turbodiffusion.egg-info/requires.txt
writing top-level names to /tmp/pip-ephem-wheel-cache-rvtprusr/wheels/66/bc/7f/088d247f2a64772b84a0a18350b86f3ba2ddee145411b58896/tmpschbt6co/.tmp-gxpoxp3u/turbodiffusion.egg-info/top_level.txt
writing manifest file '/tmp/pip-ephem-wheel-cache-rvtprusr/wheels/66/bc/7f/088d247f2a64772b84a0a18350b86f3ba2ddee145411b58896/tmpschbt6co/.tmp-gxpoxp3u/turbodiffusion.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-ephem-wheel-cache-rvtprusr/wheels/66/bc/7f/088d247f2a64772b84a0a18350b86f3ba2ddee145411b58896/tmpschbt6co/.tmp-gxpoxp3u/turbodiffusion.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file '/tmp/pip-ephem-wheel-cache-rvtprusr/wheels/66/bc/7f/088d247f2a64772b84a0a18350b86f3ba2ddee145411b58896/tmpschbt6co/.tmp-gxpoxp3u/turbodiffusion.egg-info/SOURCES.txt'
creating '/tmp/pip-ephem-wheel-cache-rvtprusr/wheels/66/bc/7f/088d247f2a64772b84a0a18350b86f3ba2ddee145411b58896/tmpschbt6co/.tmp-gxpoxp3u/turbodiffusion-1.0.0.dist-info'
creating /tmp/pip-ephem-wheel-cache-rvtprusr/wheels/66/bc/7f/088d247f2a64772b84a0a18350b86f3ba2ddee145411b58896/tmpschbt6co/.tmp-gxpoxp3u/turbodiffusion-1.0.0.dist-info/WHEEL
running build_py
running build_ext
W1226 15:45:16.998505 37220 site-packages/torch/utils/cpp_extension.py:507] The detected CUDA version (12.6) has a minor version mismatch with the version that was used to compile PyTorch (12.8). Most likely this shouldn't be a problem.
W1226 15:45:16.998601 37220 site-packages/torch/utils/cpp_extension.py:517] There are no g++ version bounds defined for CUDA version 12.6
building 'turbo_diffusion_ops' extension
creating /tmp/tmpgh4fl2p9.build-temp/turbodiffusion/ops
creating /tmp/tmpgh4fl2p9.build-temp/turbodiffusion/ops/gemm
creating /tmp/tmpgh4fl2p9.build-temp/turbodiffusion/ops/norm
creating /tmp/tmpgh4fl2p9.build-temp/turbodiffusion/ops/quant
1.11.1.git.kitware.jobserver-1
g++ -pthread -B /root/anaconda3/envs/env_td/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -O2 -isystem /root/anaconda3/envs/env_td/include -fPIC -O2 -isystem /root/anaconda3/envs/env_td/include -shared /tmp/tmpgh4fl2p9.build-temp/turbodiffusion/ops/bindings.o /tmp/tmpgh4fl2p9.build-temp/turbodiffusion/ops/gemm/gemm.o /tmp/tmpgh4fl2p9.build-temp/turbodiffusion/ops/norm/layernorm.o /tmp/tmpgh4fl2p9.build-temp/turbodiffusion/ops/norm/rmsnorm.o /tmp/tmpgh4fl2p9.build-temp/turbodiffusion/ops/quant/quant.o -L/root/anaconda3/envs/env_td/lib/python3.10/site-packages/torch/lib -L/usr/local/cuda-12.6/lib64 -lcuda -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o /tmp/tmpmd9jxh5a.build-lib/turbo_diffusion_ops.cpython-310-x86_64-linux-gnu.so
/root/anaconda3/envs/env_td/compiler_compat/ld: cannot find /tmp/tmpgh4fl2p9.build-temp/turbodiffusion/ops/bindings.o: 没有那个文件或目录
/root/anaconda3/envs/env_td/compiler_compat/ld: cannot find /tmp/tmpgh4fl2p9.build-temp/turbodiffusion/ops/gemm/gemm.o: 没有那个文件或目录
/root/anaconda3/envs/env_td/compiler_compat/ld: cannot find /tmp/tmpgh4fl2p9.build-temp/turbodiffusion/ops/norm/layernorm.o: 没有那个文件或目录
/root/anaconda3/envs/env_td/compiler_compat/ld: cannot find /tmp/tmpgh4fl2p9.build-temp/turbodiffusion/ops/norm/rmsnorm.o: 没有那个文件或目录
/root/anaconda3/envs/env_td/compiler_compat/ld: cannot find /tmp/tmpgh4fl2p9.build-temp/turbodiffusion/ops/quant/quant.o: 没有那个文件或目录
collect2: error: ld returned 1 exit status
error: command '/usr/bin/g++' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building editable for turbodiffusion
Failed to build turbodiffusion
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> turbodiffusion
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing pip install -e . --no-build-isolation and inspect pyproject.toml together with the extension sources under turbodiffusion/ops, including bindings, gemm, norm, and quant. The reported failure occurs at linking because the expected object files are missing; done means the editable package builds successfully in the reported environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- build-system, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100