Semitechnologies/multi2vec-bind:imagebind on openshift

Description

Hi All,
I am trying to launch the semitechnologies/multi2vec-bind:imagebind docker image on openshift, and having no luck. Our company policy is that we load images from our own container repo, so I have created a docker file which creates an image from semitechnologies/multi2vec-bind:imagebind and stores that in our own repo.

basic docker file:

FROM semitechnologies/multi2vec-bind:imagebind

LABEL maintainer="myemail@cisco.com"

USER 0

USER 1000

EXPOSE 8080

ENV ENABLE_CUDA: ‘0’

RUN chown -R app:app /app

(I also tried to give access to User 0 with the following, with no luck)

RUN chgrp -R 0 /app/ && chmod -R g+rwX /app/

I created an openshift deployment, and assigned 4G of memory to test, but when the pod is being created, it resets with CrashLoopBackoff. The logs output the following:

/usr/local/lib/python3.11/site-packages/torchvision/transforms/functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17. Please don’t rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.

warnings.warn(

/usr/local/lib/python3.11/site-packages/torchvision/transforms/_functional_video.py:6: UserWarning: The ‘torchvision.transforms._functional_video’ module is deprecated since 0.12 and will be removed in the future. Please use the ‘torchvision.transforms.functional’ module instead.

warnings.warn(

/usr/local/lib/python3.11/site-packages/torchvision/transforms/_transforms_video.py:22: UserWarning: The ‘torchvision.transforms._transforms_video’ module is deprecated since 0.12 and will be removed in the future. Please use the ‘torchvision.transforms’ module instead.

warnings.warn(

INFO: Started server process [7]

INFO: Waiting for application startup.

INFO: Running on CPU

Killed

I suspect it is permissions related but have no idea what directories need to have write access.

Any insights would be appreciated.

Best Regards

Andrew

I actually just got it to work. After reading some posts about another image, it indicated that the image i am using just needed more memory. I added 10Gig and it started up fine.

Thanks!

1 Like

Hi @awolder_cisco,

Welcome to our community and it’s great to have you here! Happy Friday!

I am glad you were able to resolve the problem, fair play to you and thank you for sharing it with us and community!

Have a lovely weekend!