feat(backend): fix backend_exception_t -> backend_error_t naming

This commit is contained in:
Morgan Funtowicz 2024-12-02 15:16:42 +01:00
parent 879e1a4178
commit a7bad25c41
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ namespace huggingface::tgi::backends::trtllm {
return executor_.getNumResponsesReady();
}
std::expected<request_id_t, backend_exception_t>
std::expected<request_id_t, backend_error_t>
backend_t::submit(const std::span<tle::TokenIdType> token_ids, const generation_params_t generation_params, const sampling_params_t sampling_params) noexcept {
SPDLOG_DEBUG("Submitting {:d} tokens to the executor for scheduling ({}, {})", token_ids.size(), generation_params, sampling_params);
return executor_.enqueueRequest(tle::Request {