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

[BUG] qanything-container-local启动报错 #8

Open
2 tasks done
xzkxzk12301230 opened this issue Jan 10, 2024 · 6 comments
Open
2 tasks done

[BUG] qanything-container-local启动报错 #8

xzkxzk12301230 opened this issue Jan 10, 2024 · 6 comments

Comments

@xzkxzk12301230
Copy link

是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?

  • 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?

  • 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior

部署启动qanything-container-local该image的时候报错

期望行为 | Expected Behavior

running

运行环境 | Environment

- OS:win 10
- NVIDIA Driver:546.33
- CUDA:12.3.107
- Docker Compose:Docker Compose version v2.23.3-desktop.2
- NVIDIA GPU Memory:16

QAnything日志 | QAnything logs

2024-01-10 13:28:33 =============================
2024-01-10 13:28:33 == Triton Inference Server ==
2024-01-10 13:28:33 =============================
2024-01-10 13:28:33
2024-01-10 13:28:33 NVIDIA Release 23.05 (build 61161506)
2024-01-10 13:28:33 Triton Server Version 2.34.0
2024-01-10 13:28:33
2024-01-10 13:28:33 Copyright (c) 2018-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2024-01-10 13:28:33
2024-01-10 13:28:33 Various files include modifications (c) NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2024-01-10 13:28:33
2024-01-10 13:28:33 This container image and its contents are governed by the NVIDIA Deep Learning Container License.
2024-01-10 13:28:33 By pulling and using the container, you accept the terms and conditions of this license:
2024-01-10 13:28:33 https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license
2024-01-10 13:28:34
2024-01-10 13:28:34 /opt/nvidia/nvidia_entrypoint.sh: /workspace/qanything_local/scripts/run_for_local.sh: /bin/bash^M: bad interpreter: No such file or directory
2024-01-10 13:28:34 /opt/nvidia/nvidia_entrypoint.sh: line 49: /workspace/qanything_local/scripts/run_for_local.sh: Success

复现方法 | Steps To Reproduce

在docker-compose -f docker-compose-windows.yaml up qanything_local使用该命令时报错

备注 | Anything else?

No response

@Hazukiaoi
Copy link

Me too
but i am linux

  • OS: ubuntu2204
  • NVIDIA Driver:546.33
  • docker-compose version 1.29.2
  • GPU 4090
  • NVIDIA-SMI 545.23.08 Driver Version: 545.23.08 CUDA Version: 12.3
  • nvcc Cuda compilation tools, release 12.1, V12.1.105 Build cuda_12.1.r12.1/compiler.32688072_0

sudo docker-compose -f docker-compose-linux.yaml up qanything_local

Log :

milvus-minio-local is up-to-date
milvus-etcd-local is up-to-date
mysql-container-local is up-to-date
milvus-standalone-local is up-to-date
Starting qanything-container-local ... done
Attaching to qanything-container-local
qanything-container-local |
qanything-container-local | =============================
qanything-container-local | == Triton Inference Server ==
qanything-container-local | =============================
qanything-container-local |
qanything-container-local | NVIDIA Release 23.05 (build 61161506)
qanything-container-local | Triton Server Version 2.34.0
qanything-container-local |
qanything-container-local | Copyright (c) 2018-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
qanything-container-local |
qanything-container-local | Various files include modifications (c) NVIDIA CORPORATION & AFFILIATES. All rights reserved.
qanything-container-local |
qanything-container-local | This container image and its contents are governed by the NVIDIA Deep Learning Container License.
qanything-container-local | By pulling and using the container, you accept the terms and conditions of this license:
qanything-container-local | https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license
qanything-container-local |
qanything-container-local | /opt/nvidia/nvidia_entrypoint.sh: /workspace/qanything_local/scripts/run_for_local.sh: /bin/bash^M: bad interpreter: No such file or directory
qanything-container-local | /opt/nvidia/nvidia_entrypoint.sh: line 49: /workspace/qanything_local/scripts/run_for_local.sh: Success
qanything-container-local exited with code 126

@xixihahaliu
Copy link
Collaborator

Please execute the following command.

sed -i "s/\r//" scripts/run_for_local.sh
sed -i "s/^M//" scripts/run_for_local.sh

For some reason, the startup script has been changed to DOS format and needs to be manually modified to UNIX format.

@xixihahaliu
Copy link
Collaborator

Me too but i am linux

  • OS: ubuntu2204
  • NVIDIA Driver:546.33
  • docker-compose version 1.29.2
  • GPU 4090
  • NVIDIA-SMI 545.23.08 Driver Version: 545.23.08 CUDA Version: 12.3
  • nvcc Cuda compilation tools, release 12.1, V12.1.105 Build cuda_12.1.r12.1/compiler.32688072_0

sudo docker-compose -f docker-compose-linux.yaml up qanything_local

Log :

milvus-minio-local is up-to-date milvus-etcd-local is up-to-date mysql-container-local is up-to-date milvus-standalone-local is up-to-date Starting qanything-container-local ... done Attaching to qanything-container-local qanything-container-local | qanything-container-local | ============================= qanything-container-local | == Triton Inference Server == qanything-container-local | ============================= qanything-container-local | qanything-container-local | NVIDIA Release 23.05 (build 61161506) qanything-container-local | Triton Server Version 2.34.0 qanything-container-local | qanything-container-local | Copyright (c) 2018-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. qanything-container-local | qanything-container-local | Various files include modifications (c) NVIDIA CORPORATION & AFFILIATES. All rights reserved. qanything-container-local | qanything-container-local | This container image and its contents are governed by the NVIDIA Deep Learning Container License. qanything-container-local | By pulling and using the container, you accept the terms and conditions of this license: qanything-container-local | https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license qanything-container-local | qanything-container-local | /opt/nvidia/nvidia_entrypoint.sh: /workspace/qanything_local/scripts/run_for_local.sh: /bin/bash^M: bad interpreter: No such file or directory qanything-container-local | /opt/nvidia/nvidia_entrypoint.sh: line 49: /workspace/qanything_local/scripts/run_for_local.sh: Success qanything-container-local exited with code 126

Please refer to the latest instructions.

@xixihahaliu
Copy link
Collaborator

是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?

  • 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?

  • 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior

部署启动qanything-container-local该image的时候报错

期望行为 | Expected Behavior

running

运行环境 | Environment

- OS:win 10
- NVIDIA Driver:546.33
- CUDA:12.3.107
- Docker Compose:Docker Compose version v2.23.3-desktop.2
- NVIDIA GPU Memory:16

QAnything日志 | QAnything logs

2024-01-10 13:28:33 ============================= 2024-01-10 13:28:33 == Triton Inference Server == 2024-01-10 13:28:33 ============================= 2024-01-10 13:28:33 2024-01-10 13:28:33 NVIDIA Release 23.05 (build 61161506) 2024-01-10 13:28:33 Triton Server Version 2.34.0 2024-01-10 13:28:33 2024-01-10 13:28:33 Copyright (c) 2018-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2024-01-10 13:28:33 2024-01-10 13:28:33 Various files include modifications (c) NVIDIA CORPORATION & AFFILIATES. All rights reserved. 2024-01-10 13:28:33 2024-01-10 13:28:33 This container image and its contents are governed by the NVIDIA Deep Learning Container License. 2024-01-10 13:28:33 By pulling and using the container, you accept the terms and conditions of this license: 2024-01-10 13:28:33 https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license 2024-01-10 13:28:34 2024-01-10 13:28:34 /opt/nvidia/nvidia_entrypoint.sh: /workspace/qanything_local/scripts/run_for_local.sh: /bin/bash^M: bad interpreter: No such file or directory 2024-01-10 13:28:34 /opt/nvidia/nvidia_entrypoint.sh: line 49: /workspace/qanything_local/scripts/run_for_local.sh: Success

复现方法 | Steps To Reproduce

在docker-compose -f docker-compose-windows.yaml up qanything_local使用该命令时报错

备注 | Anything else?

No response

Please refer to the latest instructions.

@Hazukiaoi
Copy link

Hazukiaoi commented Jan 11, 2024

Ok it run. but only use in local.
image
image

If accessed from other devices on the LAN, the error
image

End console:
image

@minicoco
Copy link

Ok it run. but only use in local. image image

If accessed from other devices on the LAN, the error image

End console: image
安装时选择cloud,像下图一样,然后就是输入你宿主机的IP就行:
image

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

4 participants