forked from dusty-nv/jetson-containers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
30 lines (22 loc) · 783 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#---
# name: dimba
# group: mamba
# config: config.py
# depends: [bitsandbytes, transformers, mamba]
# requires: '>=34.1.0'
# notes: https://github.com/feizc/Dimba
#---
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
ARG DIMBA_VERSION \
CUDAARCHS
# Clona el repositorio, usando la versión especificada en la variable DIMBA_VERSION, si está disponible.
RUN git clone --branch=${DIMBA_VERSION} --depth=1 --recursive https://github.com/feizc/Dimba /opt/dimba || \
git clone --depth=1 --recursive https://github.com/feizc/Dimba /opt/dimba
WORKDIR /opt/dimba
RUN sed -i '/decord==0.6.0/d' requirements.txt && \
sed -i '/spacy==3.5.1/d' requirements.txt && \
sed -i 's/==/>=/g' requirements.txt
RUN pip3 install -r requirements.txt
RUN pip3 install 'numpy<2'
CMD ["/bin/bash"]