Skip to content

Commit 165d38a

Browse files
committed
future
1 parent 5e9009b commit 165d38a

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.azure/gpu-tests-fabric.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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"

.azure/gpu-tests-pytorch.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)