text-generation-inference/server/text_generation_server
drbh d888bc2828 feat: support force downcast after FastRMSNorm multiply for Gemma (#1658)
This PR adds `force_downcast_after` to `FastRMSNorm.forward` which is
used in the Gemma model. References
https://github.com/huggingface/transformers/pull/29402 and
https://github.com/huggingface/transformers/pull/29729

Setting `force_downcast_after=True` will perform the `hidden_states *
weight` multiplication in f32 and then downcast to half. This differs
slightly from the current implementation which first casts the
`hidden_states` to a half and then multiples.
2024-04-25 12:32:42 +03:00
..
models feat: support force downcast after FastRMSNorm multiply for Gemma (#1658) 2024-04-25 12:32:42 +03:00
pb chore: add pre-commit (#1569) 2024-04-24 15:32:02 +03:00
utils fix: correctly index into mask when applying grammar (#1618) 2024-04-25 10:16:16 +03:00
__init__.py feat(clients): Python client (#103) 2023-03-07 18:52:22 +01:00
cache.py fix(server): decrease memory fragmentation (#557) 2023-07-06 14:28:33 +02:00
cli.py Revamp medusa implementation so that every model can benefit. (#1588) 2024-04-25 09:13:03 +03:00
habana_quantization_env.py Add Habana copyright header (#122) 2024-04-08 18:06:21 +02:00
interceptor.py Add Habana copyright header (#122) 2024-04-08 18:06:21 +02:00
server.py fix: fix gpt-q with groupsize = -1 (#1358) 2024-04-19 15:05:50 +03:00
tgi_service.py Speculative (#1308) 2024-04-18 12:39:39 +00:00
tracing.py feat(clients): Python client (#103) 2023-03-07 18:52:22 +01:00