-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you list required versions? Have MMCV 2.1.0 installed but mmyolo says it needs mmcv 2.0< so it gets uninstalled / upgraded on launch #54
Comments
Update: Just noticed you posted recommended versions in a closed thread (hidden by default) - I'll try these and hopefully they won't be changed during the launch process Re: Your post:
|
thank you for your reporting in another extension :) this is a short note. currently Im using
|
Trying to do this now, and can't get past the last part about Bitsandbytes. I'm not using Conda (just the webui env). I tried extracting the windows folders for bits and bytes in the webui site-packages but got a pip up error (couldn't screenshot) about bad code. I tried normal install of bitsandbytes but that changed versions again and led to that module not found error. Reinstalled proper versions (mmyolo is patched now), and tried to copy over just the cuda files from the extraction and got a CUDA error that I can't get past. It seems like the CUDA version in the extraction is 11.8 - I have 12.1 installed for other apps/extensions. Perhaps CUDA 11.8 is necessary? If that's the only solution I'll need to see what exactly relies on 12.1 first - or maybe I can have both installed....although I'd prefer not. My most recent terminal log:
List of versions I have installed:
|
ahh. my mistake. if so,.... downgrade bitsandbytes for cuda 12.1 windows also available at (scroll down and download bitsandbytes for cuda12.1 win) |
Ok, so I tried 0.8.5 and then got an error about a missing controlnet file(cn_module.py?). Buuuut after getting that error, I decided to delete the extension folder, and this time Git clone it directly from this repo. I had first seen uddetailer on the A1111 extension list a few days ago and installed it using the in-app installer. I'm not sure if using the app installer could have issues properly installing/setting this up, but after deleting the folder and installing directly I no longer have any uddetailer errors on launch! If you find other users having issues w/ installing the extension you may want to try installing it yourself from the in-app installer to make sure that it works on your end. I'm happy it seems to be setup properly now so I'm not going to attempt an uninstall/reinstall from the app right now :) BTW if you have a kofi or anything like that drop a link sometime - appreciate your efforts resurrecting these extensions giving them new life w/ all the new advancements the past months...... |
Thank you for your patience and feedback! Lots of people install and use it, but not many are willing to give any feedback or fix it - thanks for that. and this is my ko-fi https://ko-fi.com/wkpark :) |
hello Currently: Should i downgrade to 2.0.0 I tried git cloning instead of in-app, still broken. Please do let me know. In Windows 11. Python 3.10.9 Cuda 12.1 |
Yes. mmcv 2.1.1 works fine with manual fix.
Please see also https://github.com/wkpark/uddetailer/wiki/Required-python-packages |
I should add, I am in Forge webi |
without mmdet/mmcv/mmyolo, you can use mediapipe models or ultralytics yolov8 models I can confirm that (venv) D:\src\stable-diffusion-webui-forge>pip show mmyolo
Name: mmyolo
Version: 0.6.0
Summary: OpenMMLab Toolbox of YOLO
Home-page: https://github.com/open-mmlab/mmyolo
Author: MMYOLO Contributors
Author-email: [email protected]
License: GPL License 3.0
Location: d:\src\stable-diffusion-webui-forge\venv\lib\site-packages
Requires: numpy, prettytable
Required-by:
(venv) D:\src\stable-diffusion-webui-forge>pip show mmengine
Name: mmengine
Version: 0.8.5
Summary: Engine of OpenMMLab projects
Home-page: https://github.com/open-mmlab/mmengine
Author: MMEngine Authors
Author-email: [email protected]
License: UNKNOWN
Location: d:\src\stable-diffusion-webui-forge\venv\lib\site-packages
Requires: addict, matplotlib, numpy, opencv-python, pyyaml, regex, rich, termcolor, yapf
Required-by: mmcv
(venv) D:\src\stable-diffusion-webui-forge>pip show mmcv
Name: mmcv
Version: 2.1.0
Summary: OpenMMLab Computer Vision Foundation
Home-page: https://github.com/open-mmlab/mmcv
Author: MMCV Contributors
Author-email: [email protected]
License:
Location: d:\src\stable-diffusion-webui-forge\venv\lib\site-packages
Requires: addict, mmengine, numpy, opencv-python, packaging, Pillow, pyyaml, regex, yapf
Required-by: |
How would I do that. I'm getting the massive mmcv error nesssage. How do I replace mmcv fir other model? Do you have a step by step please? |
open cmd prompt and install mmcv again. for example cd to_your_sdwebui-forge # goto sdwebu-forge
venv\scripts\activate # activate venv
pip show mmcv # show current mmcv version and install mmcv again using
|
this is the output of pip show mmcv: Should i do mim uninstall then mim install? |
still dont see mmyolo folder with init. what else do i need to do after installing 2.1.0? |
you can install
(there seems to be an issue as all other python packages could be installed using
|
ok, when i run mim install mmyolo i get: I compiled Forge webui using 12.1 cuda `note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while trying to install package. note: This is an issue with the package mentioned above, not pip. Does it not work with 12.1? (venv) E:\forge-webui>pip show torch Do i need to change the mmengine 0.9.1 to 12.1 cuda? |
recommended mmengine version is but, there are official document exist for mmcv+cu121: |
yea alright, not gonna work for people on cuda 12.1 |
ok, so i went ahead and installed Pytorch2.1.2+Cuda11.8 like you and ran with xformers. Here's the console: *** stderr: Traceback (most recent call last): |
It seems I suggest you the following command:
|
Ok will try Will also try the 12.1 suggestion from yesterday Best, Raf On 16 Feb 2024, at 02:44, Won-Kyu Park ***@***.***> wrote:
It seems mim install mmyolo command tried to install mmcv==2.0.1 again with cuda 11.8 build. and it cause the issue.
I suggest you the following command:
pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cu121/torch2.1/index.html # install mmcv first.
pip install mmyolo
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
tried the above on my 12.1 torch install (i tried different forge webui installations with 11.8 and 12.1) How do i remove this from the startup? I dont want this message on every startup. Thanks |
no. no. that's good message.
TL;DR
|
in this case, you can check |
E:\forge-webui>pip uninstall mmyolo Weird. It is not installed |
I just uninstalled it inside my venv the reinstalled it mmyolo and changed to amx 2.1.1 in the init |
fixed controlnet support for forge. PR #75 |
I uninstalled mmyolo, reinstalled, changed init max version settings, and I'm still getting this error. removed pycache, restarted system as well after making changes. Warning - ultralytics for yolov8 is not available. |
well, after installing and uninstalling a few times I finally got it working. |
Hello again! On a different extension of yours this time! :)
Thanks for taking this on - I never actually used the old one, but seeing that different checkpoints can be used for the after generation touchups, I'm excited that it may be possible to fix the "similar faces" or have two different people added to images.
But my problem is install. I've had a very difficult time. I read your note about the thread for issues w/ the mmcv wheel/install. I got past that after a bunch of trial and error. However, now I'm stuck w/ an incompatibility between mmcv and mmyolo. The latest mmcv is 2.1.0 and I was on that, but downgraded to 2.0.0 which failed, and even tried 1.7.0 full per this thread about the same error I was getter from the original repo: dustysys#38 (comment)
The solution there seems like it'll work which is:
But again when I launch A1111 it checks the versions and automatically updates mmcv.
Here is my launch console. If you can advise on proper versions to use that will not trigged changes on launch, or if necessary a way to disable checking/changing versions I'd very much appreciate it!
I also used Chatgpt4 premium to try get this working and if interested here are shareable links to those chats - it shows where I started (different errors gettign mmcv install which I looked up and fixed per your front page) but then others until ultimately where I'm at where I think all versions will work but the laucnh check is changing them back to incompatible versions.
Chatgpt logs from today:
https://chat.openai.com/share/e86cfded-6cf0-4467-b34b-debbc1ab59bf
The text was updated successfully, but these errors were encountered: