diff --git a/.ci/docker/ci_commit_pins/pytorch.txt b/.ci/docker/ci_commit_pins/pytorch.txt index 75a95d0522b..247128a1904 100644 --- a/.ci/docker/ci_commit_pins/pytorch.txt +++ b/.ci/docker/ci_commit_pins/pytorch.txt @@ -1 +1 @@ -01f1cc44cbbfdf6307aa01b803a4ee22f9ade946 +214e4cef9f12ea33997dfb902b79e0c972af5b23 diff --git a/install_requirements.py b/install_requirements.py index 2fcd65ea338..31b843c83a7 100644 --- a/install_requirements.py +++ b/install_requirements.py @@ -71,7 +71,7 @@ def python_is_compatible(): # # NOTE: If you're changing, make the corresponding change in .ci/docker/ci_commit_pins/pytorch.txt # by picking the hash from the same date in https://hud.pytorch.org/hud/pytorch/pytorch/nightly/ -NIGHTLY_VERSION = "dev20250422" +NIGHTLY_VERSION = "dev20250525" def install_requirements(use_pytorch_nightly): diff --git a/pyproject.toml b/pyproject.toml index 2b636fb00e3..240252b7405 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,7 +66,8 @@ dependencies=[ "ruamel.yaml", "sympy", "tabulate", - "typing-extensions", + # See also third-party/TARGETS for buck's typing-extensions version. + "typing-extensions>=4.10.0", # Keep this version in sync with: ./backends/apple/coreml/scripts/install_requirements.sh "coremltools==8.3; platform_system == 'Darwin' or platform_system == 'Linux'", ] diff --git a/runtime/core/portable_type/c10/c10/macros/Macros.h b/runtime/core/portable_type/c10/c10/macros/Macros.h index 7e61ad7e26b..0947be6c0d0 100644 --- a/runtime/core/portable_type/c10/c10/macros/Macros.h +++ b/runtime/core/portable_type/c10/c10/macros/Macros.h @@ -241,7 +241,7 @@ using namespace c10::xpu; #ifdef __HIPCC__ // Unlike CUDA, HIP requires a HIP header to be included for __host__ to work. // We do this #include here so that C10_HOST_DEVICE and friends will Just Work. -// See https://github.com/ROCm-Developer-Tools/HIP/issues/441 +// See https://github.com/ROCm/hip/issues/441 #include #endif @@ -286,7 +286,7 @@ constexpr uint32_t CUDA_THREADS_PER_BLOCK_FALLBACK = 256; #define C10_MIN_BLOCKS_PER_SM(threads_per_block, blocks_per_sm) \ ((((threads_per_block) * (blocks_per_sm) <= CUDA_MAX_THREADS_PER_SM) \ ? (blocks_per_sm) \ - : ((CUDA_MAX_THREADS_PER_SM + (threads_per_block)-1) / \ + : ((CUDA_MAX_THREADS_PER_SM + (threads_per_block) - 1) / \ (threads_per_block)))) // C10_LAUNCH_BOUNDS is analogous to __launch_bounds__ #define C10_LAUNCH_BOUNDS_0 \ diff --git a/runtime/core/portable_type/c10/c10/util/BFloat16-inl.h b/runtime/core/portable_type/c10/c10/util/BFloat16-inl.h index 10ab0c828d7..1ed866f78d9 100644 --- a/runtime/core/portable_type/c10/c10/util/BFloat16-inl.h +++ b/runtime/core/portable_type/c10/c10/util/BFloat16-inl.h @@ -10,14 +10,11 @@ C10_CLANG_DIAGNOSTIC_PUSH() C10_CLANG_DIAGNOSTIC_IGNORE("-Wimplicit-int-float-conversion") #endif -#if defined(SYCL_EXT_ONEAPI_BFLOAT16_MATH_FUNCTIONS) #if defined(CL_SYCL_LANGUAGE_VERSION) #include // for SYCL 1.2.1 -#else +#elif defined(SYCL_LANGUAGE_VERSION) #include // for SYCL 2020 #endif -#include -#endif namespace c10 { diff --git a/runtime/core/portable_type/c10/c10/util/BFloat16.h b/runtime/core/portable_type/c10/c10/util/BFloat16.h index 93d0ec54fb0..0f7cecda46b 100644 --- a/runtime/core/portable_type/c10/c10/util/BFloat16.h +++ b/runtime/core/portable_type/c10/c10/util/BFloat16.h @@ -14,14 +14,11 @@ #include #endif -#if defined(SYCL_EXT_ONEAPI_BFLOAT16_MATH_FUNCTIONS) #if defined(CL_SYCL_LANGUAGE_VERSION) #include // for SYCL 1.2.1 -#else +#elif defined(SYCL_LANGUAGE_VERSION) #include // for SYCL 2020 #endif -#include -#endif namespace c10 { diff --git a/third-party/TARGETS b/third-party/TARGETS index 0ec62c1536f..c80bd9448b3 100644 --- a/third-party/TARGETS +++ b/third-party/TARGETS @@ -23,9 +23,9 @@ prebuilt_python_library_defs = { "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", }, "typing-extensions": { - "out": "typing_extensions-4.2.0-py3-none-any.whl", - "sha1": "ff0849420e94f425818bff5d0f25e3cdfaba8601", - "url": "https://files.pythonhosted.org/packages/75/e1/932e06004039dd670c9d5e1df0cd606bf46e29a28e65d5bb28e894ea29c9/typing_extensions-4.2.0-py3-none-any.whl", + "out": "typing_extensions-4.13.2-py3-none-any.whl", + "sha1": "85a14b4d38ca0e528328b6b591769e1d989f12b8", + "url": "https://files.pythonhosted.org/packages/8b/54/b1ae86c0973cc6f0210b53d508ca3641fb6d0c56823f288d108bc7ab3cc8/typing_extensions-4.13.2-py3-none-any.whl", }, "wcwidth": { "out": "wcwidth-0.1.5-py2.py3-none-any.whl",