-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Why I get CUDA error when I alter weight decay? #2468
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
Comments
the targets you are giving to criterion is larger than the number of classes you have. Hence there is an out-of-bounds memory access happening. This is unrelated to your weight decay change. Check that your dataset |
houseroad
added a commit
to houseroad/pytorch
that referenced
this issue
Dec 10, 2019
…c39b3b (pytorch#30619) Summary: Pull Request resolved: pytorch#30619 Previous import was fea8568cac61a482ed208748fdc0e1a8e47f62f5 Included changes: - **[c08a7b76](onnx/onnx@c08a7b76)**: doc: fix some typos at ONNXIFI (pytorch#2473) <Yorkie Liu> - **[4be12d46](onnx/onnx@4be12d46)**: remove workshop update since it is done (pytorch#2460) <Prasanth Pulavarthi> - **[86107d1b](onnx/onnx@86107d1b)**: Updated with correct URL to LICENSE (pytorch#2468) <Ryan Loney> - **[9bf6fbb6](onnx/onnx@9bf6fbb6)**: Update Argmin/Argmax (pytorch#2461) <Lara Haidar> - **[748d81b8](onnx/onnx@748d81b8)**: Fix windows conda build (pytorch#2452) <Ashwini Khade> - **[a32db1c5](onnx/onnx@a32db1c5)**: Delete duplicate word in comment (pytorch#2439) <Haibo Hao> - **[e108da9a](onnx/onnx@e108da9a)**: Fix bug in function body verifier (pytorch#2390) <G. Ramalingam> - **[c3d3ef82](onnx/onnx@c3d3ef82)**: docs: fix typo in IR.md (pytorch#2441) <Elliot Waite> Test Plan: ci Reviewed By: hl475 Differential Revision: D18766132 fbshipit-source-id: f5767698c83ee7f0055f4cb87db9fb434c0dc9df
facebook-github-bot
pushed a commit
that referenced
this issue
Dec 10, 2019
…c39b3b (#30619) Summary: Pull Request resolved: #30619 Previous import was fea8568cac61a482ed208748fdc0e1a8e47f62f5 Included changes: - **[c08a7b76](onnx/onnx@c08a7b76)**: doc: fix some typos at ONNXIFI (#2473) <Yorkie Liu> - **[4be12d46](onnx/onnx@4be12d46)**: remove workshop update since it is done (#2460) <Prasanth Pulavarthi> - **[86107d1b](onnx/onnx@86107d1b)**: Updated with correct URL to LICENSE (#2468) <Ryan Loney> - **[9bf6fbb6](onnx/onnx@9bf6fbb6)**: Update Argmin/Argmax (#2461) <Lara Haidar> - **[748d81b8](onnx/onnx@748d81b8)**: Fix windows conda build (#2452) <Ashwini Khade> - **[a32db1c5](onnx/onnx@a32db1c5)**: Delete duplicate word in comment (#2439) <Haibo Hao> - **[e108da9a](onnx/onnx@e108da9a)**: Fix bug in function body verifier (#2390) <G. Ramalingam> - **[c3d3ef82](onnx/onnx@c3d3ef82)**: docs: fix typo in IR.md (#2441) <Elliot Waite> Test Plan: ci Reviewed By: hl475 Differential Revision: D18766132 fbshipit-source-id: 13c04f21399579acb87a8f9fac2e4c329b0720b8
wuhuikx
pushed a commit
to wuhuikx/pytorch
that referenced
this issue
Jan 30, 2020
…c39b3b (pytorch#30619) Summary: Pull Request resolved: pytorch#30619 Previous import was fea8568cac61a482ed208748fdc0e1a8e47f62f5 Included changes: - **[c08a7b76](onnx/onnx@c08a7b76)**: doc: fix some typos at ONNXIFI (pytorch#2473) <Yorkie Liu> - **[4be12d46](onnx/onnx@4be12d46)**: remove workshop update since it is done (pytorch#2460) <Prasanth Pulavarthi> - **[86107d1b](onnx/onnx@86107d1b)**: Updated with correct URL to LICENSE (pytorch#2468) <Ryan Loney> - **[9bf6fbb6](onnx/onnx@9bf6fbb6)**: Update Argmin/Argmax (pytorch#2461) <Lara Haidar> - **[748d81b8](onnx/onnx@748d81b8)**: Fix windows conda build (pytorch#2452) <Ashwini Khade> - **[a32db1c5](onnx/onnx@a32db1c5)**: Delete duplicate word in comment (pytorch#2439) <Haibo Hao> - **[e108da9a](onnx/onnx@e108da9a)**: Fix bug in function body verifier (pytorch#2390) <G. Ramalingam> - **[c3d3ef82](onnx/onnx@c3d3ef82)**: docs: fix typo in IR.md (pytorch#2441) <Elliot Waite> Test Plan: ci Reviewed By: hl475 Differential Revision: D18766132 fbshipit-source-id: 13c04f21399579acb87a8f9fac2e4c329b0720b8
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It only works for a specific value of weight decay which is 5e-4. What can possibly be the reason? How does weight decay affect CUDA?
The text was updated successfully, but these errors were encountered: