lightning/.azure
Carlos Mocholí c18a0ec819
Remove untested NVIDIA Dali example (#16306)
2023-01-10 14:11:08 +01:00
..
README.md CI: Use self-hosted Azure GPU runners (#14632) 2022-10-05 10:43:54 +00:00
app-cloud-e2e.yml rename integrations (#16312) 2023-01-10 13:52:01 +01:00
gpu-benchmark.yml Update CI to CUDA 11.7.1 (#16123) 2023-01-04 22:44:23 +00:00
gpu-tests-fabric.yml Lightning 1.9.0 Release Candidate 0 (#16264) 2023-01-05 15:35:56 -05:00
gpu-tests-pytorch.yml Remove untested NVIDIA Dali example (#16306) 2023-01-10 14:11:08 +01:00
hpu-tests.yml Rename LightningLite to Fabric (#16244) 2023-01-04 10:57:18 -05:00
ipu-tests.yml Rename LightningLite to Fabric (#16244) 2023-01-04 10:57:18 -05:00
start.sh CI: Use self-hosted Azure GPU runners (#14632) 2022-10-05 10:43:54 +00:00

README.md

Creation GPU self-hosted agent pool

Prepare the machine

This is a slightly modified version of the script from https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/docker

apt-get update
apt-get install -y --no-install-recommends \
    ca-certificates \
    curl \
    jq \
    git \
    iputils-ping \
    libcurl4 \
    libunwind8 \
    netcat \
    libssl1.0

curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
mkdir /azp

Stating the agents

export TARGETARCH=linux-x64
export AZP_URL="https://dev.azure.com/Lightning-AI"
export AZP_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxx"
export AZP_POOL="lit-rtx-3090"

for i in {0..7..2}
do
     nohup bash .azure/start.sh \
        "AZP_AGENT_NAME=litGPU-YX_$i,$((i+1))" \
        "CUDA_VISIBLE_DEVICES=$i,$((i+1))" \
     > "agent-$i.log" &
done

Check running agents

ps aux | grep start.sh