Skip to content

Commit 87ce4f5

Browse files
committed
Bump PyTorch pin to dev20250602
Found the commit hash from https://hud2.pytorch.org/hud/pytorch/pytorch/nightly/0 . ghstack-source-id: 9840d13 ghstack-comment-id: 2936530681 Pull-Request-resolved: #11318
1 parent 5ef38d3 commit 87ce4f5

File tree

5 files changed

+7
-13
lines changed

5 files changed

+7
-13
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-
01f1cc44cbbfdf6307aa01b803a4ee22f9ade946
1+
64247892a0ca8ed045ad0b530eb87c3dd66590ea

install_requirements.py

Lines changed: 2 additions & 2 deletions
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 = "dev20250422"
74+
NIGHTLY_VERSION = "dev20250602"
7575

7676

7777
def install_requirements(use_pytorch_nightly):
@@ -82,7 +82,7 @@ def install_requirements(use_pytorch_nightly):
8282
# been installed on CI before this step, so pip won't reinstall them
8383
f"torch==2.8.0.{NIGHTLY_VERSION}" if use_pytorch_nightly else "torch",
8484
(
85-
f"torchvision==0.22.0.{NIGHTLY_VERSION}"
85+
f"torchvision==0.23.0.{NIGHTLY_VERSION}"
8686
if use_pytorch_nightly
8787
else "torchvision"
8888
), # For testing.

runtime/core/portable_type/c10/c10/macros/Macros.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ using namespace c10::xpu;
241241
#ifdef __HIPCC__
242242
// Unlike CUDA, HIP requires a HIP header to be included for __host__ to work.
243243
// We do this #include here so that C10_HOST_DEVICE and friends will Just Work.
244-
// See https://github.com/ROCm-Developer-Tools/HIP/issues/441
244+
// See https://github.com/ROCm/hip/issues/441
245245
#include <hip/hip_runtime.h>
246246
#endif
247247

@@ -286,7 +286,7 @@ constexpr uint32_t CUDA_THREADS_PER_BLOCK_FALLBACK = 256;
286286
#define C10_MIN_BLOCKS_PER_SM(threads_per_block, blocks_per_sm) \
287287
((((threads_per_block) * (blocks_per_sm) <= CUDA_MAX_THREADS_PER_SM) \
288288
? (blocks_per_sm) \
289-
: ((CUDA_MAX_THREADS_PER_SM + (threads_per_block)-1) / \
289+
: ((CUDA_MAX_THREADS_PER_SM + (threads_per_block) - 1) / \
290290
(threads_per_block))))
291291
// C10_LAUNCH_BOUNDS is analogous to __launch_bounds__
292292
#define C10_LAUNCH_BOUNDS_0 \

runtime/core/portable_type/c10/c10/util/BFloat16-inl.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,11 @@ C10_CLANG_DIAGNOSTIC_PUSH()
1010
C10_CLANG_DIAGNOSTIC_IGNORE("-Wimplicit-int-float-conversion")
1111
#endif
1212

13-
#if defined(SYCL_EXT_ONEAPI_BFLOAT16_MATH_FUNCTIONS)
1413
#if defined(CL_SYCL_LANGUAGE_VERSION)
1514
#include <CL/sycl.hpp> // for SYCL 1.2.1
16-
#else
15+
#elif defined(SYCL_LANGUAGE_VERSION)
1716
#include <sycl/sycl.hpp> // for SYCL 2020
1817
#endif
19-
#include <ext/oneapi/bfloat16.hpp>
20-
#endif
2118

2219
namespace c10 {
2320

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,11 @@
1414
#include <cuda_bf16.h>
1515
#endif
1616

17-
#if defined(SYCL_EXT_ONEAPI_BFLOAT16_MATH_FUNCTIONS)
1817
#if defined(CL_SYCL_LANGUAGE_VERSION)
1918
#include <CL/sycl.hpp> // for SYCL 1.2.1
20-
#else
19+
#elif defined(SYCL_LANGUAGE_VERSION)
2120
#include <sycl/sycl.hpp> // for SYCL 2020
2221
#endif
23-
#include <ext/oneapi/bfloat16.hpp>
24-
#endif
2522

2623
namespace c10 {
2724

0 commit comments

Comments
 (0)