GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — CEBRA/Dockerfile at main · AdaptiveMotorControlLab/CEBRA Expand file tree/ Copy pathDockerfileMore file actions 68 lines (52 loc) · 1.59 KB / Copy pathDockerfileFile metadata and controls68 lines (52 loc) · 1.59 KB 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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 ## EXPERIMENT BASE CONTAINER FROM nvidia/cuda:12.4.1-cudnn-runtime-ubuntu22.04 AS cebra-base ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update -y \ && apt-get install --no-install-recommends -yy git python3 python3-pip python-is-python3 \ && rm -rf /var/lib/apt/lists/* RUN pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cu124 RUN pip install --upgrade pip ## GIT repository FROM ubuntu AS repo ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update -y \ && apt-get install --no-install-recommends -yy git python3 python3-pip python-is-python3 \ && rm -rf /var/lib/apt/lists/* WORKDIR /repo COPY . /repo RUN git status --porcelain WORKDIR /target RUN git clone --filter=tree:0 --depth=1 file:///repo/.git /target RUN git log ## CEBRA WHEEL FROM python:3.9 AS wheel RUN pip install --upgrade --no-cache-dir pip RUN pip install --upgrade --no-cache-dir build virtualenv WORKDIR /build COPY --from=repo /target . RUN make dist ## CEBRA CONTAINER FROM cebra-base # install the cebra wheel ENV WHEEL=cebra-0.6.1-py3-none-any.whl WORKDIR /build COPY --from=wheel /build/dist/${WHEEL} . RUN pip install --no-cache-dir ${WHEEL}'[dev,integrations,datasets]' RUN rm -rf /build # add the repository WORKDIR /app COPY --from=repo /target . ENV PYTHONPATH=/app ARG UID ARG GID RUN groupadd -g $GID appgroup RUN useradd -u $UID -g $GID -ms "/bin/bash" appuser RUN chown -R appuser:appgroup /app USER appuser ARG GIT_HASH RUN if [ "$(git rev-parse HEAD)" != "${GIT_HASH}" ]; then \ git rev-parse HEAD; \ echo ${GIT_HASH}; \ exit 1; \ fi RUN git status --porcelain || exit 1 |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |