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

jittor如何查看模型使用的设备 #504

Closed
f-chen165 opened this issue Apr 8, 2024 · 1 comment
Closed

jittor如何查看模型使用的设备 #504

f-chen165 opened this issue Apr 8, 2024 · 1 comment

Comments

@f-chen165
Copy link

Describe the bug

A clear and concise description of what the bug is. 使用中文也可以。

Full Log

Provide a full log of Jittor execution, Jittor will log environment information which help us to locate your bugs. Provide a screenshot is also acceptable.

Minimal Reproduce

Reproduce this error with a file or several lines of code.
If it is not possible, leave it blank.

Expected behavior

A clear and concise description of what you expected to happen.

If you are submitting an issue for the first time, please refer to our guideline

@f-chen165 f-chen165 changed the title jittor如何查看模型使用设备 jittor如何查看模型使用的设备 Apr 8, 2024
@LDYang694
Copy link
Collaborator

如果使用了jt.flags.use_cuda=1则默认所有的模型全部使用gpu,如果想指定某个gpu,使用CUDA_VISIBLE_DEVICES环境变量

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