ggml-org/llama.cpp

split: allow --split-max-size option

Aberta

#6.259 aberto em 23 de mar. de 2024

 (4 comentários) (1 reação) (0 responsável)C++ (21.781 forks)batch import
enhancementgood first issuehelp wantedsplit

Métricas do repositório

Stars
 (124.194 estrelas)
Métricas de merge de PR
 (Mesclagem média 6d 8h) (389 fundiu PRs em 30d)

Description

Motivation

we support --split-max-tensors since:

  • #6135

As mentionned by @Artefact2 in this comment:

allowing to split by file size would be more intuitive (and usually more appropriate since file size is usually the limiting factor, eg 4G for FAT or 50G for HF)

Proposition:

Introduce --split-max-size N(M|G) split strategy to split files in file with a max size of N Megabytes or Gigabytes. As it is not possible to have less than 1 tensor per GGUF, this size is a soft limit.

Guia do colaborador