blog
blog copied to clipboard
Optimisation 3: Torch Compile in audioldm2.md does not appear in the Colab notebook mentioned in the beginning of the blog
And there is some error when I run this optimisation following the steps in the blog
Thanks
Hey @tiansiyuan, sorry for the late reply here. At the time of writing, Google Colab free tier came with a version of torch that didn't provide compile support for T4. Hence, it was omitted from the Colab. Since then, Colab has been updated to use a newer version of torch, which should have support. You can simply copy and paste the code from the blog post into the Colab to run the compiled version of the code. If this fails, please could you provide the following:
- The output of
transformers-cli env - A copy and paste of the code you're using
- The full stack trace of the error
Thanks!