-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpixi.toml
More file actions
80 lines (67 loc) · 2.74 KB
/
pixi.toml
File metadata and controls
80 lines (67 loc) · 2.74 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[workspace]
authors = ["adiezsanchez <adiez.biotech@gmail.com>"]
channels = ["conda-forge", "pytorch", "nvidia"]
channel-priority = "disabled"
name = "saramorg_fret_nroot"
platforms = ["linux-64", "win-64", "osx-arm64"]
version = "0.1.0"
[system-requirements]
cuda = "12.0" # enables GPU PyTorch on Linux/Windows when the host has NVIDIA drivers
# -------------------------
# Tasks
# -------------------------
[tasks.lab]
cmd = "jupyter lab"
[tasks.napari]
cmd = "napari"
# -------------------------
# Shared dependencies
# -------------------------
[dependencies]
python = "3.10.*" # keep Python compatible with all plugins
cellpose = "==4.0.6" # CellposeSAM (latest ViT implementation)
apoc-backend = "*" # fast GPU classifiers (APOC)
edt = "*" # Euclidean distance transforms
ipykernel = "*" # Jupyter kernel support
ipython = "*" # interactive shell
jupyterlab = "*" # Jupyter environment
napari = ">=0.6,<0.8" # avoid old 0.4.x runtime-incompatible build
napari-convpaint = "*" # convpaint plugin
nbformat = "*" # notebook parsing
nd2 = "*" # Nikon ND2 image reader
liffile = "==2025.5.10" # last release compatible with Python 3.10
opencv = "4.12.*" # headless build; avoids opencv 4.13/qt6 solver issues on Linux
plotly = "*" # plotting library
pyclesperanto-prototype = "*" # GPU image processing (OpenCL)
setuptools = "<81" # pin to avoid pkg_resources removal
seaborn = ">=0.13.2,<0.14"
pyopengl-accelerate = "3.1.*" # optional PyOpenGL speedups; silences OpenGL_accelerate import warning
# -------------------------
# Platform: Linux (conda-forge CUDA 12.6 — avoids pytorch-channel torchvision ffmpeg pin)
# -------------------------
[target.linux-64.dependencies]
cuda-version = "12.6.*"
pytorch-gpu = "==2.5.1"
torchvision = "==0.20.1"
pyside6 = "6.9.*" # align with qt6-main / qt6-wayland for napari GUI
qt6-wayland = "6.9.*" # Wayland platform plugin for Qt6 (PySide6)
libgl = "*" # Mesa/OpenGL runtime for vispy/napari 3D rendering
[target.linux-64.activation.env]
# X11 (xcb) + GLX avoids invalid OpenGL context on Wayland (vispy/napari #8808)
QT_QPA_PLATFORM = "xcb"
PYOPENGL_PLATFORM = "glx"
# -------------------------
# Platform: Windows (pytorch channel CUDA 12.1 — unchanged from working win-64 lock)
# -------------------------
[target.win-64.dependencies]
pytorch = { version = "==2.5.0", channel = "pytorch" }
pytorch-cuda = { version = "12.1.*", channel = "pytorch" }
torchvision = { version = "==0.20.0", channel = "pytorch" }
pyqt = ">=5.15.8,<6"
# -------------------------
# Platform: macOS Apple Silicon (MPS via conda-forge; pytorch channel pins llvm-openmp<16)
# -------------------------
[target.osx-arm64.dependencies]
pytorch = "==2.5.1" # conda-forge build with MPS; avoid pytorch-channel llvm-openmp<16 pin
torchvision = "==0.20.1"
pyside6 = ">=6.7.1"