-
Notifications
You must be signed in to change notification settings - Fork 26.3k
ATen conv param expansion; InstanceNorm use_running_stats fix #4544
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
Conversation
|
@pytorchbot test this please |
aten/src/ATen/native/Convolution.cpp
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
aten/src/ATen/native/SpectralOps.cpp
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
I'm a bit sad that we have to insert the tests manually even though our autogenerated Python binding code is clever enough to handle this automatically. Consistency would suggest the C++ binding code should handle this too :/ |
fcde227 to
ac00a33
Compare
ac00a33 to
636b833
Compare
|
@pytorchbot retest this please |
|
Switched to using a simple function! |
aten/src/ATen/native/Convolution.cpp
Outdated
| auto weight = weight_r; | ||
| auto bias = bias_r; | ||
| auto k = input.ndimension(); | ||
| size_t dim = k - 2; |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
aten/src/ATen/native/Convolution.cpp
Outdated
| } | ||
|
|
||
| static inline std::vector<int64_t> convolution_expand_param_if_needed( | ||
| IntList &list_param, std::string param_name, size_t expected_dim) { |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
@pytorchbot retest this please |
|
@ezyang xenial-py3 CI runs fail twice with "nvidia-container-cli: initialization error: cuda error: no cuda-capable device is detected", should I retest again? |
|
@pytorchbot retest this please |
|
Made an err msg in from https://discuss.pytorch.org/t/autograd-grad-dimension-error/12083. |
22662f3 to
6b2d1f8
Compare
6b2d1f8 to
6493e0d
Compare
conv1dinstft._convolutionin ATen, fixing [ppc64le] test_cuda.py fails with newly added test test_stft #4464instancenorm.py. This fixes it.check_input_shape_forwardclearer to prevent confusing err msg likefrom https://discuss.pytorch.org/t/autograd-grad-dimension-error/12083.