vLLM with Intel® Gaudi® AI Accelerators - Gaudi Software Suite 1.19.0
Requirements and Installation
Please follow the instructions provided in the Gaudi Installation Guide to set up the execution environment. To achieve the best performance, please follow the methods outlined in the Optimizing Training Platform Guide.
Requirements
- Ubuntu 22.04 LTS OS
- Python 3.10
- Intel Gaudi accelerator
- Intel Gaudi software version 1.19.0 and above
Quick Start Using Dockerfile
Set up the container with latest release of Gaudi Software Suite using the Dockerfile:
$ docker build -f Dockerfile.hpu -t vllm-hpu-env .
$ docker run -it --runtime=habana -e HABANA_VISIBLE_DEVICES=all -e OMPI_MCA_btl_vader_single_copy_mechanism=none --cap-add=sys_nice --net=host --rm vllm-hpu-env
Tip
If you are facing the following error: docker: Error response from daemon: Unknown runtime specified habana.
, please refer to "Install Optional Packages" section of Install Driver and Software and "Configure Container Runtime" section of Docker Installation. Make sure you have habanalabs-container-runtime
package installed and that habana
container runtime is registered.
Build from Source
Environment Verification
To verify that the Intel Gaudi software was correctly installed, run the following:
$ hl-smi # verify that hl-smi is in your PATH and each Gaudi accelerator is visible
$ apt list --installed | grep habana # verify that habanalabs-firmware-tools, habanalabs-graph, habanalabs-rdma-core, habanalabs-thunk and habanalabs-container-runtime are installed
$ pip list | grep habana # verify that habana-torch-plugin, habana-torch-dataloader, habana-pyhlml and habana-media-loader are installed
$ pip list | grep neural # verify that neural-compressor is installed
Refer to System Verification and Final Tests for more details.
Run Docker Image
It is highly recommended to use the latest Docker image from Intel Gaudi vault. Refer to the Intel Gaudi documentation for more details.
Use the following commands to run a Docker image. Make sure to update the versions below as listed in the Support Matrix:
$ docker pull vault.habana.ai/gaudi-docker/1.19.0/ubuntu22.04/habanalabs/pytorch-installer-2.5.1:latest
$ docker run -it --runtime=habana -e HABANA_VISIBLE_DEVICES=all -e OMPI_MCA_btl_vader_single_copy_mechanism=none --cap-add=sys_nice --net=host --ipc=host vault.habana.ai/gaudi-docker/1.19.0/ubuntu22.04/habanalabs/pytorch-installer-2.5.1:latest
Build and Install vLLM
Currently, multiple ways are provided which can be used to install vLLM with Intel® Gaudi®, pick one option:
1. Build and Install the stable version
vLLM releases are being performed periodically to align with Intel® Gaudi® software releases. The stable version is released with a tag, and supports fully validated features and performance optimizations in Gaudi's vLLM-fork. To install the stable release from HabanaAI/vLLM-fork, run the following:
$ git clone https://github.com/HabanaAI/vllm-fork.git
$ cd vllm-fork
$ git checkout v0.6.4.post2+Gaudi-1.19.0
$ pip install -r requirements-hpu.txt
$ python setup.py develop
2. Build and Install the latest from vLLM-fork
Currently, the latest features and performance optimizations are being developed in Gaudi's vLLM-fork and periodically upstreamed to vLLM main repository. To install latest HabanaAI/vLLM-fork, run the following:
$ git clone https://github.com/HabanaAI/vllm-fork.git
$ cd vllm-fork
$ git checkout habana_main
$ pip install -r requirements-hpu.txt
$ python setup.py develop
3. Build and Install from vLLM main source
If you prefer to build and install directly from the main vLLM source, where periodically we are upstreaming new features, run the following:
$ git clone https://github.com/vllm-project/vllm.git
$ cd vllm
$ pip install -r requirements-hpu.txt
$ python setup.py develop
Supported Features
Feature | Description | References |
---|---|---|
Offline batched inference | Offline inference using LLM class from vLLM Python API | Quickstart Example |
Online inference via OpenAI-Compatible Server | Online inference using HTTP server that implements OpenAI Chat and Completions API | Documentation Example |
HPU autodetection | HPU users do not need to specify the target platform, it will be detected automatically upon vLLM startup | N/A |
Paged KV cache with algorithms enabled for Intel Gaudi accelerators | vLLM HPU backend contains a custom Paged Attention and cache operators implementations optimized for Gaudi devices. | N/A |
Custom Intel Gaudi operator implementations | vLLM HPU backend provides optimized implementations of operators such as prefill attention, Root Mean Square Layer Normalization, Rotary Positional Encoding. | N/A |
Tensor parallel inference (single-node multi-HPU) | vLLM HPU backend support multi-HPU inference across a single node with tensor parallelism with Ray and HCCL. | Documentation Example HCCL reference |
Inference with HPU Graphs | vLLM HPU backend uses HPU Graphs by default for optimal performance. When HPU Graphs are enabled, execution graphs will be recorded ahead of time, to be later replayed during inference, significantly reducing host overheads. | Documentation vLLM HPU backend execution modes Optimization guide |
Inference with torch.compile (experimental) | vLLM HPU backend experimentally supports inference with torch.compile. | vLLM HPU backend execution modes |
Attention with Linear Biases (ALiBi) | vLLM HPU backend supports models utilizing Attention with Linear Biases (ALiBi) such as mpt-7b. | vLLM supported models |
INC quantization | vLLM HPU backend supports FP8 model and KV cache quantization and calibration with Intel Neural Compressor (INC). | Documentation |
LoRA/MultiLoRA support | vLLM HPU backend includes support for LoRA and MultiLoRA on supported models. | Documentation Example vLLM supported models |
Multi-step scheduling support | vLLM HPU backend includes multi-step scheduling support for host overhead reduction, configurable by standard --num-scheduler-seqs parameter. |
Feature RFC |
Automatic prefix caching (experimental) | vLLM HPU backend includes automatic prefix caching (APC) support for more efficient prefills, configurable by standard --enable-prefix-caching parameter. |
Documentation Details |
Speculative decoding (experimental) | vLLM HPU backend includes experimental speculative decoding support for improving inter-token latency in some scenarios, configurabie via standard --speculative_model and --num_speculative_tokens parameters. |
Documentation Example |
Unsupported Features
- Beam search
- AWQ quantization
- Prefill chunking (mixed-batch inferencing)
Supported Configurations
The following configurations have been validated to be function with Gaudi2 devices. Configurations that are not listed may or may not work.
- meta-llama/Llama-2-7b on single HPU, or with tensor parallelism on 2x and 8x HPU, BF16 datatype with random or greedy sampling
- meta-llama/Llama-2-7b-chat-hf on single HPU, or with tensor parallelism on 2x and 8x HPU, BF16 datatype with random or greedy sampling
- meta-llama/Meta-Llama-3-8B on single HPU, or with tensor parallelism on 2x and 8x HPU, BF16 datatype with random or greedy sampling
- meta-llama/Meta-Llama-3-8B-Instruct on single HPU, or with tensor parallelism on 2x and 8x HPU, BF16 datatype with random or greedy sampling
- meta-llama/Meta-Llama-3.1-8B on single HPU, or with tensor parallelism on 2x and 8x HPU, BF16 datatype with random or greedy sampling
- meta-llama/Meta-Llama-3.1-8B-Instruct on single HPU, or with tensor parallelism on 2x and 8x HPU, BF16 datatype with random or greedy sampling
- meta-llama/Llama-2-70b with tensor parallelism on 8x HPU, BF16 datatype with random or greedy sampling
- meta-llama/Llama-2-70b-chat-hf with tensor parallelism on 8x HPU, BF16 datatype with random or greedy sampling
- meta-llama/Meta-Llama-3-70B with tensor parallelism on 8x HPU, BF16 datatype with random or greedy sampling
- meta-llama/Meta-Llama-3-70B-Instruct with tensor parallelism on 8x HPU, BF16 datatype with random or greedy sampling
- meta-llama/Meta-Llama-3.1-70B with tensor parallelism on 8x HPU, BF16 datatype with random or greedy sampling
- meta-llama/Meta-Llama-3.1-70B-Instruct with tensor parallelism on 8x HPU, BF16 datatype with random or greedy sampling
- mistralai/Mistral-7B-Instruct-v0.3 on single HPU or with tensor parallelism on 2x HPU, BF16 datatype with random or greedy sampling
- mistralai/Mixtral-8x7B-Instruct-v0.1 with tensor parallelism on 2x HPU, BF16 datatype with random or greedy sampling
Performance Tuning
Execution Modes
Currently in vLLM for HPU we support four execution modes, depending on selected HPU PyTorch Bridge backend (via PT_HPU_LAZY_MODE
environment variable), and --enforce-eager
flag.
PT_HPU_LAZY_MODE |
enforce_eager |
Execution Mode |
---|---|---|
0 | 0 | torch.compile |
0 | 1 | PyTorch eager mode |
1 | 0 | HPU Graphs |
1 | 1 | PyTorch lazy mode |
Warning
All modes using PT_HPU_LAZY_MODE=0 are experimental and should only be used for validating functional correctness. To achieve the best performance, use HPU Graphs or PyTorch Lazy Mode. Performance improvements are planned for future releases.
Bucketing Mechanism
Intel Gaudi accelerators perform best when operating on models with fixed tensor shapes. Intel Gaudi Graph Compiler generates optimized binary code that implements the given model topology on Gaudi. In its default configuration, the produced binary code may be highly dependent on input and output tensor shapes, requiring graph recompilation when encountering tensors with different shapes within the same topology. While these binaries efficiently utilize Gaudi, the compilation process itself can introduce noticeable overhead in end-to-end execution. In dynamic inference serving scenarios, it is important to minimize the number of graph compilations and reduce the risk of graph compilation occurring during server runtime. Currently, this is achieved by "bucketing" the model's forward pass across two dimensions: batch_size
and sequence_length
.
Note
Bucketing helps significantly reduce the number of required graphs, but it does not handle graph compilation or device code generation. These tasks are performed during the warmup and HPUGraph capture phase.
Bucketing ranges are determined with 3 parameters - min
, step
and max
. They can be set separately for prompt and decode phase, and for batch size and sequence length dimension. These parameters can be observed in logs during vLLM startup:
INFO 08-01 21:37:59 hpu_model_runner.py:493] Prompt bucket config (min, step, max_warmup) bs:[1, 32, 4], seq:[128, 128, 1024]
INFO 08-01 21:37:59 hpu_model_runner.py:499] Generated 24 prompt buckets: [(1, 128), (1, 256), (1, 384), (1, 512), (1, 640), (1, 768), (1, 896), (1, 1024), (2, 128), (2, 256), (2, 384), (2, 512), (2, 640), (2, 768), (2, 896), (2, 1024), (4, 128), (4, 256), (4, 384), (4, 512), (4, 640), (4, 768), (4, 896), (4, 1024)]
INFO 08-01 21:37:59 hpu_model_runner.py:504] Decode bucket config (min, step, max_warmup) bs:[1, 128, 4], seq:[128, 128, 2048]
INFO 08-01 21:37:59 hpu_model_runner.py:509] Generated 48 decode buckets: [(1, 128), (1, 256), (1, 384), (1, 512), (1, 640), (1, 768), (1, 896), (1, 1024), (1, 1152), (1, 1280), (1, 1408), (1, 1536), (1, 1664), (1, 1792), (1, 1920), (1, 2048), (2, 128), (2, 256), (2, 384), (2, 512), (2, 640), (2, 768), (2, 896), (2, 1024), (2, 1152), (2, 1280), (2, 1408), (2, 1536), (2, 1664), (2, 1792), (2, 1920), (2, 2048), (4, 128), (4, 256), (4, 384), (4, 512), (4, 640), (4, 768), (4, 896), (4, 1024), (4, 1152), (4, 1280), (4, 1408), (4, 1536), (4, 1664), (4, 1792), (4, 1920), (4, 2048)]
min
determines the lowest value of the bucket. step
determines the interval between buckets, and max
determines the upper bound of the bucket. Furthermore, interval between min
and step
has special handling - min
gets multiplied by consecutive powers of two, until step
gets reached. We call this the ramp-up phase and it is used for handling lower batch sizes with minimum wastage, while allowing larger padding on larger batch sizes.
Example with ramp-up
min = 2, step = 32, max = 64
=> ramp_up = (2, 4, 8, 16)
=> stable = (32, 64)
=> buckets = ramp_up + stable => (2, 4, 8, 16, 32, 64)
Example without ramp-up
min = 128, step = 128, max = 512
=> ramp_up = ()
=> stable = (128, 256, 384, 512)
=> buckets = ramp_up + stable => (128, 256, 384, 512)
In the logged scenario, 24 buckets were generated for prompt (prefill) runs, and 48 buckets for decode runs. Each bucket corresponds to a separate optimized device binary for a given model with specified tensor shapes. Whenever a batch of requests is processed, it is padded across batch and sequence length dimension to the smallest possible bucket.
Warning
If a request exceeds the maximum bucket size in any dimension, it will be processed without padding, and its processing may require a graph compilation, potentially significantly increasing end-to-end latency. The boundaries of the buckets are user-configurable via environment variables, and upper bucket boundaries can be increased to avoid such scenario.
For example, if a request with 3 sequences, each having a maximum sequence length of 412, is sent to an idle vLLM server, it will be padded and executed as a (4, 512)
prefill bucket. This is because the batch_size
(number of sequences) will be padded to 4 (the nearest batch size dimension higher than 3), and the maximum sequence length will be padded to 512 (the nearest sequence length dimension higher than 412). After the prefill stage, it will be executed as a (4, 512)
decode bucket and will remain in this bucket until either the batch dimension changes (e.g., due to a request being completed), in which case it will become a (2, 512)
bucket, or the context length increases beyond 512 tokens, at which point it will become a (4, 640)
bucket.
Note
Bucketing is transparent to the user – padding in the sequence length dimension is never returned, and padding in the batch dimension does not create new requests.
Warmup
Warmup is an optional but highly recommended step that occurs before the vLLM server starts listening. It executes a forward pass for each bucket using dummy data. The goal is to pre-compile all graphs and avoid any graph compilation overhead within bucket boundaries during server runtime. Each warmup step is logged during vLLM startup.
This example uses the same buckets as those in the Bucketing Mechanism section. Each output line corresponds to the execution of a single bucket. When a bucket is executed for the first time, its graph is compiled and can be reused later, avoiding further graph compilations.
INFO 08-01 22:26:47 hpu_model_runner.py:1066] [Warmup][Prompt][1/24] batch_size:4 seq_len:1024 free_mem:79.16 GiB
INFO 08-01 22:26:47 hpu_model_runner.py:1066] [Warmup][Prompt][2/24] batch_size:4 seq_len:896 free_mem:55.43 GiB
INFO 08-01 22:26:48 hpu_model_runner.py:1066] [Warmup][Prompt][3/24] batch_size:4 seq_len:768 free_mem:55.43 GiB
...
INFO 08-01 22:26:59 hpu_model_runner.py:1066] [Warmup][Prompt][24/24] batch_size:1 seq_len:128 free_mem:55.43 GiB
INFO 08-01 22:27:00 hpu_model_runner.py:1066] [Warmup][Decode][1/48] batch_size:4 seq_len:2048 free_mem:55.43 GiB
INFO 08-01 22:27:00 hpu_model_runner.py:1066] [Warmup][Decode][2/48] batch_size:4 seq_len:1920 free_mem:55.43 GiB
INFO 08-01 22:27:01 hpu_model_runner.py:1066] [Warmup][Decode][3/48] batch_size:4 seq_len:1792 free_mem:55.43 GiB
...
INFO 08-01 22:27:16 hpu_model_runner.py:1066] [Warmup][Decode][47/48] batch_size:2 seq_len:128 free_mem:55.43 GiB
INFO 08-01 22:27:16 hpu_model_runner.py:1066] [Warmup][Decode][48/48] batch_size:1 seq_len:128 free_mem:55.43 GiB
Tip
Compiling all the buckets may take some time and can be disabled by setting the VLLM_SKIP_WARMUP=true environment variable. Keep in mind that if you do this, you may encounter graph compilations when executing a given bucket for the first time. Disabling warmup is fine for development, but it is highly recommended to enable it in deployment.
HPU Graph Capture
HPU Graphs are currently the most performant execution method of vLLM on Intel Gaudi. When HPU Graphs are enabled, execution graphs will be traced (recorded) ahead of time (after performing warmup), to be later replayed during inference, significantly reducing host overheads. Recording can take large amounts of memory, which needs to be taken into account when allocating KV cache. Enabling HPU Graphs will impact the number of available KV cache blocks, but vLLM provides user-configurable variables to control memory management.
When HPU Graphs are used, they share the common memory pool ("usable memory") with the KV cache, as determined by the gpu_memory_utilization
flag (default value is 0.9
). Before the KV cache is allocated, the model weights are loaded onto the device, and a forward pass of the model is executed on dummy data to estimate memory usage. Only after that, the gpu_memory_utilization
flag is applied. At its default value, it marks 90% of the free device memory at that point as usable. Next, the KV cache is allocated, the model is warmed up, and HPU Graphs are captured. The VLLM_GRAPH_RESERVED_MEM
environment variable defines the ratio of memory reserved for HPU Graph capture. With its default value (VLLM_GRAPH_RESERVED_MEM=0.1
), 10% of the usable memory will be reserved for graph capture (referred to as "usable graph memory"), and the remaining 90% will be used for the KV cache. The environment variable VLLM_GRAPH_PROMPT_RATIO
determines the ratio of usable graph memory reserved for prefill and decode graphs. By default (VLLM_GRAPH_PROMPT_RATIO=0.3
), both stages share equal memory constraints. A lower value corresponds to less usable graph memory reserved for the prefill stage. For example, setting VLLM_GRAPH_PROMPT_RATIO=0.2
reserves 20% of usable graph memory for prefill graphs, while 80% is allocated for decode graphs.
Note
gpu_memory_utilization
does not represent the absolute memory usage across the HPU. Instead, it specifies the memory margin after loading the model and running a profile. For example, if a device has 100 GiB of total memory and 50 GiB of free memory after loading the model weights and executing the profiling run, the default value of gpu_memory_utilization
will mark 90% of the 50 GiB as usable, leaving 5 GiB as a margin, regardless of the total device memory.
You can also configure the strategy for capturing HPU graphs separately for the prompt and decode stages. The strategy affects the order in which graphs are captured. Two strategies are implemented:
max_bs
- The graph capture queue is sorted in descending order by batch size. Buckets with equal batch sizes are sorted by sequence length in an ascending order (e.g.,(64, 128)
,(64, 256)
,(32, 128)
,(32, 256)
,(1, 128)
,(1,256)
), which is the default strategy for decode.min_tokens
- The graph capture queue is sorted in an ascending order by the number of tokens each graph processes (batch_size*sequence_length
), which is the default strategy for prompt.
When a large number of requests are pending, the vLLM scheduler attempts to fill the maximum batch size for decoding as quickly as possible. Once a request is finished, the decode batch size decreases. When this happens, vLLM attempts to schedule a prefill iteration for requests in the waiting queue to restore the decode batch size to its previous state. In a fully loaded scenario, the decode batch size is often at its maximum, making large-batch HPU graphs critical to capture, as indicated by the max_bs
strategy. Conversely, prefill iterations will typically be executed with very low batch sizes (1-4), as reflected in the min_tokens
strategy.
Note
VLLM_GRAPH_PROMPT_RATIO
does not set a hard limit on the memory allocated for graphs in each stage (prefill and decode). vLLM first attempts to use the entire usable prefill graph memory (usable graph memory * VLLM_GRAPH_PROMPT_RATIO) for capturing prefill HPU Graphs. It will then attempt to do the same for decode graphs and the usable decode graph memory pool. If one stage is fully captured and there is unused memory remaining in the usable graph memory pool, vLLM will attempt to capture more graphs for the other stage, until no more HPU Graphs can be captured without exceeding the reserved memory pool. The behavior of this mechanism is illustrated in the example below.
Each step outlined is logged by the vLLM server, with negative values indicating memory release:
INFO 08-02 17:37:44 hpu_model_runner.py:493] Prompt bucket config (min, step, max_warmup) bs:[1, 32, 4], seq:[128, 128, 1024]
INFO 08-02 17:37:44 hpu_model_runner.py:499] Generated 24 prompt buckets: [(1, 128), (1, 256), (1, 384), (1, 512), (1, 640), (1, 768), (1, 896), (1, 1024), (2, 128), (2, 256), (2, 384), (2, 512), (2, 640), (2, 768), (2, 896), (2, 1024), (4, 128), (4, 256), (4, 384), (4, 512), (4, 640), (4, 768), (4, 896), (4, 1024)]
INFO 08-02 17:37:44 hpu_model_runner.py:504] Decode bucket config (min, step, max_warmup) bs:[1, 128, 4], seq:[128, 128, 2048]
INFO 08-02 17:37:44 hpu_model_runner.py:509] Generated 48 decode buckets: [(1, 128), (1, 256), (1, 384), (1, 512), (1, 640), (1, 768), (1, 896), (1, 1024), (1, 1152), (1, 1280), (1, 1408), (1, 1536), (1, 1664), (1, 1792), (1, 1920), (1, 2048), (2, 128), (2, 256), (2, 384), (2, 512), (2, 640), (2, 768), (2, 896), (2, 1024), (2, 1152), (2, 1280), (2, 1408), (2, 1536), (2, 1664), (2, 1792), (2, 1920), (2, 2048), (4, 128), (4, 256), (4, 384), (4, 512), (4, 640), (4, 768), (4, 896), (4, 1024), (4, 1152), (4, 1280), (4, 1408), (4, 1536), (4, 1664), (4, 1792), (4, 1920), (4, 2048)]
INFO 08-02 17:37:52 hpu_model_runner.py:430] Pre-loading model weights on hpu:0 took 14.97 GiB of device memory (14.97 GiB/94.62 GiB used) and 2.95 GiB of host memory (475.2 GiB/1007 GiB used)
INFO 08-02 17:37:52 hpu_model_runner.py:438] Wrapping in HPU Graph took 0 B of device memory (14.97 GiB/94.62 GiB used) and -252 KiB of host memory (475.2 GiB/1007 GiB used)
INFO 08-02 17:37:52 hpu_model_runner.py:442] Loading model weights took in total 14.97 GiB of device memory (14.97 GiB/94.62 GiB used) and 2.95 GiB of host memory (475.2 GiB/1007 GiB used)
INFO 08-02 17:37:54 hpu_worker.py:134] Model profiling run took 504 MiB of device memory (15.46 GiB/94.62 GiB used) and 180.9 MiB of host memory (475.4 GiB/1007 GiB used)
INFO 08-02 17:37:54 hpu_worker.py:158] Free device memory: 79.16 GiB, 39.58 GiB usable (gpu_memory_utilization=0.5), 15.83 GiB reserved for HPUGraphs (VLLM_GRAPH_RESERVED_MEM=0.4), 23.75 GiB reserved for KV cache
INFO 08-02 17:37:54 hpu_executor.py:85] # HPU blocks: 1519, # CPU blocks: 0
INFO 08-02 17:37:54 hpu_worker.py:190] Initializing cache engine took 23.73 GiB of device memory (39.2 GiB/94.62 GiB used) and -1.238 MiB of host memory (475.4 GiB/1007 GiB used)
INFO 08-02 17:37:54 hpu_model_runner.py:1066] [Warmup][Prompt][1/24] batch_size:4 seq_len:1024 free_mem:55.43 GiB
...
INFO 08-02 17:38:22 hpu_model_runner.py:1066] [Warmup][Decode][48/48] batch_size:1 seq_len:128 free_mem:55.43 GiB
INFO 08-02 17:38:22 hpu_model_runner.py:1159] Using 15.85 GiB/55.43 GiB of free device memory for HPUGraphs, 4.755 GiB for prompt and 11.095 GiB for decode (VLLM_GRAPH_PROMPT_RATIO=0.3)
INFO 08-02 17:38:22 hpu_model_runner.py:1066] [Warmup][Graph/Prompt][1/24] batch_size:1 seq_len:128 free_mem:55.43 GiB
...
INFO 08-02 17:38:26 hpu_model_runner.py:1066] [Warmup][Graph/Prompt][11/24] batch_size:1 seq_len:896 free_mem:48.77 GiB
INFO 08-02 17:38:27 hpu_model_runner.py:1066] [Warmup][Graph/Decode][1/48] batch_size:4 seq_len:128 free_mem:47.51 GiB
...
INFO 08-02 17:38:41 hpu_model_runner.py:1066] [Warmup][Graph/Decode][48/48] batch_size:1 seq_len:2048 free_mem:47.35 GiB
INFO 08-02 17:38:41 hpu_model_runner.py:1066] [Warmup][Graph/Prompt][12/24] batch_size:4 seq_len:256 free_mem:47.35 GiB
INFO 08-02 17:38:42 hpu_model_runner.py:1066] [Warmup][Graph/Prompt][13/24] batch_size:2 seq_len:512 free_mem:45.91 GiB
INFO 08-02 17:38:42 hpu_model_runner.py:1066] [Warmup][Graph/Prompt][14/24] batch_size:1 seq_len:1024 free_mem:44.48 GiB
INFO 08-02 17:38:43 hpu_model_runner.py:1066] [Warmup][Graph/Prompt][15/24] batch_size:2 seq_len:640 free_mem:43.03 GiB
INFO 08-02 17:38:43 hpu_model_runner.py:1128] Graph/Prompt captured:15 (62.5%) used_mem:14.03 GiB buckets:[(1, 128), (1, 256), (1, 384), (1, 512), (1, 640), (1, 768), (1, 896), (1, 1024), (2, 128), (2, 256), (2, 384), (2, 512), (2, 640), (4, 128), (4, 256)]
INFO 08-02 17:38:43 hpu_model_runner.py:1128] Graph/Decode captured:48 (100.0%) used_mem:161.9 MiB buckets:[(1, 128), (1, 256), (1, 384), (1, 512), (1, 640), (1, 768), (1, 896), (1, 1024), (1, 1152), (1, 1280), (1, 1408), (1, 1536), (1, 1664), (1, 1792), (1, 1920), (1, 2048), (2, 128), (2, 256), (2, 384), (2, 512), (2, 640), (2, 768), (2, 896), (2, 1024), (2, 1152), (2, 1280), (2, 1408), (2, 1536), (2, 1664), (2, 1792), (2, 1920), (2, 2048), (4, 128), (4, 256), (4, 384), (4, 512), (4, 640), (4, 768), (4, 896), (4, 1024), (4, 1152), (4, 1280), (4, 1408), (4, 1536), (4, 1664), (4, 1792), (4, 1920), (4, 2048)]
INFO 08-02 17:38:43 hpu_model_runner.py:1206] Warmup finished in 49 secs, allocated 14.19 GiB of device memory
INFO 08-02 17:38:43 hpu_executor.py:91] init_cache_engine took 37.92 GiB of device memory (53.39 GiB/94.62 GiB used) and 57.86 MiB of host memory (475.4 GiB/1007 GiB used)
Recommended vLLM Parameters
- It is recommended to run inference on Gaudi 2 with
block_size
of 128 for BF16 data type. Using the default values (16, 32) may result in suboptimal performance due to underutilization of the Matrix Multiplication Engine (see Gaudi Architecture). - To achieve maximum throughput on Llama 7B, it is recommended to use a batch size of 128 or 256 and a maximum context length of 2048 with HPU Graphs enabled. If you experience out-of-memory issues, please refer to the Troubleshooting section below.
Environment Variables
Diagnostic and Profiling Knobs:
VLLM_PROFILER_ENABLED
: iftrue
- enables high level profiler. Resulting JSON traces can be viewed at perfetto.habana.ai. Disabled by default.VLLM_HPU_LOG_STEP_GRAPH_COMPILATION
: iftrue
- logs graph compilations for each vLLM engine step, but only if any compilation occurs. It is highly recommended to use this in conjunction withPT_HPU_METRICS_GC_DETAILS=1
. Disabled by default.VLLM_HPU_LOG_STEP_GRAPH_COMPILATION_ALL
: iftrue
- logs graph compilations for every vLLM engine step, even if no compilation occurs. Disabled by default.VLLM_HPU_LOG_STEP_CPU_FALLBACKS
: iftrue
- logs CPU fallbacks for each vLLM engine step, but only if any fallback occurs. Disabled by default.VLLM_HPU_LOG_STEP_CPU_FALLBACKS_ALL
: iftrue
- logs CPU fallbacks for each vLLM engine step, even if no fallback occur. Disabled by default.
Performance Tuning Knobs:
VLLM_SKIP_WARMUP
: iftrue
- warmup is skipped.false
by default.VLLM_GRAPH_RESERVED_MEM
: percentage of memory dedicated for HPUGraph capture,0.1
by default.VLLM_GRAPH_PROMPT_RATIO
: percentage of reserved graph memory dedicated for prompt graphs,0.3
by default.VLLM_GRAPH_PROMPT_STRATEGY
: strategy determining order of prompt graph capture,min_tokens
ormax_bs
,min_tokens
by default.VLLM_GRAPH_DECODE_STRATEGY
: strategy determining order of decode graph capture,min_tokens
ormax_bs
,max_bs
by default.VLLM_{phase}_{dim}_BUCKET_{param}
- collection of 12 environment variables configuring ranges of bucketing mechanism.{phase}
is eitherPROMPT
orDECODE
{dim}
is eitherBS
,SEQ
orBLOCK
{param}
is eitherMIN
,STEP
orMAX
- Default values:
-
Prompt:
- batch size min (
VLLM_PROMPT_BS_BUCKET_MIN
):1
- batch size step (
VLLM_PROMPT_BS_BUCKET_STEP
):min(max_num_seqs, 32)
- batch size max (
VLLM_PROMPT_BS_BUCKET_MAX
):min(max_num_seqs, 64)
- sequence length min (
VLLM_PROMPT_SEQ_BUCKET_MIN
):block_size
- sequence length step (
VLLM_PROMPT_SEQ_BUCKET_STEP
):block_size
- sequence length max (
VLLM_PROMPT_SEQ_BUCKET_MAX
):max_model_len
- batch size min (
-
Decode:
- batch size min (
VLLM_DECODE_BS_BUCKET_MIN
):1
- batch size step (
VLLM_DECODE_BS_BUCKET_STEP
):min(max_num_seqs, 32)
- batch size max (
VLLM_DECODE_BS_BUCKET_MAX
):max_num_seqs
- block size min (
VLLM_DECODE_BLOCK_BUCKET_MIN
):block_size
- block size step (
VLLM_DECODE_BLOCK_BUCKET_STEP
):block_size
- block size max (
VLLM_DECODE_BLOCK_BUCKET_MAX
):max(128, (max_num_seqs*max_model_len)/block_size)
- batch size min (
-
VLLM_HANDLE_TOPK_DUPLICATES
, iftrue
- handles duplicates that are outside of top-k.false
by default.VLLM_CONFIG_HIDDEN_LAYERS
- configures how many hidden layers to run in a HPUGraph for model splitting among hidden layers when TP is 1. The default is 1. It helps improve throughput by reducing inter-token latency limitations in some models.
Additionally, there are HPU PyTorch Bridge environment variables impacting vLLM execution:
PT_HPU_LAZY_MODE
: if0
, PyTorch Eager backend for Gaudi will be used, if1
PyTorch Lazy backend for Gaudi will be used.1
is the default.PT_HPU_ENABLE_LAZY_COLLECTIVES
must be set totrue
for tensor parallel inference with HPU Graphs.
Quantization, FP8 Inference and Model Calibration Process
Note
Measurement files are required to run quantized models with vLLM on Gaudi accelerators. The FP8 model calibration procedure is described in the vllm-hpu-extention package.
Once you have completed the model calibration process and collected the measurements, you can run FP8 inference with vLLM using the following command:
export QUANT_CONFIG=/path/to/quant/config/inc/meta-llama-3.1-405b-instruct/maxabs_measure_g3.json
vllm serve meta-llama/Llama-3.1-405B-Instruct --quantization inc --kv-cache-dtype fp8_inc --weights-load-device cpu --tensor_paralel_size 8
QUANT_CONFIG
is an environment variable that points to the measurement or quantization configuration file. The measurement configuration file is used during the calibration procedure to collect measurements for a given model. The quantization configuration is used during inference.
Tip
If you are prototyping or testing your model with FP8, you can use the VLLM_SKIP_WARMUP=true
environment variable to disable the warmup stage, which is time-consuming. However, disabling this feature in production environments is not recommended, as it can lead to a significant performance decrease.
Tip
When using FP8 models, you may experience timeouts caused by the long compilation time of FP8 operations. To mitigate this, set the following environment variables:
VLLM_ENGINE_ITERATION_TIMEOUT_S
- to adjust the vLLM server timeout. You can set the value in seconds, e.g., 600 equals 10 minutes.VLLM_RPC_TIMEOUT
- to adjust the RPC protocol timeout used by the OpenAI-compatible API. This value is in microseconds, e.g., 600000 equals 10 minutes.
Troubleshooting
If you encounter device out-of-memory issues or want to attempt inference with higher batch sizes, try tweaking HPU Graphs as follows:
- Tweak
gpu_memory_utilization
knob. This will decrease the allocation of KV cache, leaving some headroom for capturing graphs with larger batch size. By default,gpu_memory_utilization
is set to 0.9. It attempts to allocate ~90% of HBM left for KV cache after short profiling run. Note that this reduces the number of KV cache blocks you have available, and therefore reduces the effective maximum number of tokens handled at a given time. - If this method is not efficient, you can disable
HPUGraph
completely. With HPU Graphs disabled, you are trading latency and throughput at lower batches for potentially higher throughput on higher batches. You can do that by adding--enforce-eager
flag to the server (for online inference), or by passingenforce_eager=True
argument to LLM constructor (for offline inference).
Changelog
1.19.0
New features
- Added fake HPU mode to Habana components with dummy habana_frameworks module. (#250)
- Enabled HPU Graph capture even when warmup is skipped (#320)
- Introduced vllm-hpu-extension, removed vllm.hpu directory and changed relevant imports (#291, #323)
- Enabled async output processing for HPU (#342)
- Enabled automatic BF16 usage on HPU instead of FP16 (#361)
- Added padding-aware scheduling and option to limit prefill batch size (#394)
- Overhauled HPU support of RotaryEmbedding (#404)
- Added HPU specific arguments to benchmark_throughput (#406)
- Added support for long context lengths with LoRA (#418)
- Added support for various softmax normalization options (#378, #420)
- Added initial support for automatic prefix caching (#162)
- Added multi step scheduling HPU support with tensor parallelism support (#441, #457)
- Added HPU support for speculative_decoding (#375, #461)
- Enabled asynchronous input preparation in HPU model runner (#497)
- Aligned HPU fork with upstream code up to 01aae1c (v0.6.4.post2) (#259, #311, #340, #353, #465, #468, #485)
Performance optimizations
- Reduced default value of VLLM_GRAPH_RESERVED_MEM to 0.1 (#292)
- Added attention performance optimizations: prefill cache write chunking, div_i32 removal from insert_or_update_cache (#289)
- Optimized Qwen2 model on Gaudi (#233)
- Optimized performance of top_p and top_k calculations (#449)
- Removed CPU sync before sampler (#414)
- Enabled Contiguous Paged Attention optimization (#424, #433, #519)
- Reduced block fragmentation (#426)
- Enabled FusedSDPA prefill by default (#447, #448)
- Offload logits processing to CPU when guided decoding is used (#358)
- Enabled Dynamic MoE layer for Mixtral (#425)
- Enabled INC patching matmuls in paged attention's block2batch and batch2block (#500)
- Optimized multi-step scheduling deepcopy overhead (#452)
- Enabled FP8 patching of more matmul operations in Paged Attention (#500)
- Enabled warmup for multi-step scheduling (#501)
- Added regional compilation support for torch.compile mode (#595)
- Enabled warmup of random sampler (#506)
Bugfixes
- Fixed LLaVA-1.5 multi-modal model inference (#283)
- Fixed blocks number calculation for Flat Paged Attention (#269)
- Fixed initialize_ray_cluster device_str bug (#297)
- Fixed calculating slots for warmup (#310)
- Removed padding block from a list of available blocks in allocators (#313)
- Fixed seq_len for padding sequences (#318)
- Fixed LoRA specific conditions in profile_run (#317)
- Removed throwing "Failed to imported from vllm._C" warning on HPU (#326)
- Fixed documentation build warnings (#330)
- Fixed INC FP8 inference after rebase (#333)
- Refined INC shutdown code (#335)
- Fixed torch.compile issue of dispatch key set mismatch (#299)
- Fixed runtime errors reported when using long input sequence lengths with LoRA (#339)
- Fixed hpu_set_env call in load_model in vllm (#364)
- Fixed LoRA tests (#376)
- Removed constraints for bucket creation during warmup in LoRA (#382)
- Fixed lora_manager tests with hpu_model_runner (#386)
- Removed workaround added to resolve multi-card stall issue (#387)
- Added workaround for RuntimeError: "fill_cpu" not implemented for 'Float8_e4m3fn' (#402)
- Fixed SchedulerConfig params (#459)
- Fixed multistep deepcopy overhead (#452)
- Added option to disable duplicates in topk (#464)
- Enabled lazy import of HPU-dependent components (#363)
- Fixed bug: seed_everything function doesn't handle HPU (#384)
- Removed redundant set_active_loras call during warmup (#413)
- Fixed number of blocks when profiling contiguous paged attention (#496)
- Fixed one_hot bug in torch compile mode (#427)
- Fixed execution of empty steps in multi-step scheduling (#526)
Other
- Updated SynapseAI version in README & Dockerfile (#390)
- Updated documentation on support of FP8 (#288)
- Added FP8 inference procedure (#504)
- Fixed broken urls in gaudi-installation (#473)
- Renamed vLLM components from Habana to HPU (#359)
- Introduced bucketing mechanism overhaul and moved bucketing logic to extension (#394, #530, #534)
1.18.0
New features
- Added support FP8 INC inference (#144)
- Added support for FusedSDPA prefills (#168)
- Enabled LoRA support for HPU (#170, #247)
- Enabled buckets not warmed-up warnings (#222)
- Enabled Flat Paged Attention optimization (#169)
- Added disable_tensor_cache=True to HPUGraph capture (#252)
- Added support for Mixtral quantization using INC (#267)
- Added option to skip forward pass execution during warmup (#227)
- Added PyTorch profiler integration (#256)
- Added Dockerfile.hpu (#200)
- Added topp/topk calculation sampler optimization (#195)
Bugfixes
- HPU Buckets now don't exceed token budget (#206)
- Fixed bug causing incorrect lower bucket bounadry calculation (#239)
- Fixed ALiBi support (#254)
- Fixed HPU guided decoding crashes (#236)
- Fixed incorrect handlign of large bucket minimums (#235)
- Issued Llama-405b workaround for memory allocation error (#184)
- Enabled dispersed dummy cache slots for avoiding caching issues (#243)
- Eliminated Llama and GPTBigCode graph breaks in torch.compile mode (#202)
Full 1.19.0 changelog
- [Bugfix][Habana_main] fix multi-modal model inference - tested with llava-1.5 by @xuechendi in #283
- Add fake HPU mode to Habana components with dummy habana_frameworks module. by @jmaksymczuk in #250
- Update documentation on support of fp8 by @michalkuligowski in #288
- Removed vllm.hpu directory and changed relevant imports by @tzielinski-habana in #291
- Reduce default value of VLLM_GRAPH_RESERVED_MEM to 0.1 by @kzawora-intel in #292
- Fix minor logging issue in habana_model_runner.py by @schoi-habana in #294
- Fix blocks number calculation for Flat PA by @iboiko-habana in #269
- Remove dummy seq group data creation from loop by @iboiko-habana in #301
- optimize qwen2 model on Gaudi by @czhu15 in #233
- fix bug: device_str in initialize_ray_cluster requires uppercase string by @hlin99 in #297
- Fix Lora Rebase by @hlahkar in #290
- Fix calculating slots for warmup by @madamczykhabana in #310
- Removed padding block from a list of available blocks in allocators by @tzielinski-habana in #313
- Fix seq_len for padding sequences by @madamczykhabana in #318
- Fix lora specific conditions in profile-run by @SanjuCSudhakaran in #317
- Run with HPU graphs even when warmup was skipped by @madamczykhabana in #320
- vLLM 0.6.1 rebase by @kzawora-intel in #311
- vLLM-fork 0.6.0 rebase by @kzawora-intel in #259
- Move profilers to vllm-hpu-extension by @kzawora-intel in #323
- Restore upstream requirements-build.txt by @kzawora-intel in #324
- Remove reminder_comment.yml workflow by @kzawora-intel in #325
- Don't throw "Failed to import from vllm._C" warning on HPU by @kzawora-intel in #326
- Fix doc build warnings by @kzawora-intel in #330
- fix qwen2 model issue by @jikunshang in #329
- Remove vllm.utils.is_hpu() by @kzawora-intel in #331
- Remove logger from layernorm by @kzawora-intel in #332
- Fix INC FP8 inference after rebase by @kzawora-intel in #333
- Make weights_load_device not change EngineArgs.create_load_config() by @kzawora-intel in #336
- Refine INC shutdown code by @kzawora-intel in #335
- Setting enough cache_size_limit for torch.compile warmup by @zehao-intel in #238
- Change default values for decode bucket flags by @iboiko-habana in #316
- Support loading checkpoints quantized using Autofp8 by @Yantom1 in #286
- Fix torch.compile issue of dispatch key set mismatch by @yuwenzho in #299
- Chunk prefill cache writes, remove div_i32 from insert_or_update_cache by @kzawora-intel in #289
- Fix runtime errors reported when using long input sequence lengths with LoRA by @vivekgoe in #339
- vLLM 0.6.2 rebase by @kzawora-intel in #340
- Enable Async output process for HPU by @zhouyu5 in #342
- Port last_bucket change from v1.18.0 by @iboiko-habana in #347
- Add setuptools_scm to requirements-hpu.txt by @kzawora-intel in #349
- Fixed lora manager tests by @rsshaik1 in #315
- Oct 01 rebase by @kzawora-intel in #353
- Lora Mask based on lora index by @hlahkar in #348
- Add rope_scaling support for LLama3.1 by @kdamaszk in #356
- [Core] Support Torch profiler in Habana Worker by @mswiniarsk in #357
- [Refactor] Rename components Habana -> HPU by @kzawora-intel in #359
- Oct 04 rebase by @kzawora-intel in #360
- Lazily import HPU-dependent components by @kzawora-intel in #363
- [Refactor] Rename HabanaAttention -> HPUAttention by @kzawora-intel in #362
- Use BF16 on HPU by default by @kzawora-intel in #361
- Set vllm-hpu-extension to 36c7f9c by @madamczykhabana in #365
- Add AliBi to supported features in README_GAUDI.md by @kwisniewski98 in #287
- Fix hpu_set_env call in load_model in vllm by @Yantom1 in #364
- Timeout adjusted in MLLMEngine by @jczaja in #368
- Add Jenkins test definitions by @kzawora-intel in #369
- Make workaround for SW-204785 broader by @kzawora-intel in #374
- Fix LoRA tests by handling broken import by @SanjuCSudhakaran in #376
- [CI] Report test name, add properties to JUnitXML by @kzawora-intel in #377
- Disable performance counters if profiler is not enabled by @kdamaszk in #383
- Remove constraints for bucket creation during warmup in LoRA by @SanjuCSudhakaran in #382
- seed_everything function doesn't handle HPU by @SanjuCSudhakaran in #384
- Fixed lora_manager tests with hpu_model_runner by @rsshaik1 in #386
- Reformat README_GAUDI.md by @kzawora-intel in #389
- [CI] Prepare separate Jenkins tests for torch compile mode by @anko-intel in #388
- Remove workaround added to resolve multi-card stall issue by @SanjuCSudhakaran in #387
- Update SynapseAI version in README & Dockerfile by @kzawora-intel in #390
- Oct 7 rebase by @kzawora-intel in #367
- enable mixtral quantization using INC by @dudilester in #372
- [CI] Temporarily increase test tolerances by @kzawora-intel in #392
- Add quickstart section to READMEs by @kzawora-intel in #391
- Softmax: add weighted-sum normalization by @madamczykhabana in #378
- Remove HPU changes from cache_engine.py by @kzawora-intel in #400
- [bucketing overhaul 1/n] Add padding-aware scheduling and option to limit prefill batch size by @kzawora-intel in #394
- Add WA for RuntimeError: "fill_cpu" not implemented for 'Float8_e4m3fn' by @kzawora-intel in #402
- Workaround for OOM during loading llama-405 by @afierka-intel in #396
- Add HPU specific arguments to benchmark_throughput by @kdamaszk in #406
- Add forward_hpu to RotaryEmbedding, remove custom module by @kzawora-intel in #404
- Remove if blocks smaller than bs in generate_decode_buckets by @kamil-kaczor in #412
- Remove CPU sync before Sampler by @kdamaszk in #414
- Remove redundant set_active_loras call during warmup by @SanjuCSudhakaran in #413
- Change profile Run batch based on max_seq_len by @hlahkar in #415
- Add support for various softmax normalization options by @madamczykhabana in #420
- Update README_GAUDI about fp8 calibration procedure by @afierka-intel in #423
- Set vllm-hpu-extension to 341a77f by @madamczykhabana in #428
- Contiguous PA by @mfylcek in #424
- Revert "Contiguous PA" by @madamczykhabana in #432
- Enable Dynamic MoE for Mixtral on 1.19.0 by @tpawlows in #425
- Support long contexts with LoRA by @SanjuCSudhakaran in #418
- Add HPU specific changes to benchmark_latency.py by @kdamaszk in #436
- sarkar/Add htrandom generator for hpu by @ssarkar2 in #246
- Fix one_hot bug in torch compile mode by @yuwenzho in #427
- HPU: offload logits processing to CPU by @madamczykhabana in #358
- Lora layers by @rsshaik1 in #435
- initial works on enabling automatic prefix caching by @huijjj in #162
- Multi step scheduling by @tzielinski-habana in #441
- Add fp8 test to jenkins CI by @afierka-intel in #429
- Enable FusedSDPA prefill by default by @kzawora-intel in #447
- Contiguous PA by @mfylcek in #433
- Fix default value for FSDPA by @madamczykhabana in #448
- Fix performance of top_p and top_k calculations by @kdamaszk in #449
- Reduce block fragmentation by @yangw1234 in #426
- Create scorecard.yml by @rozhukov in #431
- [CI] Add Llama2 to torch compile tests by @anko-intel in #446
- Enable HPUGraphs for lora long-contexts tests by @SanjuCSudhakaran in #454
- Fix SchedulerConfig params by @ldurejko in #459
- Tensor parallelism for multi-step scheduling by @tzielinski-habana in #457
- Set tokenizers version to <0.20.2 by @madamczykhabana in #460
- [BugFix][Habana_main][Multistep]Fix multistep deepcopy overhead by @xuechendi in #452
- Set vllm-hpu-extension to 0063520 by @madamczykhabana in #455
- Oct 28 rebase by @kzawora-intel in #439
- Revert "Oct 28 rebase" by @kzawora-intel in #466
- Oct 28 rebase - attempt 2 by @kzawora-intel in #467
- Nov 6 rebase (sans vllm-project#6143) by @kzawora-intel in #468
- Fix missed conflict by @kzawora-intel in #469
- Align fork with HPU upstream code by @kzawora-intel in #465
- The output tensor from sampling is the input_tokens to the by @tzielinski-habana in #471
- Add multi step scheduling scenario to jenkins CI by @afierka-intel in #445
- [New Feature][Habana-Main] speculative_decoding HPU support by @xuechendi in #375
- [Doc] Fix broken urls in gaudi-installation by @MohitIntel in #473
- [Installation] Avoid ModuleNotFoundError:setuptools-scm error by @MohitIntel in #475
- Add option to disable duplicates in topk by @kdamaszk in #464
- Handle offsets shape in long contexts by @SanjuCSudhakaran in #477
- [New Feature][Habana main] spec decode PR2 - Medusa, MLP, Eagle by @xuechendi in #461
- Add FP8 TP=2 scenario to Jenkins CI by @afierka-intel in #478
- Commonalize code between contiguous and flat pa by @madamczykhabana in #493
- Config hidden layer number to run in 1 lazy graph by @libinta in #451
- Fix number of blocks when profiling contiguous pa by @madamczykhabana in #496
- Warmup for multi-step scheduling by @tzielinski-habana in #501
- Enable patching matmuls in block2batch and batch2block by @nirda7 in #500
- Add FP8 inference procedure by @afierka-intel in #504
- Terminate ray workers on ray_hpu_executor shutdown by @kzawora-intel in #505
- Add valid_seq_lengths to fusedsdpa - port from 1.18.0 by @iboiko-habana in #509
- Set vllm-hpu-extension to 2542c18 by @iboiko-habana in #517
- [BUGFIX] fix worker selector non-return issue by @xuechendi in #508
- Use contiguous pa by default by @madamczykhabana in #519
- Set vllm-hpu-extension to 3a60b49 by @madamczykhabana in #520
- Add async copying to input preparation by @jkaniecki in #497
- Nov 18 rebase by @kzawora-intel in #485
- [BUGFIX]fix FP8 failing issue on habana_main [PatchedVLLMKVCache fwd rror] by @xuechendi in #502
- Set vllm-hpu-extension to a69bb99 by @madamczykhabana in #521
- Update ray_hpu_executor.py by @michalkuligowski in #522
- Random sampler warmup by @mfylcek in #506
- Skip empty steps in multi step sheduling by @jkaniecki in #526
- [bucketing overhaul 2/n] Delegate bucket management to HPUBucketingContext by @kdamaszk in #530
- [SW-201504] Adding Test Trigger by @RonBenMosheHabana in #533
- [SW-201504] Add Jenkins Tests Trigger by @RonBenMosheHabana in #537
- [bucketing overhaul 3/n] Move HPUBucketingContext to vllm-hpu-extension by @kdamaszk in #534
- Limit decode block size by @mfylcek in #532
- fix marlin flag set on hpu by @nirda7 in #540
- Update ray_hpu_executor.py by @michalkuligowski in #541
- Fix profile run for multi LoRA by @kdamaszk in #549
- Fix cutlass_fp8_supported flag set on HPU by @nirda7 in #550
- Update *.sh by @michalkuligowski in #546
- Update cpu-test.yml by @michalkuligowski in #543
- Fix flags setting on HPU for FP8LinearMethod by @nirda7 in #551
- [HPU] Add mark_step configurable for the decoder layer. by @jiminha in #525
- Update cpu-test.yml by @michalkuligowski in #544
- Update *.sh by @michalkuligowski in #545
- Revert "Fix flags setting on HPU for FP8LinearMethod" by @michalkuligowski in #553
- Update run-lm-eval-gsm-vllm-baseline.sh by @michalkuligowski in #552
- Update run-lm-eval-gsm-vllm-baseline.sh by @michalkuligowski in #554
- Add HPU information to collect_env script by @michalkuligowski in #430
- 1.19.0 fast-forward merge by @kzawora-intel in #542
- Enable alibi in FusedSDPA path by @itaraban in #562
- revert requirements-hpu.txt for 1.19 by @xuechendi in #573
- [1.19] Set vllm-hpu-extension to ecdf38e by @madamczykhabana in #578
- Revert "Enable alibi in FusedSDPA path" by @madamczykhabana in #586
- Regional compilation support by @Kacper-Pietkun in #595
- fix hpu destructors flow and remove finish_measurements (#379) by @afierka-intel in #623
- Update requirements-hpu.txt by @afierka-intel in #625
- 1.19.0 documentation update by @kzawora-intel in #653
New Contributors
- @schoi-habana made their first contribution in #294
- @czhu15 made their first contribution in #233
- @zehao-intel made their first contribution in #238
- @Yantom1 made their first contribution in #286
- @zhouyu5 made their first contribution in #342
- @jczaja made their first contribution in #368
- @kamil-kaczor made their first contribution in #412
- @tpawlows made their first contribution in #425
- @huijjj made their first contribution in #162
- @yangw1234 made their first contribution in #426
- @rozhukov made their first contribution in #431
- @ldurejko made their first contribution in #459
- @RonBenMosheHabana made their first contribution in #533
Full Changelog: v0.5.3.post1+Gaudi-1.18.0...v0.6.4.post2+Gaudi-1.19.0