Post

Replies

Boosts

Views

Activity

Reply to TensorFlow is slow after upgrading to Sonoma
I am not using tensor flow, simply training a model using .csv files and DataFrames using something simple like let params = MLBoostedTreeRegressor.ModelParameters(validation: .split(strategy: .automatic),maxIterations:5000) let model = try MLBoostedTreeRegressor(trainingData: trainingdata, targetColumn: columntopredict, parameters: params) It is almost 7x slower on Sonoma, roughly the same difference in speed that you are noticing. I have tried looking for flags to set, I have changed all deprecated code, with nothing making any difference. My M1 laptop used to run hot whilst running my code under Ventura, and now it is at a pleasant ambient temperature and not really trying under Sonoma. Something has definitely changed in the update to Sonoma, and it has made my application stupidly slow. The only advice I've had so far is to try the developer beta, but I'm just not willing to go that route yet.
Oct ’23