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

[Feature]: API 中如何啟用cpu-only模式 #206

Open
0529bill opened this issue May 2, 2024 · 2 comments
Open

[Feature]: API 中如何啟用cpu-only模式 #206

0529bill opened this issue May 2, 2024 · 2 comments

Comments

@0529bill
Copy link

0529bill commented May 2, 2024

Expected behavior

在使用API時,如何啟用cpu-only模式?

@zouzhekang
Copy link

请问API中如何使用SAM?url是什么?我在api手册中没找到呀!

@light-and-ray
Copy link
Contributor

If you work in webui environment, you can temporarily set devices.device and sam.device to "cpu". I do it in replacer extension

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