ggml-org/llama.cpp

split: allow --split-max-size option

オープン

#6,259 opened on 2024/03/23

 (4 件のコメント) (1 件のリアクション) (0 人の担当者)C++ (21,786 件のフォーク)batch import
enhancementgood first issuehelp wantedsplit

Repository metrics

Stars
 (124,222 個のスター)
PR merge metrics
 (平均マージ 6d 8h) (30d で 389 merged PRs)

説明

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.

コントリビューターガイド