Skip to content

Commit

Permalink
Add python-3.10.12: triton fixes
Browse files Browse the repository at this point in the history
remove torch from install requires
because we triton to install torch
  • Loading branch information
david committed Aug 29, 2023
1 parent 99d686f commit 0f62966
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python-3.10.12-0.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ piplist; track 'pairtools'
sed -ne '/^#Epatch:triton/ s/^#Epatch:\S* // p' $ME | patch -p1 --verbose
pip install . --prefix=$PREFIX

piplist; track triton==2.0.0
piplist; track triton==${TRITON_VERSION}
)

# torch bundled with a recent CUDA-Toolkit
Expand Down Expand Up @@ -812,13 +812,13 @@ exit
#Epatch:triton index 2ac3accd2..e7357be58 100644
#Epatch:triton --- a/setup.py
#Epatch:triton +++ b/setup.py
#Epatch:triton @@ -211,10 +211,8 @@ setup(
#Epatch:triton @@ -211,10 +211,7 @@ setup(
#Epatch:triton long_description="",
#Epatch:triton packages=["triton", "triton/_C", "triton/language", "triton/tools", "triton/impl", "triton/ops", "triton/runtime", "triton/ops/blocksparse"],
#Epatch:triton install_requires=[
#Epatch:triton - "cmake",
#Epatch:triton "filelock",
#Epatch:triton "torch",
#Epatch:triton - "torch",
#Epatch:triton - "lit",
#Epatch:triton ],
#Epatch:triton package_data={"triton": ["third_party/**/*"]},
Expand Down

0 comments on commit 0f62966

Please sign in to comment.