Skip to content

Commit 0b2fdc2

Browse files
authored
Update UnitTests.yml
1 parent 03d4bae commit 0b2fdc2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/UnitTests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ jobs:
4040
- name: Install Dependencies
4141
run: |
4242
pip install -r requirements.txt
43+
# Uninstall the full tensorflow package to prevent GPU conflicts
44+
pip uninstall -y tensorflow
45+
# Install the CPU-only version of tensorflow
46+
pip install tensorflow-cpu
4347
pip install --upgrade torch torchvision
4448
# Install the maxdiffusion package to make it available for execution
4549
pip install .

0 commit comments

Comments
 (0)