mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-24 10:51:03 -08:00
Merge pull request #6584 from vladmandic/fix-get-memory
follow-up for pr #6466 to relax response type check enforcement in get_memory
This commit is contained in:
commit
12dc8e09ca
1 changed files with 2 additions and 2 deletions
|
|
@ -262,5 +262,5 @@ class EmbeddingsResponse(BaseModel):
|
|||
skipped: Dict[str, EmbeddingItem] = Field(title="Skipped", description="Embeddings skipped for the current model (likely due to architecture incompatibility)")
|
||||
|
||||
class MemoryResponse(BaseModel):
|
||||
ram: dict[str, str] | dict[str, float] = Field(title="RAM", description="System memory stats")
|
||||
cuda: dict[str, str] | dict[str, dict] = Field(title="CUDA", description="nVidia CUDA memory stats")
|
||||
ram: dict = Field(title="RAM", description="System memory stats")
|
||||
cuda: dict = Field(title="CUDA", description="nVidia CUDA memory stats")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue