Skip to content
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, mmyolo, mmengine version issues #45

Closed
wkpark opened this issue Nov 14, 2023 · 2 comments · Fixed by #46
Closed

mmcv, mmyolo, mmengine version issues #45

wkpark opened this issue Nov 14, 2023 · 2 comments · Fixed by #46

Comments

@wkpark
Copy link
Owner

wkpark commented Nov 14, 2023

I've installed the latest packages to check for recent issues.
and found that the latest mmcv, mmdet and mmengine have some issues.

  • only mmcv == 2.0.0 work with mmyolo 0.6.0
  • the mmengine 0.9.x has some issues with bitsandbytes. (bitsandbytes 0.9.x is not work properly under windows)

these are recommended versions

  • mmcv == 2.0.0
  • mmdet >= 3.0.0
  • mmengine == 0.8.5

2023/11/28 update

currently Im using mmcv == 2.1.0, mmdet >=3.2.0, mmengine == 0.9.1 under windows, with mmyolo 0.6.0

  • patched mmyolo 0.6.0. - simply fix version restriction at venv/Lib/site-packages/mmyolo/__init__.py (fix mmcv_maximum_version = '2.1.0' to mmcv_maximum_version = '2.1.1' works fine.
  • mmengine 0.9.1 + patched bitesnbytes at https://github.com/wkpark/bitsandbytes/actions/runs/6887358987 (login github and scroll down you will find an downloadable artifacts)

pip install basic (cmd prompt under windows)

  • step # 1. activate venv env
cd c: (or what your sd-webui installed driver d: e: or f: or else where)
cd \to\your\webui\stable-diffusion-webui
venv\scripts\activate
  • step # 2, check installed package version pip show package for example
pip show mmengine
  • step # 3, install package with a specific version for example.
pip install mmengine==0.8.5
@CCpt5
Copy link

CCpt5 commented Nov 28, 2023

I've installed the latest packages to check for recent issues. and found that the latest mmcv, mmdet and mmengine have some issues.

  • only mmcv == 2.0.0 work with mmyolo 0.6.0
  • the mmengine 0.9.x has some issues with bitsandbytes. (bitsandbytes 0.9.x is not work properly under windows)

these are recommended versions

  • mmcv == 2.0.0
  • mmdet >= 3.0.0
  • mmengine == 0.8.5

This is helpful!! I would recommend listing these versions on the main page or in a txt in the repo.

@CCpt5
Copy link

CCpt5 commented Nov 28, 2023

Yea, I dunno....followed these directions you mentioned (https://mmcv.readthedocs.io/en/latest/get_started/installation.html#install-with-mim-recommended) and tried the versions you have there as well as the ones listed in that older thread: (mmdet version 2.25.3 / mmcv 1.7 full) and they're changed on launch. It might be due to a different extension I have installed but not sure.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants