mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
Fix assorted small typos: dead __str__, unformatted messages, preview min-height, tooltip
- processing.py: __str___ misspelled dunder never dispatched; rename to __str__
- demofusion.py: missing f-prefix printed literal {width}x{height} in user-facing error
- sparse_backend.py: missing f-prefix printed literal {size} in ValueError
- generation_parameters_copypaste.py: debug message typo 'Not not registered'
- progressBar.ts: live-preview gallery minHeight computed from naturalWidth; mirrors the adjacent maxHeight line (naturalHeight)
- settings.ts: stray } in settings-tab tooltip
This commit is contained in:
@@ -167,7 +167,7 @@ class Matrix(torch.nn.Module):
|
||||
if column_indices.dtype == torch.int16:
|
||||
if size[0] > max_dim or size[1] > max_dim:
|
||||
raise ValueError(
|
||||
"Sparse matrix with shape {size} exceeds representable "
|
||||
f"Sparse matrix with shape {size} exceeds representable "
|
||||
"size with 16-bit indices.")
|
||||
|
||||
def validate(self):
|
||||
|
||||
Reference in New Issue
Block a user