Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Use python 3.9 in launch test instead of 3.8

comfyanonymous160ca081387e
diff --git a/.github/workflows/test-launch.yml b/.github/workflows/test-launch.yml
index 5d665d6af..c56283c2d 100644
--- a/.github/workflows/test-launch.yml
+++ b/.github/workflows/test-launch.yml
@@ -17,7 +17,7 @@ jobs:
path: "ComfyUI"
- uses: actions/setup-python@v4
with:
- python-version: '3.8'
+ python-version: '3.9'
- name: Install requirements
run: |
python -m pip install --upgrade pip
diff --git a/comfy/model_management.py b/comfy/model_management.py
index c36c52ffd..731fb5845 100644
--- a/comfy/model_management.py
+++ b/comfy/model_management.py
@@ -87,7 +87,7 @@ except:
pass
try:
- import torch_npu
+ import torch_npu # noqa: F401
_ = torch.npu.device_count()
npu_available = torch.npu.is_available()
except: