mirror of
https://github.com/vladmandic/automatic
synced 2026-09-15 11:08:43 +02:00
+2
-1
@@ -5,7 +5,8 @@
|
||||
### Highlights for 2026-09-11
|
||||
|
||||
*What's New*? Well, code-wise, this is a big one...
|
||||
First, a-lot-of-optimizations:
|
||||
First, a-lot-of-optimizations:
|
||||
- updated core packages
|
||||
- improved **LoRA** performance and quality, especially with quantized models
|
||||
- newly structured **attention** mechanisms
|
||||
- modular pipelines with new **guidance** methods
|
||||
|
||||
@@ -174,7 +174,10 @@ def report_model_stats(module_name, module):
|
||||
size, _params = get_module_size(module)
|
||||
quant = getattr(module, "quantization_method", None)
|
||||
params = sum(p.numel() for p in module.parameters(recurse=True))
|
||||
dtype = next(module.parameters()).dtype if any(module.parameters()) else None
|
||||
try:
|
||||
dtype = next(module.parameters(), torch.tensor([])).dtype
|
||||
except Exception:
|
||||
dtype = None
|
||||
logical = get_logical_param_count(module)
|
||||
log.debug(f'Module: name={module_name} cls={module.__class__.__name__} size={size:.3f} params={params} logical={logical} quant={quant} dtype={dtype}')
|
||||
except Exception as e:
|
||||
|
||||
+2
-1
@@ -105,7 +105,6 @@ def verify(pkg_path):
|
||||
return { 'error': 'package path not found' }
|
||||
if not c.controller.get_python(pkg_path):
|
||||
return { 'error': 'python not found in package path' }
|
||||
shared.opts.dlss_pkg_path = pkg_path
|
||||
response = c.controller.call(pkg_path, 'verify', { 'gpu_uuid': 'auto', 'options': { 'level': 'deep' } })
|
||||
if response.get('status') != 'ok':
|
||||
error = response.get('error') or {}
|
||||
@@ -121,6 +120,8 @@ def verify(pkg_path):
|
||||
else:
|
||||
checks['failed'] += 1
|
||||
log.error(f'DLSS : {check}')
|
||||
shared.opts.dlss_pkg_path = pkg_path
|
||||
shared.opts.save()
|
||||
log.debug(f'DLSS: gpu={report.get("gpu", "unknown")} checks={checks}')
|
||||
return report
|
||||
|
||||
|
||||
Reference in New Issue
Block a user