File size: 614 Bytes
84c9d95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# https://taskfile.dev

version: "3"

dotenv:
  - .env

tasks:
  default:
    cmds:
      - echo "$PYTHON"
      - echo "$WEBUI"
      - echo "$UV_PYTHON"
    silent: true

  launch:
    dir: "{{.WEBUI}}"
    cmds:
      - "{{.PYTHON}} launch.py --xformers --api"
    silent: true

  lint:
    cmds:
      - pre-commit run -a

  update:
    cmds:
      - "{{.PYTHON}} -m uv pip install -U ultralytics mediapipe ruff pre-commit black devtools pytest hypothesis"

  update-torch:
    cmds:
      - "{{.PYTHON}} -m uv pip install -U torch torchvision torchaudio -f https://download.pytorch.org/whl/torch_stable.html"