最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - MultiScaleDeformableAttention.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN3c106detail23torchInternalAssertFai

programmeradmin3浏览0评论

I am currently trying to reproduce DN-DETR on an NVIDIA RTX 5090 GPU. My environment details are:

  • GPU: NVIDIA RTX 5090
  • PyTorch version: 2.8.0.dev20250322+cu128 (nightly)
  • CUDA version: 12.8
  • OS: Ubuntu (assuming Linux-based system)

When I try to import MultiScaleDeformableAttention from models/dn_dab_deformable_detr/ops, I get the following error:

(/home/user1/thanhpd) user1@xbk1:~/thanhpd/code/implementation-of-dn-detr/DN-DETR/models/dn_dab_deformable_detr/ops$ python -c "import MultiScaleDeformableAttention"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: /home/user1/thanhpd/code/implementation-of-dn-detr/DN-DETR/models/dn_dab_deformable_detr/ops/MultiScaleDeformableAttention.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN3c106detail23torchInternalAssertFailEPKcS2_jS2_RKSs

Any suggestions i can try?

What I Have Tried:

  • Recompiling the MultiScaleDeformableAttention :
!python setup.py build install
  • Try
export CUDA_HOME=/usr/local/cuda-12.8
  • Tried numerous different versions of pytorch and torchvision, but because my GPU is 50x0 cards, so only nighty version of pytorch supports it.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论