Skip to content

test: port session_latency and streaming_session_swa to NPU - #1017

Open
hhhh1252023 wants to merge 13 commits into
Ascend:testcasesfrom
hhhh1252023:test-npu-port-sessions
Open

test: port session_latency and streaming_session_swa to NPU#1017
hhhh1252023 wants to merge 13 commits into
Ascend:testcasesfrom
hhhh1252023:test-npu-port-sessions

Conversation

@hhhh1252023

@hhhh1252023 hhhh1252023 commented Jul 16, 2026

Copy link
Copy Markdown

Port two high-difficulty session test files to Ascend NPU. Files: test_npu_session_latency.py (benchmark streaming session inter-turn latency on gpt-oss-20b), test_npu_streaming_session_swa.py (streaming session on hybrid-SWA model with 4 test classes). NPU adaptations: model openai/gpt-oss-20b -> openai-mirror/gpt-oss-20b, --cuda-graph-backend-prefill=disabled -> --disable-cuda-graph, --page-size 256 -> 128, added --attention-backend ascend, added GPT_OSS_20B_WEIGHTS_PATH constant. CI triggered via single-test-npu.yml.


CI States

Latest PR Test (Base): ❌ Missing run-ci label -- add it to run CI tests.
Latest PR Test (Extra): ❌ Blocked -- run-ci is required first.

@ascend-robot

Copy link
Copy Markdown

CLA Signature Pass

hhhh1252023, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@github-actions github-actions Bot added the npu label Jul 16, 2026
@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@hhhh1252023 , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
a55150d1 test: port session_latency and s... the CLA service call failed! please comment /check-cla once again.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

@ascend-robot

Copy link
Copy Markdown

CLA Signature Pass

hhhh1252023, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@ascend-robot

Copy link
Copy Markdown

CLA Signature Pass

hhhh1252023, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@ascend-robot

Copy link
Copy Markdown

CLA Signature Pass

hhhh1252023, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@ascend-robot

Copy link
Copy Markdown

CLA Signature Pass

hhhh1252023, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@hhhh1252023 , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
0b05be5e Update single-test-npu.yml the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@hhhh1252023 , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
0b05be5e Update single-test-npu.yml the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@hhhh1252023 , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
0b05be5e Update single-test-npu.yml the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@hhhh1252023 , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
0b05be5e Update single-test-npu.yml the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@hhhh1252023 , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
0b05be5e Update single-test-npu.yml the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@hhhh1252023 , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
0b05be5e Update single-test-npu.yml the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@hhhh1252023 , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
0b05be5e Update single-test-npu.yml the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants