# Agent tutorial problem with the Diffuser

**URL:** <https://discuss.huggingface.co/t/agent-tutorial-problem-with-the-diffuser/40678>\
**Category:** Site Feedback\
**Created:** [May 22, 2023, 11:53pm UTC](https://discuss.huggingface.co/t/agent-tutorial-problem-with-the-diffuser/40678 "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](https://discuss.huggingface.co/u/jmassot)\
**Post date:** [May 22, 2023, 11:53pm UTC](https://discuss.huggingface.co/t/agent-tutorial-problem-with-the-diffuser/40678/1 "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.
