Skip to content

Commit

Permalink
Add an option for using GrowableMemory
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabrizian committed Nov 2, 2023
1 parent 35e384a commit 3416aca
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions protobuf/model_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1389,6 +1389,17 @@ message ModelSequenceBatching
//@@ The default value is false.
//@@
bool use_single_buffer = 6;

//@@ .. cpp:var:: bool use_growable_memory
//@@
//@@ The optional field to allow an implicit state buffer to grow or shrink
//@@ when the size changes during a sequence. When using this option Triton
//@@ guarantess that it will use the same buffer even if the state size changes.
//@@ Currently, this option only applies for implicit state that uses CUDA and
//@@ use_single_buffer must be enabled.
//@@ The default value is false.
//@@
bool use_growable_memory = 7;
}

//@@ .. cpp:var:: message StrategyDirect
Expand Down

0 comments on commit 3416aca

Please sign in to comment.