Skip to content

Commit b9bc4fe

Browse files
Update generative-proof-of-concept-CPU-preprocessing-in-memory.py
Add option to purge models after pulling best one, test that this works.
1 parent 98ab7bd commit b9bc4fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generative-proof-of-concept-CPU-preprocessing-in-memory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ def reset_state(self):
733733

734734
MODEL_FILE_NAME = "cerebros-foundation-model.keras"
735735

736-
best_model_found = cerebros_automl.get_best_model()
736+
best_model_found = cerebros_automl.get_best_model(purge_model_storage_files=True)
737737
# mlflow.keras.log_model(best_model_found, name="base")
738738
# best_model_found.save(MODEL_FILE_NAME)
739739
# del(best_model_found)

0 commit comments

Comments
 (0)