Skip to content

Commit 0babf86

Browse files
committed
Fix
1 parent 64dde98 commit 0babf86

File tree

1 file changed

+5
-5
lines changed
  • extension/android/executorch_android/src/main/java/org/pytorch/executorch/extension/llm

1 file changed

+5
-5
lines changed

extension/android/executorch_android/src/main/java/org/pytorch/executorch/extension/llm/LlmModule.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ public LlmModule(int modelType, String modulePath, String tokenizerPath, float t
6363
public LlmModule(LlmModuleConfig config) {
6464
mHybridData =
6565
initHybrid(
66-
config.modelType,
67-
config.modulePath,
68-
config.tokenizerPath,
69-
config.temperature,
70-
config.dataPath);
66+
config.getModelType(),
67+
config.getModulePath(),
68+
config.getTokenizerPath(),
69+
config.getTemperature(),
70+
config.getDataPath());
7171
}
7272

7373
public void resetNative() {

0 commit comments

Comments
 (0)