mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-23 16:02:10 +00:00
feat(backend): make backend_workspace_t::engines_folder constexpr
This commit is contained in:
parent
2f8634ec01
commit
874bc28d6c
@ -114,7 +114,7 @@ namespace huggingface::tgi::backends::trtllm {
|
||||
* Path to the folder containing the TensorRT-LLM engines
|
||||
* @return local filesystem path to the folder
|
||||
*/
|
||||
[[nodiscard]] std::filesystem::path engines_folder() const { return engines_folder_; }
|
||||
[[nodiscard]] constexpr std::filesystem::path engines_folder() const { return engines_folder_; }
|
||||
|
||||
/**
|
||||
* Hugging Face transformers' generated `generation_config_t` mapping information stored in the
|
||||
|
Loading…
Reference in New Issue
Block a user