# Seq2SeqTrainingArguments due to missing accelerate library which is actually installed

**URL:** <https://discuss.huggingface.co/t/seq2seqtrainingarguments-due-to-missing-accelerate-library-which-is-actually-installed/77671>\
**Category:** Intermediate\
**Created:** [March 16, 2024, 1:08pm UTC](https://discuss.huggingface.co/t/seq2seqtrainingarguments-due-to-missing-accelerate-library-which-is-actually-installed/77671 "2024-03-16T13:08:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![denis-kazakov](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/denis-kazakov/32/28314_2.png) [@denis-kazakov](https://discuss.huggingface.co/u/denis-kazakov)\
**Post date:** [March 16, 2024, 1:08pm UTC](https://discuss.huggingface.co/t/seq2seqtrainingarguments-due-to-missing-accelerate-library-which-is-actually-installed/77671/1 "2024-03-16T13:08:33Z")

</div>

I am trying to reproduce the example from this blog post "Fine-Tune Whisper  
[Fine-Tune Whisper For Multilingual ASR with Transformers](https://huggingface.co/blog/fine-tune-whisper). The blog refers to a Google Colab notebook.

However, when I run the notebook, the cell that sets training arguments fails with the following code:

 ![error_accelerate](https://us1.discourse-cdn.com/hellohellohello/original/3X/a/9/a9d288ebec38cd97df70d854d18073545bd42726.jpeg)

I tried to run both commands proposed in the error code (pip install transformers[torch] and …accelerate -U" and checked that `accelerate` is actually installed as can be seen in line [28] but the error persists.

The code was run on T4 GPU in Google Colab.

---

<div class="post-metadata">

**Author:** ![muellerzr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/muellerzr/32/21583_2.png) [@muellerzr](https://discuss.huggingface.co/u/muellerzr)\
**Post date:** [March 16, 2024, 2:05pm UTC](https://discuss.huggingface.co/t/seq2seqtrainingarguments-due-to-missing-accelerate-library-which-is-actually-installed/77671/2 "2024-03-16T14:05:17Z")

</div>

> [@denis-kazakov](#):
>
> Google Colab notebook.

Restart the runtime and it should go away (weird colab issue)

---

<div class="post-metadata">

**Author:** ![denis-kazakov](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/denis-kazakov/32/28314_2.png) [@denis-kazakov](https://discuss.huggingface.co/u/denis-kazakov)\
**Post date:** [March 17, 2024, 2:35pm UTC](https://discuss.huggingface.co/t/seq2seqtrainingarguments-due-to-missing-accelerate-library-which-is-actually-installed/77671/3 "2024-03-17T14:35:59Z")

</div>

Thank you! It did!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/hellohellohello/original/2X/d/de4155eb4aa4108ecb32a1389d7cc37ae69f88b7.png) [@system](https://discuss.huggingface.co/u/system)\
**Post date:** [March 18, 2024, 1:28pm UTC](https://discuss.huggingface.co/t/seq2seqtrainingarguments-due-to-missing-accelerate-library-which-is-actually-installed/77671/4 "2024-03-18T13:28:39Z")

</div>

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.
