Logik portal no stable diffusion

I’m trying to install stable diffusion on my linux flamne, (2023.3.2 on centos 7), but its not showing up in the list of scripts available.

Anyone?

Yeah i cant see it on their either.

We will need more info. What does the terminal say upon launch?

Also, try and take every other python script out of the op, auto desk shared python folder and try that and see what happens.

Hi Randy. Its actually just not in the portal for me at all.

If I scroll down the list of logik portal updates, I see an entry 08.25.23 that say Stable diffusion v0.1.4 and another below it, however in the top right pane, (portal python scripts) it’s not showing.
It was there a couple of weeks ago when I installed it to my mac, but it’s just not showing anymore.

Hey guys

Sorry I haven’t responded to this. I’ve been buried in work the past couple of weeks.

I took that script off the portal. Based on the problems you guys were having it looks like there are a few things I still need to fix to get it to install properly. I’m going to be working on that this week and hopefully have a new version for you guys to try out soon.

Mike

5 Likes

@MikeV thank you! Really appreciate it

Thanks for the clarification Mike.

I just added a new version of the Stable Diffusion script(v0.1.5) to the Logik Portal. For the time being it will only work with M1/M2 Macs running 2024.1. There are some issues I still need to figure out on the linux end to get it working.

When running it for the first time on the Mac it will install a couple python packages it needs. After that is done run the script again and it should start downloading and installing Stable Diffusion. This will take a bit depending on your internet speed. After it’s done with that the script should hopefully start up on it’s own.

If anyone gets around to trying it, let me know how it goes.

Mike

1 Like

Hi Mike,

I hope all is well ! I’ve been running some tests using Flame 2024.1 on my M1 Studio and I’ve encountered a few issues that I wanted to bring to your attention.

Installation Loop: The script appears to be stuck, looping during the first stage of the installation. I’ve found that closing and reopening Flame allows me to proceed with the “Stable Diffusion” installation. Alternatively, a re-scan of Python hooks might resolve the issue.
Image-to-Image Module: I attempted to use in-painting with a mask and also tried adding a prompt. However, pressing the “Submit” button doesn’t produce any results. I’ve tried this with both QHD and 740x740 resolutions, but to no avail.
Upscaling: When trying to upscale an image by a factor of two, the status shows “hallucinating”
Text-to-Image Module: I wrote a sentence and requested a 512x512 image, but again, the system is stuck on “hallucinating”

I haven’t been able to receive any output from Stable Diffusion, which leads me to believe that I might be missing a step or perhaps doing something incorrectly.

Hey Jerem

Thanks for the feedback. Is this all using the latest version I put up on the Logik Portal last night? v0.1.5?

Thanks!

Mike

Yes, it’s the last version.

Does a shell open when you run the script that loads stable diffusion? Does a progress window open? Are you getting any errors in the Flame terminal?

Thanks

Mike

Hey Mike,

I record my screen and paste log.
https://drive.google.com/drive/folders/1ZcIUbevjmPwEi23kpjW1mSYFOLW_ZBVT?usp=sharing

On this news test with a file size of 512*512 the resize module work. Maybe my file was too large yesterday.
Still having issue with the image to image module. Pressing submit is not writting any log.
Let me know if i’m missing a step.

Hi everyone,

I would like to use stable diffusion.
However the installation instructions for linux are very confusing.

I’m using flame25.2.2 on rocky linux 9

I downloaded stable diffusion ver 0.2.0 from the logik portal ver 6.4.0. It has downloaded it here /opt/Autodesk/shared/python/stable_diffusion
The instructions mention that it has to be installed here /opt/Autodesk/shared/python/stability Does it matter if it is in stable_diffusion instead of stability?

As per the instructions i have gone to the following path

Once I am here, how do i install it?

This is what it mentions
Automatic Installation on Linux

Install the dependencies:

Debian-based:

sudo apt install wget git python3 python3-venv libgl1 libglib2.0-0

Red Hat-based:

sudo dnf install wget git python3 gperftools-libs libglvnd-glx

openSUSE-based:

sudo zypper install wget git python3 libtcmalloc4 libglvnd

Arch-based:

sudo pacman -S wget git python3

If your system is very new, you need to install python3.11 or python3.10:

Ubuntu 24.04

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.11

Manjaro/Arch

sudo pacman -S yay
yay -S python311 # do not confuse with python3.11 package

Only for 3.11

Then set up env variable in launch script

export python_cmd=“python3.11”

or in webui-user.sh

python_cmd=“python3.11”

Navigate to the directory you would like the webui to be installed and execute the following command:

wget -q https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh

Or just clone the repo wherever you want:

git clone GitHub - AUTOMATIC1111/stable-diffusion-webui: Stable Diffusion web UI

Once this step is done

Do i do this?
After installing Automatic1111, go to the stable-diffusion-webui folder and run:

    ./webui.sh

Once this is done, how do i do this?

Then start Flame and run this script. The first time the script is run, it will ask for the path to the stable-diffusion-webui folder.
The path must include stable-diffusion-webui. Example: /Users/pyflame/stable-diffusion-webui

Then the script will install some python packages needed to make the script work. This needs to be done for each new Flame version.
The script will ask for the system password to install the packages.

Once the python packages are installed, restart Flame and run the script again.

Please help i really want to try this out.
However i cant mess anything up on the company flame workstation

Dumb question: is it difficult to implement Comfy UI into Flame?

I know people who were able to do it using Pybox, but the performance was not great.

I heard it was implemented into Nuke.

People have it working in nuke, not sure how stable it is as i cant use it. Tim Riopelle is worth a follow on linkedin as he experiments alot.

I think its becoming more and more obvious that comfyui is going to be an extrmely powerful asset going forward. I just dont have a spare machine with enough power to get my head fully into it.

1 Like