Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/pai service template #150

Merged
merged 2 commits into from
Nov 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions documents/solution/ai/pai-ai-painting-solution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,22 @@ Resources:
Ref: NasAccessGroup
DependsOn:
- NasAccessRule
RandomString:
Type: ALIYUN::RandomString
Properties:
length: 10
character_classes:
- class: lowercase
min: 1
- class: digits
min: 1
Pai-Eas:
Type: ALIYUN::PAI::Service
Properties:
ServiceConfig:
metadata:
name: sdwebui
name:
Fn::Sub: sdwebui_${RandomString.value}
instance: 1
type: SDCluster
enable_webservice: true
Expand All @@ -156,7 +166,7 @@ Resources:
resource_type: model
mount_path: /data-nas
containers:
- image: eas-registry-vpc.ap-southeast-1.cr.aliyuncs.com/pai-eas/stable-diffusion-webui:3.2
- image: eas-registry-vpc.ap-southeast-1.cr.aliyuncs.com/pai-eas/stable-diffusion-webui:4.1
script: ./webui.sh --listen --port 8000 --skip-version-check --no-hashing
--no-download-sd-model --skip-install --api --filebrowser --cluster-status
--sd-dynamic-cache --data-dir /data-nas
Expand All @@ -172,4 +182,4 @@ Metadata:
- ZoneId
- InstanceType
TemplateTags:
- acs:technical-solution:ai:PAI AI绘画解决方案
- acs:technical-solution:ai:使用PAI完成Stable Diffusion WebUI多版本个性化部署服务
Loading