Open yoh240404 opened 3 weeks ago
测试了下代码,运行起来是没问题的,看起来像是访问地址有问题
请问访问地址有问题是啥意思
chaofan @.***>于2024年11月4日 周一14:56写道:
测试了下代码,运行起来是没问题的,看起来像是访问地址有问题
— Reply to this email directly, view it on GitHub https://github.com/FlagOpen/FlagEmbedding/issues/1182#issuecomment-2453938689, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHSZF44MWKHZ5TYDISQIU33Z64LABAVCNFSM6AAAAABRAQY422VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTHEZTQNRYHE . You are receiving this because you authored the thread.Message ID: @.***>
Bus error (core dumped)
看起来像是内存访问的问题,调用huggingface模块或者sentence transformers的代码可以正常运行吗
可以的,那应该是开发机的问题
chaofan @.***>于2024年11月4日 周一15:14写道:
Bus error (core dumped)
看起来像是内存访问的问题,调用huggingface https://github.com/FlagOpen/FlagEmbedding/tree/master/examples/inference/embedder#1-normal-model 模块或者sentence transformers https://github.com/FlagOpen/FlagEmbedding/tree/master/examples/inference/embedder#using-sentence-transformers 的代码可以正常运行吗
— Reply to this email directly, view it on GitHub https://github.com/FlagOpen/FlagEmbedding/issues/1182#issuecomment-2453962569, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHSZF44J5ZZGVWXI4O7IVN3Z64NF3AVCNFSM6AAAAABRAQY422VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTHE3DENJWHE . You are receiving this because you authored the thread.Message ID: @.***>
I've encounter the same issues, have you fixed this?
I've encounter the same issues, have you fixed this?
May I ask what the model of the machine is?
I've encounter the same issues, have you fixed this?
脚本运行前指定卡号即可
I've encounter the same issues, have you fixed this?
脚本运行前指定卡号即可
你好,方便问一下是使用的多GPU还是单GPU吗,我们这边现在想知道这个报错的具体原因看是否需要做特定的修复,谢谢!
I've encounter the same issues, have you fixed this?
脚本运行前指定卡号即可
你好,方便问一下是使用的多GPU还是单GPU吗,我们这边现在想知道这个报错的具体原因看是否需要做特定的修复,谢谢!
单卡多卡都会出现,脚本运行前设一下系统变量就可以:
export CUDA_VISIBLE_DEVICES=1 python ./test.py [[0.6543 0.7573] [0.6562 0.7227]]
用的示例代码
报错如下:
旧的版本没有问题,今天clone的新版本出现这个问题。