Skip to content

Commit e831d7b

Browse files
Gasoonjiafacebook-github-bot
authored andcommitted
bunp up pytorch nightly version (pytorch#12407)
Summary: as title Reviewed By: shoumikhin Differential Revision: D78181215
1 parent 34bcc23 commit e831d7b

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.ci/docker/ci_commit_pins/pytorch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7cda4017ddda554752e89069ae205be5e8388f59
1+
87b2ac5d1992c9b4f4167517251b99b513c328a8

install_requirements.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def python_is_compatible():
7171
#
7272
# NOTE: If you're changing, make the corresponding change in .ci/docker/ci_commit_pins/pytorch.txt
7373
# 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"
7575

7676

7777
def install_requirements(use_pytorch_nightly):

runtime/core/portable_type/c10/c10/util/bit_cast.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#include <cstring>
44
#include <type_traits>
55

6+
#include <c10/macros/Macros.h>
7+
68
#if __has_include(<bit>) && (defined(__cpp_lib_bit_cast) && __cpp_lib_bit_cast >= 201806L)
79
#include <bit>
810
#define C10_HAVE_STD_BIT_CAST 1
@@ -23,7 +25,7 @@ using std::bit_cast;
2325
// See https://en.cppreference.com/w/cpp/numeric/bit_cast for more
2426
// information as well as the source of our implementations.
2527
template <class To, class From>
26-
std::enable_if_t<
28+
C10_HOST_DEVICE std::enable_if_t<
2729
sizeof(To) == sizeof(From) && std::is_trivially_copyable_v<From> &&
2830
std::is_trivially_copyable_v<To>,
2931
To>

0 commit comments

Comments
 (0)