SIENTIAPDE-1174
SIENTIAPDE-1174 Update replica count and enhance logging in MLFlow - Changed replicaCount in values.yaml from 3 to 1 for reduced resource usage. - Added debug logging for prediction response data in MLFlow to improve traceability.
This commit is contained in:
@@ -95,6 +95,7 @@ class MLFlow(BaseActivity):
|
||||
response_data = self.model_monitoring_repository.predict(
|
||||
model_name, data, model_retention)
|
||||
|
||||
self.debug("Prediction response data:", metadata)
|
||||
self.debug(response_data, metadata)
|
||||
|
||||
return response_data
|
||||
|
||||
@@ -68,7 +68,7 @@ class MLFlowRepository():
|
||||
try:
|
||||
start_time = datetime.now()
|
||||
data = self.model_serving.get_cached_predict(
|
||||
model_name, data, model_retention)[0:1]
|
||||
model_name, data, model_retention)
|
||||
|
||||
end_time = datetime.now()
|
||||
data = pd.DataFrame(data, columns=['prediction'])
|
||||
|
||||
Reference in New Issue
Block a user