stable-diffusion-grpcserver
An implementation of a server for the Stability AI Stable Diffusion API
파일 탐색기
- 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
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
conda activate
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
docker run
This command is an alias of `docker container run`.
tldr docker container run
View documentation for the original command:
git clone
설명 보기 ▼
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
설명 보기 ▼
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
설명 보기 ▼
python
Python 언어 인터프리터.
더 많은 정보: <https://docs.python.org/using/cmdline.html>.
python
REPL(대화형 셸) 시작:
python {{path/to/file.py}}
특정 Python 파일 실행:
python -i {{path/to/file.py}}
특정 Python 파일 실행 후 REPL 시작:
