File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
third_party/intel/backend Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -758,13 +758,6 @@ def get_git_commit_hash(length=8):
758758 return ""
759759
760760
761- def get_install_requires ():
762- install_requires = [
763- "packaging" , # used by third_party/intel/backend/driver.py
764- ] # yapf: disable
765- return install_requires
766-
767-
768761setup (
769762 name = os .environ .get ("TRITON_WHEEL_NAME" , "triton" ),
770763 version = "3.2.0" + get_git_commit_hash () + os .environ .get ("TRITON_WHEEL_VERSION_SUFFIX" , "" ),
@@ -774,7 +767,6 @@ def get_install_requires():
774767 long_description = "" ,
775768 packages = get_packages (),
776769 entry_points = get_entry_points (),
777- install_requires = get_install_requires (),
778770 package_data = package_data ,
779771 include_package_data = True ,
780772 ext_modules = [CMakeExtension ("triton" , "triton/_C/" )],
Original file line number Diff line number Diff line change 1212from triton .runtime .cache import get_cache_manager
1313from triton .backends .compiler import GPUTarget
1414from triton .backends .driver import DriverBase
15- from packaging .version import Version
16- from packaging .specifiers import SpecifierSet
1715
1816
1917def find_sycl (include_dir : list [str ]) -> tuple [list [str ], Optional [str ]]:
@@ -51,7 +49,7 @@ def find_sycl(include_dir: list[str]) -> tuple[list[str], Optional[str]]:
5149 except importlib .metadata .PackageNotFoundError :
5250 raise AssertionError (assertion_message )
5351
54- if Version ( sycl_rt .get ("version" , "0.0.0" )) in SpecifierSet ( "<2025.0.0a1 " ):
52+ if sycl_rt .get ("version" , "0.0.0" ). startswith ( "2024 " ):
5553 raise AssertionError (assertion_message )
5654
5755 sycl_dir = None
You can’t perform that action at this time.
0 commit comments