From e6588825435c34b094fd74932aa6cb6d090d0f06 Mon Sep 17 00:00:00 2001 From: Bernd Doser Date: Mon, 9 Oct 2023 12:48:40 +0200 Subject: [PATCH 1/2] Pin python dependencies #21 --- requirements.in | 4 + requirements.txt | 271 ++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 271 insertions(+), 4 deletions(-) create mode 100644 requirements.in diff --git a/requirements.in b/requirements.in new file mode 100644 index 0000000..fe5d091 --- /dev/null +++ b/requirements.in @@ -0,0 +1,4 @@ +lightning==2.0.9.post0 +scipy==1.11.3 +torch==2.1.0 +torchvision==0.16.0 diff --git a/requirements.txt b/requirements.txt index a18653c..f7239d7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,267 @@ -lightning -scipy -torch -torchvision +# +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: +# +# pip-compile requirements.in +# +aiohttp==3.8.6 + # via fsspec +aiosignal==1.3.1 + # via aiohttp +annotated-types==0.6.0 + # via pydantic +anyio==3.7.1 + # via + # fastapi + # starlette +arrow==1.3.0 + # via lightning +async-timeout==4.0.3 + # via aiohttp +attrs==23.1.0 + # via aiohttp +backoff==2.2.1 + # via lightning +beautifulsoup4==4.12.2 + # via lightning +blessed==1.20.0 + # via inquirer +certifi==2023.7.22 + # via requests +charset-normalizer==3.3.0 + # via + # aiohttp + # requests +click==8.1.7 + # via + # lightning + # lightning-cloud + # uvicorn +croniter==1.4.1 + # via lightning +dateutils==0.6.12 + # via lightning +deepdiff==6.6.0 + # via lightning +exceptiongroup==1.1.3 + # via anyio +fastapi==0.103.2 + # via + # lightning + # lightning-cloud +filelock==3.12.4 + # via + # torch + # triton +frozenlist==1.4.0 + # via + # aiohttp + # aiosignal +fsspec[http]==2023.9.2 + # via + # lightning + # pytorch-lightning + # torch +h11==0.14.0 + # via uvicorn +idna==3.4 + # via + # anyio + # requests + # yarl +inquirer==3.1.3 + # via lightning +itsdangerous==2.1.2 + # via starsessions +jinja2==3.1.2 + # via + # lightning + # torch +lightning==2.0.9.post0 + # via -r requirements.in +lightning-cloud==0.5.39 + # via lightning +lightning-utilities==0.9.0 + # via + # lightning + # pytorch-lightning + # torchmetrics +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.3 + # via jinja2 +mdurl==0.1.2 + # via markdown-it-py +mpmath==1.3.0 + # via sympy +multidict==6.0.4 + # via + # aiohttp + # yarl +networkx==3.1 + # via torch +numpy==1.26.0 + # via + # lightning + # pytorch-lightning + # scipy + # torchmetrics + # torchvision +nvidia-cublas-cu12==12.1.3.1 + # via + # nvidia-cudnn-cu12 + # nvidia-cusolver-cu12 + # torch +nvidia-cuda-cupti-cu12==12.1.105 + # via torch +nvidia-cuda-nvrtc-cu12==12.1.105 + # via torch +nvidia-cuda-runtime-cu12==12.1.105 + # via torch +nvidia-cudnn-cu12==8.9.2.26 + # via torch +nvidia-cufft-cu12==11.0.2.54 + # via torch +nvidia-curand-cu12==10.3.2.106 + # via torch +nvidia-cusolver-cu12==11.4.5.107 + # via torch +nvidia-cusparse-cu12==12.1.0.106 + # via + # nvidia-cusolver-cu12 + # torch +nvidia-nccl-cu12==2.18.1 + # via torch +nvidia-nvjitlink-cu12==12.2.140 + # via + # nvidia-cusolver-cu12 + # nvidia-cusparse-cu12 +nvidia-nvtx-cu12==12.1.105 + # via torch +ordered-set==4.1.0 + # via deepdiff +packaging==23.2 + # via + # lightning + # lightning-utilities + # pytorch-lightning +pillow==10.0.1 + # via torchvision +psutil==5.9.5 + # via lightning +pydantic==2.1.1 + # via + # fastapi + # lightning +pydantic-core==2.4.0 + # via pydantic +pygments==2.16.1 + # via rich +pyjwt==2.8.0 + # via lightning-cloud +python-dateutil==2.8.2 + # via + # arrow + # croniter + # dateutils +python-editor==1.0.4 + # via inquirer +python-multipart==0.0.6 + # via + # lightning + # lightning-cloud +pytorch-lightning==2.0.9.post0 + # via lightning +pytz==2023.3.post1 + # via dateutils +pyyaml==6.0.1 + # via + # lightning + # pytorch-lightning +readchar==4.0.5 + # via inquirer +requests==2.31.0 + # via + # fsspec + # lightning + # lightning-cloud + # torchvision +rich==13.6.0 + # via + # lightning + # lightning-cloud +scipy==1.11.3 + # via -r requirements.in +six==1.16.0 + # via + # blessed + # lightning-cloud + # python-dateutil +sniffio==1.3.0 + # via anyio +soupsieve==2.5 + # via beautifulsoup4 +starlette==0.27.0 + # via + # fastapi + # lightning + # starsessions +starsessions==1.3.0 + # via lightning +sympy==1.12 + # via torch +torch==2.1.0 + # via + # -r requirements.in + # lightning + # pytorch-lightning + # torchmetrics + # torchvision +torchmetrics==1.2.0 + # via + # lightning + # pytorch-lightning +torchvision==0.16.0 + # via -r requirements.in +tqdm==4.66.1 + # via + # lightning + # pytorch-lightning +traitlets==5.11.2 + # via lightning +triton==2.1.0 + # via torch +types-python-dateutil==2.8.19.14 + # via arrow +typing-extensions==4.8.0 + # via + # fastapi + # lightning + # lightning-utilities + # pydantic + # pydantic-core + # pytorch-lightning + # torch + # uvicorn +urllib3==2.0.6 + # via + # lightning + # lightning-cloud + # requests +uvicorn==0.23.2 + # via + # lightning + # lightning-cloud +wcwidth==0.2.8 + # via blessed +websocket-client==1.6.4 + # via + # lightning + # lightning-cloud +websockets==11.0.3 + # via lightning +yarl==1.9.2 + # via aiohttp + +# The following packages are considered to be unsafe in a requirements file: +# setuptools From 4aeb24410d845824356e29be6f1173ff30aede1c Mon Sep 17 00:00:00 2001 From: Bernd Doser Date: Mon, 9 Oct 2023 13:01:20 +0200 Subject: [PATCH 2/2] pin conda dependencies --- environment.yml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/environment.yml b/environment.yml index 0df755c..5eb45c5 100644 --- a/environment.yml +++ b/environment.yml @@ -2,24 +2,24 @@ name: spherinator channels: - conda-forge dependencies: - - healpy - - jupytext - - matplotlib - - numpy - - onnx - - onnxruntime - - pandas - - pip + - healpy==1.16.5 + - jupytext==1.15.1 + - lightning==2.0.9 + - matplotlib==3.7.2 + - numpy==1.25.2 + - onnx==1.14.1 + - onnxruntime==1.15.1 + - pandas==2.1.0 + - pip==23.2.1 + - python==3.10.12 + - pytorch-gpu==2.0.0 + - scikit-image==0.21.0 + - scikit-learn==1.3.0 + - scipy==1.11.2 + - torchvision==0.15.2 + - wandb==0.15.10 - pip: - - ipykernel - - jsonargparse[signatures] - - tensorboard - - tensorrt - - python=3.10 - - pytorch-gpu - - lightning - - scikit-image - - scikit-learn - - scipy - - torchvision - - wandb + - ipykernel==6.25.2 + - jsonargparse[signatures]==4.24.1 + - tensorboard==2.14.0 + - tensorrt==8.6.1.post1