[Kernel] Full Tensor Parallelism for LoRA Layers (#3524)

Co-authored-by: Antoni Baum <antoni.baum@protonmail.com>
This commit is contained in:
Austin Veselka
2024-04-27 00:03:48 -07:00
committed by GitHub
co-authored by Antoni Baum
parent 18d23f642a
commit eefeb16464
19 changed files with 686 additions and 111 deletions
+1
View File
@@ -862,6 +862,7 @@ class SpeculativeConfig:
class LoRAConfig:
max_lora_rank: int
max_loras: int
fully_sharded_loras: bool = False
max_cpu_loras: Optional[int] = None
lora_dtype: Optional[torch.dtype] = None
lora_extra_vocab_size: int = 256