File tree Expand file tree Collapse file tree 7 files changed +13
-18
lines changed
.ci/docker/ci_commit_pins
runtime/core/portable_type/c10/c10 Expand file tree Collapse file tree 7 files changed +13
-18
lines changed Original file line number Diff line number Diff line change 1
- 01f1cc44cbbfdf6307aa01b803a4ee22f9ade946
1
+ 5616fa4a68718ead203314a3467f7dd9547153ae
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 = "dev20250422 "
74
+ NIGHTLY_VERSION = "dev20250601 "
75
75
76
76
77
77
def install_requirements (use_pytorch_nightly ):
@@ -82,14 +82,14 @@ def install_requirements(use_pytorch_nightly):
82
82
# been installed on CI before this step, so pip won't reinstall them
83
83
f"torch==2.8.0.{ NIGHTLY_VERSION } " if use_pytorch_nightly else "torch" ,
84
84
(
85
- f"torchvision==0.22 .0.{ NIGHTLY_VERSION } "
85
+ f"torchvision==0.23 .0.{ NIGHTLY_VERSION } "
86
86
if use_pytorch_nightly
87
87
else "torchvision"
88
88
), # For testing.
89
89
]
90
90
91
91
EXAMPLES_REQUIREMENTS = [
92
- f"torchaudio==2.6 .0.{ NIGHTLY_VERSION } " if use_pytorch_nightly else "torchaudio" ,
92
+ f"torchaudio==2.8 .0.{ NIGHTLY_VERSION } " if use_pytorch_nightly else "torchaudio" ,
93
93
]
94
94
95
95
# Assemble the list of requirements to actually install.
Original file line number Diff line number Diff line change @@ -67,7 +67,8 @@ dependencies=[
67
67
" ruamel.yaml" ,
68
68
" sympy" ,
69
69
" tabulate" ,
70
- " typing-extensions" ,
70
+ # See also third-party/TARGETS for buck's typing-extensions version.
71
+ " typing-extensions>=4.10.0" ,
71
72
# Keep this version in sync with: ./backends/apple/coreml/scripts/install_requirements.sh
72
73
" coremltools==8.3; platform_system == 'Darwin' or platform_system == 'Linux'" ,
73
74
]
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ using namespace c10::xpu;
241
241
#ifdef __HIPCC__
242
242
// Unlike CUDA, HIP requires a HIP header to be included for __host__ to work.
243
243
// 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
245
245
#include < hip/hip_runtime.h>
246
246
#endif
247
247
@@ -286,7 +286,7 @@ constexpr uint32_t CUDA_THREADS_PER_BLOCK_FALLBACK = 256;
286
286
#define C10_MIN_BLOCKS_PER_SM (threads_per_block, blocks_per_sm ) \
287
287
((((threads_per_block) * (blocks_per_sm) <= CUDA_MAX_THREADS_PER_SM) \
288
288
? (blocks_per_sm) \
289
- : ((CUDA_MAX_THREADS_PER_SM + (threads_per_block)- 1 ) / \
289
+ : ((CUDA_MAX_THREADS_PER_SM + (threads_per_block) - 1 ) / \
290
290
(threads_per_block))))
291
291
// C10_LAUNCH_BOUNDS is analogous to __launch_bounds__
292
292
#define C10_LAUNCH_BOUNDS_0 \
Original file line number Diff line number Diff line change @@ -10,14 +10,11 @@ C10_CLANG_DIAGNOSTIC_PUSH()
10
10
C10_CLANG_DIAGNOSTIC_IGNORE (" -Wimplicit-int-float-conversion" )
11
11
#endif
12
12
13
- #if defined(SYCL_EXT_ONEAPI_BFLOAT16_MATH_FUNCTIONS)
14
13
#if defined(CL_SYCL_LANGUAGE_VERSION)
15
14
#include < CL/sycl.hpp> // for SYCL 1.2.1
16
- #else
15
+ #elif defined(SYCL_LANGUAGE_VERSION)
17
16
#include < sycl/sycl.hpp> // for SYCL 2020
18
17
#endif
19
- #include < ext/oneapi/bfloat16.hpp>
20
- #endif
21
18
22
19
namespace c10 {
23
20
Original file line number Diff line number Diff line change 14
14
#include < cuda_bf16.h>
15
15
#endif
16
16
17
- #if defined(SYCL_EXT_ONEAPI_BFLOAT16_MATH_FUNCTIONS)
18
17
#if defined(CL_SYCL_LANGUAGE_VERSION)
19
18
#include < CL/sycl.hpp> // for SYCL 1.2.1
20
- #else
19
+ #elif defined(SYCL_LANGUAGE_VERSION)
21
20
#include < sycl/sycl.hpp> // for SYCL 2020
22
21
#endif
23
- #include < ext/oneapi/bfloat16.hpp>
24
- #endif
25
22
26
23
namespace c10 {
27
24
Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ prebuilt_python_library_defs = {
23
23
"url": "https://files.pythonhosted.org/packages/12/fc/a4d5a7554e0067677823f7265cb3ae22aed8a238560b5133b58cda252dad/PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl",
24
24
},
25
25
"typing-extensions": {
26
- "out": "typing_extensions-4.2.0 -py3-none-any.whl",
27
- "sha1": "ff0849420e94f425818bff5d0f25e3cdfaba8601 ",
28
- "url": "https://files.pythonhosted.org/packages/75/e1/932e06004039dd670c9d5e1df0cd606bf46e29a28e65d5bb28e894ea29c9 /typing_extensions-4.2.0 -py3-none-any.whl",
26
+ "out": "typing_extensions-4.13.2 -py3-none-any.whl",
27
+ "sha1": "85a14b4d38ca0e528328b6b591769e1d989f12b8 ",
28
+ "url": "https://files.pythonhosted.org/packages/8b/54/b1ae86c0973cc6f0210b53d508ca3641fb6d0c56823f288d108bc7ab3cc8 /typing_extensions-4.13.2 -py3-none-any.whl",
29
29
},
30
30
"wcwidth": {
31
31
"out": "wcwidth-0.1.5-py2.py3-none-any.whl",
You can’t perform that action at this time.
0 commit comments