setup-cog icon indicating copy to clipboard operation
setup-cog copied to clipboard

Install system packages before pip packages

Open christian-safka opened this issue 1 year ago • 2 comments

      - name: Setup Cog
          uses: replicate/[email protected]
          with:
             cog-version: v0.9.0-beta6

      - name: 'Build Container Image'
         run: |
          cog build -t model-name:latest --tag ghcr.io/namespace/model-name:latest

One pip package requires cmake to be installed but it seems that system packages don't finish installing before the pip install. This builds fine locally. This should be replicable by adding cmake in system packages and "dlib" in pip packages.

Any way to make those system/pip installs run synchronously after each other?

christian-safka avatar Sep 25 '23 14:09 christian-safka