This env couldn't be solved by conda-lock but was easily be solved by mamba.
channels:
- conda-forge
dependencies:
- python=3.11
- cuda-version=12.6
- pytorch-gpu
- pandas
- numpy
- scikit-learn
- matplotlib
- pyyaml
platforms:
- win-64
I lost a lot of time struggling with this as I assumed that conda-lock solves it the same as mamba, so thought that there are missing packages on conda-forge or what not. But then almost by accident I installed it with mamba and it just worked.