Skip to content

common : Changed tuple to struct (TODO fix) - #8823

Merged
ngxson merged 3 commits into
ggml-org:masterfrom
Septa2112:pr/2
Aug 5, 2024
Merged

ngxson merged 3 commits into
ggml-org:masterfrom
Septa2112:pr/2

Conversation

@Septa2112

Copy link
Copy Markdown
Contributor

Use struct llama_init_result to replace the previous std::tuple<struct llama_model *, struct llama_context *>

Use struct `llama_init_result` to replace the previous
std::tuple<struct llama_model *, struct llama_context *>
Comment thread common/common.cpp Outdated
Comment thread common/common.cpp Outdated
Comment thread common/common.h Outdated
Comment thread common/common.h Outdated
@Septa2112

Septa2112 commented Aug 5, 2024 •

Copy link
Copy Markdown
Contributor Author

I have modified the code according to your suggestion.

@ngxson ngxson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks. Let’s merge when CI passed

@Septa2112

Copy link
Copy Markdown
Contributor Author

Found CI failed. I have submitted a new commit to delete the extra whitespace in this PR.

@Septa2112
Septa2112 requested a review from ngxson August 5, 2024 08:46
@mofosyne mofosyne added the Review Complexity : Low Trivial changes to code that most beginner devs (or those who want a break) can tackle. e.g. UI fix label Aug 5, 2024
@ngxson
ngxson merged commit 0a4ce78 into ggml-org:master Aug 5, 2024
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Aug 7, 2024
* common : Changed tuple to struct (TODO fix)

Use struct `llama_init_result` to replace the previous
std::tuple<struct llama_model *, struct llama_context *>

* delete llama_init_default_params()

* delete the extra whitespace
@Septa2112
Septa2112 deleted the pr/2 branch August 21, 2024 02:54
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
* common : Changed tuple to struct (TODO fix)

Use struct `llama_init_result` to replace the previous
std::tuple<struct llama_model *, struct llama_context *>

* delete llama_init_default_params()

* delete the extra whitespace
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
* common : Changed tuple to struct (TODO fix)

Use struct `llama_init_result` to replace the previous
std::tuple<struct llama_model *, struct llama_context *>

* delete llama_init_default_params()

* delete the extra whitespace
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
* common : Changed tuple to struct (TODO fix)

Use struct `llama_init_result` to replace the previous
std::tuple<struct llama_model *, struct llama_context *>

* delete llama_init_default_params()

* delete the extra whitespace
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
* common : Changed tuple to struct (TODO fix)

Use struct `llama_init_result` to replace the previous
std::tuple<struct llama_model *, struct llama_context *>

* delete llama_init_default_params()

* delete the extra whitespace
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
* common : Changed tuple to struct (TODO fix)

Use struct `llama_init_result` to replace the previous
std::tuple<struct llama_model *, struct llama_context *>

* delete llama_init_default_params()

* delete the extra whitespace
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
* common : Changed tuple to struct (TODO fix)

Use struct `llama_init_result` to replace the previous
std::tuple<struct llama_model *, struct llama_context *>

* delete llama_init_default_params()

* delete the extra whitespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

examples Review Complexity : Low Trivial changes to code that most beginner devs (or those who want a break) can tackle. e.g. UI fix server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants