# Agent tutorial problem with the Diffuser

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fagent-tutorial-problem-with-the-diffuser%2F40678%3E%5C
**Category:** Site Feedback\
**Created:** [May 22, 2023, 11:53pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fagent-tutorial-problem-with-the-diffuser%2F40678 "2023-05-22T23:53:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmassot](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/jmassot/32/32864_2.png) [@jmassot](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjmassot)%5C
**Post date:** [May 22, 2023, 11:53pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fagent-tutorial-problem-with-the-diffuser%2F40678%2F1 "2023-05-22T23:53:10Z")

</div>

Hi,

I am reproducing the introduction about agents and I have the following issue when I try to load the diffuser/controlnet-canny-tool. There is an import from the transformer.utils which causes an ImportError.

```auto
from transformers.utils import (
    is_accelerate_available,                                                             
    is_diffusers_available,                                                            
    is_vision_available,    
    ...

```

The is\_diffusers\_available is now missing.

I am using the versions recommended in the colab notebook from the HF official doc.  
transformers==v4.29.0  
diffusers==0.16.1

Could someone know if the utils have been modified and the is\_diffusers\_available relocated somewhere else?

Thanks

J.
