chunk_id large_stringlengths 36 36 | doc_type large_stringclasses 2
values | category large_stringclasses 17
values | document large_stringclasses 50
values | version_raw large_stringclasses 590
values | chunk_index int64 0 262 | text large_stringlengths 11 5.69k | file_path large_stringclasses 882
values |
|---|---|---|---|---|---|---|---|
b4f14469-c833-5969-9e4b-c2e24dc237bc | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc7 | 17 | #### token\_unif\_dist[#](#token-unif-dist "Link to this heading")
Generate synthetic datasets with uniform token distribution
```None
python prepare_dataset.py token_unif_dist [OPTIONS]
```
**Options**
---
| Option | Description |
| --- | --- |
| `--num-requests` | Number of requests to be generated (required) |
... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc7.md |
40fec5a6-ecc8-5ed6-8205-a5ece2e3cfb1 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 0 | # trtllm-bench#
Source: https://nvidia.github.io/TensorRT-LLM/1.2.0rc8/commands/trtllm-bench.html
Version: 1.2.0rc8
trtllm-bench is a comprehensive benchmarking tool for TensorRT LLM engines. It provides three main subcommands for different benchmarking scenarios:
Note
**Non-breaking**: `--config <file.yaml>` is th... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
f725f6af-765e-5f50-a81b-08882d94115b | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 1 | : Path to a Huggingface checkpoint directory for loading model components.
-w, --workspace <workspace>[#](#cmdoption-trtllm-bench-w "Link to this definition")
: The directory to store benchmarking intermediate files.
--log\_level <log\_level>[#](#cmdoption-trtllm-bench-log_level "Link to this definition")
: The... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
8717bd07-3270-56c5-9363-840b7a90ee1c | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 2 | : The backend to use for benchmark. Default is pytorch backend.
Options:
: pytorch | \_autodeploy | tensorrt
--custom\_module\_dirs <custom\_module\_dirs>[#](#cmdoption-trtllm-bench-throughput-custom_module_dirs "Link to this definition")
: Paths to custom module directories to import.
--config, --extr... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
8fc51af3-2a88-525e-9535-bedf67ba72b6 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 3 | --max\_num\_tokens <max\_num\_tokens>[#](#cmdoption-trtllm-bench-throughput-max_num_tokens "Link to this definition")
: Maximum runtime tokens that an engine can accept.
--max\_seq\_len <max\_seq\_len>[#](#cmdoption-trtllm-bench-throughput-max_seq_len "Link to this definition")
: Maximum sequence length.
--beam\_... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
78f846ef-f983-562c-b7a5-1910eeabb307 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 4 | --eos\_id <eos\_id>[#](#cmdoption-trtllm-bench-throughput-eos_id "Link to this definition")
: Set the end-of-sequence token for the benchmark. Set to -1 to disable EOS.
--modality <modality>[#](#cmdoption-trtllm-bench-throughput-modality "Link to this definition")
: Modality of the multimodal requests.
Option... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
82c4461d-877a-5bcf-bed1-85cb83f375f3 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 5 | : Maximum input sequence length to use for multimodal models. This is used only when –modality is specified since the actual number of vision tokens is unknown before the model is run.
--num\_requests <num\_requests>[#](#cmdoption-trtllm-bench-throughput-num_requests "Link to this definition")
: Number of requests... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
ae4ae4ba-0578-5cec-a6b3-7b259c9cac02 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 6 | --pp <pp>[#](#cmdoption-trtllm-bench-throughput-pp "Link to this definition")
: pipeline parallelism size
--ep <ep>[#](#cmdoption-trtllm-bench-throughput-ep "Link to this definition")
: expert parallelism size
--cluster\_size <cluster\_size>[#](#cmdoption-trtllm-bench-throughput-cluster_size "Link to this definit... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
49d456cc-8536-54b7-8d05-9404fa20b131 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 7 | --output\_json <output\_json>[#](#cmdoption-trtllm-bench-throughput-output_json "Link to this definition")
: Path where output should be written to.
--request\_json <request\_json>[#](#cmdoption-trtllm-bench-throughput-request_json "Link to this definition")
: Path where per request information is written to.
--e... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
c3ce930c-22b7-58d6-b3cc-30bc7e1a9dc9 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 8 | #### latency[#](#trtllm-bench-latency "Link to this heading")
Run a latency test on a TRT-LLM engine.
Usage
```None
trtllm-bench latency [OPTIONS]
```
Options
--engine\_dir <engine\_dir>[#](#cmdoption-trtllm-bench-latency-engine_dir "Link to this definition")
: Path to a serialized TRT-LLM engine.
--config, --e... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
87763e80-105e-5f05-b7dd-68f426d4ba00 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 9 | : The percentage of memory to use for KV Cache after model load.
--max\_seq\_len <max\_seq\_len>[#](#cmdoption-trtllm-bench-latency-max_seq_len "Link to this definition")
: Maximum sequence length.
--dataset <dataset>[#](#cmdoption-trtllm-bench-latency-dataset "Link to this definition")
: Pass in a dataset file... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
d730659c-bd12-5ec3-b396-c07849c97d90 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 10 | --warmup <warmup>[#](#cmdoption-trtllm-bench-latency-warmup "Link to this definition")
: Number of requests warm up benchmark.
--tp <tp>[#](#cmdoption-trtllm-bench-latency-tp "Link to this definition")
: tensor parallelism size
--pp <pp>[#](#cmdoption-trtllm-bench-latency-pp "Link to this definition")
: pipelin... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
605399c7-8f9f-5403-9411-178caeb7e6c6 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 11 | --medusa\_choices <medusa\_choices>[#](#cmdoption-trtllm-bench-latency-medusa_choices "Link to this definition")
: Path to a YAML file that defines the Medusa tree.
--report\_json <report\_json>[#](#cmdoption-trtllm-bench-latency-report_json "Link to this definition")
: Path where report should be written to.
--i... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
4cc0cb25-57c1-56b8-be31-0886cf55258e | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 12 | -q, --quantization <quantization>[#](#cmdoption-trtllm-bench-build-q "Link to this definition")
: The quantization algorithm to be used when benchmarking. See the documentations for more information.
- <https://nvidia.github.io/TensorRT-LLM/precision.html> - [NVIDIA/TensorRT-LLM](https://github.com/NVIDIA/TensorR... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
79e2584e-8eab-53bc-9704-3e387a002053 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 13 | : Trust remote code for the HF models that are not natively implemented in the transformers library. This is needed when using LLM API when loading the HF config to build the engine.
--dataset <dataset>[#](#cmdoption-trtllm-bench-build-dataset "Link to this definition")
: Dataset file to extract the sequence stati... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
d1292966-f869-5ba4-9dc2-409e0aad5840 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 14 | : Target (average) sequence length for tuning heuristics.
## Dataset preparation[#](#dataset-preparation "Link to this heading")
### prepare\_dataset.py[#](#prepare-dataset-py "Link to this heading")
trtllm-bench is designed to work with the [prepare\_dataset.py](https://github.com/NVIDIA/TensorRT-LLM/blob/main/be... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
69a32ac5-27c1-5de5-883a-5b848edf3a54 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 15 | #### prepare\_dataset[#](#prepare-dataset "Link to this heading")
```None
python prepare_dataset.py [OPTIONS]
```
**Options**
---
| Option | Description |
| --- | --- |
| `--tokenizer` | Tokenizer directory or HuggingFace model name (required) |
| `--output` | Output JSON filename (default: preprocessed\_dataset.js... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
5c2d30f0-e76b-5255-8c6f-65e9e07cc335 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 16 | | `--max-input-length` | Maximum input sequence length (default: 2048) |
| `--max-output-length` | Maximum output sequence length (default: 512) |
| `--num-samples` | Number of samples to process (default: all) |
| `--format` | Input format: json, jsonl, csv, or txt (default: auto-detect) |
#### token\_norm\_dist[#](#... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
0815f4da-a49b-535a-8221-145570907fca | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 120rc8 | 17 | #### token\_unif\_dist[#](#token-unif-dist "Link to this heading")
Generate synthetic datasets with uniform token distribution
```None
python prepare_dataset.py token_unif_dist [OPTIONS]
```
**Options**
---
| Option | Description |
| --- | --- |
| `--num-requests` | Number of requests to be generated (required) |
... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_120rc8.md |
2fc6930f-f9bb-5de3-8686-6bdfeb463999 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 0 | # trtllm-bench#
Source: https://nvidia.github.io/TensorRT-LLM/1.3.0rc0/commands/trtllm-bench.html
Version: 1.3.0rc0
trtllm-bench is a comprehensive benchmarking tool for TensorRT LLM engines. It provides three main subcommands for different benchmarking scenarios:
Note
**Non-breaking**: `--config <file.yaml>` is th... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
fce7e246-6d4c-5334-aa24-a955afd8bab0 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 1 | : Path to a Huggingface checkpoint directory for loading model components.
-w, --workspace <workspace>[#](#cmdoption-trtllm-bench-w "Link to this definition")
: The directory to store benchmarking intermediate files.
--log\_level <log\_level>[#](#cmdoption-trtllm-bench-log_level "Link to this definition")
: The... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
f3b58484-ede7-54db-9536-3c2fddfdd75b | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 2 | : The backend to use for benchmark. Default is pytorch backend.
Options:
: pytorch | \_autodeploy | tensorrt
--custom\_module\_dirs <custom\_module\_dirs>[#](#cmdoption-trtllm-bench-throughput-custom_module_dirs "Link to this definition")
: Paths to custom module directories to import.
--config, --extr... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
b962ef90-5a7a-50bf-a1b4-5552c574ecf5 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 3 | --max\_num\_tokens <max\_num\_tokens>[#](#cmdoption-trtllm-bench-throughput-max_num_tokens "Link to this definition")
: Maximum runtime tokens that an engine can accept.
--max\_seq\_len <max\_seq\_len>[#](#cmdoption-trtllm-bench-throughput-max_seq_len "Link to this definition")
: Maximum sequence length.
--beam\_... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
c38f56a0-58cd-5e31-9023-c910dde290ad | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 4 | --eos\_id <eos\_id>[#](#cmdoption-trtllm-bench-throughput-eos_id "Link to this definition")
: Set the end-of-sequence token for the benchmark. Set to -1 to disable EOS.
--modality <modality>[#](#cmdoption-trtllm-bench-throughput-modality "Link to this definition")
: Modality of the multimodal requests.
Option... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
818e2dc8-6898-5893-b1e4-39a77e655f80 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 5 | : Maximum input sequence length to use for multimodal models. This is used only when –modality is specified since the actual number of vision tokens is unknown before the model is run.
--num\_requests <num\_requests>[#](#cmdoption-trtllm-bench-throughput-num_requests "Link to this definition")
: Number of requests... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
db5e5d05-04ea-5906-ab19-770c52c8c2ff | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 6 | --pp <pp>[#](#cmdoption-trtllm-bench-throughput-pp "Link to this definition")
: pipeline parallelism size
--ep <ep>[#](#cmdoption-trtllm-bench-throughput-ep "Link to this definition")
: expert parallelism size
--cluster\_size <cluster\_size>[#](#cmdoption-trtllm-bench-throughput-cluster_size "Link to this definit... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
fc5f8db4-5f44-547c-a994-1d99f687a106 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 7 | --output\_json <output\_json>[#](#cmdoption-trtllm-bench-throughput-output_json "Link to this definition")
: Path where output should be written to.
--request\_json <request\_json>[#](#cmdoption-trtllm-bench-throughput-request_json "Link to this definition")
: Path where per request information is written to.
--e... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
03ab0aec-b319-5a37-af7e-a9873f773b36 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 8 | #### latency[#](#trtllm-bench-latency "Link to this heading")
Run a latency test on a TRT-LLM engine.
Usage
```None
trtllm-bench latency [OPTIONS]
```
Options
--engine\_dir <engine\_dir>[#](#cmdoption-trtllm-bench-latency-engine_dir "Link to this definition")
: Path to a serialized TRT-LLM engine.
--config, --e... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
32ba0259-04d1-58fb-9b81-3021d234799a | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 9 | : The percentage of memory to use for KV Cache after model load.
--max\_seq\_len <max\_seq\_len>[#](#cmdoption-trtllm-bench-latency-max_seq_len "Link to this definition")
: Maximum sequence length.
--dataset <dataset>[#](#cmdoption-trtllm-bench-latency-dataset "Link to this definition")
: Pass in a dataset file... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
5537035e-8187-5b9a-bdb9-20bdb58c7556 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 10 | --warmup <warmup>[#](#cmdoption-trtllm-bench-latency-warmup "Link to this definition")
: Number of requests warm up benchmark.
--tp <tp>[#](#cmdoption-trtllm-bench-latency-tp "Link to this definition")
: tensor parallelism size
--pp <pp>[#](#cmdoption-trtllm-bench-latency-pp "Link to this definition")
: pipelin... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
30ccb85c-91c0-5b97-87da-837ef34dc3ed | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 11 | --medusa\_choices <medusa\_choices>[#](#cmdoption-trtllm-bench-latency-medusa_choices "Link to this definition")
: Path to a YAML file that defines the Medusa tree.
--report\_json <report\_json>[#](#cmdoption-trtllm-bench-latency-report_json "Link to this definition")
: Path where report should be written to.
--i... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
0717a9a3-aa05-5c61-9b55-907f8e4cc513 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 12 | -q, --quantization <quantization>[#](#cmdoption-trtllm-bench-build-q "Link to this definition")
: The quantization algorithm to be used when benchmarking. See the documentations for more information.
- <https://nvidia.github.io/TensorRT-LLM/precision.html> - [NVIDIA/TensorRT-LLM](https://github.com/NVIDIA/TensorR... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
add49b25-320e-5aad-860e-35673c2f2372 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 13 | : Trust remote code for the HF models that are not natively implemented in the transformers library. This is needed when using LLM API when loading the HF config to build the engine.
--dataset <dataset>[#](#cmdoption-trtllm-bench-build-dataset "Link to this definition")
: Dataset file to extract the sequence stati... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
ad7a8071-5dd9-514e-9d21-415c3b0c875f | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 14 | : Target (average) sequence length for tuning heuristics.
## Dataset preparation[#](#dataset-preparation "Link to this heading")
### prepare\_dataset.py[#](#prepare-dataset-py "Link to this heading")
trtllm-bench is designed to work with the [prepare\_dataset.py](https://github.com/NVIDIA/TensorRT-LLM/blob/main/be... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
1abad07e-dfbb-5ae9-a389-51469408c0b8 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 15 | #### prepare\_dataset[#](#prepare-dataset "Link to this heading")
```None
python prepare_dataset.py [OPTIONS]
```
**Options**
---
| Option | Description |
| --- | --- |
| `--tokenizer` | Tokenizer directory or HuggingFace model name (required) |
| `--output` | Output JSON filename (default: preprocessed\_dataset.js... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
101c1fc8-d393-50eb-8602-cbfa39d95d63 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 16 | | `--max-input-length` | Maximum input sequence length (default: 2048) |
| `--max-output-length` | Maximum output sequence length (default: 512) |
| `--num-samples` | Number of samples to process (default: all) |
| `--format` | Input format: json, jsonl, csv, or txt (default: auto-detect) |
#### token\_norm\_dist[#](#... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
6bda9e14-e0f3-5de7-8ede-9aacf1103fa6 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc0 | 17 | #### token\_unif\_dist[#](#token-unif-dist "Link to this heading")
Generate synthetic datasets with uniform token distribution
```None
python prepare_dataset.py token_unif_dist [OPTIONS]
```
**Options**
---
| Option | Description |
| --- | --- |
| `--num-requests` | Number of requests to be generated (required) |
... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc0.md |
c28e4615-1b46-5045-aad6-de031fdb800f | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 0 | # trtllm-bench#
Source: https://nvidia.github.io/TensorRT-LLM/1.3.0rc1/commands/trtllm-bench.html
Version: 1.3.0rc1
trtllm-bench is a comprehensive benchmarking tool for TensorRT LLM engines. It provides three main subcommands for different benchmarking scenarios:
Note
**Non-breaking**: `--config <file.yaml>` is th... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
e0ed21f6-7308-53b6-a064-d85a816f775e | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 1 | : Path to a Huggingface checkpoint directory for loading model components.
-w, --workspace <workspace>[#](#cmdoption-trtllm-bench-w "Link to this definition")
: The directory to store benchmarking intermediate files.
--log\_level <log\_level>[#](#cmdoption-trtllm-bench-log_level "Link to this definition")
: The... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
19e4f358-0601-5be6-a8e4-37595a41ac06 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 2 | : The backend to use for benchmark. Default is pytorch backend.
Options:
: pytorch | \_autodeploy | tensorrt
--custom\_module\_dirs <custom\_module\_dirs>[#](#cmdoption-trtllm-bench-throughput-custom_module_dirs "Link to this definition")
: Paths to custom module directories to import.
--config, --extr... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
035c9a52-8b0c-5fd2-9f0e-a0d99c7cbb42 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 3 | --max\_num\_tokens <max\_num\_tokens>[#](#cmdoption-trtllm-bench-throughput-max_num_tokens "Link to this definition")
: Maximum runtime tokens that an engine can accept.
--max\_seq\_len <max\_seq\_len>[#](#cmdoption-trtllm-bench-throughput-max_seq_len "Link to this definition")
: Maximum sequence length.
--beam\_... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
ce436204-cadf-5515-b578-462f9256f353 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 4 | --eos\_id <eos\_id>[#](#cmdoption-trtllm-bench-throughput-eos_id "Link to this definition")
: Set the end-of-sequence token for the benchmark. Set to -1 to disable EOS.
--modality <modality>[#](#cmdoption-trtllm-bench-throughput-modality "Link to this definition")
: Modality of the multimodal requests.
Option... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
94405256-d4d2-557f-a233-acbb025cf34d | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 5 | : Maximum input sequence length to use for multimodal models. This is used only when –modality is specified since the actual number of vision tokens is unknown before the model is run.
--num\_requests <num\_requests>[#](#cmdoption-trtllm-bench-throughput-num_requests "Link to this definition")
: Number of requests... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
fba8b76e-70fd-57a5-a7d7-3f12c4e727d4 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 6 | --pp <pp>[#](#cmdoption-trtllm-bench-throughput-pp "Link to this definition")
: pipeline parallelism size
--ep <ep>[#](#cmdoption-trtllm-bench-throughput-ep "Link to this definition")
: expert parallelism size
--cluster\_size <cluster\_size>[#](#cmdoption-trtllm-bench-throughput-cluster_size "Link to this definit... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
41ef4aa3-a80e-53be-90d8-3e97fb8f30b1 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 7 | --output\_json <output\_json>[#](#cmdoption-trtllm-bench-throughput-output_json "Link to this definition")
: Path where output should be written to.
--request\_json <request\_json>[#](#cmdoption-trtllm-bench-throughput-request_json "Link to this definition")
: Path where per request information is written to.
--e... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
50bd6fdb-9850-5e88-81de-2cf5aa95f0d9 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 8 | #### latency[#](#trtllm-bench-latency "Link to this heading")
Run a latency test on a TRT-LLM engine.
Usage
```None
trtllm-bench latency [OPTIONS]
```
Options
--engine\_dir <engine\_dir>[#](#cmdoption-trtllm-bench-latency-engine_dir "Link to this definition")
: Path to a serialized TRT-LLM engine.
--config, --e... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
e969ac05-7f6f-5bc6-8cbe-2291bafb1890 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 9 | : The percentage of memory to use for KV Cache after model load.
--max\_seq\_len <max\_seq\_len>[#](#cmdoption-trtllm-bench-latency-max_seq_len "Link to this definition")
: Maximum sequence length.
--dataset <dataset>[#](#cmdoption-trtllm-bench-latency-dataset "Link to this definition")
: Pass in a dataset file... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
84533ce2-4c73-5c03-a88b-78dcb2d02e09 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 10 | --warmup <warmup>[#](#cmdoption-trtllm-bench-latency-warmup "Link to this definition")
: Number of requests warm up benchmark.
--tp <tp>[#](#cmdoption-trtllm-bench-latency-tp "Link to this definition")
: tensor parallelism size
--pp <pp>[#](#cmdoption-trtllm-bench-latency-pp "Link to this definition")
: pipelin... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
59d5a2c3-2b08-5814-9120-a0fd622a9c19 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 11 | --medusa\_choices <medusa\_choices>[#](#cmdoption-trtllm-bench-latency-medusa_choices "Link to this definition")
: Path to a YAML file that defines the Medusa tree.
--report\_json <report\_json>[#](#cmdoption-trtllm-bench-latency-report_json "Link to this definition")
: Path where report should be written to.
--i... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
6e435020-e064-52b4-915e-abf226e395c5 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 12 | -q, --quantization <quantization>[#](#cmdoption-trtllm-bench-build-q "Link to this definition")
: The quantization algorithm to be used when benchmarking. See the documentations for more information.
- <https://nvidia.github.io/TensorRT-LLM/precision.html> - [NVIDIA/TensorRT-LLM](https://github.com/NVIDIA/TensorR... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
fc5bafb0-5e7d-5e5a-9b91-4db73c00e49c | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 13 | : Trust remote code for the HF models that are not natively implemented in the transformers library. This is needed when using LLM API when loading the HF config to build the engine.
--dataset <dataset>[#](#cmdoption-trtllm-bench-build-dataset "Link to this definition")
: Dataset file to extract the sequence stati... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
5b3267c6-dd45-5c64-b4fc-871b5a4af530 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 14 | : Target (average) sequence length for tuning heuristics.
## Dataset preparation[#](#dataset-preparation "Link to this heading")
### prepare\_dataset.py[#](#prepare-dataset-py "Link to this heading")
trtllm-bench is designed to work with the [prepare\_dataset.py](https://github.com/NVIDIA/TensorRT-LLM/blob/main/be... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
c3d28710-3277-5b2f-b081-c07835de284a | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 15 | #### prepare\_dataset[#](#prepare-dataset "Link to this heading")
```None
python prepare_dataset.py [OPTIONS]
```
**Options**
---
| Option | Description |
| --- | --- |
| `--tokenizer` | Tokenizer directory or HuggingFace model name (required) |
| `--output` | Output JSON filename (default: preprocessed\_dataset.js... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
44f76894-53d8-5c14-b76d-f56e00fff603 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 16 | | `--max-input-length` | Maximum input sequence length (default: 2048) |
| `--max-output-length` | Maximum output sequence length (default: 512) |
| `--num-samples` | Number of samples to process (default: all) |
| `--format` | Input format: json, jsonl, csv, or txt (default: auto-detect) |
#### token\_norm\_dist[#](#... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
9c4f0b87-210e-508d-baf4-2fd47055c7a3 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc1 | 17 | #### token\_unif\_dist[#](#token-unif-dist "Link to this heading")
Generate synthetic datasets with uniform token distribution
```None
python prepare_dataset.py token_unif_dist [OPTIONS]
```
**Options**
---
| Option | Description |
| --- | --- |
| `--num-requests` | Number of requests to be generated (required) |
... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc1.md |
6c66dc25-daf7-546f-8674-beef8aa5d96e | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 0 | # trtllm-bench#
Source: https://nvidia.github.io/TensorRT-LLM/1.3.0rc2/commands/trtllm-bench.html
Version: 1.3.0rc2
trtllm-bench is a comprehensive benchmarking tool for TensorRT LLM engines. It provides three main subcommands for different benchmarking scenarios:
Note
**Non-breaking**: `--config <file.yaml>` is th... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
d3ad6bce-f7fe-5f47-85b4-8c01d3d28a81 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 1 | : Path to a Huggingface checkpoint directory for loading model components.
-w, --workspace <workspace>[#](#cmdoption-trtllm-bench-w "Link to this definition")
: The directory to store benchmarking intermediate files.
--log\_level <log\_level>[#](#cmdoption-trtllm-bench-log_level "Link to this definition")
: The... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
1977f01f-f652-52fc-978d-d19d3e62235d | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 2 | : The backend to use for benchmark. Default is pytorch backend.
Options:
: pytorch | \_autodeploy | tensorrt
--custom\_module\_dirs <custom\_module\_dirs>[#](#cmdoption-trtllm-bench-throughput-custom_module_dirs "Link to this definition")
: Paths to custom module directories to import.
--config, --extr... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
c573ec7b-dae5-596f-89d8-606fad1a5e6d | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 3 | --max\_num\_tokens <max\_num\_tokens>[#](#cmdoption-trtllm-bench-throughput-max_num_tokens "Link to this definition")
: Maximum runtime tokens that an engine can accept.
--max\_seq\_len <max\_seq\_len>[#](#cmdoption-trtllm-bench-throughput-max_seq_len "Link to this definition")
: Maximum sequence length.
--beam\_... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
093cf821-bfac-57be-a703-6bb78e84f0d9 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 4 | --eos\_id <eos\_id>[#](#cmdoption-trtllm-bench-throughput-eos_id "Link to this definition")
: Set the end-of-sequence token for the benchmark. Set to -1 to disable EOS.
--modality <modality>[#](#cmdoption-trtllm-bench-throughput-modality "Link to this definition")
: Modality of the multimodal requests.
Option... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
b2ede204-db4f-5814-9964-25475b9767fd | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 5 | : Maximum input sequence length to use for multimodal models. This is used only when –modality is specified since the actual number of vision tokens is unknown before the model is run.
--num\_requests <num\_requests>[#](#cmdoption-trtllm-bench-throughput-num_requests "Link to this definition")
: Number of requests... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
f512fc33-8b97-5bab-83a1-a1047b359b9f | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 6 | --pp <pp>[#](#cmdoption-trtllm-bench-throughput-pp "Link to this definition")
: pipeline parallelism size
--ep <ep>[#](#cmdoption-trtllm-bench-throughput-ep "Link to this definition")
: expert parallelism size
--cluster\_size <cluster\_size>[#](#cmdoption-trtllm-bench-throughput-cluster_size "Link to this definit... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
2fbec3bf-eeb1-5b9c-845a-33f32b377109 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 7 | --output\_json <output\_json>[#](#cmdoption-trtllm-bench-throughput-output_json "Link to this definition")
: Path where output should be written to.
--request\_json <request\_json>[#](#cmdoption-trtllm-bench-throughput-request_json "Link to this definition")
: Path where per request information is written to.
--e... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
dc67cdb9-2a1a-53f1-8fb1-699ea49f909b | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 8 | #### latency[#](#trtllm-bench-latency "Link to this heading")
Run a latency test on a TRT-LLM engine.
Usage
```None
trtllm-bench latency [OPTIONS]
```
Options
--engine\_dir <engine\_dir>[#](#cmdoption-trtllm-bench-latency-engine_dir "Link to this definition")
: Path to a serialized TRT-LLM engine.
--config, --e... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
ec04e575-b3da-5e8d-9ee6-98a447d12134 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 9 | : The percentage of memory to use for KV Cache after model load.
--max\_seq\_len <max\_seq\_len>[#](#cmdoption-trtllm-bench-latency-max_seq_len "Link to this definition")
: Maximum sequence length.
--dataset <dataset>[#](#cmdoption-trtllm-bench-latency-dataset "Link to this definition")
: Pass in a dataset file... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
0b0d11ab-82d7-506c-8559-65ad97491488 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 10 | --warmup <warmup>[#](#cmdoption-trtllm-bench-latency-warmup "Link to this definition")
: Number of requests warm up benchmark.
--tp <tp>[#](#cmdoption-trtllm-bench-latency-tp "Link to this definition")
: tensor parallelism size
--pp <pp>[#](#cmdoption-trtllm-bench-latency-pp "Link to this definition")
: pipelin... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
230bdcb0-939e-5d7a-bcb8-b59618baccd7 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 11 | --medusa\_choices <medusa\_choices>[#](#cmdoption-trtllm-bench-latency-medusa_choices "Link to this definition")
: Path to a YAML file that defines the Medusa tree.
--report\_json <report\_json>[#](#cmdoption-trtllm-bench-latency-report_json "Link to this definition")
: Path where report should be written to.
--i... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
b425366d-74be-5c3e-a8b9-8779eded720b | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 12 | -q, --quantization <quantization>[#](#cmdoption-trtllm-bench-build-q "Link to this definition")
: The quantization algorithm to be used when benchmarking. See the documentations for more information.
- <https://nvidia.github.io/TensorRT-LLM/precision.html> - [NVIDIA/TensorRT-LLM](https://github.com/NVIDIA/TensorR... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
60fbee09-7582-52a6-b801-d60b534dbd2f | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 13 | : Trust remote code for the HF models that are not natively implemented in the transformers library. This is needed when using LLM API when loading the HF config to build the engine.
--dataset <dataset>[#](#cmdoption-trtllm-bench-build-dataset "Link to this definition")
: Dataset file to extract the sequence stati... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
deeeb056-9028-5e1c-b397-c4ae695fb782 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 14 | : Target (average) sequence length for tuning heuristics.
## Dataset preparation[#](#dataset-preparation "Link to this heading")
### prepare\_dataset.py[#](#prepare-dataset-py "Link to this heading")
trtllm-bench is designed to work with the [prepare\_dataset.py](https://github.com/NVIDIA/TensorRT-LLM/blob/main/be... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
6725c840-7c40-5ee8-8745-8d6e464f588c | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 15 | #### prepare\_dataset[#](#prepare-dataset "Link to this heading")
```None
python prepare_dataset.py [OPTIONS]
```
**Options**
---
| Option | Description |
| --- | --- |
| `--tokenizer` | Tokenizer directory or HuggingFace model name (required) |
| `--output` | Output JSON filename (default: preprocessed\_dataset.js... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
71cf5aff-7689-5b68-94e5-635dbfc67018 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 16 | | `--max-input-length` | Maximum input sequence length (default: 2048) |
| `--max-output-length` | Maximum output sequence length (default: 512) |
| `--num-samples` | Number of samples to process (default: all) |
| `--format` | Input format: json, jsonl, csv, or txt (default: auto-detect) |
#### token\_norm\_dist[#](#... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
b07ca655-b0a1-54c2-a58e-e0ccf6eda301 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 130rc2 | 17 | #### token\_unif\_dist[#](#token-unif-dist "Link to this heading")
Generate synthetic datasets with uniform token distribution
```None
python prepare_dataset.py token_unif_dist [OPTIONS]
```
**Options**
---
| Option | Description |
| --- | --- |
| `--num-requests` | Number of requests to be generated (required) |
... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_130rc2.md |
e535b8d6-f9bd-5a86-a9dd-29730876c2bb | docs | pandas | pandas_dataframe | 15 | 0 | # pandas.DataFrame#
Source: https://pandas.pydata.org/pandas-docs/version/1.5/reference/api/pandas.DataFrame.html
Version: 1.5
*class* pandas.DataFrame(*data=None*, *index=None*, *columns=None*, *dtype=None*, *copy=None*)[[source]](https://github.com/pandas-dev/pandas/blob/v1.5.2/pandas/core/frame.py#L474-L11993)[#](... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
7b3d023a-3547-5eff-9124-ad746c210421 | docs | pandas | pandas_dataframe | 15 | 1 | which have an index defined, it is aligned by its index.
Changed in version 0.25.0: If data is a list of dicts, column order follows insertion-order.
**index**Index or array-like
: Index to use for resulting frame. Will default to RangeIndex if
no indexing informa... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
e17617ad-8fe8-5771-92ac-656396fb2e44 | docs | pandas | pandas_dataframe | 15 | 2 | If data is a dict containing one or more Series (possibly of different dtypes),
`copy=False` will ensure that these inputs are not copied.
Changed in version 1.3.0.
See also
[`DataFrame.from_records`](pandas.DataFrame.from_records.html#pandas.DataFrame.from_records "pandas... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
fef37a9b-c34d-50c6-90e8-25a1aa154e30 | docs | pandas | pandas_dataframe | 15 | 3 | Please reference the [User Guide](../../user_guide/dsintro.html#basics-dataframe) for more information.
Examples
Constructing DataFrame from a dictionary.
```None
>>> d = {'col1': [1, 2], 'col2': [3, 4]}
>>> df = pd.DataFrame(data=d)
>>> df
col1 col2
0 1 3
1 2 ... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
7e7d50d7-aefa-50bf-b7b5-69bf9403f862 | docs | pandas | pandas_dataframe | 15 | 4 | >>> df2 = pd.DataFrame(np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]),
... columns=['a', 'b', 'c'])
>>> df2
a b c
0 1 2 3
1 4 5 6
2 7 8 9
```
Constructing DataFrame from a numpy ndarray that has labeled columns:
```None
>>> data = np.array([(1,... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
3a7cf8f2-30a4-5fe4-8001-7d696a73d2ef | docs | pandas | pandas_dataframe | 15 | 5 | | [`attrs`](pandas.DataFrame.attrs.html#pandas.DataFrame.attrs "pandas.DataFrame.attrs") | Dictionary of global attributes of this dataset. |
| [`axes`](pandas.DataFrame.axes.html#pandas.DataFrame.axes "pandas.DataFrame.axes") | Return a list representing the axes of the DataFrame. |
| [`columns`](pandas.Da... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
4837a750-5b04-506c-84ad-ba52d858c95d | docs | pandas | pandas_dataframe | 15 | 6 | | [`iloc`](pandas.DataFrame.iloc.html#pandas.DataFrame.iloc "pandas.DataFrame.iloc") | Purely integer-location based indexing for selection by position. |
| [`index`](pandas.DataFrame.index.html#pandas.DataFrame.index "pandas.DataFrame.index") | The index (row labels) of the DataFrame. |
| [`loc`](pandas.Da... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
71a741a9-8af7-50c3-b975-875201d210e6 | docs | pandas | pandas_dataframe | 15 | 7 | | [`style`](pandas.DataFrame.style.html#pandas.DataFrame.style "pandas.DataFrame.style") | Returns a Styler object. |
| [`values`](pandas.DataFrame.values.html#pandas.DataFrame.values "pandas.DataFrame.values") | Return a Numpy representation of the DataFrame. |
| | |
| --- | --- |
| **T** | |
... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
a14a7629-c2dd-5478-bfd3-1ba50f942f07 | docs | pandas | pandas_dataframe | 15 | 8 | | [`add_suffix`](pandas.DataFrame.add_suffix.html#pandas.DataFrame.add_suffix "pandas.DataFrame.add_suffix")(suffix) | Suffix labels with string suffix. |
| [`agg`](pandas.DataFrame.agg.html#pandas.DataFrame.agg "pandas.DataFrame.agg")([func, axis]) | Aggregate using one or more operations over the specified ax... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
54d21300-7d59-55ea-8faa-52b66d1caa86 | docs | pandas | pandas_dataframe | 15 | 9 | | [`any`](pandas.DataFrame.any.html#pandas.DataFrame.any "pandas.DataFrame.any")(\*[, axis, bool\_only, skipna, level]) | Return whether any element is True, potentially over an axis. |
| [`append`](pandas.DataFrame.append.html#pandas.DataFrame.append "pandas.DataFrame.append")(other[, ignore\_index, ...]) | (D... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
07cf5339-aa59-57e5-9ecc-866028bb5820 | docs | pandas | pandas_dataframe | 15 | 10 | | [`asof`](pandas.DataFrame.asof.html#pandas.DataFrame.asof "pandas.DataFrame.asof")(where[, subset]) | Return the last row(s) without any NaNs before where. |
| [`assign`](pandas.DataFrame.assign.html#pandas.DataFrame.assign "pandas.DataFrame.assign")(\*\*kwargs) | Assign new columns to a DataFrame. |
| [`... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
283bd557-6387-5d46-ac48-36a641783128 | docs | pandas | pandas_dataframe | 15 | 11 | | [`between_time`](pandas.DataFrame.between_time.html#pandas.DataFrame.between_time "pandas.DataFrame.between_time")(start\_time, end\_time[, ...]) | Select values between particular times of the day (e.g., 9:00-9:30 AM). |
| [`bfill`](pandas.DataFrame.bfill.html#pandas.DataFrame.bfill "pandas.DataFrame.bfill")... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
a24cbdcc-3f4c-5863-917a-ec82ff762df7 | docs | pandas | pandas_dataframe | 15 | 12 | | [`combine`](pandas.DataFrame.combine.html#pandas.DataFrame.combine "pandas.DataFrame.combine")(other, func[, fill\_value, overwrite]) | Perform column-wise combine with another DataFrame. |
| [`combine_first`](pandas.DataFrame.combine_first.html#pandas.DataFrame.combine_first "pandas.DataFrame.combine_first")... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
83569dfd-be64-54b8-9c10-bd53316fddf6 | docs | pandas | pandas_dataframe | 15 | 13 | | [`corr`](pandas.DataFrame.corr.html#pandas.DataFrame.corr "pandas.DataFrame.corr")([method, min\_periods, numeric\_only]) | Compute pairwise correlation of columns, excluding NA/null values. |
| [`corrwith`](pandas.DataFrame.corrwith.html#pandas.DataFrame.corrwith "pandas.DataFrame.corrwith")(other[, axis, dr... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
ed96b899-24dc-5377-ba2b-e2db404fbcc2 | docs | pandas | pandas_dataframe | 15 | 14 | | [`cummin`](pandas.DataFrame.cummin.html#pandas.DataFrame.cummin "pandas.DataFrame.cummin")([axis, skipna]) | Return cumulative minimum over a DataFrame or Series axis. |
| [`cumprod`](pandas.DataFrame.cumprod.html#pandas.DataFrame.cumprod "pandas.DataFrame.cumprod")([axis, skipna]) | Return cumulative product... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
18bed4be-5785-5cdf-bd9c-29a107ade1c2 | docs | pandas | pandas_dataframe | 15 | 15 | | [`div`](pandas.DataFrame.div.html#pandas.DataFrame.div "pandas.DataFrame.div")(other[, axis, level, fill\_value]) | Get Floating division of dataframe and other, element-wise (binary operator truediv). |
| [`divide`](pandas.DataFrame.divide.html#pandas.DataFrame.divide "pandas.DataFrame.divide")(other[, axis,... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
ad76c066-2c02-5d2e-a9b1-3943bf2ebc92 | docs | pandas | pandas_dataframe | 15 | 16 | | [`droplevel`](pandas.DataFrame.droplevel.html#pandas.DataFrame.droplevel "pandas.DataFrame.droplevel")(level[, axis]) | Return Series/DataFrame with requested index / column level(s) removed. |
| [`dropna`](pandas.DataFrame.dropna.html#pandas.DataFrame.dropna "pandas.DataFrame.dropna")(\*[, axis, how, thresh,... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
5e4ba5ab-d49c-5080-aeb6-f949814e53da | docs | pandas | pandas_dataframe | 15 | 17 | | [`eval`](pandas.DataFrame.eval.html#pandas.DataFrame.eval "pandas.DataFrame.eval")(expr, \*[, inplace]) | Evaluate a string describing operations on DataFrame columns. |
| [`ewm`](pandas.DataFrame.ewm.html#pandas.DataFrame.ewm "pandas.DataFrame.ewm")([com, span, halflife, alpha, ...]) | Provide exponentially ... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
545eab15-ccee-5424-a5a3-bc251c4cb5de | docs | pandas | pandas_dataframe | 15 | 18 | | [`fillna`](pandas.DataFrame.fillna.html#pandas.DataFrame.fillna "pandas.DataFrame.fillna")([value, method, axis, inplace, ...]) | Fill NA/NaN values using the specified method. |
| [`filter`](pandas.DataFrame.filter.html#pandas.DataFrame.filter "pandas.DataFrame.filter")([items, like, regex, axis]) | Subset t... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
b51ffa5e-8e8f-5c0a-bc21-479d736780e0 | docs | pandas | pandas_dataframe | 15 | 19 | | [`from_dict`](pandas.DataFrame.from_dict.html#pandas.DataFrame.from_dict "pandas.DataFrame.from_dict")(data[, orient, dtype, columns]) | Construct DataFrame from dict of array-like or dicts. |
| [`from_records`](pandas.DataFrame.from_records.html#pandas.DataFrame.from_records "pandas.DataFrame.from_records")(... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
435afcde-7c4c-573f-beef-aa7e382c1e25 | docs | pandas | pandas_dataframe | 15 | 20 | | [`gt`](pandas.DataFrame.gt.html#pandas.DataFrame.gt "pandas.DataFrame.gt")(other[, axis, level]) | Get Greater than of dataframe and other, element-wise (binary operator gt). |
| [`head`](pandas.DataFrame.head.html#pandas.DataFrame.head "pandas.DataFrame.head")([n]) | Return the first n rows. |
| [`hist`]... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
a58b831b-2648-57a7-b61e-673c827ae04e | docs | pandas | pandas_dataframe | 15 | 21 | | [`infer_objects`](pandas.DataFrame.infer_objects.html#pandas.DataFrame.infer_objects "pandas.DataFrame.infer_objects")() | Attempt to infer better dtypes for object columns. |
| [`info`](pandas.DataFrame.info.html#pandas.DataFrame.info "pandas.DataFrame.info")([verbose, buf, max\_cols, memory\_usage, ...]) | ... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
2b9c35e9-86ef-5d4f-a5e4-fb63b642ea66 | docs | pandas | pandas_dataframe | 15 | 22 | | [`isin`](pandas.DataFrame.isin.html#pandas.DataFrame.isin "pandas.DataFrame.isin")(values) | Whether each element in the DataFrame is contained in values. |
| [`isna`](pandas.DataFrame.isna.html#pandas.DataFrame.isna "pandas.DataFrame.isna")() | Detect missing values. |
| [`isnull`](pandas.DataFrame.isnul... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
0648defd-c4e6-5075-8462-631e528036da | docs | pandas | pandas_dataframe | 15 | 23 | | [`itertuples`](pandas.DataFrame.itertuples.html#pandas.DataFrame.itertuples "pandas.DataFrame.itertuples")([index, name]) | Iterate over DataFrame rows as namedtuples. |
| [`join`](pandas.DataFrame.join.html#pandas.DataFrame.join "pandas.DataFrame.join")(other[, on, how, lsuffix, rsuffix, ...]) | Join columns... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
41434d19-b12a-59a7-872f-148b5c2f98c2 | docs | pandas | pandas_dataframe | 15 | 24 | | [`last_valid_index`](pandas.DataFrame.last_valid_index.html#pandas.DataFrame.last_valid_index "pandas.DataFrame.last_valid_index")() | Return index for last non-NA value or None, if no non-NA value is found. |
| [`le`](pandas.DataFrame.le.html#pandas.DataFrame.le "pandas.DataFrame.le")(other[, axis, level]) |... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
23279ba9-3f2f-5541-8a88-cea56e8f1619 | docs | pandas | pandas_dataframe | 15 | 25 | | [`mask`](pandas.DataFrame.mask.html#pandas.DataFrame.mask "pandas.DataFrame.mask")(cond[, other, inplace, axis, level, ...]) | Replace values where the condition is True. |
| [`max`](pandas.DataFrame.max.html#pandas.DataFrame.max "pandas.DataFrame.max")([axis, skipna, level, numeric\_only]) | Return the maxim... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
a4ba5acb-71d0-561c-9059-0eb9d7c94dab | docs | pandas | pandas_dataframe | 15 | 26 | | [`memory_usage`](pandas.DataFrame.memory_usage.html#pandas.DataFrame.memory_usage "pandas.DataFrame.memory_usage")([index, deep]) | Return the memory usage of each column in bytes. |
| [`merge`](pandas.DataFrame.merge.html#pandas.DataFrame.merge "pandas.DataFrame.merge")(right[, how, on, left\_on, right\_on, ... | large_dataset/raw/docs/pandas/dataframe/dataframe_15.md |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.