Skip to content

[k2] undo revert of "make init instance memory size adjustable" and add small fixes#1615

Merged
PetrShumilov merged 4 commits intomasterfrom
pshumilov/undo_revert_make_init_instance_memory_size_adjustable
Apr 22, 2026
Merged

[k2] undo revert of "make init instance memory size adjustable" and add small fixes#1615
PetrShumilov merged 4 commits intomasterfrom
pshumilov/undo_revert_make_init_instance_memory_size_adjustable

Conversation

@PetrShumilov
Copy link
Copy Markdown
Contributor

* Fixed diagnostic in cases when memory is not enough
* Made initial instance memory size adjustable
* Made min instance extra memory size adjustable
---------

Signed-off-by: Petr Shumilov <p.shumilov@vkteam.ru>
Signed-off-by: Petr Shumilov <p.shumilov@vkteam.ru>
@PetrShumilov PetrShumilov added this to the next milestone Apr 22, 2026
@PetrShumilov PetrShumilov self-assigned this Apr 22, 2026
@PetrShumilov PetrShumilov added the k2 Affects compiler or runtime in K2 mode label Apr 22, 2026
@PetrShumilov PetrShumilov requested a review from apolyakov April 22, 2026 08:23
Copy link
Copy Markdown
Contributor

@apolyakov apolyakov left a comment

Choose a reason for hiding this comment

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

Let's also rename this PR since it doesn't revert a commit actually. It also adds some unique changes

Comment thread runtime-common/core/allocator/runtime-allocator.h Outdated
Comment thread runtime-light/allocator/allocator-state.h Outdated
Comment thread runtime-light/allocator/runtime-light-allocator.cpp
@apolyakov apolyakov added the runtime Feature related to runtime label Apr 22, 2026
Signed-off-by: Petr Shumilov <p.shumilov@vkteam.ru>
@PetrShumilov PetrShumilov force-pushed the pshumilov/undo_revert_make_init_instance_memory_size_adjustable branch from d3d3e62 to 131a532 Compare April 22, 2026 11:48
Signed-off-by: Petr Shumilov <p.shumilov@vkteam.ru>
@PetrShumilov PetrShumilov changed the title [k2] undo revert of "make init instance memory size adjustable" [k2] undo revert of "make init instance memory size adjustable" and add small fixes Apr 22, 2026
@PetrShumilov PetrShumilov merged commit def57ff into master Apr 22, 2026
7 checks passed
@PetrShumilov PetrShumilov deleted the pshumilov/undo_revert_make_init_instance_memory_size_adjustable branch April 22, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

k2 Affects compiler or runtime in K2 mode runtime Feature related to runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants