stable-diffusion-grpcserver
An implementation of a server for the Stability AI Stable Diffusion API
File Explorer
- settings.json
- build_protoc.sh
- CMakeFile.txt.diff
- cpp_extension.py
- run.sh
- README.md
- ToMe
- tome_memory_efficient_cross_attention.py
- tome_patcher.py
- tome_unet.py
- dist_hashes
- engines.yaml
- genhashes.sh
- __init__.py
- dashboard_pb2.py
- dashboard_pb2_grpc.py
- engines_pb2.py
- engines_pb2_grpc.py
- generation_pb2.py
- generation_pb2_grpc.py
- tensors_pb2.py
- tensors_pb2_grpc.py
- __init__.py
- scheduling_dpm2_ancestral_discrete.py
- scheduling_dpm2_discrete.py
- scheduling_euler_ancestral_discrete.py
- scheduling_euler_discrete.py
- scheduling_heun_discrete.py
- scheduling_utils.py
- __init__.py
- memory_efficient_cross_attention.py
- structured_cross_attention.py
- sample_dpmpp_2m.py
- scheduling_ddim.py
- __init__.py
- basic_text_embedding.py
- lpw_text_embedding.py
- structured_text_embedding.py
- text_embedding.py
- text_encoder_alt_layer.py
- cfg.py
- clipguided.py
- core.py
- graft.py
- hires_fix.py
- hires_fix_other.py
- hires_fix_resize.py
- types.py
- __init__.py
- attention_replacer.py
- common_scheduler.py
- diffusers_types.py
- easing.py
- latent_debugger.py
- model_utils.py
- randtools.py
- safety_checkers.py
- unified_pipeline.py
- upscaler_pipeline.py
- vae_approximator.py
- xformers_utils.py
- __init__.py
- dashboard.py
- engines.py
- generate.py
- __init__.py
- __version__.py
- aio.py
- asgi.py
- client.py
- echotest.py
- protocol.py
- wsgi.py
- __init__.py
- k-diffusion
- ResizeRight
- __init__.py
- constants.py
- debug_recorder.py
- images.py
- k_diffusion.py
- manager.py
- patching.py
- ram_monitor.py
- resize_right.py
- server.py
- utils.py
- batch_independance.py
- engines.basic.yaml
- engines.clip.yaml
- engines.inpaint.yaml
- engines.sd14.yaml
- graftedpaint.engine.yaml
- graftedpaint.image_512_512.png
- graftedpaint.image_768_600.png
- graftedpaint.image_768_768.png
- graftedpaint.py
- happy_path.engines.yaml
- happy_path.image_512.png
- happy_path.image_768.png
- happy_path.py
- image.png
- mask.png
- prompt_weights.engine.yaml
- prompt_weights.py
- schedulers.py
- test_harness.py
- VRAMUsageMonitor.py
- .gitkeep
- .gitignore
- .gitmodules
- api-interfaces
- build.sh
- client.py
- Dockerfile
- Dockerfile.cuda118
- Dockerfile.protoc
- environment.yaml
- LICENSE
- pyproject.toml
- README.md
- requirements.txt
- server.py
- stablecabal.png
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
conda activate
View Details ▼
conda activate
Activate a conda environment.
See also: `conda deactivate`.
conda activate myenv
Activate an existing environment named `myenv`:
conda activate {{path/to/myenv}}
Activate an existing environment located at custom path:
conda activate --stack myenv
Stack `myenv` environment on top of a previous environment making libraries/commands/variables from both accessible:
conda env
View Details ▼
conda env
Manage conda environments.
conda env create {{[-f|--file]}} {{path/to/file}}
Create an environment from an environment file (YAML, TXT, etc.):
conda env remove {{[-n|--name]}} {{environment_name}}
Delete an environment and everything in it:
conda env update {{[-f|--file]}} {{path/to/file}} --prune
Update an environment based on an environment file:
docker build
View Details ▼
docker build
Build an image from a Dockerfile.
docker build .
Build a Docker image using the Dockerfile in the current directory:
docker build {{github.com/creack/docker-firefox}}
Build a Docker image from a Dockerfile at a specified URL:
docker build {{[-t|--tag]}} {{name:tag}} .
Build a Docker image and tag it:
docker run
View Details ▼
docker run
This command is an alias of `docker container run`.
tldr docker container run
View documentation for the original command:
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
pip install
View Details ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
python
View Details ▼
python
Python language interpreter.
python
Start a REPL (interactive shell):
python {{path/to/file.py}}
Execute a specific Python file:
python -i {{path/to/file.py}}
Execute a specific Python file and start a REPL:
