You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
support for aot (ahead of time) to deal with ml.net models #6942
changed the title [-]support for aot (ahead of time) to deal with mi.net models[/-][+]support for aot (ahead of time) to deal with ml.net models[/+]on Jan 6, 2024
Thanks for this suggestion @NofAssiri. Could you please provide additional details about your use case.
is this something we are thinking about doing still? Or is it further back in our backlog?
I think we still need to understand what the cost / benefits of this are and get more feedback around scenarios. At this time, there are no immediate plans for this work and is further back in our backlog.
my 2 cents. It seems to me benefits of AOT are clear: computational time is very different and this is extremely important in some scenarios. I'm currently working on a couple of apps (a console app and a MAUI app) for being used in scientific analysis and having ML.NET compatible with AOT compilation would be really great to have shorter waitings for results. I really hope you would implement AOT support!
Reacted by Twenty, AFCMS, Dani Santos and Vicente Penades
Triage: there are no plans to support AOT right now, if we will have resources and funding to implement it in future, we will create a new issue for it.
Activity
[-]support from aot (ahead of time) api[/-][+]support for aot (ahead of time) to deal with mi.net models[/+][-]support for aot (ahead of time) to deal with mi.net models[/-][+]support for aot (ahead of time) to deal with ml.net models[/+]michaelgsharp commentedon Jan 10, 2024
Currently we are not AOT compatible, though this is something we have talked about looking into.
@luisquintanilla is this something we are thinking about doing still? Or is it further back in our backlog?
luisquintanilla commentedon Jan 10, 2024
Thanks for this suggestion @NofAssiri. Could you please provide additional details about your use case.
I think we still need to understand what the cost / benefits of this are and get more feedback around scenarios. At this time, there are no immediate plans for this work and is further back in our backlog.
FrancescoCarraro commentedon May 8, 2024
my 2 cents. It seems to me benefits of AOT are clear: computational time is very different and this is extremely important in some scenarios. I'm currently working on a couple of apps (a console app and a MAUI app) for being used in scientific analysis and having ML.NET compatible with AOT compilation would be really great to have shorter waitings for results. I really hope you would implement AOT support!
vpenades commentedon Feb 16, 2026
Just hit this issue, as of 2026 it seems ML is not AOT ready.
We need AOT for cross platform support.
This is not optional.
rosebyte commentedon Oct 22, 2026
Triage: there are no plans to support AOT right now, if we will have resources and funding to implement it in future, we will create a new issue for it.