-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
convert-*.py: GGUF Naming Convention Refactor and Metadata Override Refactor #7499
Commits on Jul 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d3a936f - Browse repository at this point
Copy the full SHA d3a936fView commit details -
Configuration menu - View commit details
-
Copy full SHA for dbb1b47 - Browse repository at this point
Copy the full SHA dbb1b47View commit details -
Configuration menu - View commit details
-
Copy full SHA for a42c2b7 - Browse repository at this point
Copy the full SHA a42c2b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 916872f - Browse repository at this point
Copy the full SHA 916872fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d5f18a - Browse repository at this point
Copy the full SHA 4d5f18aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c263cb - Browse repository at this point
Copy the full SHA 5c263cbView commit details -
convert-*.py: parse model card in metadata util. Add license_link and…
… license_name to kv store
Configuration menu - View commit details
-
Copy full SHA for b36e391 - Browse repository at this point
Copy the full SHA b36e391View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f73408 - Browse repository at this point
Copy the full SHA 8f73408View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f1d50f - Browse repository at this point
Copy the full SHA 0f1d50fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 684c604 - Browse repository at this point
Copy the full SHA 684c604View commit details -
convert-*.py: move per model weight estimation away from util back to…
… main script plus some refactoring
Configuration menu - View commit details
-
Copy full SHA for b1927ee - Browse repository at this point
Copy the full SHA b1927eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7c2079 - Browse repository at this point
Copy the full SHA f7c2079View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a86dfa - Browse repository at this point
Copy the full SHA 5a86dfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd15712 - Browse repository at this point
Copy the full SHA dd15712View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0553f4 - Browse repository at this point
Copy the full SHA b0553f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d5cd06 - Browse repository at this point
Copy the full SHA 4d5cd06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32e80e0 - Browse repository at this point
Copy the full SHA 32e80e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54918ad - Browse repository at this point
Copy the full SHA 54918adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39472a0 - Browse repository at this point
Copy the full SHA 39472a0View commit details -
convert-*.py: add heuristic to directory name fallback
Also add source_url for huggingface url
Configuration menu - View commit details
-
Copy full SHA for 3625a42 - Browse repository at this point
Copy the full SHA 3625a42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91e65d9 - Browse repository at this point
Copy the full SHA 91e65d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d060fcd - Browse repository at this point
Copy the full SHA d060fcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for eaa47f5 - Browse repository at this point
Copy the full SHA eaa47f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e973443 - Browse repository at this point
Copy the full SHA e973443View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5011eef - Browse repository at this point
Copy the full SHA 5011eefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f23927 - Browse repository at this point
Copy the full SHA 2f23927View commit details -
convert_hf_to_gguf.py: Remove code that is already in fill_templated_…
…filename() and GGUFWriter()
Configuration menu - View commit details
-
Copy full SHA for 4dc8ddd - Browse repository at this point
Copy the full SHA 4dc8dddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 007708e - Browse repository at this point
Copy the full SHA 007708eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ecb8f0 - Browse repository at this point
Copy the full SHA 7ecb8f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdc5a3f - Browse repository at this point
Copy the full SHA fdc5a3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a976e1 - Browse repository at this point
Copy the full SHA 2a976e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59a01df - Browse repository at this point
Copy the full SHA 59a01dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd14b8f - Browse repository at this point
Copy the full SHA dd14b8fView commit details -
Apply suggestions from code review
Co-authored-by: compilade <git@compilade.net>
Configuration menu - View commit details
-
Copy full SHA for 74383ba - Browse repository at this point
Copy the full SHA 74383baView commit details -
convert-*.py: cast not required if Metadata.load_metadata_override re…
…turned a dict[str, Any] instead of a dict[str, object] Co-authored-by: compilade <git@compilade.net>
Configuration menu - View commit details
-
Copy full SHA for 4c91d07 - Browse repository at this point
Copy the full SHA 4c91d07View commit details -
convert-*.py: Removing the redundant metadata is not None from all co…
…nditions, and indenting them. Co-authored-by: compilade <git@compilade.net>
Configuration menu - View commit details
-
Copy full SHA for 6eb08ac - Browse repository at this point
Copy the full SHA 6eb08acView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8b5931 - Browse repository at this point
Copy the full SHA f8b5931View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64707b6 - Browse repository at this point
Copy the full SHA 64707b6View commit details -
convert-*.py: prepare_tensors_for_writing() --> prepare_tensors()
> Especially since it can be used for other purposes than "for writing", like preparing the tensors to then count and sum all their sizes. Co-authored-by: compilade <git@compilade.net>
Configuration menu - View commit details
-
Copy full SHA for 04c4fff - Browse repository at this point
Copy the full SHA 04c4fffView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2b425c - Browse repository at this point
Copy the full SHA f2b425cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad217d7 - Browse repository at this point
Copy the full SHA ad217d7View commit details -
Co-authored-by: Xuan Son Nguyen <thichthat@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 60278e4 - Browse repository at this point
Copy the full SHA 60278e4View commit details -
Co-authored-by: Xuan Son Nguyen <thichthat@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for aa4e589 - Browse repository at this point
Copy the full SHA aa4e589View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c06030 - Browse repository at this point
Copy the full SHA 2c06030View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8156835 - Browse repository at this point
Copy the full SHA 8156835View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccff6c7 - Browse repository at this point
Copy the full SHA ccff6c7View commit details -
Apply suggestions from code review
Co-authored-by: compilade <git@compilade.net>
Configuration menu - View commit details
-
Copy full SHA for 455c0e5 - Browse repository at this point
Copy the full SHA 455c0e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ab1a84 - Browse repository at this point
Copy the full SHA 5ab1a84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cdb03b - Browse repository at this point
Copy the full SHA 5cdb03bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9954b64 - Browse repository at this point
Copy the full SHA 9954b64View commit details -
Configuration menu - View commit details
-
Copy full SHA for abc351c - Browse repository at this point
Copy the full SHA abc351cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 144a7ec - Browse repository at this point
Copy the full SHA 144a7ecView commit details -
covert-*.py: per_model_weight_count_estimation() tensor arg type is I…
…terable[tuple[str, LazyTensor]]
Configuration menu - View commit details
-
Copy full SHA for 8629b7b - Browse repository at this point
Copy the full SHA 8629b7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e37611 - Browse repository at this point
Copy the full SHA 4e37611View commit details -
Configuration menu - View commit details
-
Copy full SHA for f98f109 - Browse repository at this point
Copy the full SHA f98f109View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b1766a - Browse repository at this point
Copy the full SHA 3b1766aView commit details -
gguf-py : use pyyaml instead of python-frontmatter
HF transformers already depends on pyyaml for model cards, so it should already be in the environment of the users of the convert scripts, unlike python-frontmatter. This should be completely equivalent since the model cards seem to use only YAML and never TOML.
Configuration menu - View commit details
-
Copy full SHA for 78a42fb - Browse repository at this point
Copy the full SHA 78a42fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 417d7a7 - Browse repository at this point
Copy the full SHA 417d7a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a925b5 - Browse repository at this point
Copy the full SHA 9a925b5View commit details -
It might help with the convert_lora_to_gguf.py script if default values were added here Co-authored-by: compilade <git@compilade.net>
Configuration menu - View commit details
-
Copy full SHA for c7b3616 - Browse repository at this point
Copy the full SHA c7b3616View commit details
Commits on Jul 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5da16bb - Browse repository at this point
Copy the full SHA 5da16bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb0bf6b - Browse repository at this point
Copy the full SHA eb0bf6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e9271c - Browse repository at this point
Copy the full SHA 7e9271cView commit details
Commits on Jul 18, 2024
-
gguf-py : extract metadata from model name more resiliently
Using more than one regex to annotate the parts of the name, this way, the order doesn't have to be fixed and this should work correctly for more edge cases. Also, the total parameter count of the model is used to figure out if a size label is not actually a size label, but a context size. * convert_lora : fix duplicate model type key
Configuration menu - View commit details
-
Copy full SHA for 2c18a9a - Browse repository at this point
Copy the full SHA 2c18a9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c9932c - Browse repository at this point
Copy the full SHA 4c9932cView commit details -
gguf-py : handle more name metadata extraction edge cases
* gguf-py : output the split plan on stdout when using dry_run * convert_hf : unify vocab naming convention with the standard one This also adds a way to name LoRA models.
Configuration menu - View commit details
-
Copy full SHA for 73899f7 - Browse repository at this point
Copy the full SHA 73899f7View commit details