From 99110f96a1529d0bf266014b0e6d024adf5842bc Mon Sep 17 00:00:00 2001 From: zhangxubin <1656631289@qq.com> Date: Tue, 24 Jun 2025 03:37:01 +0000 Subject: [PATCH] =?UTF-8?q?OpenCLIP=5Ffor=5FPyTorch=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=BB=91=E5=AE=9A=E6=A0=B8=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangxubin <1656631289@qq.com> --- PyTorch/built-in/mm/OpenCLIP_for_PyTorch/test/env_npu.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PyTorch/built-in/mm/OpenCLIP_for_PyTorch/test/env_npu.sh b/PyTorch/built-in/mm/OpenCLIP_for_PyTorch/test/env_npu.sh index 7e0a0a09b4..b7e879de0b 100644 --- a/PyTorch/built-in/mm/OpenCLIP_for_PyTorch/test/env_npu.sh +++ b/PyTorch/built-in/mm/OpenCLIP_for_PyTorch/test/env_npu.sh @@ -21,7 +21,9 @@ export ASCEND_SLOG_PRINT_TO_STDOUT=0 export ASCEND_GLOBAL_LOG_LEVEL=3 #设置Event日志开启标志,0-关闭/1-开启 export ASCEND_GLOBAL_EVENT_ENABLE=0 - +# 绑核性能优化 +export CPU_AFFINITY_CONF=1 +export OMP_NUM_THREADS=1 #设置device侧日志登记为error msnpureport -g error -d 0 -- Gitee