aigc-apps / CogVideoX-Fun

📹 A more flexible CogVideoX that can generate videos at any resolution and creates videos from images.
Apache License 2.0
434 stars 28 forks source link

Unable to run under windows, problem with requirements.txt #14

Closed randaller closed 1 month ago

randaller commented 1 month ago

I am trying to run under windows without any success, xformers & diffusers won't build, conflicting with torch in requirements.txt.

Please specify the requirements for windows more precisely, if possible.

Steps:

conda create -n cogvideox python=3.10
conda activate cogvideox
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia  // this installs torch-gpu 2.4, tried also with pip install torch==2.2.0 without any success, got torch-cpu conflict
pip install -r requirements.txt // <- failure, xformers won't build (builds well in all my other venvs!!!)

image

realisticdreamer114514 commented 1 month ago

https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/5865

randaller commented 1 month ago

Thanks, it worked. Installed xformers from facebook wheel, deepspeed still not builds, but inference works well without deepspeed.