Lightning-Universe / stable-diffusion-deploy

Learn to serve Stable Diffusion models on cloud infrastructure at scale. This Lightning App shows load-balancing, orchestrating, pre-provisioning, dynamic batching, GPU-inference, micro-services working together via the Lightning Apps framework.
https://lightning.ai/muse
Apache License 2.0
392 stars 39 forks source link

How to set specific port of api server? #262

Closed naem1023 closed 1 year ago

naem1023 commented 1 year ago

It seems like LightningWork randomly generates port for opening servers(api component, slack api etc..)

How can I set specific port that I want?

Comedian1926 commented 1 year ago

I have same problem. Did you resolve it ?

naem1023 commented 1 year ago

You can pass port argument to load balancer object in app.py.