You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extension/android/executorch_android/src/main/java/org/pytorch/executorch/extension/llm/LlmModuleConfig.java
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -95,9 +95,20 @@ public static class Builder {
95
95
Builder() {}
96
96
97
97
/**
98
-
* Sets the path to the tokenizer resources.
98
+
* Sets the path to the module.
99
99
*
100
-
* @param tokenizerPath Path to tokenizer files/directory
100
+
* @param modulePath Path to module
101
+
* @return This builder instance for method chaining
102
+
*/
103
+
publicBuildermodulePath(StringmodulePath) {
104
+
this.modulePath = modulePath;
105
+
returnthis;
106
+
}
107
+
108
+
/**
109
+
* Sets the path to the tokenizer.
110
+
*
111
+
* @param tokenizerPath Path to tokenizer
101
112
* @return This builder instance for method chaining
0 commit comments