Skip to content

modify optimization_debug_options tests - #1002

Merged
cherryblo merged 14 commits into
Ascend:testcasesfrom
Sugar920:testcase-optimization-debug-options-v2
Aug 4, 2026
Merged

modify optimization_debug_options tests#1002
cherryblo merged 14 commits into
Ascend:testcasesfrom
Sugar920:testcase-optimization-debug-options-v2

Conversation

@Sugar920

@Sugar920 Sugar920 commented Jul 14, 2026

Copy link
Copy Markdown

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.

…ptions tests

- test_npu_cuda_graph_bs.py: debug-full-2-npu-a3 -> full-2-npu-a3
- test_npu_embedding_interpolation.py: debug-full-1-npu-a3 -> full-1-npu-a3
- test_npu_no_extra_forked_npu_context.py: debug-full-2-npu-a3 -> full-2-npu-a3

Co-Authored-By: Claude <noreply@anthropic.com>
@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@Sugar920 , thanks for your pull request.

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

Commit Reason
a5a8c7f7 fix: change CI suite from debug-... 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.

@github-actions github-actions Bot added the npu label Jul 14, 2026
@Sugar920 Sugar920 changed the title fix: change CI suite from debug-full to full for optimization_debug_options tests modify optimization_debug_options tests Jul 14, 2026
Co-Authored-By: Claude <noreply@anthropic.com>
@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@Sugar920 , thanks for your pull request.

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

Commit Reason
a5a8c7f7 fix: change CI suite from debug-... 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.

…raph bs tests

Remove debug print block in test_npu_cuda_graph_bs.py and stderr
assertions in test_npu_msprobe_dump_config.py — both are redundant;
the downstream assertions (assertEqual on decode_bs and dump.json
file check) already cover the end-to-end validation.

Co-Authored-By: Claude <noreply@anthropic.com>
@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@Sugar920 , thanks for your pull request.

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

Commit Reason
a5a8c7f7 fix: change CI suite from debug-... 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.

Cherry-pick test_npu_disaggregation_pp.py and test_npu_pp_single_node.py
from debug branch (PR Ascend#801).

Co-Authored-By: Claude <noreply@anthropic.com>
@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@Sugar920 , thanks for your pull request.

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

Commit Reason
a5a8c7f7 fix: change CI suite from debug-... 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.

Cherry-pick test_npu_full_decode_graph_gsm8k.py from
testcase-npu-model-tokenizer branch (PR Ascend#886).

Co-Authored-By: Claude <noreply@anthropic.com>
@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@Sugar920 , thanks for your pull request.

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

Commit Reason
a5a8c7f7 fix: change CI suite from debug-... 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.

Co-Authored-By: Claude <noreply@anthropic.com>
@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@Sugar920 , thanks for your pull request.

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

Commit Reason
a5a8c7f7 fix: change CI suite from debug-... 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.

Co-Authored-By: Claude <noreply@anthropic.com>
@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@Sugar920 , thanks for your pull request.

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

Commit Reason
a5a8c7f7 fix: change CI suite from debug-... 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.

… from debug

- test_npu_cuda_graph_bs.py: fix _BS_LOG_RE regex to match NPU prefill
  CG capture log format num_tokens=[...], migrate to new CG flags
- test_npu_model_tokenizer.py: accumulated changes from debug branch

Co-Authored-By: Claude <noreply@anthropic.com>
@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@Sugar920 , thanks for your pull request.

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

Commit Reason
a5a8c7f7 fix: change CI suite from debug-... 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

@Sugar920 , thanks for your pull request.

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

Commit Reason
a5a8c7f7 fix: change CI suite from debug-... 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

@Sugar920 , thanks for your pull request.

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

Commit Reason
a5a8c7f7 fix: change CI suite from debug-... 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

@Sugar920 , thanks for your pull request.

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

Commit Reason
a5a8c7f7 fix: change CI suite from debug-... 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.
d115dc90 Refactor CUDA graph batch size l... 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.

Co-Authored-By: Claude <noreply@anthropic.com>
@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@Sugar920 , thanks for your pull request.

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

Commit Reason
a5a8c7f7 fix: change CI suite from debug-... 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.
d115dc90 Refactor CUDA graph batch size l... 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.

Replace heuristic PID detection with explicit column-index lookup via
'Process id' header. Add psutil.pid_exists() cross-validation to prevent
misidentifying memory values (e.g. 4696, 1538) as PIDs.

Co-Authored-By: Claude <noreply@anthropic.com>
@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@Sugar920 , thanks for your pull request.

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

Commit Reason
a5a8c7f7 fix: change CI suite from debug-... 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.
d115dc90 Refactor CUDA graph batch size l... 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.

Replace two weak assertGreater(x, 0) with a real comparison:
max_bs=1 should have higher TTFT than max_bs=8 due to lack of batching.

Co-Authored-By: Claude <noreply@anthropic.com>
@ascend-robot

Copy link
Copy Markdown

CLA Signature Guide

@Sugar920 , thanks for your pull request.

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

Commit Reason
a5a8c7f7 fix: change CI suite from debug-... 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.
d115dc90 Refactor CUDA graph batch size l... 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.

@cherryblo
cherryblo merged commit b5fbea7 into Ascend:testcases Aug 4, 2026
8 checks passed
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.

4 participants