UMOE-Scaling-Unified-Multimodal-LLMs icon indicating copy to clipboard operation
UMOE-Scaling-Unified-Multimodal-LLMs copied to clipboard

Upgrade Uni_Moe to support LLaVa correctly

Open Bhagyashreet20 opened this issue 8 months ago • 5 comments

LLaVA requires 3.10 python (https://github.com/haotian-liu/LLaVA) and majority of containers are only with 3.10.x. Python 3.9.x is not a stable version for long term. Given all these, it is fundamental for upgrading Uni_Moe to 3.10.x ecosystem asap. It is non-usable otherwise.

Errors reported if not upgraded when install from Uni_Moe

pip install -r env.txt
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Obtaining llava from git+https://github.com/haotian-liu/LLaVA.git@e61aa3f88f58f8e871b9c2476d743724e271c776#egg=llava (from -r env.txt (line 83))
  Skipping because already up-to-date.
  Installing build dependencies ... error
  error: subprocess-exited-with-error
  
  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com, https://pypi.ngc.nvidia.com
      Collecting setuptools>=61.0
        Downloading setuptools-70.1.0-py3-none-any.whl.metadata (6.0 kB)
      Downloading setuptools-70.1.0-py3-none-any.whl (882 kB)
         ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 882.6/882.6 kB 24.1 MB/s eta 0:00:00
      Installing collected packages: setuptools
      ERROR: Cannot set --home and --prefix together
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

Bhagyashreet20 avatar Jun 21 '24 01:06 Bhagyashreet20