InternGPT icon indicating copy to clipboard operation
InternGPT copied to clipboard

working docker implementation

Open jnc-nj opened this issue 2 years ago • 1 comments

The instructions provided are honestly insufficient, so I fixed this up. Just add model_zoo and certificate folders to the root directory and populate accordingly. Oh and change the volume paths in the docker compose file to whatever's on your machine. Everything else should be just 1 click away.

Problems I ran into while building this:

  1. import numpy as np should be placed higher on the import list, otherwise it messes with cv2
  2. detectron2 and mediapipe should be independently installed, there's a problem with the original ordering
  3. opencv should be uninstalled and reinstalled manually to ensure one single compatible version, otherwise it'll complain about recursive imports
  4. libgl and libxml are required libraries that aren't declared
  5. MKL_SERVICE_FORCE_INTEL flag must be set, not sure why yet
  6. gcc and g++ reinstall might be because of the base image i'm using
  7. libjpeg-dev libpng-dev zlib1g-dev should be declared dependencies
  8. llvmlite and numba should be independent installs; again, weird original ordering messes things up

#18 #16 #19

jnc-nj avatar Jun 02 '23 08:06 jnc-nj

Thanks for your effort!!!

We will merge your PR as soon as possible after we finish the test.

liu-zhy avatar Jun 02 '23 11:06 liu-zhy