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

哪个地方使用到了gpu,gpu的相关配置在哪里 #28

Open
ydonghao opened this issue Aug 14, 2024 · 1 comment
Open

哪个地方使用到了gpu,gpu的相关配置在哪里 #28

ydonghao opened this issue Aug 14, 2024 · 1 comment

Comments

@ydonghao
Copy link

No description provided.

@icecraft
Copy link
Collaborator

we have not provide the ability to let user chose the device now. but you can install different pip package.

pip install fairy-doc[gpu]  # gpu
or 
pip install fairy-doc[cpu] # cpu

fairy-doc chose the device [gpu| cpu] in the source code, such as https://github.com/opendatalab/magic-doc/blob/main/magic_doc/model/doc_analysis.py#L87

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