Ascend / pytorch

Ascend PyTorch adapter (torch_npu). Mirror of https://gitee.com/ascend/pytorch
https://ascend.github.io/docs/
Other
263 stars 15 forks source link

when i setup MultiScaleDeformableAttention, this problem happen.(about BiShengExtension) #26

Open chaossshan opened 8 months ago

chaossshan commented 8 months ago

File "/home/ma-user/anaconda3/envs/PyTorch-1.11.0/lib/python3.7/site-packages/torch_npu/utils/cpp_extension.py", line 190, in BiShengExtension extra_compile_args.append('-fsycl') AttributeError: 'dict' object has no attribute 'append'

yunyiyun commented 8 months ago

if you set the extra_compile_args, you should give a list, not dict.