Skip to content

Commit abfaee7

Browse files
committed
Address comments
1 parent d7be54c commit abfaee7

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

extension/llm/runner/llm_runner_helper.h

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -121,21 +121,4 @@ ET_EXPERIMENTAL std::unique_ptr<MultimodalRunner> create_multimodal_runner(
121121
std::unique_ptr<::tokenizers::Tokenizer> tokenizer,
122122
std::optional<const std::string> data_path = std::nullopt);
123123

124-
/**
125-
* @brief Creates a MultimodalRunner instance with a shared tokenizer
126-
*
127-
* This overload allows using a tokenizer that is shared/owned by Python or
128-
* other code. The tokenizer must remain valid for the lifetime of the runner.
129-
*
130-
* @param model_path Path to the model file
131-
* @param tokenizer Shared pointer to an initialized tokenizer instance
132-
* @param data_path Optional path to additional .ptd required by the model
133-
* @return std::unique_ptr<MultimodalRunner> Initialized MultimodalRunner
134-
* instance, or nullptr on failure
135-
*/
136-
ET_EXPERIMENTAL std::unique_ptr<MultimodalRunner> create_multimodal_runner(
137-
const std::string& model_path,
138-
std::shared_ptr<::tokenizers::Tokenizer> tokenizer,
139-
std::optional<const std::string> data_path = std::nullopt);
140-
141124
} // namespace executorch::extension::llm

0 commit comments

Comments
 (0)