Skip to content

[2026秋季][Task07][lihaokun-2026] - #144

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

[2026秋季][Task07][lihaokun-2026]#144
lihaokun-2026 wants to merge 1 commit into
DeepLink-org:mainfrom
lihaokun-2026:QY2026_Autumn_lihaokun-2026_Task07LayerNorm_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平台

使用https://deeplink.org.cn/kernelswift平台,调整代码格式对算子进行优化。

@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_Task07LayerNorm_lihaokun-2026 [2026春季][Task07][lihaokun-2026] Jun 28, 2026
@lihaokun-2026 lihaokun-2026 changed the title [2026春季][Task07][lihaokun-2026] [2026秋季][Task07][lihaokun-2026] Jun 28, 2026
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