# Process for download immediately hangs on particular machine

**URL:** <https://discuss.huggingface.co/t/process-for-download-immediately-hangs-on-particular-machine/70511>\
**Category:** 🤗Transformers\
**Created:** [January 25, 2024, 3:14am UTC](https://discuss.huggingface.co/t/process-for-download-immediately-hangs-on-particular-machine/70511 "2024-01-25T03:14:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RylanSchaeffer](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RylanSchaeffer](https://discuss.huggingface.co/u/RylanSchaeffer)\
**Post date:** [January 25, 2024, 3:14am UTC](https://discuss.huggingface.co/t/process-for-download-immediately-hangs-on-particular-machine/70511/1 "2024-01-25T03:14:03Z")

</div>

I’m trying to download a model (Llama 70B) that I have access to:

```auto
from transformers import AutoTokenizer, AutoModelForCausalLM

model_name = "meta-llama/Llama-2-7b-chat-hf"
    model = AutoModelForCausalLM.from_pretrained(
        model_name,
        device_map="auto",
        # load_in_8bit=True,
        torch_dtype=torch.float16,
        low_cpu_mem_usage=True,
        # rope_scaling = {"type": "dynamic", "factor": scaling_factor}
    )

```

I have access to this model (I know because I can successfully download the model to other hosts on my cluster). When I try downloading on one particular machine, I see the following:

```auto
Downloading config.json: 100%|████████████████████████████████████████████████████████████████████████████| 614/614 [00:00<00:00, 2.71MB/s]

```

The process then becomes immediately unresponsive. I tried waiting overnight to no avail. I’ve tried on other days without success.

Why is this happening and how do I solve it?

As a possibly relevant observation, I think I interrupted a previous download of this model. I can’t quite remember. I’ve already tried clearing `.cache/huggingface/hub` but maybe I need to clear/reset something else?

---

<div class="post-metadata">

**Author:** ![tarunmohanty](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@tarunmohanty](https://discuss.huggingface.co/u/tarunmohanty)\
**Post date:** [February 13, 2024, 7:50am UTC](https://discuss.huggingface.co/t/process-for-download-immediately-hangs-on-particular-machine/70511/2 "2024-02-13T07:50:38Z")

</div>

I am also facing similar issue. Did you find any solution ? if yes, Please share that…

---

<div class="post-metadata">

**Author:** ![RylanSchaeffer](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RylanSchaeffer](https://discuss.huggingface.co/u/RylanSchaeffer)\
**Post date:** [February 14, 2024, 6:20pm UTC](https://discuss.huggingface.co/t/process-for-download-immediately-hangs-on-particular-machine/70511/3 "2024-02-14T18:20:59Z")

</div>

I did not find a solution.

---

<div class="post-metadata">

**Author:** ![tarunmohanty](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@tarunmohanty](https://discuss.huggingface.co/u/tarunmohanty)\
**Post date:** [February 14, 2024, 6:33pm UTC](https://discuss.huggingface.co/t/process-for-download-immediately-hangs-on-particular-machine/70511/4 "2024-02-14T18:33:13Z")

</div>

Then, how are you using the machine. You reboot it or what ??

---

<div class="post-metadata">

**Author:** ![RylanSchaeffer](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RylanSchaeffer](https://discuss.huggingface.co/u/RylanSchaeffer)\
**Post date:** [February 14, 2024, 8:14pm UTC](https://discuss.huggingface.co/t/process-for-download-immediately-hangs-on-particular-machine/70511/5 "2024-02-14T20:14:39Z")

</div>

The problem went away on its own. No idea why 🤷‍♂️
