lightning/.azure
Carlos Mocholí 6ba00af1e0
Drop PyTorch 1.9 support (#15347)
* Drop 1.9

* Everything else

* READMEs

* Missed some

* IPU skips

* Remove exception type

* Add back
2022-11-10 08:59:13 -05:00
..
README.md CI: Use self-hosted Azure GPU runners (#14632) 2022-10-05 10:43:54 +00:00
app-cloud-e2e.yml Run Command from App Comments (#15577) 2022-11-09 09:45:38 -05:00
gpu-benchmark.yml Do not modify PACKAGE_NAME on install (#15493) 2022-11-04 17:51:03 +01:00
gpu-tests-lite.yml Update Lightning Lite examples (#15599) 2022-11-10 04:16:46 -05:00
gpu-tests-pytorch.yml Update Lightning Lite examples (#15599) 2022-11-10 04:16:46 -05:00
hpu-tests.yml Upgrade to HPU release 1.7.0 (#15616) 2022-11-10 10:47:17 +01:00
ipu-tests.yml Drop PyTorch 1.9 support (#15347) 2022-11-10 08:59:13 -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