-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
AttributeError: 'torch.device' object has no attribute 'gpu_id' #8017
Comments
|
KumoLiu
added a commit
to KumoLiu/MONAI
that referenced
this issue
Aug 14, 2024
Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
7 tasks
For the first one, I try to fix it in #8019. Also cc @binliunls |
KumoLiu
added a commit
that referenced
this issue
Aug 15, 2024
…rt (#8019) Part of #8017 ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. --------- Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
For the second one, as PyTorch team suggested, use torch API instead. |
rcremese
pushed a commit
to rcremese/MONAI
that referenced
this issue
Sep 2, 2024
…rt (Project-MONAI#8019) Part of Project-MONAI#8017 ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. --------- Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not work in Pytorch base image 24.08
The text was updated successfully, but these errors were encountered: