Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多GUP运行test_m3_multi_devices报错 NoneType #1385

Open
YizhenDu opened this issue Feb 27, 2025 · 0 comments
Open

多GUP运行test_m3_multi_devices报错 NoneType #1385

YizhenDu opened this issue Feb 27, 2025 · 0 comments

Comments

@YizhenDu
Copy link

运行examples/inference/embedder/encoder_only/auto_m3_multi_devices.py,单个GUP可以运行,device指定两个GUP就报错NoneType
Traceback (most recent call last):
File "/tmp/pycharm_project_65/FlagEmbedding-master/du_test/test_start.py", line 45, in
test_m3_multi_devices()
File "/tmp/pycharm_project_65/FlagEmbedding-master/du_test/test_start.py", line 34, in test_m3_multi_devices
dense_scores = queries_embeddings["dense_vecs"] @ passages_embeddings["dense_vecs"].T
TypeError: 'NoneType' object is not subscriptable

求解

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant