Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eqy authored and crcrpar committed Apr 19, 2023
1 parent a766a1b commit b893d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csrc/instance_norm_nvfuser_kernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ std::vector<at::Tensor> instance_norm_nvfuser_backward(
) {
InstanceNormKey backward_key;
memset(&backward_key, 0, sizeof(InstanceNormKey));
getKey(input, weight, run_mean, channels_last, eps, backward_key);
setKey(input, weight, run_mean, channels_last, eps, backward_key);
if (backward_fusion_cache.find(backward_key) == backward_fusion_cache.end()) {
auto fusion = std::make_unique<Fusion>();
FusionGuard fg(fusion.get());
Expand Down

0 comments on commit b893d03

Please sign in to comment.