Skip to content

Commit

Permalink
nitpick updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kanishk16 committed Jul 4, 2022
1 parent a90fde5 commit ee73c0b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
18 changes: 13 additions & 5 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -1,31 +1,39 @@
Contributing to ivadomed
========================

General Guidelines
++++++++++++++++++

Thank you for your interest in contributing to ivadomed! This project uses the following pages to guide new contributions:

* The `ivadomed GitHub repository <https://github.com/ivadomed/ivadomed>`_ is where the source code for the project is maintained, and where new contributions are submitted to.
* The `NeuroPoly Contributing Guidelines <https://intranet.neuro.polymtl.ca/software-development/contributing>`_ provide instructions for development workflows, such as reporting issues or submitting pull requests.
* The `ivadomed Developer Wiki <https://github.com/ivadomed/ivadomed/wiki>`_ acts as a knowledge base for documenting internal design decisions specific to the ivadomed codebase. It also contains step-by-step walkthroughs for common ivadomed maintainer tasks.

We welcome any type of contribution and recommend setting up ``ivadomed`` by following the
Contributor or Developer installation before proceeding towards any contribution.

Contributor or Developer ``ivadomed`` installation
++++++++++++++++++++++++++++++++++++++++++++++++++

.. tabs::

.. tab:: NVIDIA GPU Support

PyTorch is an integral part of ``ivadomed`` which ships
CUDA 10.2 and CUDA 11.1 runtime by default.
PyTorch, integral part of ``ivadomed``, ships
CUDA 10.2 and CUDA 11.1 runtime by default with its
respective installation binaries.

Ampere-based GPUs (with a `Compute Capability <https://developer.nvidia.com/cuda-gpus>`_
In case if you're wondering, Ampere-based GPUs
(with a `Compute Capability <https://developer.nvidia.com/cuda-gpus>`_
of 8.x) only work with CUDA>=11.1. Although CUDA 11.1 is
backward compatible with older hardware, CUDA 10.2 is
preferred if available.

To accelerate ``ivadomed`` with CUDA 10.2 on a Linux system, you'd
Thus, to accelerate ``ivadomed`` with CUDA 10.2 on a Linux system, you'd
need to have GPUs installed with an `NVIDIA driver version >=440.33
<https://docs.nvidia.com/deploy/cuda-compatibility/index.html#minor-version-compatibility>`_.
And, for CUDA 11.1 you'd need an upgraded NVIDIA driver version >=450.
And, for CUDA 11.1 you'd rather need an upgraded NVIDIA driver version >=450.

To verify the NVIDIA driver version, look in ``/sys`` by executing the
command:
Expand Down
12 changes: 8 additions & 4 deletions docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ Supported OS
``ivadomed`` officially supports GPU acceleration only on ``Linux`` and CPU on ``Linux``,
``Windows`` and ``MacOS``.

.. _installation-step1:
.. _installation-step1:
Step 1: Set up a dedicated virtual environment
+++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++

You can set up a virtual environment for ``ivadomed`` using either conda or venv:

Expand Down Expand Up @@ -126,8 +126,12 @@ Step 2: Install ``ivadomed``
And, for CUDA 11.1 you'd rather need an upgraded NVIDIA driver version >=450.

To verify the NVIDIA driver version, just look in ``/sys`` by
executing the command ``cat /sys/module/nvidia/version`` and you'll find
your current driver version.
executing the command:

::
``cat /sys/module/nvidia/version``
and it will return your current driver version.

.. tabs::

Expand Down

0 comments on commit ee73c0b

Please sign in to comment.