Vision-CAIR / MiniGPT-4

Open-sourced codes for MiniGPT-4 and MiniGPT-v2 (https://minigpt-4.github.io, https://minigpt-v2.github.io/)
https://minigpt-4.github.io
BSD 3-Clause "New" or "Revised" License
25.4k stars 2.91k forks source link

install error `ResolvePackageNotFound` #119

Open Vandivier opened 1 year ago

Vandivier commented 1 year ago
ResolvePackageNotFound: 
  - cudatoolkit

is this declared in the repo requirements?

i'm on an m2 using anaconda @ py.310 fwiw

Vandivier commented 1 year ago
No, there is no way to install CUDA for any of the ARM-based Apple Systems -- not even through Rosetta 2 translation.
Last I heard, Mathworks had no plans to work on supporting GPU for ARM-based Apple systems: Apple is not supplying the computational libraries that would be necessary.
CUDA in particular is unlikely to ever be supported on ARM-based Apple Systems: NVIDIA has exited the Apple market, after years of disagreements with Apple.
Sorry, but you simply will not be able to use your M1 MacBook Pro for this purpose.

i guess i can't use minigpt on m2 😭 will close

Vandivier commented 1 year ago

quote above from https://www.mathworks.com/matlabcentral/answers/1744115-cuda-for-m1-macbook-pro

Vandivier commented 1 year ago

reopening bc as an m2 user maybe i can just remove this dep

will fork related: https://www.reddit.com/r/StableDiffusionInfo/comments/ycr4ea/how_to_fix_cudatoolkit_resolve_package_not_found/

Vandivier commented 1 year ago

related: is decord needed? i see a line that says set bridge but i don't see it otherwise used

data_utils.py seems to have a number of unused deps that could lighten up the install load for cloners

im-fan commented 1 year ago

I have the same problem. Is there any other bag that can be replaced?🤔