Skip to content

[2026秋季][Task04][lihaokun-2026]#147

Open
lihaokun-2026 wants to merge 1 commit into
DeepLink-org:mainfrom
lihaokun-2026:QY2026_Autumn_lihaokun-2026_Task04RelativePositionEncoding_Ascend
Open

[2026秋季][Task04][lihaokun-2026]#147
lihaokun-2026 wants to merge 1 commit into
DeepLink-org:mainfrom
lihaokun-2026:QY2026_Autumn_lihaokun-2026_Task04RelativePositionEncoding_Ascend

Conversation

@lihaokun-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平台

使用kernelswift平台对针对Ascend平台进行调优。

@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.

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