Spaces:
Starting
on
A10G
Starting
on
A10G
Adding more --chown=user s
Browse filesI don't fully understand why having all these --chown=user s , and the explicit user set-up, is useful.
- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -53,9 +53,9 @@ RUN case ${TARGETPLATFORM} in \
|
|
53 |
/opt/conda/bin/conda clean -ya
|
54 |
|
55 |
COPY --chown=user ./requirements.txt requirements.txt
|
56 |
-
RUN pip install -r requirements.txt
|
57 |
|
58 |
-
RUN git clone -b energy_star_dev https://github.com/huggingface/optimum-benchmark.git /optimum-benchmark && cd optimum-benchmark && pip install -e .
|
59 |
|
60 |
COPY --chown=user ./check_h100.py /check_h100.py
|
61 |
COPY --chown=user ./entrypoint.sh /entrypoint.sh
|
|
|
53 |
/opt/conda/bin/conda clean -ya
|
54 |
|
55 |
COPY --chown=user ./requirements.txt requirements.txt
|
56 |
+
RUN --chown=user pip install -r requirements.txt
|
57 |
|
58 |
+
RUN --chown=user git clone -b energy_star_dev https://github.com/huggingface/optimum-benchmark.git /optimum-benchmark && cd optimum-benchmark && pip install -e .
|
59 |
|
60 |
COPY --chown=user ./check_h100.py /check_h100.py
|
61 |
COPY --chown=user ./entrypoint.sh /entrypoint.sh
|