File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
.ci/docker/ci_commit_pins
runtime/core/portable_type/c10/c10/util Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
- 7cda4017ddda554752e89069ae205be5e8388f59
1
+ 87b2ac5d1992c9b4f4167517251b99b513c328a8
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ def python_is_compatible():
71
71
#
72
72
# NOTE: If you're changing, make the corresponding change in .ci/docker/ci_commit_pins/pytorch.txt
73
73
# by picking the hash from the same date in https://hud.pytorch.org/hud/pytorch/pytorch/nightly/
74
- NIGHTLY_VERSION = "dev20250706 "
74
+ NIGHTLY_VERSION = "dev20250711 "
75
75
76
76
77
77
def install_requirements (use_pytorch_nightly ):
Original file line number Diff line number Diff line change 3
3
#include < cstring>
4
4
#include < type_traits>
5
5
6
+ #include < c10/macros/Macros.h>
7
+
6
8
#if __has_include(<bit>) && (defined(__cpp_lib_bit_cast) && __cpp_lib_bit_cast >= 201806L)
7
9
#include < bit>
8
10
#define C10_HAVE_STD_BIT_CAST 1
@@ -23,7 +25,7 @@ using std::bit_cast;
23
25
// See https://en.cppreference.com/w/cpp/numeric/bit_cast for more
24
26
// information as well as the source of our implementations.
25
27
template <class To , class From >
26
- std::enable_if_t <
28
+ C10_HOST_DEVICE std::enable_if_t <
27
29
sizeof (To) == sizeof (From) && std::is_trivially_copyable_v<From> &&
28
30
std::is_trivially_copyable_v<To>,
29
31
To>
You can’t perform that action at this time.
0 commit comments