llama.cpp
convert-*.py: GGUF Naming Convention Refactor and Metadata Override Refactor
#7499
Merged

convert-*.py: GGUF Naming Convention Refactor and Metadata Override Refactor #7499

mofosyne
mofosyne mofosyne assigned mofosyne mofosyne 2 years ago
mofosyne mofosyne marked this pull request as draft 2 years ago
github-actions github-actions added python
mofosyne mofosyne force pushed 2 years ago
mofosyne mofosyne added refactoring
mofosyne mofosyne added Review Complexity : Medium
compilade
compilade commented on 2024-05-23
mofosyne mofosyne force pushed 2 years ago
compilade
compilade commented on 2024-05-24
compilade
compilade commented on 2024-05-24
mofosyne mofosyne force pushed 2 years ago
mofosyne mofosyne marked this pull request as ready for review 2 years ago
mofosyne
mofosyne mofosyne requested a review from compilade compilade 2 years ago
mofosyne mofosyne force pushed 2 years ago
mofosyne
compilade
compilade commented on 2024-05-24
mofosyne mofosyne added help wanted
compilade
compilade commented on 2024-05-28
mofosyne
mofosyne
mofosyne mofosyne force pushed 2 years ago
mofosyne mofosyne marked this pull request as draft 2 years ago
mofosyne mofosyne marked this pull request as draft 2 years ago
mofosyne mofosyne force pushed 2 years ago
compilade
compilade commented on 2024-05-30
mofosyne
compilade
compilade commented on 2024-05-30
mofosyne
mofosyne mofosyne marked this pull request as ready for review 2 years ago
mofosyne
mofosyne mofosyne requested a review from compilade compilade 2 years ago
github-actions github-actions added examples
ThiloteE
mofosyne mofosyne force pushed 2 years ago
mofosyne
mofosyne mofosyne requested a review from Galunid Galunid 2 years ago
mofosyne mofosyne requested a review from crasm crasm 2 years ago
mofosyne
mofosyne
Galunid
Galunid commented on 2024-05-31
ThiloteE
teleprint-me
teleprint-me
teleprint-me commented on 2024-05-31
teleprint-me
teleprint-me commented on 2024-05-31
mofosyne mofosyne marked this pull request as draft 2 years ago
mofosyne mofosyne force pushed 2 years ago
teleprint-me
compilade
compilade commented on 2024-06-02
mofosyne mofosyne force pushed 2 years ago
mofosyne mofosyne force pushed 2 years ago
mofosyne
mofosyne
mofosyne
mofosyne mofosyne marked this pull request as ready for review 2 years ago
mofosyne mofosyne requested a review from teleprint-me teleprint-me 2 years ago
teleprint-me
mofosyne mofosyne requested a review from compilade compilade 2 years ago
teleprint-me
teleprint-me requested changes on 2024-05-31
Galunid
Galunid commented on 2024-06-03
Galunid
Galunid commented on 2024-06-03
teleprint-me
teleprint-me commented on 2024-06-03
compilade
compilade commented on 2024-06-03
mofosyne mofosyne requested a review from teleprint-me teleprint-me 2 years ago
julien-c
julien-c commented on 2024-06-03
julien-c
julien-c commented on 2024-06-03
mishig25
mofosyne mofosyne marked this pull request as draft 2 years ago
mishig25
Vaibhavs10
Vaibhavs10 commented on 2024-06-03
mofosyne
mofosyne mofosyne marked this pull request as ready for review 2 years ago
ggerganov
ggerganov commented on 2024-06-04
mishig25
mishig25
mofosyne
Vaibhavs10
mishig25
teleprint-me
mofosyne
mishig25
mofosyne mofosyne marked this pull request as draft 2 years ago
mofosyne
teleprint-me
teleprint-me commented on 2024-06-06
teleprint-me
teleprint-me commented on 2024-06-06
teleprint-me
teleprint-me commented on 2024-06-06
teleprint-me
mofosyne mofosyne force pushed 2 years ago
mofosyne mofosyne force pushed 2 years ago
mofosyne mofosyne marked this pull request as ready for review 2 years ago
mofosyne mofosyne force pushed 2 years ago
mofosyne mofosyne force pushed 2 years ago
mofosyne
mofosyne
ThiloteE
compilade
crasm crasm removed review request from crasm crasm 2 years ago
mofosyne
mofosyne mofosyne force pushed 2 years ago
mofosyne mofosyne marked this pull request as draft 2 years ago
mofosyne mofosyne force pushed 2 years ago
mofosyne mofosyne force pushed 2 years ago
mofosyne mofosyne force pushed 2 years ago
mofosyne mofosyne force pushed 2 years ago
mofosyne mofosyne marked this pull request as ready for review 2 years ago
mofosyne mofosyne requested a review from compilade compilade 2 years ago
compilade
compilade commented on 2024-07-10
mofosyne
mofosyne mofosyne requested a review from compilade compilade 2 years ago
mofosyne
mofosyne mofosyne requested a review from Galunid Galunid 2 years ago
mofosyne mofosyne requested a review from Vaibhavs10 Vaibhavs10 2 years ago
mofosyne mofosyne requested a review from ngxson ngxson 2 years ago
compilade
mofosyne
compilade
mofosyne
mofosyne
ngxson
ngxson approved these changes on 2024-07-13
mofosyne
mofosyne mofosyne added merge ready
compilade
compilade dismissed these changes on 2024-07-13
compilade
compilade commented on 2024-07-13
github-actions github-actions added nix
github-actions github-actions added devops
compilade
compilade commented on 2024-07-14
mofosyne
mofosyne mofosyne requested a review from compilade compilade 2 years ago
compilade
mofosyne
Galunid
Galunid commented on 2024-07-15
compilade
mofosyne convert-*.py: licence -> license
d3a936fd
mofosyne convert-*.py: add --get-outfile command and refactor
dbb1b471
mofosyne convert-*.py: add basename and finetune metadata
a42c2b7e
mofosyne convert-*.py: model card metadata
916872f7
mofosyne convert-*.py: metadata class moved to utility
4d5f18a0
mofosyne convert-*.py: encoding_scheme --> output_type
5c263cb2
mofosyne convert-*.py: parse model card in metadata util. Add license_link and…
b36e391b
mofosyne convert-*.py: add base_version and add tags
8f734083
mofosyne convert-*.py: add parameter size class
0f1d50fa
mofosyne convert-*.py: add datasets and language to KV store
684c604e
mofosyne convert-*.py: move per model weight estimation away from util back to…
b1927eed
mofosyne convert-*.py: enable --model-name direct metadata override
f7c20793
mofosyne convert-*.py: add general.organization to kv store
5a86dfaa
mofosyne convert-*.py: add quantized_by and enhance heuristics
dd157121
mofosyne convert-*.py: adjust help message
b0553f42
mofosyne convert-*.py: use heuristics to parse _name_or_path
4d5cd067
mofosyne convert-*.py: base_model is actually in spec for model cards
32e80e09
mofosyne convert-*.py: refactor parameter weight class
54918ad1
mofosyne convert-*.py: need to include self in per_model_weight_count_estimati…
39472a09
mofosyne convert-*.py: add heuristic to directory name fallback
3625a420
mofosyne convert-*.py: add unittest to metadata class
91e65d94
mofosyne convert-*.py: adjusted authorship KV store
d060fcdb
mofosyne convert-*.py: separated unit test, hf_repo to repo_url
eaa47f55
mofosyne convert-*.py: Remove self.model_name that was left in since last rebase
e9734434
mofosyne convert_hf_to_gguf.py: optional, dataclass removed from type as it wa…
5011eefe
mofosyne convert_hf_to_gguf.py: rebase error correction
2f23927d
mofosyne convert_hf_to_gguf.py: Remove code that is already in fill_templated_…
4dc8ddd3
mofosyne gguf_writer.py: generate tensor uuid if missing
007708e3
mofosyne test: remove test_gguf.py and remove test_generate_any_missing_uuid()
7ecb8f00
mofosyne convert-*.py: autogenerate general.uuid if missing
fdc5a3fc
mofosyne convert-*.py: write_tensors() --> prepare_tensors_for_writing()
2a976e12
mofosyne convert-*.py: refactor per model weight count estimation
59a01df7
mofosyne convert-*.py: pyright type fixes
dd14b8fd
mofosyne Apply suggestions from code review
74383ba6
mofosyne convert-*.py: cast not required if Metadata.load_metadata_override re…
4c91d077
mofosyne convert-*.py: Removing the redundant metadata is not None from all co…
6eb08ac8
mofosyne convert-*.py: parameter_class_attribute --> size_label
f8b59311
mofosyne convert-*.py: remove redundant gguf_writer.add_name() calls
64707b62
mofosyne convert-*.py: prepare_tensors_for_writing() --> prepare_tensors()
04c4fffd
mofosyne convert-*.py: import cast from typing and other refactor
f2b425c5
mofosyne convert-*.py: remove autogenerated uuid
ad217d72
mofosyne Update convert_hf_to_gguf.py
60278e4f
mofosyne Update convert_hf_to_gguf.py
aa4e5892
mofosyne Update constants.py : spacing correction
2c060303
mofosyne constants.py : Revert removal of backward compatibility KEY_GENERAL_S…
8156835d
mofosyne convert-*.py: remove reference to uuid generation
ccff6c7f
mofosyne Apply suggestions from code review
455c0e53
mofosyne convert-*.py: dict_item --> Iterable
5ab1a840
mofosyne convert-*.py: update nix package to add python frontmatter
5cdb03b2
mofosyne convert-*.py: add logger and refactor load_model_card()
9954b648
mofosyne convert-*.py: quantized_by in model card is not relevant for converte…
abc351c2
mofosyne convert-*.py: pathlib.Path exist() --> is_file() or is_dir()
144a7ec3
mofosyne covert-*.py: per_model_weight_count_estimation() tensor arg type is I…
8629b7bd
mofosyne covert-*.py: flake8 newline missing
4e376110
mofosyne convert-*.py: more rigorous regexp for get_model_id_components()
f98f1098
mofosyne convert-*.py: flake8 remove blank line
3b1766a9
compilade gguf-py : use pyyaml instead of python-frontmatter
78a42fbe
compilade convert_hf : use GGUFWriter to count model parameters
417d7a7c
mofosyne metadata.py: account for decimal point in size label within model id …
9a925b56
mofosyne mofosyne force pushed to 9a925b56 2 years ago
compilade
compilade commented on 2024-07-15
mofosyne
mofosyne Update convert_hf_to_gguf.py
c7b36164
compilade
mofosyne Merge branch 'master' into refactor-convert-py
5da16bb1
mofosyne convert-*.py: Add naming_convention_vocab_only()
eb0bf6b9
mofosyne
mofosyne convert_lora_to_gguf.py: remove model_name parameter. Doesn't exist i…
7e9271ca
mofosyne
compilade
mofosyne mofosyne dismissed their stale review 2 years ago
Had a look again at all the review requested marked code, looked to all be resolved already
mofosyne
ThiloteE
compilade compilade requested a review from compilade compilade 2 years ago
compilade gguf-py : extract metadata from model name more resiliently
2c18a9a4
compilade gguf-py : fix flake8 lint
4c9932c1
compilade gguf-py : handle more name metadata extraction edge cases
73899f74
compilade
mofosyne
mofosyne mofosyne merged 672a6f10 into master 2 years ago
MoonRide303
mofosyne
mofosyne mofosyne deleted the refactor-convert-py branch 2 years ago
MoonRide303

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone