Miraculix200/StableDiffusionUI_SageMakerSL

I tried your notebook

Opened this issue · 0 comments

Hi, I tried to install your notebook. But I'm near the end and I get some errors.

from ..utils import _log_api_usage_once

  File "/home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/torchvision/utils.py", line 23, in <module>
    @torch.no_grad()
AttributeError: module 'torch' has no attribute 'no_grad'

Also, I cant use GPU now so even if I added :

%cd ~/sagemaker-studiolab-notebooks/stable-diffusion-webui
ARGS = "\"--skip-torch-cuda-test --disable-console-progressbars --gradio-debug --gradio-auth " + WEBUI_USERNAME + ":" + WEBUI_PASSWORD + " --ngrok " + ngrok_token + "\""
!COMMANDLINE_ARGS=$ARGS REQS_FILE="requirements.txt" python launch.py

it still says : "Launching Web UI with arguments: --disable-console-progressbars --gradio-debug --gradio-auth adam:motdepasse --ngrok 2KC6l2qvD1t5C7zH0UZG83OyCFc_5m7XccnFXqwj2D1hggiES"