Skip to content

Commit

Permalink
removerd precision back
Browse files Browse the repository at this point in the history
  • Loading branch information
dmakoviichuk-tt committed Dec 19, 2024
1 parent 80eabbb commit 069389e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tt-train/sources/ttml/ops/layernorm_op.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ autograd::TensorPtr layernorm(
mean,
rstd,
/* memory_config */ std::nullopt,
/* compute_kernel_config */ core::ComputeKernelConfig::precise());
/* compute_kernel_config */ std::nullopt);

auto out = autograd::create_tensor();
out->set_value(out_tensors[0].value());
Expand All @@ -63,7 +63,7 @@ autograd::TensorPtr layernorm(
gamma_grad,
beta_grad,
/* memory_config */ std::nullopt,
/* compute_kernel_config */ core::ComputeKernelConfig::precise());
/* compute_kernel_config */ std::nullopt);

tensor->add_grad(res[0].value());
gamma->add_grad(res[1].value());
Expand Down

0 comments on commit 069389e

Please sign in to comment.