Skip to content

Commit c84e80a

Browse files
authored
[Docs] Revert the --no-index changes in instalation commands (#3101)
This PR reverts the `--no-index` introduced earlier in the installation commands, as with `--no-index`, dependency packages cannot be downloaded from PyPI.
1 parent bd6cf37 commit c84e80a

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

docs/install/mlc_llm.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,35 +30,35 @@ Select your operating system/compute platform and run the command in your termin
3030
.. code-block:: bash
3131
3232
conda activate your-environment
33-
python -m pip install --pre -U --no-index -f https://mlc.ai/wheels mlc-llm-nightly-cpu mlc-ai-nightly-cpu
33+
python -m pip install --pre -U -f https://mlc.ai/wheels mlc-llm-nightly-cpu mlc-ai-nightly-cpu
3434
3535
.. tab:: CUDA 12.2
3636

3737
.. code-block:: bash
3838
3939
conda activate your-environment
40-
python -m pip install --pre -U --no-index -f https://mlc.ai/wheels mlc-llm-nightly-cu122 mlc-ai-nightly-cu122
40+
python -m pip install --pre -U -f https://mlc.ai/wheels mlc-llm-nightly-cu122 mlc-ai-nightly-cu122
4141
4242
.. tab:: CUDA 12.3
4343

4444
.. code-block:: bash
4545
4646
conda activate your-environment
47-
python -m pip install --pre -U --no-index -f https://mlc.ai/wheels mlc-llm-nightly-cu123 mlc-ai-nightly-cu123
47+
python -m pip install --pre -U -f https://mlc.ai/wheels mlc-llm-nightly-cu123 mlc-ai-nightly-cu123
4848
4949
.. tab:: ROCm 6.1
5050

5151
.. code-block:: bash
5252
5353
conda activate your-environment
54-
python -m pip install --pre -U --no-index -f https://mlc.ai/wheels mlc-llm-nightly-rocm61 mlc-ai-nightly-rocm61
54+
python -m pip install --pre -U -f https://mlc.ai/wheels mlc-llm-nightly-rocm61 mlc-ai-nightly-rocm61
5555
5656
.. tab:: ROCm 6.2
5757

5858
.. code-block:: bash
5959
6060
conda activate your-environment
61-
python -m pip install --pre -U --no-index -f https://mlc.ai/wheels mlc-llm-nightly-rocm62 mlc-ai-nightly-rocm62
61+
python -m pip install --pre -U -f https://mlc.ai/wheels mlc-llm-nightly-rocm62 mlc-ai-nightly-rocm62
6262
6363
.. tab:: Vulkan
6464

@@ -98,7 +98,7 @@ Select your operating system/compute platform and run the command in your termin
9898
.. code-block:: bash
9999
100100
conda activate your-environment
101-
python -m pip install --pre -U --no-index -f https://mlc.ai/wheels mlc-llm-nightly-cpu mlc-ai-nightly-cpu
101+
python -m pip install --pre -U -f https://mlc.ai/wheels mlc-llm-nightly-cpu mlc-ai-nightly-cpu
102102
103103
.. note::
104104

@@ -124,7 +124,7 @@ Select your operating system/compute platform and run the command in your termin
124124
.. code-block:: bash
125125
126126
conda activate your-environment
127-
python -m pip install --pre -U --no-index -f https://mlc.ai/wheels mlc-llm-nightly-cpu mlc-ai-nightly-cpu
127+
python -m pip install --pre -U -f https://mlc.ai/wheels mlc-llm-nightly-cpu mlc-ai-nightly-cpu
128128
129129
.. note::
130130
Please make sure your conda environment comes with python and pip.

docs/install/tvm.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,35 +37,35 @@ A nightly prebuilt Python package of Apache TVM Unity is provided.
3737
.. code-block:: bash
3838
3939
conda activate your-environment
40-
python -m pip install --pre -U --no-index -f https://mlc.ai/wheels mlc-ai-nightly-cpu
40+
python -m pip install --pre -U -f https://mlc.ai/wheels mlc-ai-nightly-cpu
4141
4242
.. tab:: CUDA 12.2
4343

4444
.. code-block:: bash
4545
4646
conda activate your-environment
47-
python -m pip install --pre -U --no-index -f https://mlc.ai/wheels mlc-ai-nightly-cu122
47+
python -m pip install --pre -U -f https://mlc.ai/wheels mlc-ai-nightly-cu122
4848
4949
.. tab:: CUDA 12.3
5050

5151
.. code-block:: bash
5252
5353
conda activate your-environment
54-
python -m pip install --pre -U --no-index -f https://mlc.ai/wheels mlc-ai-nightly-cu123
54+
python -m pip install --pre -U -f https://mlc.ai/wheels mlc-ai-nightly-cu123
5555
5656
.. tab:: ROCm 6.1
5757

5858
.. code-block:: bash
5959
6060
conda activate your-environment
61-
python -m pip install --pre -U --no-index -f https://mlc.ai/wheels mlc-ai-nightly-rocm61
61+
python -m pip install --pre -U -f https://mlc.ai/wheels mlc-ai-nightly-rocm61
6262
6363
.. tab:: ROCm 6.2
6464

6565
.. code-block:: bash
6666
6767
conda activate your-environment
68-
python -m pip install --pre -U --no-index -f https://mlc.ai/wheels mlc-ai-nightly-rocm62
68+
python -m pip install --pre -U -f https://mlc.ai/wheels mlc-ai-nightly-rocm62
6969
7070
.. tab:: Vulkan
7171

@@ -88,7 +88,7 @@ A nightly prebuilt Python package of Apache TVM Unity is provided.
8888
.. code-block:: bash
8989
9090
conda activate your-environment
91-
python -m pip install --pre -U --no-index -f https://mlc.ai/wheels mlc-ai-nightly-cpu
91+
python -m pip install --pre -U -f https://mlc.ai/wheels mlc-ai-nightly-cpu
9292
9393
.. note::
9494

@@ -109,7 +109,7 @@ A nightly prebuilt Python package of Apache TVM Unity is provided.
109109
.. code-block:: bash
110110
111111
conda activate your-environment
112-
python -m pip install --pre -U --no-index -f https://mlc.ai/wheels mlc-ai-nightly-cpu
112+
python -m pip install --pre -U -f https://mlc.ai/wheels mlc-ai-nightly-cpu
113113
114114
.. note::
115115
Make sure you also install vulkan loader and clang to avoid vulkan

0 commit comments

Comments
 (0)