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
caseUNKNOWN -> thrownewUnsupportedOperationException("Unknown model type");
105
+
};
106
+
}
107
+
108
+
/**
109
+
* Determines whether the NVIDIA-specific scheduler should be used based on the current
110
+
* hardware backend and the model type.
97
111
* <p>
98
112
* The scheduler is used only if the runtime is targeting an NVIDIA backend and the model is not of type {@code MISTRAL}. If either the hardware is not NVIDIA or the model is {@code MISTRAL}, the
99
113
* NVIDIA-specific scheduler should not be used.
@@ -115,19 +129,8 @@ public static boolean shouldUseNvidiaScheduler(Model model) {
115
129
}
116
130
117
131
/**
118
-
* Dispatcher method to select the TornadoVMLayerPlanner for the model.
caseUNKNOWN -> thrownewUnsupportedOperationException("Unknown model type");
126
-
};
127
-
}
128
-
129
-
/**
130
-
* Executes the forward pass of a LLaMA transformer model using TornadoVM acceleration. This method processes the transformer layers in sequence for a particular token position in the context
132
+
* Executes the forward pass of a LLaMA transformer model using TornadoVM acceleration.
133
+
*This method processes the transformer layers in sequence for a particular token position in the context
0 commit comments