File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -117,10 +117,9 @@ jobs:
117117 displayName: "Install package & dependencies"
118118
119119 - bash : |
120- # get pytorch version
121- PYTORCH_VERSION=$(python -c "import torch; print(torch.__version__.split('+')[0])")
122120 # FixMe: uninstall bitsandbytes for pytorch 2.6 as it is not compatible with `triton.ops`
123- if [[ "${PYTORCH_VERSION}" == "2.6.0" ]]; then
121+ # if the job name include key word future, then uninstall bitsandbytes
122+ if [[ "$(Agent.JobName)" == *"future"* ]]; then
124123 pip uninstall -y bitsandbytes
125124 else
126125 python -c "import bitsandbytes"
Original file line number Diff line number Diff line change @@ -131,10 +131,9 @@ jobs:
131131 displayName : " Drop PL for LAI"
132132
133133 - bash : |
134- # get pytorch version
135- PYTORCH_VERSION=$(python -c "import torch; print(torch.__version__.split('+')[0])")
136134 # FixMe: uninstall bitsandbytes for pytorch 2.6 as it is not compatible with `triton.ops`
137- if [[ "${PYTORCH_VERSION}" == "2.6.0" ]]; then
135+ # if the job name include key word future, then uninstall bitsandbytes
136+ if [[ "$(Agent.JobName)" == *"future"* ]]; then
138137 pip uninstall -y bitsandbytes
139138 else
140139 python -c "import bitsandbytes"
You can’t perform that action at this time.
0 commit comments