Skip to content

Conversation

@DiweiSun
Copy link
Owner

@DiweiSun DiweiSun commented Apr 9, 2025

Motivation

Modifications

Checklist

@DiweiSun DiweiSun closed this Apr 9, 2025
@DiweiSun DiweiSun reopened this Apr 9, 2025
@DiweiSun
Copy link
Owner Author

DiweiSun commented Apr 9, 2025

Test Results for PR #4

test/srt/test_custom_allreduce.py::TestCustomAllReduce::test_eager_allreduce PASSED [ 50%]
test/srt/test_custom_allreduce.py::TestCustomAllReduce::test_graph_allreduce PASSED [100%]

============================== 2 passed in 3.90s ===============================
============================================
Final test result: success
============================================
All tests completed successfully
ci_sglang_cpu

Full log available in Jenkins build: https://cje-fm-owrp-prod03.devtools.intel.com/stag-aia-fwkval/job/sglang_postci_regular/71/

@DiweiSun DiweiSun changed the title enable ci test enable ci test: upstream ci for XPU Apr 10, 2025
@DiweiSun
Copy link
Owner Author

DiweiSun commented Apr 17, 2025

Test Results for PR #4

Build Status: ✅ SUCCESS

Benchmark Results

Metric Value
Total Latency 1.320 s
Median Latency 0.03939 s
Median Throughput 50.78 tokens/s

Unit Test Results

============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-8.3.5, pluggy-1.5.0 -- /root/miniforge3/bin/python3.12
cachedir: .pytest_cache
rootdir: /root/sglang
plugins: anyio-4.9.0
collecting ... collected 2 items

test/srt/test_custom_allreduce.py::TestCustomAllReduce::test_eager_allreduce PASSED [ 50%]
test/srt/test_custom_allreduce.py::TestCustomAllReduce::test_graph_allreduce PASSED [100%]

============================== 2 passed in 3.85s ===============================

Summary: 2 passed, 0 failed


✅ All tests completed successfully

ci_sglang_cpu

```

[View Full Build Log](https://cje-fm-owrp-prod03.devtools.intel.com/stag-aia-fwkval/job/sglang_postci_regular/91/)

@DiweiSun
Copy link
Owner Author

Test Results for PR #4

Build Status: SUCCESS

Benchmark Results

Metric Value
Total Latency N/A s
Total Throughput N/A tokens/s
Median Latency N/A s
Median Throughput N/A tokens/s

Unit Test Results

Passed: 0
Failed: 0


View Full Build Log

@DiweiSun
Copy link
Owner Author

## Test Results for PR #4 ✅
**Build Status:** SUCCESS

### Benchmark Results
| Metric | Value |
|--------|-------|
| Total Latency | N/A s |
| Total Throughput | N/A tokens/s |
| Median Latency | N/A s |
| Median Throughput | N/A tokens/s |

### Unit Test Results
**Passed:** 6  
**Failed:** 2

```text
+ echo '| Median Latency | 0.04068 s |'
  • echo '| Median Throughput | 49.17 tokens/s |'
  • echo ''
  • echo '## Unit Test Results'
  • echo ''
  • docker exec -w /root/sglang ci_sglang_cpu pytest -v test/srt/test_custom_allreduce.py
  • tee /home/pytorch/workspace/sglang_postci_regular/sglang/pytest.log
    ============================= test session starts ==============================
    platform linux -- Python 3.12.9, pytest-8.3.5, pluggy-1.5.0 -- /root/miniforge3/bin/python3.12
    cachedir: .pytest_cache
    rootdir: /root/sglang
    plugins: anyio-4.9.0
    collecting ... collected 2 items

test/srt/test_custom_allreduce.py::TestCustomAllReduce::test_eager_allreduce PASSED [ 50%]
test/srt/test_custom_allreduce.py::TestCustomAllReduce::test_graph_allreduce PASSED [100%]

============================== 2 passed in 3.67s ===============================
++ grep -c PASSED /home/pytorch/workspace/sglang_postci_regular/sglang/pytest.log

  • PASSED_TESTS=2
    ++ grep -c FAILED /home/pytorch/workspace/sglang_postci_regular/sglang/pytest.log
    ++ true
  • FAILED_TESTS=0
  • echo '```text'
  • cat /home/pytorch/workspace/sglang_postci_regular/sglang/pytest.log
  • echo '```'
  • echo ''
  • echo 'Summary: 2 passed, 0 failed'
  • echo ''
  • echo ---
  • '[' success = success ']'
  • echo '✅ All tests completed successfully'
  • echo ============================================
    ============================================
  • cat /home/pytorch/workspace/sglang_postci_regular/sglang/test_results.md

Test Results

Docker Build Results

✅ Docker build succeeded

Benchmark Results

Metric Value
Total Latency 1.341 s
Total Throughput 95.43 tokens/s
Median Latency 0.04068 s
Median Throughput 49.17 tokens/s

Unit Test Results

============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-8.3.5, pluggy-1.5.0 -- /root/miniforge3/bin/python3.12
cachedir: .pytest_cache
rootdir: /root/sglang
plugins: anyio-4.9.0
coll
    ```
    
    [View Full Build Log](https://cje-fm-owrp-prod03.devtools.intel.com/stag-aia-fwkval/job/sglang_postci_regular/99/)
    

@DiweiSun
Copy link
Owner Author

## Test Results for PR #4 ✅
**Build Status:** SUCCESS

### Benchmark Results
| Metric | Value |
|--------|-------|
| Total Latency | N/A s |
| Total Throughput | N/A tokens/s |
| Median Latency | N/A s |
| Median Throughput | N/A tokens/s |

### Unit Test Results
**Passed:** 6  
**Failed:** 2

```text
+ echo '| Median Latency | 0.03873 s |'
  • echo '| Median Throughput | 51.64 tokens/s |'
  • echo ''
  • echo '## Unit Test Results'
  • echo ''
  • docker exec -w /root/sglang ci_sglang_cpu pytest -v test/srt/test_custom_allreduce.py
  • tee /home/pytorch/workspace/sglang_postci_regular/sglang/pytest.log
    ============================= test session starts ==============================
    platform linux -- Python 3.12.9, pytest-8.3.5, pluggy-1.5.0 -- /root/miniforge3/bin/python3.12
    cachedir: .pytest_cache
    rootdir: /root/sglang
    plugins: anyio-4.9.0
    collecting ... collected 2 items

test/srt/test_custom_allreduce.py::TestCustomAllReduce::test_eager_allreduce PASSED [ 50%]
test/srt/test_custom_allreduce.py::TestCustomAllReduce::test_graph_allreduce PASSED [100%]

============================== 2 passed in 3.82s ===============================
++ grep -c PASSED /home/pytorch/workspace/sglang_postci_regular/sglang/pytest.log

  • PASSED_TESTS=2
    ++ grep -c FAILED /home/pytorch/workspace/sglang_postci_regular/sglang/pytest.log
    ++ true
  • FAILED_TESTS=0
  • echo '```text'
  • cat /home/pytorch/workspace/sglang_postci_regular/sglang/pytest.log
  • echo '```'
  • echo ''
  • echo 'Summary: 2 passed, 0 failed'
  • echo ''
  • echo ---
  • '[' success = success ']'
  • echo '✅ All tests completed successfully'
  • echo ============================================
    ============================================
  • cat /home/pytorch/workspace/sglang_postci_regular/sglang/test_results.md

Test Results

Docker Build Results

✅ Docker build succeeded

Benchmark Results

Metric Value
Total Latency 1.282 s
Total Throughput 99.84 tokens/s
Median Latency 0.03873 s
Median Throughput 51.64 tokens/s

Unit Test Results

============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-8.3.5, pluggy-1.5.0 -- /root/miniforge3/bin/python3.12
cachedir: .pytest_cache
rootdir: /root/sglang
plugins: anyio-4.9.0
coll
    ```
    
    [View Full Build Log](https://cje-fm-owrp-prod03.devtools.intel.com/stag-aia-fwkval/job/sglang_postci_regular/101/)
    

@DiweiSun
Copy link
Owner Author

Test Results

Docker Build Results

✅ Docker build succeeded

Benchmark Results

Metric Value
Total Latency 1.373 s
Total Throughput 93.22 tokens/s
Median Latency 0.04128 s
Median Throughput 48.45 tokens/s

Unit Test Results

============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-8.3.5, pluggy-1.5.0 -- /root/miniforge3/bin/python3.12
cachedir: .pytest_cache
rootdir: /root/sglang
plugins: anyio-4.9.0
collecting ... collected 2 items

test/srt/test_custom_allreduce.py::TestCustomAllReduce::test_eager_allreduce PASSED [ 50%]
test/srt/test_custom_allreduce.py::TestCustomAllReduce::test_graph_allreduce PASSED [100%]

============================== 2 passed in 3.83s ===============================

Summary: 2 passed, 0 failed


✅ All tests completed successfully

2 similar comments
@DiweiSun
Copy link
Owner Author

Test Results

Docker Build Results

✅ Docker build succeeded

Benchmark Results

Metric Value
Total Latency 1.373 s
Total Throughput 93.22 tokens/s
Median Latency 0.04128 s
Median Throughput 48.45 tokens/s

Unit Test Results

============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-8.3.5, pluggy-1.5.0 -- /root/miniforge3/bin/python3.12
cachedir: .pytest_cache
rootdir: /root/sglang
plugins: anyio-4.9.0
collecting ... collected 2 items

test/srt/test_custom_allreduce.py::TestCustomAllReduce::test_eager_allreduce PASSED [ 50%]
test/srt/test_custom_allreduce.py::TestCustomAllReduce::test_graph_allreduce PASSED [100%]

============================== 2 passed in 3.83s ===============================

Summary: 2 passed, 0 failed


✅ All tests completed successfully

@DiweiSun
Copy link
Owner Author

Test Results

Docker Build Results

✅ Docker build succeeded

Benchmark Results

Metric Value
Total Latency 1.373 s
Total Throughput 93.22 tokens/s
Median Latency 0.04128 s
Median Throughput 48.45 tokens/s

Unit Test Results

============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-8.3.5, pluggy-1.5.0 -- /root/miniforge3/bin/python3.12
cachedir: .pytest_cache
rootdir: /root/sglang
plugins: anyio-4.9.0
collecting ... collected 2 items

test/srt/test_custom_allreduce.py::TestCustomAllReduce::test_eager_allreduce PASSED [ 50%]
test/srt/test_custom_allreduce.py::TestCustomAllReduce::test_graph_allreduce PASSED [100%]

============================== 2 passed in 3.83s ===============================

Summary: 2 passed, 0 failed


✅ All tests completed successfully

merrymercy and others added 30 commits October 12, 2025 07:45
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.