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 7e0a0a09b4d419b97734caecaf37bd5ba1fe7f2f..c557d6d27f36ca112e8d26afbe2a892c495e85ef 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 @@ -22,6 +22,12 @@ export ASCEND_GLOBAL_LOG_LEVEL=3 #设置Event日志开启标志,0-关闭/1-开启 export ASCEND_GLOBAL_EVENT_ENABLE=0 +# 绑核性能优化 +export ACLNN_CACHE_LIMIT=100000 +export TASK_QUEUE_ENABLE=2 +export COMBINED_ENABLE=1 +export CPU_AFFINITY_CONF=1 +export OMP_NUM_THREADS=1 #设置device侧日志登记为error msnpureport -g error -d 0