Skip to content

model-conversion : make printing of config values optional#19681

Merged
danbev merged 2 commits intoggml-org:masterfrom
danbev:model-conversion-optional-print-config
Feb 17, 2026
Merged

model-conversion : make printing of config values optional#19681
danbev merged 2 commits intoggml-org:masterfrom
danbev:model-conversion-optional-print-config

Conversation

@danbev
Copy link
Copy Markdown
Member

@danbev danbev commented Feb 17, 2026

This commit updates run-org-model.py to make the printing of model configuration values optional.

The motivation for this change is that not all models have these configuration values defined and those that do not will error when running this script. With these changes we only print the values if they exist.

We could optionally just remove them but it can be useful to see these values when running the original model.

This commit updates run-org-model.py to make the printing of model
configuration values optional.

The motivation for this change is that not all models have these
configuration values defined and those that do not will error when
running this script. With these changes we only print the values if they
exist.

We could optionally just remove them but it can be useful to see these
values when running the original model.
Comment thread examples/model-conversion/scripts/causal/run-org-model.py Outdated
@github-actions github-actions Bot added examples python python script changes labels Feb 17, 2026
@danbev danbev merged commit 667b694 into ggml-org:master Feb 17, 2026
4 checks passed
@danbev danbev deleted the model-conversion-optional-print-config branch February 17, 2026 09:47
liparetejas pushed a commit to liparetejas/llama.cpp that referenced this pull request Feb 23, 2026
…19681)

* model-conversion : make printing of config values optional

This commit updates run-org-model.py to make the printing of model
configuration values optional.

The motivation for this change is that not all models have these
configuration values defined and those that do not will error when
running this script. With these changes we only print the values if they
exist or a default value.

We could optionally just remove them but it can be useful to see these
values when running the original model.
bartowski1182 pushed a commit to bartowski1182/llama.cpp that referenced this pull request Mar 2, 2026
…19681)

* model-conversion : make printing of config values optional

This commit updates run-org-model.py to make the printing of model
configuration values optional.

The motivation for this change is that not all models have these
configuration values defined and those that do not will error when
running this script. With these changes we only print the values if they
exist or a default value.

We could optionally just remove them but it can be useful to see these
values when running the original model.
ArberSephirotheca pushed a commit to ArberSephirotheca/llama.cpp that referenced this pull request Mar 3, 2026
…19681)

* model-conversion : make printing of config values optional

This commit updates run-org-model.py to make the printing of model
configuration values optional.

The motivation for this change is that not all models have these
configuration values defined and those that do not will error when
running this script. With these changes we only print the values if they
exist or a default value.

We could optionally just remove them but it can be useful to see these
values when running the original model.
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
…19681)

* model-conversion : make printing of config values optional

This commit updates run-org-model.py to make the printing of model
configuration values optional.

The motivation for this change is that not all models have these
configuration values defined and those that do not will error when
running this script. With these changes we only print the values if they
exist or a default value.

We could optionally just remove them but it can be useful to see these
values when running the original model.
rsenthilkumar6 pushed a commit to rsenthilkumar6/llama.cpp that referenced this pull request May 1, 2026
…19681)

* model-conversion : make printing of config values optional

This commit updates run-org-model.py to make the printing of model
configuration values optional.

The motivation for this change is that not all models have these
configuration values defined and those that do not will error when
running this script. With these changes we only print the values if they
exist or a default value.

We could optionally just remove them but it can be useful to see these
values when running the original model.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

examples python python script changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants