How can I install mmcv-full in a SageMaker inference endpoint?

366 Views Asked by At

I have tried installing mmcv-full with pip in the requirements.txt but it takes too long and the health ping interrupts the process. I also tried installing with mim but I get a backend worker error. How can I install it?

1

There are 1 best solutions below

0
On

try to this.

git clone https://github.com/open-mmlab/mmcv.git
cd mmcv
python -m pip install -e .