deleteEntries(for:)
Deletes all cache entries for a specific model, regardless of specialization options.
Declaration
final func deleteEntries(for modelURL: URL) throwsParameters
- modelURL:
The URL of an
.aimodelfile that you previously specialized.
Mentioned in
Discussion
A model may have multiple entries in the cache. For example, one with cpuOnly and another with default. This method deletes all of them.