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

how could i do, the train process will set on GPUS? #104

Open
GnJoeln opened this issue Sep 27, 2023 · 1 comment
Open

how could i do, the train process will set on GPUS? #104

GnJoeln opened this issue Sep 27, 2023 · 1 comment

Comments

@GnJoeln
Copy link

GnJoeln commented Sep 27, 2023

I have 2 3090 gpus, so I set gpus=[0, 1] in configs, but the time of train one epoch need 4 hours, and the output shows that Root Member(assigned_device_name_index_=-1 requested_device_name_='/device:GPU:1' assigned_device_name_='' resource_device_name_='/device:GPU:1' supported_device_types_=[CPU] possible_devices_=[]
Identity: CPU
Switch: CPU
AssignSubVariableOp: CPU
Mul: CPU
VarHandleOp: CPU
Const: CPU
VarIsInitializedOp: CPU
AssignVariableOp: CPU
ReadVariableOp: CPU
Sub: CPU
So, I guess I don't use gpu to train the model and I want to know how could run train.py on GPU? thank you for your help.

@zlc213
Copy link

zlc213 commented May 12, 2024

您好请问您复现成功了吗

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