Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/scripts/build_aiter_triton.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if [[ "$BUILD_TRITON" == "1" ]]; then
cd triton
pip install -r python/requirements.txt
pip install filecheck
MAX_JOBS=64 pip --retries=5 install .
MAX_JOBS=64 pip --retries=10 --default-timeout=60 install .
cd ..
else
echo
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/aiter-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ jobs:
--name aiter_test \
${{ env.DOCKER_IMAGE }}

- name: Setup pip config
run: |
docker exec -u root aiter_test bash -c "pip config set global.default-timeout 60"
docker exec -u root aiter_test bash -c "pip config set global.retries 10"

- name: Setup Aiter
run: |
set -ex
Expand Down Expand Up @@ -183,10 +188,15 @@ jobs:
--name aiter_test \
${{ env.DOCKER_IMAGE }}

- name: Setup-Triton
- name: Setup pip config
run: |
docker exec -u root aiter_test bash -c "pip config set global.default-timeout 60"
docker exec -u root aiter_test bash -c "pip config set global.retries 10"

- name: Setup-Aiter
run: |
set -ex
echo "Setting up Triton..."
echo "Setting up Aiter..."
docker exec \
-w /workspace \
aiter_test \
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/sglang_downstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ jobs:
env:
GITHUB_WORKSPACE: ${{ github.workspace }}

- name: Setup pip config
run: |
docker exec -u root sglang_aiter_test bash -c "pip config set global.default-timeout 60"
docker exec -u root sglang_aiter_test bash -c "pip config set global.retries 10"

- name: Install dependencies
run: |
cd sglang
Expand Down
78 changes: 78 additions & 0 deletions .github/workflows/test-network.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: Test Connection to PyPI and GitHub

on:
workflow_dispatch:
inputs:
runner:
description: 'Runner to use for the test, e.g. aiter-mi355-1gpu, aiter-1gpu-runner, etc.'
required: true
default: 'aiter-mi355-1gpu'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test-pypi:
runs-on: aiter-mi355-1gpu
Copy link

Copilot AI Nov 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The runs-on field is hardcoded to aiter-mi355-1gpu but the workflow accepts a runner input parameter. The workflow should use the input parameter instead: runs-on: ${{ github.event.inputs.runner || 'aiter-mi355-1gpu' }}

Suggested change
runs-on: aiter-mi355-1gpu
runs-on: ${{ github.event.inputs.runner || 'aiter-mi355-1gpu' }}

Copilot uses AI. Check for mistakes.
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run the container
run: |
set -ex
echo "Starting container: test_pypi"
docker run -dt \
-v "${{ github.workspace }}:/workspace" \
-w /workspace \
--name test_pypi \
python:3.10-slim \

Copy link

Copilot AI Nov 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is trailing whitespace at the end of this line. Consider removing it for consistency with code formatting standards.

Suggested change

Copilot uses AI. Check for mistakes.
- name: Test network speed and latency
run: |
set -ex
# ==== Network speed test with speedtest-cli ====
echo -e "\033[1;34m==== Network Speed Test (speedtest-cli) ====\033[0m"

docker exec -u root test_pypi bash -c "pip config set global.default-timeout 60"
docker exec -u root test_pypi bash -c "pip config set global.retries 10"

# Install and show speedtest-cli results
docker exec \
-w /workspace \
test_pypi \
bash -c "pip install -q speedtest-cli && echo -e '\033[1;33mSpeedtest-cli quick summary:\033[0m' && speedtest-cli --simple || true"

# ==== DNS and latency test for pypi.org and github.com ====
echo -e "\033[1;34m==== Checking DNS and Latency for pypi.org and github.com ====\033[0m"
docker exec \
-w /workspace \
test_pypi \
bash -c "apt-get update && apt-get install -y dnsutils iputils-ping curl"

# DNS lookup for pypi.org
echo -e "\033[1;36m[pypi.org] DNS lookup:\033[0m"
docker exec test_pypi bash -c "nslookup pypi.org || true"

# DNS lookup for github.com
echo -e "\033[1;36m[github.com] DNS lookup:\033[0m"
docker exec test_pypi bash -c "nslookup github.com || true"

# Ping test for pypi.org and github.com
echo -e "\033[1;36m[pypi.org] Ping latency:\033[0m"
docker exec test_pypi bash -c "ping -c 4 pypi.org || true"
echo -e "\033[1;36m[github.com] Ping latency:\033[0m"
docker exec test_pypi bash -c "ping -c 4 github.com || true"

# ==== Download speed test for pypi.org ====
echo -e "\033[1;34m==== Testing Download Speed from pypi.org ====\033[0m"
docker exec \
test_pypi \
bash -c "curl -o /dev/null -L --max-time 60 https://files.pythonhosted.org/packages/source/p/pip/pip-24.0.tar.gz -w 'pypi.org download: %{speed_download} bytes/sec\n'"

# ==== Download speed test for github.com ====
echo -e "\033[1;34m==== Testing Download Speed from github.com ====\033[0m"
docker exec \
test_pypi \
bash -c "curl -o /dev/null -L --max-time 60 https://github.com/git/git/archive/refs/tags/v2.42.0.tar.gz -w 'github.com download: %{speed_download} bytes/sec\n'"
5 changes: 5 additions & 0 deletions .github/workflows/triton-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ jobs:
triton_test \
bash -c "pip install speedtest-cli && speedtest-cli --simple" || true

- name: Setup pip config
run: |
docker exec -u root triton_test bash -c "pip config set global.default-timeout 60"
docker exec -u root triton_test bash -c "pip config set global.retries 10"

- name: Setup Aiter and Triton
run: |
set -ex
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/vllm_benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:

RUN echo "=== Aiter version BEFORE uninstall ===" && pip show aiter || true
RUN pip uninstall -y aiter
RUN pip config set global.default-timeout 60
RUN pip config set global.retries 10
RUN pip install --upgrade "pybind11>=3.0.1"
RUN pip show pybind11

Expand Down
Loading