# Multi-GPU Operation mistralai/Mistral-Large-Instruct-2407

**URL:** <https://discuss.huggingface.co/t/multi-gpu-operation-mistralai-mistral-large-instruct-2407/105744>\
**Category:** 🤗Transformers\
**Created:** [September 7, 2024, 3:37am UTC](https://discuss.huggingface.co/t/multi-gpu-operation-mistralai-mistral-large-instruct-2407/105744 "2024-09-07T03:37:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lokis](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lokis/32/31344_2.png) [@Lokis](https://discuss.huggingface.co/u/Lokis)\
**Post date:** [September 7, 2024, 3:37am UTC](https://discuss.huggingface.co/t/multi-gpu-operation-mistralai-mistral-large-instruct-2407/105744/1 "2024-09-07T03:37:01Z")

</div>

When I deployed Mistral-Large-Instruct-2407 on a multi-GPU server, I set GPU usage to “auto”, but the returned data was very slow. I wanted to try running my 8 A100 80Gb servers at full speed, but debugging multi-GPU settings, including workers, threads, GPU limits, etc., always resulted in GPU memory being fully occupied. Sometimes, when it worked, I encountered errors when child threads tried to use the model pre-loaded into GPU by the main thread. I implemented a ‘ swap’ solution, but it still tells me to use ‘ swap’ .

I haven’t seen any official sample code on Hugging Face or GitHub. I’m seeking guidance from everyone.
