# PyTorch Hub models

Source: https://diskcity.app/folders/ai-torch-hub

**Check before deleting.** Usually, but look first. PyTorch downloads a model again the next time code loads it from the hub.

## What it is

PyTorch Hub models is data your Mac or an app can rebuild. It lives at ~/.cache/torch/hub.

## Where it is

- `~/.cache/torch/hub`

## How big is it?

```sh
du -sh "$HOME/.cache/torch/hub"
```

## How to remove it

1. In Finder, choose Go > Go to Folder (Shift-Command-G), paste the path above and press Return.
2. Leave anything opened or changed less than 60 days ago (for a folder, its newest file counts). DiskCity waits that long too.
3. Move only what passes these checks to the Trash.
4. Empty the Trash to get the space back. Until then, you can still put things back.

## What DiskCity does with it

DiskCity labels it as rebuildable and removes it only when you approve. It only suggests it once it hasn't been used for 60 days. DiskCity can also move it to your own drive through the Harbour instead of deleting it.
