pytorch
8bb07c7e - [CI]Install older cmath during Windows build (#54431)

Commit
3 years ago
[CI]Install older cmath during Windows build (#54431) Summary: Based on peterjc123 analysis, `cmath` after https://github.com/microsoft/STL/commit/26bbe2ad50cd7003b8220cfec2bff16dbc032ca8#diff-3fa97ceb95d524432661f01d4b34509c6d261a2f7f45ddcf26f79f55b3eec88a renders a lot of CUDA fail to compile with: ``` error: calling a __host__ function("__copysignf") from a __host__ __device__ function("c10::guts::detail::apply_impl< ::at::native::AUnaryFunctor< ::> &, ::std::tuple<float > &, (unsigned long long)0ull > ") is not allowed ``` Workaround for https://github.com/pytorch/pytorch/issues/54382 Pull Request resolved: https://github.com/pytorch/pytorch/pull/54431 Reviewed By: anjali411 Differential Revision: D27234299 Pulled By: malfet fbshipit-source-id: b3f1fef941341222cc10cb27346fcf4a1d522a0c
Author
Parents
Loading