Suppress "TempSpace" info in predict
rdeits opened this issue · comments
Robin Deits commented
Calling mx.predict
always prints an info message like: INFO: TempSpace: Total 0 MB allocated on CPU0
, which can result in an overwhelming amount of printing when running lots of small predictions (I realize it's more efficient to do fewer predictions with larger batches, but that's not always possible). The relevant line is here:
Line 155 in 9474d95
Would it be reasonable to add a verbosity
keyword argument to predict()
?