Skip to content

[2026秋季][task08][lihaokun-2026]#143

Open
lihaokun-2026 wants to merge 2 commits into
DeepLink-org:mainfrom
lihaokun-2026:QY2026_Autumn_lihaokun-2026_Task08FPS_Ascend
Open

[2026秋季][task08][lihaokun-2026]#143
lihaokun-2026 wants to merge 2 commits into
DeepLink-org:mainfrom
lihaokun-2026:QY2026_Autumn_lihaokun-2026_Task08FPS_Ascend

Conversation

@lihaokun-2026

@lihaokun-2026 lihaokun-2026 commented Jun 28, 2026

Copy link
Copy Markdown

环境设置

source /usr/local/Ascend/ascend-toolkit/set_env.sh
export ASCEND_RT_VISIBLE_DEVICES=0
export ASCEND_GLOBAL_LOG_LEVEL=3
export TASK_QUEUE_ENABLE=1

npu-smi info

python - <<'PY'
import torch
import torch_npu
print(torch.__version__)
print(torch.npu.is_available())
x = torch.randn(2, 3).npu()
print(x + x)
PY

采用华为Ascend平台

image triton代码对FPS计算进行kernel融合,在Ascend平台测试中得到了50x的大幅度提升。

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@lihaokun-2026 lihaokun-2026 changed the title Qy2026 autumn lihaokun-2026 task08 fps ascend [2026秋季][task08][lihaokun-2026] Jun 28, 2026
Signed-off-by: acoier <851563813@qq.com>
Signed-off-by: acoier <851563813@qq.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.

2 participants