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

inference error #14

Open
MengTanOwn opened this issue Oct 7, 2024 · 2 comments
Open

inference error #14

MengTanOwn opened this issue Oct 7, 2024 · 2 comments

Comments

@MengTanOwn
Copy link

when run start_multicard_inference.sh :
gpu_list="${CUDA_VISIBLE_DEVICES:-0}"
IFS=',' read -ra GPULIST <<< "$gpu_list"
报错Syntax error: redirection unexpected

@bang123-box
Copy link

我之前运行也出现了这样的问题,好像是bash的配置不对。
试试不在start_multicard_inference.sh里写入CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7,而是在table_llava_inference.sh改写为这个
GPULIST='0,1,2,3,4,5,6,7'
IFS=',' read -ra GPULIST <<< "$GPULIST"
然后sh start_multicard_inference.sh

@SpursGoZmy
Copy link
Owner

可能是我上传的llava代码版本太新了,和老版本相比有改动,然后sh脚本对应的是老脚本,我后面修正一下,感谢同学发现的问题。

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

3 participants