Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lightseq/inference/model/decoder.cc.cu
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ std::string Decoder<OpType_>::check() {
if (_tw._multilg_type != 0 && _p_d_lang_id == nullptr) {
return "lang id should not be null when multilg";
}
if (_tw._max_step > 1024) {
if (_tw._max_step > 1026) {
return "max_step should not greater than 1024";
}
return "";
Expand Down
4 changes: 2 additions & 2 deletions lightseq/inference/server/model_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ using CorrelationID = uint64_t;
using DimsList = ::google::protobuf::RepeatedField<::google::protobuf::int64>;

/// The type for the metric_tags map.
using MetricTagsMap = ::google::protobuf::Map<::google::protobuf::string,
::google::protobuf::string>;
using MetricTagsMap = ::google::protobuf::Map<::std::string,
::std::string>;

/// The type from platform name to the backend configuration for that
/// platform.
Expand Down