# Build error while cloning

**URL:** <https://discuss.huggingface.co/t/build-error-while-cloning/114432>\
**Category:** Intermediate\
**Created:** [October 28, 2024, 8:42pm UTC](https://discuss.huggingface.co/t/build-error-while-cloning/114432 "2024-10-28T20:42:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bhaskar2611](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@Bhaskar2611](https://discuss.huggingface.co/u/Bhaskar2611)\
**Post date:** [October 28, 2024, 8:42pm UTC](https://discuss.huggingface.co/t/build-error-while-cloning/114432/1 "2024-10-28T20:42:59Z")

</div>

> **[Capstone - a Hugging Face Space by Bhaskar2611](https://huggingface.co/spaces/Bhaskar2611/Capstone)**
>
> Discover amazing ML apps made by the community

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/2/b/2bfac86e6a531d4ed8cf013ab6cfb7fb7692174d.png)  
I am facing this issue by just renaming my space and i also renamed it back but am unable to get rid of this issue even after i changed my repository to a working version through git.

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [October 29, 2024, 12:04am UTC](https://discuss.huggingface.co/t/build-error-while-cloning/114432/2 "2024-10-29T00:04:50Z")

</div>

Maybe same problem.

> [@Build error: Error while cloning repository](https://discuss.huggingface.co/t/build-error-error-while-cloning-repository/113801/1):
>
> I’ve attempted to restart and perform a factory build multiple times, yet the build error persists. I’ve also researched and tried solutions from similar issues, but to no avail. Space link: [Image Matching Webui - a Hugging Face Space by Realcat](https://huggingface.co/spaces/Realcat/image-matching-webui) Thanks for your help:)

---

<div class="post-metadata">

**Author:** ![Bhaskar2611](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@Bhaskar2611](https://discuss.huggingface.co/u/Bhaskar2611)\
**Post date:** [October 29, 2024, 6:06am UTC](https://discuss.huggingface.co/t/build-error-while-cloning/114432/3 "2024-10-29T06:06:41Z")

</div>

how did you resolved it?

---

<div class="post-metadata">

**Author:** ![Bhaskar2611](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@Bhaskar2611](https://discuss.huggingface.co/u/Bhaskar2611)\
**Post date:** [October 29, 2024, 6:10am UTC](https://discuss.huggingface.co/t/build-error-while-cloning/114432/4 "2024-10-29T06:10:46Z")

</div>

my space link: [Capstone - a Hugging Face Space by Bhaskar2611](https://huggingface.co/spaces/Bhaskar2611/Capstone) can anyone help?

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [October 29, 2024, 6:14am UTC](https://discuss.huggingface.co/t/build-error-while-cloning/114432/5 "2024-10-29T06:14:10Z")

</div>

Let’s create a model repo for safetensors and other model files and put them there. Then, load them from Spaces and use them.  
I think it should be possible to use them directly in Spaces, but that’s probably a bug.

---

<div class="post-metadata">

**Author:** ![Bhaskar2611](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@Bhaskar2611](https://discuss.huggingface.co/u/Bhaskar2611)\
**Post date:** [October 29, 2024, 6:15am UTC](https://discuss.huggingface.co/t/build-error-while-cloning/114432/6 "2024-10-29T06:15:53Z")

</div>

you are saying that i have to access those safetensors files from another repository is it?

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [October 29, 2024, 6:20am UTC](https://discuss.huggingface.co/t/build-error-while-cloning/114432/7 "2024-10-29T06:20:44Z")

</div>

Yes. That’s what I mean: since Spaces is where you put your programs, models generally work better and more stably if they are placed in the model repo.  
In fact, it has been working in Spaces, but at this moment, HF is probably buggy about something.

---

<div class="post-metadata">

**Author:** ![Bhaskar2611](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@Bhaskar2611](https://discuss.huggingface.co/u/Bhaskar2611)\
**Post date:** [October 29, 2024, 6:24am UTC](https://discuss.huggingface.co/t/build-error-while-cloning/114432/8 "2024-10-29T06:24:21Z")

</div>

Thanks, dude. I’ll try that and let you know soon
