昇腾NPU-Warning: expandable_segments feature is not supportted
·
8.4Warning: expandable_segments feature is not supportted
and the possible cause is that driver and firmware packages do not match.
尝试关闭expandable_segments不行,export PYTORCH_NPU_ALLOC_CONF=max_split_size_mb:32,garbage_collection_threshold:0.6,expandable_segments:True
设置只用一张卡ASCEND_RT_VISIBLE_DEVICES
找到原因了,从这里开始-CANN社区版8.0.0.alpha001开发文档-昇腾社区
找到原因了,内存池扩展段功能是高级特性需要HDK23以上,我们这固件才22.0.3,
8.5 RuntimeError: getHCCLComm:build/CMakeFiles
/torch_npu.dir/compiler_depend.ts:988 HCCL function error: HcclGetRootInfo(&hcclID), error code is 2
目前还是通信问题,这个显存碎片管理有关,两者一起解决,固件升级
昇腾计算产业是基于昇腾系列(HUAWEI Ascend)处理器和基础软件构建的全栈 AI计算基础设施、行业应用及服务,https://devpress.csdn.net/organization/setting/general/146749包括昇腾系列处理器、系列硬件、CANN、AI计算框架、应用使能、开发工具链、管理运维工具、行业应用及服务等全产业链
更多推荐

所有评论(0)