litgpt icon indicating copy to clipboard operation
litgpt copied to clipboard

Support for BLOOM

Open LamOne1 opened this issue 2 years ago • 6 comments

I'd like to request a support for BLOOM as it was pretrained on many languages

LamOne1 avatar Aug 07 '23 10:08 LamOne1

This would require adding support for ALiBi. This is not a priority at the moment.

A related feature request is https://github.com/Lightning-AI/lit-gpt/issues/199

carmocca avatar Aug 07 '23 15:08 carmocca

+1

Jeronymous avatar Oct 24 '23 05:10 Jeronymous

Flash attention now supports Alibi btw, so in that case, Alibi support in Lit-GPT could be a bit easier.

rasbt avatar Feb 23 '24 14:02 rasbt

We don't support flash attention from flash-attn. Supporting alibi would warrant an entirely new model_alibi.py definition

carmocca avatar Feb 23 '24 14:02 carmocca

I think we should update this perhaps:

Screenshot 2024-02-23 at 8 40 28 AM

rasbt avatar Feb 23 '24 14:02 rasbt

We support flash attention via PyTorch's scaled_dot_product_attention, just not via Tri Dao's flash-attn. The former uses one of the latter's implementations internally.

carmocca avatar Feb 23 '24 14:02 carmocca