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

CPU #3

Closed
vickyliin opened this issue Nov 2, 2021 · 1 comment
Closed

CPU #3

vickyliin opened this issue Nov 2, 2021 · 1 comment
Assignees

Comments

@vickyliin
Copy link

需確認在 host 沒有 gpu/cuda 的狀況下,docker container 也能跑起來 & 正常 inference(不論效能)

@achen353
Copy link

achen353 commented Nov 2, 2021

host 沒有 gpu/cuda 的情況下無法使用,有些模型使用到的 third party 架構沒有提供 CPU 版本的

Related Issue/PR:

另外做了幾個測試:

Host Base Image Pytorch 結果
macOS Monterey nvidia/cuda:11.1.1-cudnn8-devel-ubuntu20.04 1.9+cu111 build image 時 pip install -r requirements 會有問題,run container 之後需要把沒執行到指令執行一遍,編譯 third party 模型會找不到 CUDA 報錯
macOS Monterey ubuntu:20.24 1.10+cpu build image 時 pip install -r requirements 會有問題,run container 之後需要把沒執行到指令執行一遍,編譯 third party 模型會找不到 CUDA 報錯
Ubuntu 20.04 Focal nvidia/cuda:11.1.1-cudnn8-devel-ubuntu20.04 1.9+cu11 build image 時編譯 third party 模型會找不到 CUDA 報錯
Ubuntu 20.04 Focal ubuntu:20.24 1.10+cpu build image 時編譯 third party 模型會找不到 CUDA 報錯

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

2 participants