зеркало из https://github.com/microsoft/archai.git
chore(root): Removes multiple references of v1.0.0 to prevent excessive changes.
This commit is contained in:
Родитель
5d9e88b512
Коммит
34074adb36
|
@ -11,8 +11,7 @@ LABEL description="NVIDIA Docker with Archai" \
|
||||||
tag="latest" \
|
tag="latest" \
|
||||||
creator="microsoft" \
|
creator="microsoft" \
|
||||||
tooltype="archai" \
|
tooltype="archai" \
|
||||||
tooltypeversion="1.0.0" \
|
createtime="01/30/2023"
|
||||||
createtime="11/08/2022"
|
|
||||||
|
|
||||||
# Exports environment variables
|
# Exports environment variables
|
||||||
ENV PATH="/root/.local/bin:$PATH"
|
ENV PATH="/root/.local/bin:$PATH"
|
||||||
|
@ -24,6 +23,6 @@ RUN apt-get install -y apt-utils git
|
||||||
|
|
||||||
# Installs Archai
|
# Installs Archai
|
||||||
# Note that APEX is not needed because it comes with NVIDIA's image
|
# Note that APEX is not needed because it comes with NVIDIA's image
|
||||||
RUN git clone -b v1.0.0 --single-branch https://github.com/microsoft/archai.git
|
RUN git clone -b main --single-branch https://github.com/microsoft/archai.git
|
||||||
WORKDIR /workspace/archai
|
WORKDIR /workspace/archai
|
||||||
RUN pip install --user --no-cache-dir .[dev]
|
RUN pip install --user --no-cache-dir .[dev]
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
# Copyright (c) Microsoft Corporation.
|
# Copyright (c) Microsoft Corporation.
|
||||||
# Licensed under the MIT license.
|
# Licensed under the MIT license.
|
||||||
|
|
||||||
docker build . --file Dockerfile --tag nvidia22.10-archai1.0.0:latest
|
docker build . --file Dockerfile --tag nvidia22.10-archai:latest
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
# Runs an interactive bash within the container
|
# Runs an interactive bash within the container
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
--gpus all \
|
--gpus all \
|
||||||
--name nvidia22.10-archai1.0.0 \
|
--name nvidia22.10-archai \
|
||||||
--shm-size=10g \
|
--shm-size=10g \
|
||||||
--ipc=host \
|
--ipc=host \
|
||||||
--ulimit memlock=-1 \
|
--ulimit memlock=-1 \
|
||||||
--ulimit stack=67108864 \
|
--ulimit stack=67108864 \
|
||||||
-e NCCL_P2P_LEVEL=NVL \
|
-e NCCL_P2P_LEVEL=NVL \
|
||||||
-it nvidia22.10-archai1.0.0:latest
|
-it nvidia22.10-archai:latest
|
|
@ -6,10 +6,10 @@
|
||||||
# Enhanced security by gVisor / without GPUs
|
# Enhanced security by gVisor / without GPUs
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
--runtime=runsc \
|
--runtime=runsc \
|
||||||
--name nvidia22.10-archai1.0.0 \
|
--name nvidia22.10-archai \
|
||||||
--shm-size=10g \
|
--shm-size=10g \
|
||||||
--ipc=host \
|
--ipc=host \
|
||||||
--ulimit memlock=-1 \
|
--ulimit memlock=-1 \
|
||||||
--ulimit stack=67108864 \
|
--ulimit stack=67108864 \
|
||||||
-e NCCL_P2P_LEVEL=NVL \
|
-e NCCL_P2P_LEVEL=NVL \
|
||||||
-it nvidia22.10-archai1.0.0:latest
|
-it nvidia22.10-archai:latest
|
|
@ -12,7 +12,6 @@ sys.path.insert(0, os.path.abspath(".."))
|
||||||
project = "Archai"
|
project = "Archai"
|
||||||
author = "Microsoft"
|
author = "Microsoft"
|
||||||
copyright = f"{date.today().year}"
|
copyright = f"{date.today().year}"
|
||||||
version = "v1.0.0"
|
|
||||||
|
|
||||||
# General configuration
|
# General configuration
|
||||||
extensions = [
|
extensions = [
|
||||||
|
|
Загрузка…
Ссылка в новой задаче