cyyever
cyyever
As the title says, I tried to combine grad and jvp and then pytorch said ``` catch exception:(new_grad_base.is_floating_point() || new_grad_base.is_complex()) && (self_base.is_floating_point() || self_base.is_complex()) INTERNAL ASSERT FAILED at "../torch/csrc/autograd/autograd_meta.cpp":132, please...
E_Y in equation 2.48 should use the font for expectation.
Fix some issues found by static analyser cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10
1. remove unused NOLINTNEXTLINE(performance-move-const-arg)
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10
We greatly simplify the handing of OpenMP in CMake by using caffe2::openmp target thoroughly. We follow the old behavior by defaulting to MKL OMP library and detecting OMP flags otherwise....
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10
This PR follows the series of patches beginning with #119142 and fixes various XPU and python related methods to use DeviceIndex.
This PR follows https://github.com/pytorch/pytorch/pull/119774, it is a continued work to clean up std::tie. cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10