Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update doc for CPU install and MMCV troubleshooting #3033

Merged
merged 1 commit into from
Mar 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion docs/source/guide/get_started/installation.rst
Original file line number Diff line number Diff line change
@@ -46,7 +46,8 @@ Refer to the `official installation guide <https://pytorch.org/get-started/previ

.. note::

Currently, only torch==1.13.1 ~ 2.0.1 was fully validated. (older versions are not supported due to security issues).
Currently, only torch==1.13.1 ~ 2.0.1 have been fully validated.
(Older versions are not supported due to the security issues. Newer versions might not work correctly)

.. code-block::

@@ -56,6 +57,9 @@ Refer to the `official installation guide <https://pytorch.org/get-started/previ
# Or, install command for torch==1.13.1 for CUDA 11.7:
pip install torch==1.13.1 torchvision==0.14.1 --extra-index-url https://download.pytorch.org/whl/cu117

# On CPU only systems:
pip install torch==1.13.1 torchvision==0.14.1 --extra-index-url https://download.pytorch.org/whl/cpu

4. Install OpenVINO™ Training Extensions package from either:

* A local source in development mode
@@ -183,3 +187,13 @@ please use pip with proxy call as demonstrated by command below:
.. code-block::

python -m pip install --proxy http://<usr_name>:<password>@<proxyserver_name>:<port#> <pkg_name>

5. If you get ``mmcv`` kernel compilation error message, e.g. ModuleNotFoundEffor: no module named 'mmcv._ext',
please try to delete the pre-compiled MMCV wheel from the cache directory, and then try again.
Then the kernels would be compiled on your environment.

.. code-block::

find ~/.cache/pip/wheels/ -name "mmcv*" -delete
pip uninstall mmcv-full
pip install otx[full] # pip install -e .[full]
Loading
Oops, something went wrong.