cocktailpeanut / ms-image2video.pinokio

7 stars 1 forks source link

Install (Torch) and Run (Transformers) Issue #4

Open mkammes opened 9 months ago

mkammes commented 9 months ago

Same issue as reported in video2video: https://github.com/cocktailpeanut/ms-video2video.pinokio/issues/2

Install Issue:

Installing collected packages: torch, torchaudio
  Attempting uninstall: torch
    Found existing installation: torch 2.1.1
    Uninstalling torch-2.1.1:
      Successfully uninstalled torch-2.1.1
  Attempting uninstall: torchaudio
    Found existing installation: torchaudio 2.1.2+cu118
    Uninstalling torchaudio-2.1.2+cu118:
      Successfully uninstalled torchaudio-2.1.2+cu118
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
xformers 0.0.22.post4+cu118 requires torch==2.1.0, but you have torch 2.1.1+cu118 which is incompatible.
Successfully installed torch-2.1.1+cu118 torchaudio-2.1.1+cu118

Run Issue:

(env) C:\Users\micha\pinokio\api\ms-image2video.pinokio.git>python app.py
2023-12-14 12:10:46,992 - modelscope - INFO - PyTorch version 2.1.1 Found.
2023-12-14 12:10:46,995 - modelscope - INFO - Loading ast index from C:\Users\micha\.cache\modelscope\ast_indexer
2023-12-14 12:10:47,124 - modelscope - INFO - Loading done! Current index file version is 1.9.4, with md5 0a904be1d44ff2b533cd91425a65dd47 and a total number of 946 components indexed
2023-12-14 12:10:50,658 - modelscope - INFO - Development mode use revision: v1.1.0
Traceback (most recent call last):
  File "C:\Users\micha\pinokio\api\ms-image2video.pinokio.git\app.py", line 6, in <module>
    pipe = pipeline(task='image-to-video', model='damo/Image-to-Video', model_revision='v1.1.0')
  File "c:\users\micha\pinokio\api\ms-image2video.pinokio.git\modelscope\package\modelscope\pipelines\builder.py", line 163, in pipeline
    clear_llm_info(kwargs)
  File "c:\users\micha\pinokio\api\ms-image2video.pinokio.git\modelscope\package\modelscope\pipelines\builder.py", line 227, in clear_llm_info
    from .nlp.llm_pipeline import ModelTypeHelper
  File "c:\users\micha\pinokio\api\ms-image2video.pinokio.git\modelscope\package\modelscope\pipelines\nlp\llm_pipeline.py", line 9, in <module>
    from transformers import PreTrainedTokenizer
ModuleNotFoundError: No module named 'transformers'

Pinokio Version 0.2.7 (Server: 0.0.421) Win 11 Pro (22H3) i7-8700 @3.7GHz 64GB RAM 4070 TI