# SafetensorError: Error while deserializing header: HeaderTooLarge

**URL:** <https://discuss.huggingface.co/t/safetensorerror-error-while-deserializing-header-headertoolarge/56893>\
**Category:** 🤗Hub\
**Created:** [September 30, 2023, 6:54am UTC](https://discuss.huggingface.co/t/safetensorerror-error-while-deserializing-header-headertoolarge/56893 "2023-09-30T06:54:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KarishmaJaiswal2](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@KarishmaJaiswal2](https://discuss.huggingface.co/u/KarishmaJaiswal2)\
**Post date:** [September 30, 2023, 6:54am UTC](https://discuss.huggingface.co/t/safetensorerror-error-while-deserializing-header-headertoolarge/56893/1 "2023-09-30T06:54:56Z")

</div>

i am trying to run the git [repo](https://github.com/Stability-AI/generative-models) on our system . While executing below command we are facing the subject error  
_streamlit run scripts/demo/sampling.py --server.port \<your\_port\>_  
As per document i have configured **checkpoints/** folder with  
model [SDXL-base-1.0] and [SDXL-refiner-1.0] but not able to resolve the issue .  
Could any one suggest how we can fix the issue ? I have raise request for model

- stable-diffusion-xl-base-0.9 and
- stable-diffusion-xl-refiner-0.9

Waiting for its acces , but not sure pacing these two model would able be fix the issue or not .  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![kokul93](https://avatars.discourse-cdn.com/v4/letter/k/d6d6ee/32.png) [@kokul93](https://discuss.huggingface.co/u/kokul93)\
**Post date:** [March 28, 2024, 8:46pm UTC](https://discuss.huggingface.co/t/safetensorerror-error-while-deserializing-header-headertoolarge/56893/2 "2024-03-28T20:46:21Z")

</div>

Me too having same issue
