pixi is unable to 'pixi lock' on an Mac OSX ARM64 for a recipe targetting linux-64 with cuda deps #5491
-
|
the following [workspace]
name = "ml-platform"
version = "2026.2.0"
description = "MaNIAC Lab ML platform environment"
channels = ["conda-forge"]
platforms = ["linux-64"]
[activation.env]
CONDA_OVERRIDE_CUDA = "12.8"
[dependencies]
# Python
python = "*"
# CERN ROOT
root = ">=6.32"
# Java (OpenJDK 8 in ml_base)
openjdk = "*"
# ML frameworks
tensorflow-gpu = "*"
keras = "*"
# Data science
numpy = "*"
pandas = "*"
scipy = "*"
scikit-learn = "*"
pyarrow = "*"
h5py = "*"
pytables = "*"
cython = "*"
# Visualization
matplotlib = "*"
seaborn = "*"
bokeh = "*"
graphviz = "*"
# Jupyter ecosystem
jupyterlab = "*"
jupyter = "*"
ipykernel = "*"
metakernel = "*"
ipywidgets = "*"
jupyterlab-git = "*"
rise = "*"
# HEP
uproot = "*"
# System tools (replacing apt-get from ml_base)
curl = "*"
wget = "*"
unzip = "*"
zip = "*"
vim = "*"
jq = "*"
rsync = "*"
git = "*"
make = "*"
compilers = "*"
pkg-config = "*"
# Libraries (replacing apt-get dev packages)
freetype = "*"
libpng = "*"
zeromq = "*"
hdf5 = "*"
tbb = "*"
zlib = "*"
# Other
requests = "*"
pillow = "*"
tqdm = "*"
imageio = "*"
[pypi-dependencies]
# Packages NOT on conda-forge (or easier from PyPI)
tensorflow-datasets = "*"
keras-tuner = "*"
plumbum = "*"
jupyter-bokeh = "*"
qtpy = "*"
elasticsearch = "*"
gymnasium = "*" # gym is deprecated, gymnasium is the successor
JSAnimation = "*"
dask-labextension = "*"
atlasify = "*"
rucio-jupyterlab = "*"the following above gives me but if I manually [workspace]
authors = ["Giordon Stark <kratsg@gmail.com>"]
channels = ["conda-forge"]
name = "my_workspace"
platforms = ["linux-64"]
version = "0.1.0"
[tasks]
[dependencies]
tensorflow-gpu = ">=2.6.2,<3"
root = ">=6.26.4,<7"
python = ">=3.9.15,<3.10"
openjdk = ">=11.0.1,<12"
keras = ">=2.6.0,<3"
numpy = ">=1.19.5,<2"
pandas = ">=1.4.4,<2"
scipy = ">=1.9.1,<2"
scikit-learn = ">=1.6.1,<2"
pyarrow = ">=6.0.1,<7"
h5py = ">=3.1.0,<4"
pytables = ">=3.6.1,<4"
cython = ">=3.1.3,<4"
matplotlib = ">=3.3.2,<4"
seaborn = ">=0.12.2,<0.13"
bokeh = ">=3.3.4,<4"
graphviz = ">=3.0.0,<4"
jupyterlab = ">=4.4.6,<5"
jupyter = ">=1.1.1,<2"
ipykernel = ">=6.30.1,<7"
metakernel = ">=0.30.3,<0.31"
ipywidgets = ">=8.1.7,<9"
jupyterlab-git = ">=0.51.2,<0.52"
rise = ">=5.7.1,<6"
uproot = ">=5.2.2,<6"
curl = ">=7.86.0,<8"
wget = ">=1.20.3,<2"
unzip = ">=6.0,<7"
zip = ">=3.0,<4"
vim = ">=9.0.814,<10"
jq = ">=1.8.1,<2"
rsync = ">=3.2.7,<4"
git = ">=2.39.1,<3"
make = ">=4.4.1,<5"
compilers = ">=1.5.1,<2"
pkg-config = ">=0.29.2,<0.30"
freetype = ">=2.12.1,<3"
libpng = ">=1.6.43,<2"
zeromq = ">=4.3.5,<5"
hdf5 = ">=1.10.6,<2"
tbb = ">=2021.7.0,<2022"
zlib = ">=1.2.13,<2"
requests = ">=2.32.5,<3"
pillow = ">=9.2.0,<10"
tqdm = ">=4.67.1,<5"
imageio = ">=2.37.0,<3"but it's not clear to me how to debug. Here is the full pixi log error message for version conflict: pixi.log |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
@kratsg I think the issue is that you're not using For example, on a machine with $ nvidia-smi --version
NVIDIA-SMI version : 590.48.01
NVML version : 590.48
DRIVER version : 590.48.01
CUDA Version : 13.1$ pixi init debug && cd debug
$ pixi workspace system-requirements add cuda 12.8
$ pixi add tensorflow-gpu
✔ Added tensorflow-gpu >=2.19.1,<3solves to the following Pixi manifest [workspace]
channels = ["conda-forge"]
name = "debug"
platforms = ["linux-64"]
version = "0.1.0"
[tasks]
[dependencies]
tensorflow-gpu = ">=2.19.1,<3"
[system-requirements]
cuda = "12.8"If I don't have a $ cd .. && rm -rf ./debug && pixi init debug && cd debug
$ pixi add tensorflow-gpu
✔ Added tensorflow-gpu >=2.6.2,<3I'd start with repeating the commands above and if that solves seeing if you can get everything by adding a with the first workspace you gave. If that doesn't work, can you determine the minimal dependency set in an |
Beta Was this translation helpful? Give feedback.
@kratsg I think the issue is that you're not using
system-requirements.CONDA_OVERRIDE_CUDAby itself is just mocking the existence of the virtual package on your platform, it doesn't do the same thing as setting a CUDAsystem-requirements. c.f. Section 6.2 CUDA hardware accelerated environment creation of https://doi.org/10.25080/nwuf8465 as well as the PyTorch Installation tutorial-like example.For example, on a machine with