From 887c1af427310633588496679c233ede242e5ad3 Mon Sep 17 00:00:00 2001 From: filnow Date: Tue, 21 May 2024 16:03:00 +0200 Subject: [PATCH] conda env --- MLProject | 2 +- conda.yaml | 12 ------ environment.yml | 108 +++++++++++++++++++++++++++++++++++++++++++++++ requirements.txt | 6 +-- 4 files changed, 111 insertions(+), 17 deletions(-) delete mode 100644 conda.yaml create mode 100644 environment.yml diff --git a/MLProject b/MLProject index 79062a1..917c5f1 100644 --- a/MLProject +++ b/MLProject @@ -1,6 +1,6 @@ name: Skin cancer classification -conda_env: conda.yaml +conda_env: environment.yml entry_points: train: command: "python train.py" diff --git a/conda.yaml b/conda.yaml deleted file mode 100644 index 4d472f1..0000000 --- a/conda.yaml +++ /dev/null @@ -1,12 +0,0 @@ -name: mlflow-env - -channels: - - defaults - -dependencies: - - python=3.11 - - pip - - pip: - - mlflow - - torch - - torchvision \ No newline at end of file diff --git a/environment.yml b/environment.yml new file mode 100644 index 0000000..987bcdd --- /dev/null +++ b/environment.yml @@ -0,0 +1,108 @@ +name: ium +channels: + - defaults +dependencies: + - _libgcc_mutex=0.1=main + - _openmp_mutex=5.1=1_gnu + - bzip2=1.0.8=h5eee18b_6 + - ca-certificates=2024.3.11=h06a4308_0 + - expat=2.6.2=h6a678d5_0 + - ld_impl_linux-64=2.38=h1181459_1 + - libffi=3.4.4=h6a678d5_1 + - libgcc-ng=11.2.0=h1234567_1 + - libgomp=11.2.0=h1234567_1 + - libstdcxx-ng=11.2.0=h1234567_1 + - libuuid=1.41.5=h5eee18b_0 + - ncurses=6.4=h6a678d5_0 + - openssl=3.0.13=h7f8727e_1 + - pip=23.3.1=py311h06a4308_0 + - python=3.11.8=h955ad1f_0 + - readline=8.2=h5eee18b_0 + - setuptools=69.5.1=py311h06a4308_0 + - sqlite=3.45.3=h5eee18b_0 + - tk=8.6.14=h39e8969_0 + - wheel=0.43.0=py311h06a4308_0 + - xz=5.4.6=h5eee18b_1 + - zlib=1.2.13=h5eee18b_1 + - pip: + - alembic==1.13.1 + - aniso8601==9.0.1 + - blinker==1.8.2 + - cachetools==5.3.3 + - certifi==2024.2.2 + - charset-normalizer==3.3.2 + - click==8.1.7 + - cloudpickle==3.0.0 + - contourpy==1.2.1 + - cycler==0.12.1 + - deprecated==1.2.14 + - docker==7.0.0 + - entrypoints==0.4 + - filelock==3.14.0 + - flask==3.0.3 + - fonttools==4.51.0 + - fsspec==2024.5.0 + - gitdb==4.0.11 + - gitpython==3.1.43 + - graphene==3.3 + - graphql-core==3.2.3 + - graphql-relay==3.2.0 + - greenlet==3.0.3 + - gunicorn==22.0.0 + - idna==3.7 + - importlib-metadata==7.0.0 + - itsdangerous==2.2.0 + - jinja2==3.1.4 + - joblib==1.4.2 + - kiwisolver==1.4.5 + - mako==1.3.5 + - markdown==3.6 + - markupsafe==2.1.5 + - matplotlib==3.9.0 + - mlflow==2.13.0 + - mpmath==1.3.0 + - networkx==3.3 + - numpy==1.26.4 + - nvidia-cublas-cu12==12.1.3.1 + - nvidia-cuda-cupti-cu12==12.1.105 + - nvidia-cuda-nvrtc-cu12==12.1.105 + - nvidia-cuda-runtime-cu12==12.1.105 + - nvidia-cudnn-cu12==8.9.2.26 + - nvidia-cufft-cu12==11.0.2.54 + - nvidia-curand-cu12==10.3.2.106 + - nvidia-cusolver-cu12==11.4.5.107 + - nvidia-cusparse-cu12==12.1.0.106 + - nvidia-nccl-cu12==2.20.5 + - nvidia-nvjitlink-cu12==12.4.127 + - nvidia-nvtx-cu12==12.1.105 + - opentelemetry-api==1.24.0 + - opentelemetry-sdk==1.24.0 + - opentelemetry-semantic-conventions==0.45b0 + - packaging==24.0 + - pandas==2.2.2 + - pillow==10.3.0 + - protobuf==4.25.3 + - pyarrow==15.0.2 + - pyparsing==3.1.2 + - python-dateutil==2.9.0.post0 + - pytz==2024.1 + - pyyaml==6.0.1 + - querystring-parser==1.2.4 + - requests==2.32.1 + - scikit-learn==1.4.2 + - scipy==1.13.0 + - six==1.16.0 + - smmap==5.0.1 + - sqlalchemy==2.0.30 + - sqlparse==0.5.0 + - sympy==1.12 + - threadpoolctl==3.5.0 + - torch==2.3.0 + - torchvision==0.18.0 + - triton==2.3.0 + - typing-extensions==4.11.0 + - tzdata==2024.1 + - urllib3==2.2.1 + - werkzeug==3.0.3 + - wrapt==1.16.0 + - zipp==3.18.2 diff --git a/requirements.txt b/requirements.txt index c39b986..4e29309 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,3 @@ -matplotlib==3.8.3 -numpy==1.26.4 -torchvision==0.17.1 +mlflow==2.12.2 torch==2.2.1 - +torchvision==0.17.1