-
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
mmcv 2.2.0 and mmengine 0.10.4 may not work #97
Comments
ERROR - failed to import mmcv - No module named 'mmcv'
Downgraded with pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cu121/torch2.1/index.html and successfully installed mmcv, but still it cannot import mmcv module. |
Tried clean reinstall *** Error running install.py for extension E:\WebUI\Automatic1100\stable-diffusion-webui\extensions\uddetailer. *** stderr: Traceback (most recent call last): And got this, in Automatic1111 WebUI 1.10.0 version. |
Please see.
|
ok. I've update my environment with pytorch v2.2.x and found that pytorch v2.2.x need to install mmcv 2.2.0 with some minor modification of thanks for your reporting! |
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Check mmcv version...
Your mmcv version 2.2.0 may not work with mmyolo.
or you need to fix version restriction of init.py of mmyolo manually, to use mmcv 2.1.0 with mmyolo.
Check mmengine version...
Your mmengine version 0.10.4 may not work on windows...
Please install mmengine 0.8.5 manually or install latest bitsandbytes >= 0.43.0 or un-official patched version of bitsandbytes-windows.
Launching Web UI with arguments: --xformers --xformers-flash-attention --opt-channelslast --enable-insecure-extension-access
Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu.
Loading weights [a4398235c9] from E:\WebUI\Automatic1100\stable-diffusion-webui\models\Stable-diffusion\remasterizexl_v10.safetensors
Creating model from config: E:\WebUI\Automatic1100\stable-diffusion-webui\repositories\generative-models\configs\inference\sd_xl_base.yaml
E:\WebUI\Automatic1100\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\file_download.py:1150: FutureWarning:
resume_download
is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, useforce_download=True
.warnings.warn(
Warning - ultralytics for yolov8 is not available.
ERROR - failed to import mmyolo - MMCV==2.2.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0.
*** Error executing callback before_ui for E:\WebUI\Automatic1100\stable-diffusion-webui\extensions\uddetailer\scripts\ddetailer.py
Traceback (most recent call last):
File "E:\WebUI\Automatic1100\stable-diffusion-webui\modules\script_callbacks.py", line 397, in before_ui_callback
c.callback()
File "E:\WebUI\Automatic1100\stable-diffusion-webui\extensions\uddetailer\scripts\ddetailer.py", line 367, in startup
inference_detector, init_detector, get_classes, Config = get_dependency_modules()
File "E:\WebUI\Automatic1100\stable-diffusion-webui\extensions\uddetailer\scripts\ddetailer.py", line 120, in get_dependency_modules
from mmdet.core import get_classes
File "E:\WebUI\Automatic1100\stable-diffusion-webui\venv\lib\site-packages\mmdet_init_.py", line 17, in
and mmcv_version < digit_version(mmcv_maximum_version)),
AssertionError: MMCV==2.2.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0.
loading.. cn_modole
Got a Error message with this.
I actually downloaded dddetailer right before, and I removed it from extension folder since its not compatible in 1.10.1 version, so I installed uddetailer but this thing got wrong from version issue.
How can I fix it?
The text was updated successfully, but these errors were encountered: