Skip to content

Make LlamaData utility functions static in llama-run - #17913

Closed
rauletorresc wants to merge 1 commit into
ggml-org:masterfrom
rauletorresc:rauletorresc-patch-10
Closed

rauletorresc wants to merge 1 commit into
ggml-org:masterfrom
rauletorresc:rauletorresc-patch-10

Conversation

@rauletorresc

Copy link
Copy Markdown
Contributor

Description of the problem

Class LlamaData in llama-run contains utility functions that never access non-static data members or non-static member functions. However they are unnecessarily defined as non-static as well.

Proposed solution

Make those utility functions static, so there is single copy of them shared by all objects of that class type.

**Description of the problem**

Class `LlamaData` in `llama-run` contains utility functions that
never access non-static data members or non-static member
functions. However they are unnecessarily defined as non-static
as well.

**Proposed solution**

Make those utility functions static, so there is single copy of
them shared by all objects of that class type.
@rauletorresc
rauletorresc force-pushed the rauletorresc-patch-10 branch from 042b494 to ce087ff Compare January 4, 2026 12:05
@rauletorresc rauletorresc changed the title Make LlamaData utility functions static in llama-run CANN: Make LlamaData utility functions static in llama-run Jan 5, 2026
@rauletorresc rauletorresc changed the title CANN: Make LlamaData utility functions static in llama-run Make LlamaData utility functions static in llama-run Jan 5, 2026
@rauletorresc

Copy link
Copy Markdown
Contributor Author

Closing because llama-run tool has been removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant