mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Stable Diffusion benchmark: Specify "latest" tag for container image.
Also increase timeout to allow for the time to download the image the first time the benchmark runs. PiperOrigin-RevId: 704545791
This commit is contained in:
committed by
gVisor bot
parent
a55b3b2d90
commit
95ca82d872
@@ -34,7 +34,7 @@ import (
|
||||
|
||||
const (
|
||||
// Container image for Stable Diffusion XL.
|
||||
stableDiffusionImage = k8s.ImageRepoPrefix + "gpu/stable-diffusion-xl"
|
||||
stableDiffusionImage = k8s.ImageRepoPrefix + "gpu/stable-diffusion-xl:latest"
|
||||
)
|
||||
|
||||
// kubernetesPodRunner implements `stablediffusion.ContainerRunner`.
|
||||
@@ -171,7 +171,7 @@ func RunStableDiffusionXL(ctx context.Context, t *testing.T, k8sCtx k8sctx.Kuber
|
||||
t.Skipf("refiner failed in previous benchmark; skipping benchmark with refiner")
|
||||
}
|
||||
}
|
||||
testCtx, testCancel := context.WithTimeout(ctx, 15*time.Minute)
|
||||
testCtx, testCancel := context.WithTimeout(ctx, 50*time.Minute)
|
||||
defer testCancel()
|
||||
prompt := &stablediffusion.XLPrompt{
|
||||
Query: test.query,
|
||||
|
||||
Reference in New Issue
Block a user