# Sharing downloaded models between users

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsharing-downloaded-models-between-users%2F78093%3E%5C
**Category:** 🤗Hub\
**Created:** [March 19, 2024, 12:03pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsharing-downloaded-models-between-users%2F78093 "2024-03-19T12:03:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dimidd](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/dimidd/32/24988_2.png) [@dimidd](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fdimidd)%5C
**Post date:** [March 19, 2024, 12:03pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsharing-downloaded-models-between-users%2F78093%2F1 "2024-03-19T12:03:43Z")

</div>

I’d like several users to share downloaded models, such that when any of the users downloads a model, e.g. using

```auto
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)

```

the other users would be able to use it as well for inference, without having to download it again. The users would all be using linux, but may use different hosts, have different python environments and package versions, etc. So, I’ve thought creating a shared NFS mount, e.g. `/models` and mount it on all hosts. Then, for each user, symlink their HF cache hub dir to a shared path. E.g. `ln -s /models ~/.cache/huggingface/hub`.

I don’t want to symlink `~/.cache/huggingface/`, since it also contains a personal HF token, and `modules`.

Assuming we can configure file permissions properly, could there still be issues such as:

- conflicts between different versions of packages, virtualenv/conda envs etc.
- file locking issues

---

<div class="post-metadata">

**Author:** ![cduk](https://avatars.discourse-cdn.com/v4/letter/c/67e7ee/32.png) [@cduk](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fcduk)%5C
**Post date:** [March 21, 2024, 1:08pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsharing-downloaded-models-between-users%2F78093%2F2 "2024-03-21T13:08:58Z")

</div>

Did you implement this yet? I was thinking of doing something similar as downloading the same multi-gigabyte models on different computers in the network is not fun.

---

<div class="post-metadata">

**Author:** ![thomas-paul-evollabs](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/thomas-paul-evollabs/32/51568_2.png) [@thomas-paul-evollabs](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fthomas-paul-evollabs)%5C
**Post date:** [December 16, 2025, 12:15pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsharing-downloaded-models-between-users%2F78093%2F3 "2025-12-16T12:15:11Z")

</div>

What if we download models to a common mount point and set HF\_CACHE to point to it? Will it work for multiple users?

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [December 16, 2025, 1:08pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsharing-downloaded-models-between-users%2F78093%2F5 "2025-12-16T13:08:14Z")

</div>

[`snapshot_download`](https://huggingface.co/docs/huggingface_hub/v1.2.3/guides/download#download-an-entire-repository) would help…
