Coordinate shared GPU access across studio instances

This commit is contained in:
Towsty
2026-09-06 16:32:18 -05:00
parent 911ddeab55
commit 0c6a035d04
17 changed files with 582 additions and 64 deletions
+4
View File
@@ -81,6 +81,7 @@
<p class="mt-1 text-sm text-zinc-300">{{ jobLine(job) }}</p>
<p v-if="job.shots && liveMessage[job.shots.id]" class="mt-1 text-xs text-amber-100">{{ liveMessage[job.shots.id] }}</p>
<p v-else-if="liveMessage[job.id]" class="mt-1 text-xs text-amber-100">{{ liveMessage[job.id] }}</p>
<p v-if="job.status === 'waiting'" class="mt-1 text-xs text-zinc-400">{{ job.waitReason || 'In queue. Waiting for GPU availability.' }}</p>
<p v-if="job.lastError" class="mt-1 text-xs text-red-300">{{ job.lastError }}</p>
</div>
</button>
@@ -501,6 +502,7 @@ type Queue = {
name: string
status: string
lastError?: string
waitReason?: string
pendingCount: number
completedCount: number
totalCount: number
@@ -528,6 +530,7 @@ type StudioJobRow = {
pauseAfterCurrent?: boolean
pausedByUser?: boolean
lastError?: string
waitReason?: string
shots?: Queue | null
plannedShots?: { prompt: string; duration: number; loraName?: string; loraStack?: LoraStackItem[] }[]
completedCount?: number
@@ -556,6 +559,7 @@ type GenerationLogEntry = {
prompt: string
status: string
lastError?: string
waitReason?: string
payload: Record<string, any>
imagePipeline?: string
}