Git Product home page Git Product logo

Comments (6)

klossm avatar klossm commented on August 30, 2024 1

I followed the error prompt to add the following.
Pip install absl-py.
Pip install wrapt.
Pip install opt_einsum.
Pip install gast.
Pip install astunparse.
Pip install flatbuffers.

Then run start.bat.

The corresponding model is being downloaded now. It should be running successfully.

from kubin.

seruva19 avatar seruva19 commented on August 30, 2024

Try installing diffusers manually:

call venv\Scripts\activate.bat
pip install -r diffusers/requirements.txt

(from command line)

from kubin.

klossm avatar klossm commented on August 30, 2024

Try installing diffusers manually:

call venv\Scripts\activate.bat
pip install -r diffusers/requirements.txt

(from command line)

I have already installed this, but I still reported an error.All three dependencies are installed.I didn't report error if I didn't set up diffusers.
Diffusers==0.17.0.
Transformers==4.29.0.
Accelerate==0.19.0

from kubin.

seruva19 avatar seruva19 commented on August 30, 2024
  1. Do you launch app with start.bat ?

  2. Try type this, is the error raised?

call venv\Scripts\activate.bat
python -c "from diffusers import KandinskyPriorPipeline"

from kubin.

klossm avatar klossm commented on August 30, 2024
  1. Do you launch app with start.bat ?
  2. Try type this, is the error raised?
call venv\Scripts\activate.bat
python -c "from diffusers import KandinskyPriorPipeline"

Yes, there was an error when I started with start.bat, so I still got an error when I installed what you said to run python-c "from diffusers import KandinskyPriorPipeline". The error prompt is as follows.

(venv) M:\ai\kubin>python -c "from diffusers import KandinskyPriorPipeline"
A matching Triton is not available, some optimizations will not be enabled.
Error caught was: DLL load failed while importing libtriton: the specified module was not found。
Traceback (most recent call last):
File "M:\ai\kubin\venv\lib\site-packages\transformers\utils\import_utils.py", line 1172, in get_module
return importlib.import_module("." + module_name, self.name)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\importlib_init
.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "M:\ai\kubin\venv\lib\site-packages\transformers\models\clip\image_processing_clip.py", line 22, in
from ...image_transforms import (
File "M:\ai\kubin\venv\lib\site-packages\transformers\image_transforms.py", line 48, in
import tensorflow as tf
File "M:\ai\kubin\venv\lib\site-packages\tensorflow_init
.py", line 37, in
from tensorflow.python.tools import module_util as module_util
File "M:\ai\kubin\venv\lib\site-packages\tensorflow\python_init
.py", line 37, in
from tensorflow.python.eager import context
File "M:\ai\kubin\venv\lib\site-packages\tensorflow\python\eager\context.py", line 25, in
from absl import logging
ModuleNotFoundError: No module named 'absl'

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

Traceback (most recent call last):
File "", line 1, in
File "M:\ai\kubin\venv\lib\site-packages\diffusers_init_.py", line 59, in
from .pipelines import (
File "M:\ai\kubin\venv\lib\site-packages\diffusers\pipelines_init_.py", line 45, in
from .alt_diffusion import AltDiffusionImg2ImgPipeline, AltDiffusionPipeline
File "M:\ai\kubin\venv\lib\site-packages\diffusers\pipelines\alt_diffusion_init_.py", line 32, in
from .pipeline_alt_diffusion import AltDiffusionPipeline
File "M:\ai\kubin\venv\lib\site-packages\diffusers\pipelines\alt_diffusion\pipeline_alt_diffusion.py", line 21, in
from transformers import CLIPImageProcessor, XLMRobertaTokenizer
File "", line 1075, in _handle_fromlist
File "M:\ai\kubin\venv\lib\site-packages\transformers\utils\import_utils.py", line 1163, in getattr
value = getattr(module, name)
File "M:\ai\kubin\venv\lib\site-packages\transformers\utils\import_utils.py", line 1162, in getattr
module = self._get_module(self._class_to_module[name])
File "M:\ai\kubin\venv\lib\site-packages\transformers\utils\import_utils.py", line 1174, in _get_module
raise RuntimeError(
RuntimeError: Failed to import transformers.models.clip.image_processing_clip because of the following error (look up to see its traceback):
No module named 'absl'

from kubin.

seruva19 avatar seruva19 commented on August 30, 2024

absl?? That's so weird...
Try installing it manually:

call venv\Scripts\activate.bat
pip install absl-py

from kubin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.