Skip to content

Commit

Permalink
Update AutoGluon max_memory from 0.1 to 0.4 in persist_models (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
Innixma authored Jun 21, 2023
1 parent aeb709d commit bb25b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frameworks/AutoGluon/exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def run(dataset, config):
)

# Persist model in memory that is going to be predicting to get correct inference latency
predictor.persist_models('best')
predictor.persist_models('best', max_memory=0.4)

def inference_time_classification(data: Union[str, pd.DataFrame]):
return None, predictor.predict_proba(data, as_multiclass=True)
Expand Down

0 comments on commit bb25b01

Please sign in to comment.