API to locate and clean compiled files model.hwx .mlmodelc
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 850
- Avg merge
- 4d 5h
- Merged PRs (30d)
- 10
Description
## 🌱 Describe your Feature Request
It would be great if using the coremltools these compiled files could be located and cleaned.
## How can this feature be used?
When experimenting and evaluating many different model architectures when performing neural architecture search, the disk space gets quickly used up.
## Describe alternatives you've considered
Tried to located these temporary compiled files, however, I believe it would be more suitable if would be possible to locate and control these from the coremltools api. I have inspected the files generated using the aneservicecompiler and it generates 100 GB quite quickly.
## Additional context
May be there is some other command line method I am not aware of, but it would be nice as a feature of the api.
Contributor guide
Research direction
Read the coremltools model-conversion API and investigate how aneservicecompiler produces .hwx and .mlmodelc files. Determine where these temporary artifacts are created and what locate or cleanup controls the API would need; done means callers can manage compiled files without uncontrolled disk growth.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100