Git Product home page Git Product logo

Comments (3)

zero01101 avatar zero01101 commented on August 17, 2024

hey, so to my understanding forge doesn't really do anything different than A1111's API, but support for forge is still kind of not really there, it just "works" but hasn't had anything specifically written to accommodate forge in any way outside of what already exists for the A1111 API.

that being said, i can't confirm what you're experiencing - however, i'm not using the @REM statements in webui-user, and set the COMMANDLINE_ARGS essentially as a copy/paste from A1111 webUI with a few additional flags it recommended on startup:
set COMMANDLINE_ARGS=--ckpt-dir "F:\storage\stable diffusion models" --vae-dir "F:\storage\stable diffusion VAEs" --lora-dir "F:\storage\loras" --api --api-log --cors-allow-origins=http://127.0.0.1:3456 --pin-shared-memory --cuda-malloc --cuda-stream

with --api-log in there specifically, i can verify that (in firefox and chrome, at least, and opera being a chromium offshoot, chrome's rendering engine should be the same, but i admit i haven't tried opera) it does indeed not only list all available models but switches between them as expected

[...]
API 2024-03-02 09:38:00.568045 200 http/1.1 GET /sdapi/v1/sd-models 127.0.0.1 0.5057
API 2024-03-02 09:38:00.804992 200 http/1.1 GET /sdapi/v1/options 127.0.0.1 0.003
API 2024-03-02 09:38:06.690920 200 http/1.1 GET /sdapi/v1/sd-models 127.0.0.1 0.013
API 2024-03-02 09:38:06.805464 200 http/1.1 GET /sdapi/v1/options 127.0.0.1 0.003
API 2024-03-02 09:38:10.555750 307 http/1.1 POST /sdapi/v1/options/ 127.0.0.1 0.0
Loading weights [be1d90c4ab] from F:\storage\stable diffusion models\absolutereality_v16.safetensors
model_type EPS
UNet ADM Dimension 0
Using pytorch attention in VAE
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
Using pytorch attention in VAE
extra {'cond_stage_model.clip_l.text_projection', 'cond_stage_model.clip_l.logit_scale'}
Loading VAE weights specified in settings: F:\storage\stable diffusion VAEs\wd13-kl-f8-anime2.vae.pt
To load target model SD1ClipModel
Begin to load 1 model
[Memory Management] Current Free GPU Memory (MB) =  23148.51406097412
[Memory Management] Model Memory (MB) =  454.2076225280762
[Memory Management] Minimal Inference Memory (MB) =  1024.0
[Memory Management] Estimated Remaining GPU Memory (MB) =  21670.306438446045
Moving model(s) has taken 0.19 seconds
Model loaded in 7.3s (unload existing model: 0.3s, load weights from disk: 0.3s, forge load real models: 6.2s, load VAE: 0.2s, calculate empty prompt: 0.3s).
API 2024-03-02 09:38:17.892553 200 http/1.1 POST /sdapi/v1/options 127.0.0.1 7.3328
[...]

any chance you could test it in a different browser, or possibly with the COMMANDLINE_ARGS filled out in the A1111 expected format? my uneducated guess is it's probably the %A1111_HOME% vars more than the browser

from openoutpaint.

kamerosoul avatar kamerosoul commented on August 17, 2024

Hi, sorry for delay.
I tested with Chrome and Firefox and have same problem
Also I noticed I have this in console when starting Forge:
[openOutpaint-extension-submodule] failed to download update, check network
But when checking extensions check for updates for openoutpaint have latest:
main 1c3a931c 2024-03-02 05:24:12 latest.
Any suggestion?

from openoutpaint.

kamerosoul avatar kamerosoul commented on August 17, 2024

Hi,
I found I missing --api in command line.
Sorry,
Now it is working fine

from openoutpaint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.