Skip to content

Commit

Permalink
Merge pull request #150 from xiao201208/fix/pai_service_template
Browse files Browse the repository at this point in the history
Fix/pai service template
  • Loading branch information
xiao201208 authored Nov 8, 2023
2 parents 4b9707e + a007895 commit 249b368
Showing 1 changed file with 13 additions and 3 deletions.
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多版本个性化部署服务

0 comments on commit 249b368

Please sign in to comment.