SaiShashank12 commented on issue #36306:
URL: https://github.com/apache/beam/issues/36306#issuecomment-3344885224

   This is  the docker image that I have used
   ```
   ARG 
BUILD_IMAGE=[nvcr.io/nvidia/tensorrt:25.01-py3](http://nvcr.io/nvidia/tensorrt:25.01-py3)
   FROM ${BUILD_IMAGE}
   ENV PATH="/usr/src/tensorrt/bin:${PATH}"
   
   WORKDIR /workspace
   
   RUN apt-get update -y && \
       apt-get install -y \
       python3-venv \
       libx11-6 \
       libsm6 \
       libxext6 \
       libxrender-dev \
       libgl1
   
   RUN pip install --no-cache-dir apache-beam[gcp]==2.67.0
   
   COPY --from=apache/beam_python3.10_sdk:2.67.0 /opt/apache/beam 
/opt/apache/beam
   
   
   RUN pip install --upgrade pip && \
   pip install torch && \
   pip install torchvision && \
   pip install pillow>=8.0.0 && \
   pip install transformers>=4.18.0 && \
   pip install cuda-python==12.8 && \
   pip install opencv-python==4.7.0.72 && \
   pip install PyMuPDF==1.22.5 && \
   pip install requests && \
   pip install numpy==2.0.1
   
   ENTRYPOINT ["/opt/apache/beam/boot"]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to