-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Windows11 X64
CUDA 12.4
python 3.12
torch 2.5.1
python gradio_app.py
Traceback (most recent call last):
File "M:\AI\RAIN\RAIN\gradio_app.py", line 3, in
from src.morpher import RAINMorpher
File "M:\AI\RAIN\RAIN\src\morpher.py", line 9, in
from src.models.unet_2d_condition import UNet2DConditionModel
File "M:\AI\RAIN\RAIN\src\models\unet_2d_condition.py", line 18, in
from diffusers.models.embeddings import (
ImportError: cannot import name 'PositionNet' from 'diffusers.models.embeddings' (D:\Users\MirraAI\anaconda3\Lib\site-packages\diffusers\models\embeddings.py)
And When I excute "pip install -r requirements_inference.txt",it occours:
error: cargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --release -v --features pyo3/extension-module --crate-type cdylib -- failed with code 101
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tokenizers
Building wheel for tensorrt-cu12 (setup.py) ... done
Created wheel for tensorrt-cu12: filename=tensorrt_cu12-10.7.0-py2.py3-none-any.whl size=17567 sha256=3159c6a2eecad5658451a3ca8edc6c1061048123d79702cdf9ab4866d9d0531c
Stored in directory: c:\users\mirraai\appdata\local\pip\cache\wheels\62\ed\b2\1ef295f9976124301414c4723698c94cb0a654b4ef69d4af58
Successfully built pycuda tensorrt antlr4-python3-runtime tensorrt-cu12
Failed to build tokenizers
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (tokenizers)