Skip to content

Commit 1e55537

Browse files
Merge branch 'mlc-ai:main' into main
2 parents 0e85fc3 + 00f5303 commit 1e55537

File tree

6 files changed

+384
-237
lines changed

6 files changed

+384
-237
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

python/mlc_llm/bench/__main__.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ def _main():
187187
parser.add_argument(
188188
"--dataset-path",
189189
type=str,
190-
required=True,
191190
help="The dataset file path.",
192191
)
193192
parser.add_argument(
@@ -248,6 +247,14 @@ def _main():
248247
"When specified, the benchmark sends these many new requests each second. "
249248
'If it is "inf", all requests will be sent together at once.',
250249
)
250+
parser.add_argument(
251+
"--replay-timestamp-scale",
252+
type=float,
253+
help="The timestamp scale when replaying the timestamps in a dataset. "
254+
'The dataset replay mode is enabled when neither "--num-concurrent-requests" and '
255+
'"--request-rate" is specified. '
256+
"The scale is 1 by default in the replay mode.",
257+
)
251258
parser.add_argument(
252259
"--input-len",
253260
type=int,

0 commit comments

Comments
 (0)