Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix one_hot bug in torch compile mode (#427)
Fix one_hot bug in torch compile mode ``` > block_mapping = torch.nn.functional.one_hot(metadata.block_mapping, num_classes=batch_size) E RuntimeError: Class values must be non-negative. ../../vllm/worker/hpu_model_runner.py:311: RuntimeError ```
- Loading branch information