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

is this "m" forgotten? #49

Open
yangyangyyy123 opened this issue Oct 28, 2024 · 1 comment
Open

is this "m" forgotten? #49

yangyangyyy123 opened this issue Oct 28, 2024 · 1 comment

Comments

@yangyangyyy123
Copy link

m = model.to(device)

the model is moved to GPU device and stored into a new var m, but then later on inference and optimization still operate on model, which I suppose still sits in CPU??

@DawidRubch
Copy link

Yeah, this got me confused as well

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