Skip to content

Commit

Permalink
Merge pull request #21 from MPI-Dortmund/new_installation
Browse files Browse the repository at this point in the history
Updated dependencies and new installation instructions
  • Loading branch information
thorstenwagner authored May 22, 2023
2 parents 65e10b0 + 5c73b47 commit 3b0a265
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks_tests_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]
python-version: ["3.10"]
defaults:
run:
shell: bash -el {0}
Expand Down
8 changes: 4 additions & 4 deletions conda_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ channels:
- nvidia
- defaults
dependencies:
- pytorch==1.12
- pytorch==1.13.1
- torchvision
- pandas
- pandas[version='<2']
- scipy
- numpy
- matplotlib
- pytables
- cuml=22.06
- cudatoolkit=11.6
- cuml=23.04
- cudatoolkit=11.8
- protobuf[version='>3.20']
- tensorboard
- optuna
Expand Down
9 changes: 9 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Changes
=======

Version 0.4.3
*************

* Fix numba related issue by updating various dependencies (https://github.com/MPI-Dortmund/tomotwin-cryoet/issues/20):
- Python 3.9 -> Python 3.10
- Rapids 22.04 -> 23.04
- CUDA 11.6 -> CUDA 11.8
* Updating pyStarDB from 0.3.2 -> 0.4.2

Version 0.4.0
*************

Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ There are three main steps to install TomoTwin:

.. prompt:: bash $

mamba create -n tomotwin -c pytorch -c rapidsai -c nvidia -c conda-forge python=3.9 pytorch==1.12 torchvision pandas scipy numpy matplotlib pytables cuML=22.06 cudatoolkit=11.6 'protobuf>3.20' tensorboard optuna mysql-connector-python
mamba create -n tomotwin -c pytorch -c rapidsai -c nvidia -c conda-forge python=3.10 pytorch==1.13.1 torchvision pandas scipy numpy matplotlib pytables cuML=23.04 cudatoolkit=11.8 'protobuf>3.20' tensorboard optuna mysql-connector-python
conda activate tomotwin
pip install tomotwin-cryoet

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"numpy >= 1.20.0",
"scikit-learn",
"scikit-image",
"pystardb==0.3.1",
"pandas >= 1.3",
"pystardb>=0.4.2",
"pandas <= 2", # Because rapids does not support pandas > 1.5.3
"pytorch-metric-learning==1.6.3",
"numba",
"tabulate",
Expand Down

0 comments on commit 3b0a265

Please sign in to comment.