hf_text-generation-inference/server
fxmarty b2b5df0e94
Add RoCm support (#1243)
This PR adds support for AMD Instinct MI210 & MI250 GPUs, with paged
attention and FAv2 support.

Remaining items to discuss, on top of possible others:
* Should we have a
`ghcr.io/huggingface/text-generation-inference:1.1.0+rocm` hosted image,
or is it too early?
* Should we set up a CI on MI210/MI250? I don't have access to the
runners of TGI though.
* Are we comfortable with those changes being directly in TGI, or do we
need a fork?

---------

Co-authored-by: Felix Marty <felix@hf.co>
Co-authored-by: OlivierDehaene <olivier@huggingface.co>
Co-authored-by: Your Name <you@example.com>
2023-11-27 14:08:12 +01:00
..
custom_kernels Add RoCm support (#1243) 2023-11-27 14:08:12 +01:00
exllama_kernels feat: add cuda memory fraction (#659) 2023-07-24 11:43:58 +02:00
exllamav2_kernels Exllama v2 (#1211) 2023-11-25 22:38:38 +01:00
tests feat: format code (#1070) 2023-09-27 12:22:09 +02:00
text_generation_server Add RoCm support (#1243) 2023-11-27 14:08:12 +01:00
.gitignore Support eetq weight only quantization (#1068) 2023-09-27 11:42:57 +02:00
Makefile Add RoCm support (#1243) 2023-11-27 14:08:12 +01:00
Makefile-awq Add AWQ quantization inference support (#1019) (#1054) 2023-09-25 15:31:27 +02:00
Makefile-eetq Support eetq weight only quantization (#1068) 2023-09-27 11:42:57 +02:00
Makefile-flash-att Add RoCm support (#1243) 2023-11-27 14:08:12 +01:00
Makefile-flash-att-v2 Add RoCm support (#1243) 2023-11-27 14:08:12 +01:00
Makefile-vllm Add RoCm support (#1243) 2023-11-27 14:08:12 +01:00
README.md
poetry.lock chore: update to torch 2.1.0 (#1182) 2023-11-23 13:38:50 +01:00
pyproject.toml chore: update to torch 2.1.0 (#1182) 2023-11-23 13:38:50 +01:00
requirements_common.txt Add RoCm support (#1243) 2023-11-27 14:08:12 +01:00
requirements_cuda.txt Add RoCm support (#1243) 2023-11-27 14:08:12 +01:00
requirements_rocm.txt Add RoCm support (#1243) 2023-11-27 14:08:12 +01:00

README.md

Text Generation Inference Python gRPC Server

A Python gRPC server for Text Generation Inference

Install

make install

Run

make run-dev