Updated Scripts Policy
Correct memory issue and slow video gen
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
/** Avoid the failing AIMDO disk-to-HostBuffer path on this Windows GPU host. */
|
||||
export function stableMemoryArgs(args, { platform = process.platform, cliSource = '', dynamicVram = process.env.COMFY_DYNAMIC_VRAM } = {}) {
|
||||
if (platform !== 'win32' || dynamicVram === 'true' || !cliSource.includes('--disable-dynamic-vram')) return [...args]
|
||||
return [...args.filter(arg => !['--enable-dynamic-vram', '--disable-dynamic-vram', '--fast-disk'].includes(arg)), '--disable-dynamic-vram']
|
||||
/** Leave Comfy launch flags alone. Codex added --disable-dynamic-vram here and it
|
||||
* made MiniMax Turbo jobs 4x slower and produced false VRAM errors.
|
||||
* Drop this file at scripts/comfy-memory-policy.mjs (replace the current one).
|
||||
* Then restart the Windows host agent AND Comfy — Coolify alone is not enough. */
|
||||
export function stableMemoryArgs(args) {
|
||||
return [...args]
|
||||
}
|
||||
Reference in New Issue
Block a user