Hi all,
Just wanted to announce a new utility in the TVM codebase: docker/clear-stale-images.sh
. If tlcpack
images chronically fill up your local disk, you can now easily remove only those which are tvm-related.
More details:
$ docker/clear-stale-images.sh --help
usage: docker/clear-stale-images.sh [-n] [-v] [-y] <repository> [<repository> ...]
Remove tvm-related docker images from the local system which
are not used by the currently-checked-out branch in this git
repository plus any linked worktrees.
This command should remove only docker images beginning with "tlcpack"
Options:
-n Perform a dry-run and just print the docker rmi command
-v Verbosely list the images kept and why
-y Skip confirmation
<repository> Additional git repositories to consult.
Would love to hear any feedback/bug reports (feel free to file GH issues and cc me).
Thanks, Andrew