2291 lines
149 KiB
Plaintext
2291 lines
149 KiB
Plaintext
docs/hel-892/zimage-qwen-document-evidence/source-acquisition.txt:4: trailing whitespace.
|
||
+hint:
|
||
docs/hel-892/zimage-qwen-document-evidence/source-acquisition.txt:6: trailing whitespace.
|
||
+hint:
|
||
docs/hel-892/zimage-qwen-document-evidence/source-acquisition.txt:9: trailing whitespace.
|
||
+hint:
|
||
docs/hel-892/zimage-qwen-document-evidence/source-acquisition.txt:16: trailing whitespace.
|
||
+hint:
|
||
docs/hel-892/zimage-qwen-document-evidence/source-acquisition.txt:18: trailing whitespace.
|
||
+hint:
|
||
docs/hel-892/zimage-qwen-document-evidence/source-acquisition.txt:21: trailing whitespace.
|
||
+hint:
|
||
docs/hel-892/zimage-qwen-document-evidence/source-acquisition.txt:28: trailing whitespace.
|
||
+hint:
|
||
docs/hel-892/zimage-qwen-document-evidence/source-acquisition.txt:30: trailing whitespace.
|
||
+hint:
|
||
docs/hel-892/zimage-qwen-document-evidence/source-acquisition.txt:33: trailing whitespace.
|
||
+hint:
|
||
docs/hel-892/zimage-qwen-document-evidence/source-acquisition.txt:40: trailing whitespace.
|
||
+hint:
|
||
docs/hel-892/zimage-qwen-document-evidence/source-acquisition.txt:42: trailing whitespace.
|
||
+hint:
|
||
docs/hel-892/zimage-qwen-document-evidence/source-acquisition.txt:45: trailing whitespace.
|
||
+hint:
|
||
docs/hel-892/zimage-qwen-document-evidence/source-acquisition.txt:68: trailing whitespace.
|
||
+hint:
|
||
docs/hel-892/zimage-qwen-document-evidence/source-acquisition.txt:70: trailing whitespace.
|
||
+hint:
|
||
docs/hel-892/zimage-qwen-document-evidence/source-acquisition.txt:73: trailing whitespace.
|
||
+hint:
|
||
docs/hel-892/zimage-qwen-reference/cr____init__.py:23: trailing whitespace.
|
||
+print("------------------------------------------")
|
||
docs/hel-892/zimage-qwen-reference/cr____init__.py:25: trailing whitespace.
|
||
+print("------------------------------------------")
|
||
docs/hel-892/zimage-qwen-reference/cr____init__.py:26: trailing whitespace.
|
||
+print("** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md")
|
||
docs/hel-892/zimage-qwen-reference/cr____init__.py:27: trailing whitespace.
|
||
+print("** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki")
|
||
docs/hel-892/zimage-qwen-reference/cr____init__.py:28: trailing whitespace.
|
||
+print("------------------------------------------")
|
||
docs/hel-892/zimage-qwen-reference/cr____init__.py:29: new blank line at EOF.
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:37: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:48: trailing whitespace.
|
||
+NODE_CLASS_MAPPINGS = {
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:51: trailing whitespace.
|
||
+ "CR Latent Batch Size": CR_LatentBatchSize,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:54: trailing whitespace.
|
||
+ "CR Seed": CR_Seed,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:56: trailing whitespace.
|
||
+ "CR Combine Prompt": CR_CombinePrompt,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:57: trailing whitespace.
|
||
+ "CR VAE Decode": CR_VAEDecode,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:60: trailing whitespace.
|
||
+ "CR Prompt List": CR_PromptList,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:61: trailing whitespace.
|
||
+ "CR Simple List": CR_SimpleList,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:67: trailing whitespace.
|
||
+ "CR Value Cycler": CR_ValueCycler,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:71: trailing whitespace.
|
||
+ "CR Load GIF As List": CR_LoadGIFAsList,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:72: trailing whitespace.
|
||
+ "CR Font File List": CR_FontFileList,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:74: trailing whitespace.
|
||
+ "CR Batch Images From List": CR_MakeBatchFromImageList,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:76: trailing whitespace.
|
||
+ "CR Repeater": CR_Repeater,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:77: trailing whitespace.
|
||
+ "CR XY Product": CR_XYProduct,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:78: trailing whitespace.
|
||
+ "CR Text List To String": CR_TextListToString,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:83: trailing whitespace.
|
||
+ "CR Aspect Ratio Banners": CR_AspectRatioBanners,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:84: trailing whitespace.
|
||
+ "CR Aspect Ratio Social Media": CR_AspectRatioSocialMedia,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:89: trailing whitespace.
|
||
+ "CR SDXL Prompt Mixer": CR_PromptMixer,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:90: trailing whitespace.
|
||
+ "CR Seed to Int": CR_SeedToInt,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:92: trailing whitespace.
|
||
+ "CR Apply ControlNet": CR_ApplyControlNet,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:94: trailing whitespace.
|
||
+ "CR Apply Multi-ControlNet": CR_ApplyControlNetStack,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:95: trailing whitespace.
|
||
+ ### LoRA Nodes
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:96: trailing whitespace.
|
||
+ "CR Load LoRA": CR_LoraLoader,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:100: trailing whitespace.
|
||
+ "CR Apply LoRA Stack": CR_ApplyLoRAStack,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:108: trailing whitespace.
|
||
+ "CR 8 Channel Out":CR_8ChannelOut,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:119: trailing whitespace.
|
||
+ "CR SDXL Base Prompt Encoder": CR_SDXLBasePromptEncoder,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:124: trailing whitespace.
|
||
+ ### XY Grid Nodes
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:125: trailing whitespace.
|
||
+ "CR XY List": CR_XYList,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:126: trailing whitespace.
|
||
+ "CR XY Interpolate": CR_XYInterpolate,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:132: trailing whitespace.
|
||
+ "CR Halftone Grid": CR_HalftoneGrid,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:134: trailing whitespace.
|
||
+ "CR Style Bars": CR_StyleBars,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:138: trailing whitespace.
|
||
+ "CR Radial Gradient": CR_RadialGradient,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:141: trailing whitespace.
|
||
+ "CR Simple Binary Pattern": CR_BinaryPatternSimple,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:143: trailing whitespace.
|
||
+ ### Graphics Shape
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:145: trailing whitespace.
|
||
+ "CR Draw Pie": CR_DrawPie,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:146: trailing whitespace.
|
||
+ "CR Random Shape Pattern": CR_RandomShapePattern,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:151: trailing whitespace.
|
||
+ "CR Composite Text": CR_CompositeText,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:154: trailing whitespace.
|
||
+ "CR Select Font": CR_SelectFont,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:158: trailing whitespace.
|
||
+ "CR Vignette Filter": CR_VignetteFilter,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:159: trailing whitespace.
|
||
+ ### Graphics Layout
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:164: trailing whitespace.
|
||
+ "CR Feathered Border": CR_FeatheredBorder,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:165: trailing whitespace.
|
||
+ "CR Simple Text Panel": CR_SimpleTextPanel,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:168: trailing whitespace.
|
||
+ "CR Half Drop Panel": CR_HalfDropPanel,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:170: trailing whitespace.
|
||
+ #"CR Simple Titles": CR_SimpleTitles,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:173: trailing whitespace.
|
||
+ "CR Simple Banner": CR_SimpleBanner,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:177: trailing whitespace.
|
||
+ "CR Seamless Checker": CR_SeamlessChecker,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:186: trailing whitespace.
|
||
+ "CR VAE Input Switch": CR_VAEInputSwitch,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:189: trailing whitespace.
|
||
+ "CR Switch Model and CLIP": CR_ModelAndCLIPInputSwitch,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:191: trailing whitespace.
|
||
+ "CR Batch Process Switch": CR_BatchProcessSwitch,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:193: trailing whitespace.
|
||
+ "CR Hires Fix Process Switch": CR_HiResFixProcessSwitch,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:195: trailing whitespace.
|
||
+ "CR Index": CR_Index,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:202: trailing whitespace.
|
||
+ "CR String To Combo": CR_StringToCombo,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:206: trailing whitespace.
|
||
+ "CR String To Boolean": CR_StringToBoolean,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:208: trailing whitespace.
|
||
+ "CR Random Hex Color": CR_RandomHexColor,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:211: trailing whitespace.
|
||
+ "CR Random Multiline Colors": CR_RandomMultilineColors,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:213: trailing whitespace.
|
||
+ "CR Random Panel Codes": CR_RandomPanelCodes,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:214: trailing whitespace.
|
||
+ ### Utils Text
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:215: trailing whitespace.
|
||
+ "CR Text": CR_Text,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:217: trailing whitespace.
|
||
+ "CR Split String": CR_SplitString,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:218: trailing whitespace.
|
||
+ "CR Text Concatenate": CR_TextConcatenate,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:221: trailing whitespace.
|
||
+ "CR Text Operation": CR_TextOperation,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:222: trailing whitespace.
|
||
+ "CR Text Blacklist": CR_TextBlacklist,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:226: trailing whitespace.
|
||
+ "CR Set Value On Binary": CR_SetValueOnBinary,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:228: trailing whitespace.
|
||
+ "CR Set Switch From String": CR_SetSwitchFromString,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:229: trailing whitespace.
|
||
+ ### Utils Other
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:232: trailing whitespace.
|
||
+ "CR Clamp Value": CR_ClampValue,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:238: trailing whitespace.
|
||
+ # Schedules
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:240: trailing whitespace.
|
||
+ "CR Central Schedule": CR_CentralSchedule,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:241: trailing whitespace.
|
||
+ "CR Combine Schedules": CR_CombineSchedules,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:243: trailing whitespace.
|
||
+ "CR Load Schedule From File": CR_LoadScheduleFromFile,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:245: trailing whitespace.
|
||
+ "CR Bit Schedule": CR_BitSchedule,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:250: trailing whitespace.
|
||
+ "CR Text Scheduler": CR_TextScheduler,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:254: trailing whitespace.
|
||
+ "CR Simple Prompt Scheduler": CR_SimplePromptScheduler,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:256: trailing whitespace.
|
||
+ "CR Keyframe List": CR_KeyframeList,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:258: trailing whitespace.
|
||
+ "CR Encode Scheduled Prompts": CR_EncodeScheduledPrompts,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:262: trailing whitespace.
|
||
+ "CR Increment Float": CR_IncrementFloat,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:264: trailing whitespace.
|
||
+ "CR Interpolate Latents": CR_InterpolateLatents,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:265: trailing whitespace.
|
||
+ # Utils
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:266: trailing whitespace.
|
||
+ "CR Debatch Frames": CR_DebatchFrames,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:268: trailing whitespace.
|
||
+ #"CR Input Text List": CR_InputTextList,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:277: trailing whitespace.
|
||
+ "CR Simple Prompt List": CR_SimplePromptList,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:278: trailing whitespace.
|
||
+ "CR Simple Prompt List Keyframes": CR_SimplePromptListKeyframes,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:279: trailing whitespace.
|
||
+ "CR Cycle Models": CR_CycleModels,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:284: trailing whitespace.
|
||
+ "CR Cycle Images Simple": CR_CycleImagesSimple,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:289: trailing whitespace.
|
||
+ "CR Image List Simple": CR_ImageListSimple,
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:296: trailing whitespace.
|
||
+ "CR Latent Batch Size": "⚙️ CR Latent Batch Size",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:301: trailing whitespace.
|
||
+ "CR Prompt Text": "⚙️ CR Prompt Text",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:303: trailing whitespace.
|
||
+ "CR VAE Decode": "⚙️ CR VAE Decode",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:307: trailing whitespace.
|
||
+ "CR Simple List": "📜 CR Simple List",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:309: trailing whitespace.
|
||
+ "CR Integer Range List": "📜 CR Integer Range List",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:310: trailing whitespace.
|
||
+ "CR Load Value List": "📜 CR Load Value List",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:317: trailing whitespace.
|
||
+ "CR Load Image List Plus": "⌨️ CR Load Image List Plus",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:319: trailing whitespace.
|
||
+ "CR Font File List": "⌨️ CR Font File List",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:323: trailing whitespace.
|
||
+ "CR Repeater": "🛠️ CR Repeater",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:324: trailing whitespace.
|
||
+ "CR XY Product": "🛠️ CR XY Product",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:325: trailing whitespace.
|
||
+ "CR Text List To String": "🛠️ CR Text List To String",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:328: trailing whitespace.
|
||
+ "CR SDXL Aspect Ratio": "🔳 CR SDXL Aspect Ratio",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:336: trailing whitespace.
|
||
+ "CR SDXL Prompt Mixer": "CR SDXL Prompt Mixer (Legacy)",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:337: trailing whitespace.
|
||
+ "CR Seed to Int": "CR Seed to Int (Legacy)",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:339: trailing whitespace.
|
||
+ "CR Apply ControlNet": "🕹️ CR Apply ControlNet",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:341: trailing whitespace.
|
||
+ "CR Apply Multi-ControlNet": "🕹️ CR Apply Multi-ControlNet",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:342: trailing whitespace.
|
||
+ ### LoRA Nodes
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:343: trailing whitespace.
|
||
+ "CR Load LoRA": "💊 CR Load LoRA",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:355: trailing whitespace.
|
||
+ "CR 8 Channel Out": "🚌 CR 8 Channel Out",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:362: trailing whitespace.
|
||
+ "CR Pipe Switch": "🔀️ CR Pipe Switch",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:366: trailing whitespace.
|
||
+ "CR SDXL Base Prompt Encoder": "🌟 CR SDXL Base Prompt Encoder",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:371: trailing whitespace.
|
||
+ ### XY Grid Nodes
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:372: trailing whitespace.
|
||
+ "CR XY List": "📉 CR XY List",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:373: trailing whitespace.
|
||
+ "CR XY Interpolate": "📉 CR XY Interpolate",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:378: trailing whitespace.
|
||
+ "CR Halftone Grid" : "🟫 CR Halftone Grid",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:380: trailing whitespace.
|
||
+ "CR Style Bars" : "🟪 CR Style Bars",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:384: trailing whitespace.
|
||
+ "CR Radial Gradient": "🟨 CR Radial Gradient",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:389: trailing whitespace.
|
||
+ ### Graphics Shape
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:390: trailing whitespace.
|
||
+ "CR Draw Shape": "🟡 CR Draw Shape",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:391: trailing whitespace.
|
||
+ "CR Draw Pie": "🟢 CR Draw Pie",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:392: trailing whitespace.
|
||
+ "CR Random Shape Pattern": "🔵 CR Random Shape Pattern",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:402: trailing whitespace.
|
||
+ "CR Color Tint": "🎨 CR Color Tint",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:403: trailing whitespace.
|
||
+ "CR Vignette Filter": "🎨 CR Vignette Filter",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:410: trailing whitespace.
|
||
+ "CR Diamond Panel": "🌁 CR Diamond Panel",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:413: trailing whitespace.
|
||
+ "CR Feathered Border": "🌁 CR Feathered Border",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:414: trailing whitespace.
|
||
+ "CR Overlay Transparent Image": "🌁 CR Overlay Transparent Image",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:417: trailing whitespace.
|
||
+ "CR Simple Banner": "📱 CR Simple Banner",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:430: trailing whitespace.
|
||
+ "CR VAE Input Switch": "🔀 CR VAE Input Switch",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:435: trailing whitespace.
|
||
+ "CR Batch Process Switch": "🔂 CR Batch Process Switch",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:437: trailing whitespace.
|
||
+ "CR Hires Fix Process Switch": "🔂 CR Hires Fix Process Switch",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:439: trailing whitespace.
|
||
+ "CR Index":"🔢 CR Index",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:446: trailing whitespace.
|
||
+ "CR String To Combo": "🔧 CR String To Combo",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:449: trailing whitespace.
|
||
+ "CR Integer To String": "🔧 CR Integer To String",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:450: trailing whitespace.
|
||
+ "CR String To Boolean": "🔧 CR String To Boolean",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:452: trailing whitespace.
|
||
+ "CR Random Hex Color": "🎲 CR Random Hex Color",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:460: trailing whitespace.
|
||
+ "CR Multiline Text": "🔤 CR Multiline Text",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:464: trailing whitespace.
|
||
+ "CR Text Blacklist": "🔤 Text Blacklist",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:466: trailing whitespace.
|
||
+ "CR Text Operation": "🔤 CR Text Operation",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:472: trailing whitespace.
|
||
+ "CR Set Switch From String": "⚙️ CR Set Switch From String",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:473: trailing whitespace.
|
||
+ ### Utils Other
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:480: trailing whitespace.
|
||
+ "CR Select ISO Size": "⚙️ CR Select ISO Size",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:482: trailing whitespace.
|
||
+ # Schedules
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:484: trailing whitespace.
|
||
+ "CR Central Schedule": "📋 CR Central Schedule",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:485: trailing whitespace.
|
||
+ "CR Combine Schedules": "📋 CR Combine Schedules",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:487: trailing whitespace.
|
||
+ "CR Load Schedule From File": "📋 CR Load Schedule From File",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:489: trailing whitespace.
|
||
+ "CR Bit Schedule": "📋 CR Bit Schedule",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:494: trailing whitespace.
|
||
+ "CR Text Scheduler": "📑 CR Text Scheduler",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:498: trailing whitespace.
|
||
+ "CR Simple Prompt Scheduler": "📑 CR Simple Prompt Scheduler",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:500: trailing whitespace.
|
||
+ "CR Keyframe List": "📝 CR Keyframe List",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:502: trailing whitespace.
|
||
+ "CR Encode Scheduled Prompts": "📝 CR Encode Scheduled Prompts",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:506: trailing whitespace.
|
||
+ "CR Increment Float": "🔢 CR Increment Float",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:508: trailing whitespace.
|
||
+ "CR Interpolate Latents": "🔢 CR Interpolate Latents",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:509: trailing whitespace.
|
||
+ # Utils
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:510: trailing whitespace.
|
||
+ "CR Debatch Frames": "🛠️ CR Debatch Frames",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:515: trailing whitespace.
|
||
+ "CR Output Flow Frames": "⌨️ CR Output Flow Frames",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:518: trailing whitespace.
|
||
+ "CR Simple Prompt List": "CR Simple Prompt List (Legacy)",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:519: trailing whitespace.
|
||
+ "CR Simple Prompt List Keyframes": "CR Simple Prompt List Keyframes (Legacy)",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:520: trailing whitespace.
|
||
+ "CR Cycle Models": "CR Cycle Models (Legacy)",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:530: trailing whitespace.
|
||
+ "CR Image List Simple": "CR Image List Simple (Legacy)",
|
||
docs/hel-892/zimage-qwen-reference/cr__node_mappings.py:531: trailing whitespace.
|
||
+ "CR Input Text List": "CR Input Text List (Legacy)",
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:2: trailing whitespace.
|
||
+# Comfyroll Studio custom nodes by RockOfFire and Akatsuzi https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:3: trailing whitespace.
|
||
+# for ComfyUI https://github.com/comfyanonymous/ComfyUI
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:34: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:36: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:37: trailing whitespace.
|
||
+ return {"required":
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:45: trailing whitespace.
|
||
+ "optional":
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:58: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:60: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:76: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:80: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:83: trailing whitespace.
|
||
+ for format_key, format_lambda in date_formats.items():
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:85: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:90: trailing whitespace.
|
||
+ filename_prefix = filename_prefix[1:]
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:125: trailing whitespace.
|
||
+ else:
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:138: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:139: trailing whitespace.
|
||
+ img_params = {'png': {'compress_level': 4},
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:144: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:146: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:156: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:219: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:221: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:235: trailing whitespace.
|
||
+ "part4": ("STRING", {"default": "", "multiline": True}),
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:246: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:248: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:250: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:252: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:258: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:260: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:263: trailing whitespace.
|
||
+ "conditioning_2": ("CONDITIONING", ),
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:273: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:281: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:286: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:314: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:328: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:331: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:334: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:336: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:343: trailing whitespace.
|
||
+ }
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:353: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:355: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:358: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:369: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:377: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:386: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:391: trailing whitespace.
|
||
+ "circular": ("BOOLEAN", {"default": False}),
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:400: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:401: trailing whitespace.
|
||
+ show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Core-Nodes#cr-vae-decode"
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:405: trailing whitespace.
|
||
+ layer.padding_mode = "circular"
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:406: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:411: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:413: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:427: trailing whitespace.
|
||
+ "CR Select Model": CR_SelectModel,
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_core.py:431: new blank line at EOF.
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:2: trailing whitespace.
|
||
+# Comfyroll Studio custom nodes by RockOfFire and Akatsuzi https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:3: trailing whitespace.
|
||
+# for ComfyUI https://github.com/comfyanonymous/ComfyUI
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:25: trailing whitespace.
|
||
+ def INPUT_TYPES(s):
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:26: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:32: trailing whitespace.
|
||
+ }
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:36: trailing whitespace.
|
||
+ RETURN_NAMES = ("string_1", "string_2", "string_3", "string_4", "show_help", )
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:45: trailing whitespace.
|
||
+ string_1, string_2, string_3, string_4 = strings + [""] * (4 - len(strings))
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:68: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:95: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:105: trailing whitespace.
|
||
+ new_text.extend(row)
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:106: trailing whitespace.
|
||
+ if split_string:
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:114: trailing whitespace.
|
||
+ new_text.extend(values)
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:124: trailing whitespace.
|
||
+ new_text.extend(values)
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:127: trailing whitespace.
|
||
+ for line in io.StringIO(text):
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:134: trailing whitespace.
|
||
+ new_text.append(line)
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:137: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:142: trailing whitespace.
|
||
+#---------------------------------------------------------------------------------------------------------------------#
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:154: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:156: trailing whitespace.
|
||
+ RETURN_NAMES = ("show_help", )
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:162: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:163: trailing whitespace.
|
||
+ show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/List-Nodes#cr-save-text-to-file"
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:164: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:166: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:170: trailing whitespace.
|
||
+ print(f"[Warning] CR Save Text List. No file details found. No file output.")
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:178: trailing whitespace.
|
||
+ break
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:179: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:180: trailing whitespace.
|
||
+ print(f"[Info] CR Save Text List: Saving to {filepath}")
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:181: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:186: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:190: trailing whitespace.
|
||
+ for line in text_list:
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:191: trailing whitespace.
|
||
+ csv_writer.writerow([line])
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:196: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:197: trailing whitespace.
|
||
+ return (show_help, )
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:207: trailing whitespace.
|
||
+ "text1": ("STRING", {"multiline": False, "default": "", "forceInput": True}),
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:208: trailing whitespace.
|
||
+ "text2": ("STRING", {"multiline": False, "default": "", "forceInput": True}),
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:209: trailing whitespace.
|
||
+ "separator": ("STRING", {"multiline": False, "default": ""}),
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:219: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:220: trailing whitespace.
|
||
+ show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/List-Nodes#cr-save-text-to-file"
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:221: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:231: trailing whitespace.
|
||
+ "text": ("STRING", {"multiline": True, "default": "", "forceInput": True}),
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:239: trailing whitespace.
|
||
+ "replace3": ("STRING", {"multiline": False, "default": ""}),
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:249: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:250: trailing whitespace.
|
||
+ show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/List-Nodes#cr-text-replace"
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:251: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:255: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:256: trailing whitespace.
|
||
+ return (text, show_help)
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:269: trailing whitespace.
|
||
+ "replacement_text": ("STRING", {"multiline": False, "default": ""}),
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:279: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:280: trailing whitespace.
|
||
+ show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/List-Nodes#cr-text-blacklist"
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:281: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:282: trailing whitespace.
|
||
+ text_out = text
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:283: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:286: trailing whitespace.
|
||
+ text_out = text_out.replace(line.strip(), replacement_text)
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:287: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:288: trailing whitespace.
|
||
+ return (text_out, show_help)
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:295: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:297: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:300: trailing whitespace.
|
||
+ "text": ("STRING", {"multiline": False, "default": "", "forceInput": True}),
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:311: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:312: trailing whitespace.
|
||
+ show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/List-Nodes#cr-text_operation"
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:313: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:338: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:341: trailing whitespace.
|
||
+ "text": ("STRING", {"multiline": False, "default": "", "forceInput": True}),
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:351: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:352: trailing whitespace.
|
||
+ show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/List-Nodes#cr-text-length"
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:353: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:357: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:370: trailing whitespace.
|
||
+ "CR Text Blacklist": CR_TextBlacklist,
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:371: trailing whitespace.
|
||
+ "CR Text Length": CR_TextLength,
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:372: trailing whitespace.
|
||
+ "CR Text Operation": CR_TextOperation,
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:373: trailing whitespace.
|
||
+ "CR Save Text To File": CR_SaveTextToFile,
|
||
docs/hel-892/zimage-qwen-reference/cr__nodes__nodes_utils_text.py:376: new blank line at EOF.
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache____init__.py:1: trailing whitespace.
|
||
+from .nodes import DynamicRAMCacheControl
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache____init__.py:2: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache____init__.py:3: trailing whitespace.
|
||
+NODE_CLASS_MAPPINGS = {
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache____init__.py:4: trailing whitespace.
|
||
+ "DynamicRAMCacheControl": DynamicRAMCacheControl
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache____init__.py:5: trailing whitespace.
|
||
+}
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache____init__.py:6: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache____init__.py:7: trailing whitespace.
|
||
+NODE_DISPLAY_NAME_MAPPINGS = {
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache____init__.py:8: trailing whitespace.
|
||
+ "DynamicRAMCacheControl": "🔥 Dynamic RAM Cache Control"
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache____init__.py:9: trailing whitespace.
|
||
+}
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache____init__.py:10: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:1: trailing whitespace.
|
||
+import gc
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:2: trailing whitespace.
|
||
+import logging
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:3: trailing whitespace.
|
||
+import time
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:4: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:5: trailing whitespace.
|
||
+caching = None
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:6: trailing whitespace.
|
||
+execution = None
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:7: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:8: trailing whitespace.
|
||
+# Import execution module
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:9: trailing whitespace.
|
||
+try:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:10: trailing whitespace.
|
||
+ import execution
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:11: trailing whitespace.
|
||
+except ImportError:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:12: trailing whitespace.
|
||
+ logging.error("[DynamicRAMCache] Failed to import execution module")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:13: trailing whitespace.
|
||
+ logging.error("[DynamicRAMCache] This may be due to ComfyUI version update to 2025.10.31. Please check if module structure has changed.")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:14: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:15: trailing whitespace.
|
||
+# Import caching module
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:16: trailing whitespace.
|
||
+try:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:17: trailing whitespace.
|
||
+ from comfy_execution import caching
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:18: trailing whitespace.
|
||
+ # Check if RAMPressureCache class exists in the imported caching module
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:19: trailing whitespace.
|
||
+ if caching is not None and not hasattr(caching, 'RAMPressureCache'):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:20: trailing whitespace.
|
||
+ logging.error("[DynamicRAMCache] RAMPressureCache class not found in caching module")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:21: trailing whitespace.
|
||
+ logging.error("[DynamicRAMCache] This class may only exist in ComfyUI versions after 2025.10.31")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:22: trailing whitespace.
|
||
+except ImportError:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:23: trailing whitespace.
|
||
+ logging.error("[DynamicRAMCache] Failed to import caching module")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:24: trailing whitespace.
|
||
+ logging.error("[DynamicRAMCache] This may be due to ComfyUI version update to 2025.10.31. Please check if module structure has changed.")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:25: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:26: trailing whitespace.
|
||
+# Ensure both modules are successfully imported
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:27: trailing whitespace.
|
||
+if execution is None or caching is None:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:28: trailing whitespace.
|
||
+ logging.error("[DynamicRAMCache] Critical module import failed, plugin may not work correctly")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:29: trailing whitespace.
|
||
+ logging.error("[DynamicRAMCache] Plugin compatibility with ComfyUI 2025.10.31 needs to be verified. Module structure may have changed.")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:30: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:31: trailing whitespace.
|
||
+class AlwaysEqualProxy(str):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:32: trailing whitespace.
|
||
+ def __eq__(self, _):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:33: trailing whitespace.
|
||
+ return True
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:34: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:35: trailing whitespace.
|
||
+ def __ne__(self, _):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:36: trailing whitespace.
|
||
+ return False
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:37: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:38: trailing whitespace.
|
||
+any_type = AlwaysEqualProxy("*")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:39: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:40: trailing whitespace.
|
||
+class DynamicRAMCacheControl:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:41: trailing whitespace.
|
||
+ def __init__(self):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:42: trailing whitespace.
|
||
+ pass
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:43: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:44: trailing whitespace.
|
||
+ @classmethod
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:45: trailing whitespace.
|
||
+ def INPUT_TYPES(s):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:46: trailing whitespace.
|
||
+ return {
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:47: trailing whitespace.
|
||
+ "required": {
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:48: trailing whitespace.
|
||
+ "mode": (["CLASSIC (No Eviction)", "RAM_PRESSURE (Auto Purge)"], {"default": "RAM_PRESSURE (Auto Purge)"}),
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:49: trailing whitespace.
|
||
+ "cleanup_threshold": ("FLOAT", {"default": 2.0, "min": 0.1, "max": 256.0, "step": 0.1, "tooltip": "Minimum free RAM to maintain (GB)"}),
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:50: trailing whitespace.
|
||
+ },
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:51: trailing whitespace.
|
||
+ "optional": {
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:52: trailing whitespace.
|
||
+ "any_input": (any_type, {}),
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:53: trailing whitespace.
|
||
+ }
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:54: trailing whitespace.
|
||
+ }
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:55: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:56: trailing whitespace.
|
||
+ RETURN_TYPES = (any_type,)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:57: trailing whitespace.
|
||
+ RETURN_NAMES = ("output_passthrough",)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:58: trailing whitespace.
|
||
+ FUNCTION = "manage_cache"
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:59: trailing whitespace.
|
||
+ CATEGORY = "utils/dynamic_ramcache"
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:60: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:61: trailing whitespace.
|
||
+ def manage_cache(self, mode, cleanup_threshold, any_input=None):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:62: trailing whitespace.
|
||
+ if caching is not None and execution is not None:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:63: trailing whitespace.
|
||
+ self._execute_cache_logic(mode, cleanup_threshold)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:64: trailing whitespace.
|
||
+ else:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:65: trailing whitespace.
|
||
+ logging.warning("[DynamicRAMCache] Plugin disabled: Missing internal modules.")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:66: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:67: trailing whitespace.
|
||
+ if any_input is not None:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:68: trailing whitespace.
|
||
+ return (any_input,)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:69: trailing whitespace.
|
||
+ else:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:70: trailing whitespace.
|
||
+ try:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:71: trailing whitespace.
|
||
+ from comfy_execution.graph import ExecutionBlocker
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:72: trailing whitespace.
|
||
+ return (ExecutionBlocker(None),)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:73: trailing whitespace.
|
||
+ except ImportError:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:74: trailing whitespace.
|
||
+ return (None,)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:75: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:76: trailing whitespace.
|
||
+ def _execute_cache_logic(self, mode, cleanup_threshold):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:77: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:78: trailing whitespace.
|
||
+ target_mode_ram = "RAM_PRESSURE" in mode
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:79: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:80: trailing whitespace.
|
||
+ executor = None
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:81: trailing whitespace.
|
||
+ for obj in gc.get_objects():
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:82: trailing whitespace.
|
||
+ if obj.__class__.__name__ == 'PromptExecutor':
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:83: trailing whitespace.
|
||
+ executor = obj
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:84: trailing whitespace.
|
||
+ break
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:85: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:86: trailing whitespace.
|
||
+ if executor is None:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:87: trailing whitespace.
|
||
+ logging.warning("[DynamicRAMCache] PromptExecutor not found.")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:88: trailing whitespace.
|
||
+ return
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:89: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:90: trailing whitespace.
|
||
+ if not hasattr(executor, 'cache_args'):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:91: trailing whitespace.
|
||
+ executor.cache_args = {}
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:92: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:93: trailing whitespace.
|
||
+ old_ram_arg = executor.cache_args.get('ram', 0)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:94: trailing whitespace.
|
||
+ executor.cache_args['ram'] = cleanup_threshold
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:95: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:96: trailing whitespace.
|
||
+ if not hasattr(executor, 'caches'):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:97: trailing whitespace.
|
||
+ logging.warning("[DynamicRAMCache] PromptExecutor has no 'caches' attribute.")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:98: trailing whitespace.
|
||
+ return
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:99: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:100: trailing whitespace.
|
||
+ cache_set = executor.caches
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:101: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:102: trailing whitespace.
|
||
+ if not hasattr(cache_set, 'outputs'):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:103: trailing whitespace.
|
||
+ logging.warning("[DynamicRAMCache] CacheSet has no 'outputs' attribute.")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:104: trailing whitespace.
|
||
+ return
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:105: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:106: trailing whitespace.
|
||
+ current_cache = cache_set.outputs
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:107: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:108: trailing whitespace.
|
||
+ RAMPressureCacheClass = getattr(caching, 'RAMPressureCache', None)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:109: trailing whitespace.
|
||
+ HierarchicalCacheClass = getattr(caching, 'HierarchicalCache', None)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:110: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:111: trailing whitespace.
|
||
+ if not RAMPressureCacheClass:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:112: trailing whitespace.
|
||
+ logging.error("[DynamicRAMCache] RAMPressureCache class not available in caching module")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:113: trailing whitespace.
|
||
+ logging.error("[DynamicRAMCache] This class is required for RAM_PRESSURE mode and may only exist in ComfyUI versions after 2025.10.31")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:114: trailing whitespace.
|
||
+ logging.error("[DynamicRAMCache] Please check your ComfyUI version or consider switching to CLASSIC mode")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:115: trailing whitespace.
|
||
+ return
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:116: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:117: trailing whitespace.
|
||
+ if not HierarchicalCacheClass:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:118: trailing whitespace.
|
||
+ logging.error("[DynamicRAMCache] HierarchicalCache class not available in caching module")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:119: trailing whitespace.
|
||
+ return
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:120: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:121: trailing whitespace.
|
||
+ is_currently_ram = isinstance(current_cache, RAMPressureCacheClass)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:122: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:123: trailing whitespace.
|
||
+ if target_mode_ram and not is_currently_ram:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:124: trailing whitespace.
|
||
+ self._switch_to_ram_pressure(cache_set, current_cache, caching)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:125: trailing whitespace.
|
||
+ logging.info(f"[DynamicRAMCache] Switched mode: CLASSIC -> RAM_PRESSURE (Headroom: {cleanup_threshold}GB)")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:126: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:127: trailing whitespace.
|
||
+ elif not target_mode_ram and is_currently_ram:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:128: trailing whitespace.
|
||
+ self._switch_to_classic(cache_set, current_cache, caching)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:129: trailing whitespace.
|
||
+ logging.info(f"[DynamicRAMCache] Switched mode: RAM_PRESSURE -> CLASSIC")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:130: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:131: trailing whitespace.
|
||
+ elif target_mode_ram and is_currently_ram:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:132: trailing whitespace.
|
||
+ if old_ram_arg != cleanup_threshold:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:133: trailing whitespace.
|
||
+ logging.info(f"[DynamicRAMCache] Updated RAM Headroom: {old_ram_arg}GB -> {cleanup_threshold}GB")
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:134: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:135: trailing whitespace.
|
||
+ if target_mode_ram and hasattr(cache_set.outputs, 'poll'):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:136: trailing whitespace.
|
||
+ try:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:137: trailing whitespace.
|
||
+ cache_set.outputs.poll(cleanup_threshold)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:138: trailing whitespace.
|
||
+ except Exception:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:139: trailing whitespace.
|
||
+ pass
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:140: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:141: trailing whitespace.
|
||
+ def _update_cache_set(self, cache_set, new_cache):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:142: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:143: trailing whitespace.
|
||
+ cache_set.outputs = new_cache
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:144: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:145: trailing whitespace.
|
||
+ if hasattr(cache_set, 'all') and isinstance(cache_set.all, list):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:146: trailing whitespace.
|
||
+ for i, item in enumerate(cache_set.all):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:147: trailing whitespace.
|
||
+ if i == 0:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:148: trailing whitespace.
|
||
+ cache_set.all[i] = new_cache
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:149: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:150: trailing whitespace.
|
||
+ def _switch_to_ram_pressure(self, cache_set, old_cache, caching_mod):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:151: trailing whitespace.
|
||
+ key_class = getattr(old_cache, 'key_class', None)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:152: trailing whitespace.
|
||
+ if not key_class:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:153: trailing whitespace.
|
||
+ key_class = getattr(caching_mod, 'CacheKeySetInputSignature', None)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:154: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:155: trailing whitespace.
|
||
+ new_cache = caching_mod.RAMPressureCache(key_class)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:156: trailing whitespace.
|
||
+ self._migrate_cache_data(old_cache, new_cache)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:157: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:158: trailing whitespace.
|
||
+ new_cache.timestamps = {}
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:159: trailing whitespace.
|
||
+ new_cache.used_generation = {}
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:160: trailing whitespace.
|
||
+ new_cache.children = {}
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:161: trailing whitespace.
|
||
+ new_cache.generation = 1
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:162: trailing whitespace.
|
||
+ new_cache.min_generation = 0
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:163: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:164: trailing whitespace.
|
||
+ now = time.time()
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:165: trailing whitespace.
|
||
+ for key in new_cache.cache:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:166: trailing whitespace.
|
||
+ new_cache.timestamps[key] = now
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:167: trailing whitespace.
|
||
+ new_cache.used_generation[key] = 0
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:168: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:169: trailing whitespace.
|
||
+ self._update_cache_set(cache_set, new_cache)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:170: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:171: trailing whitespace.
|
||
+ def _switch_to_classic(self, cache_set, old_cache, caching_mod):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:172: trailing whitespace.
|
||
+ key_class = getattr(old_cache, 'key_class', None)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:173: trailing whitespace.
|
||
+ if not key_class:
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:174: trailing whitespace.
|
||
+ key_class = getattr(caching_mod, 'CacheKeySetInputSignature', None)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:175: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:176: trailing whitespace.
|
||
+ new_cache = caching_mod.HierarchicalCache(key_class)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:177: trailing whitespace.
|
||
+ self._migrate_cache_data(old_cache, new_cache)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:178: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:179: trailing whitespace.
|
||
+ self._update_cache_set(cache_set, new_cache)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:180: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:181: trailing whitespace.
|
||
+ def _migrate_cache_data(self, old_cache, new_cache):
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:182: trailing whitespace.
|
||
+ """迁移缓存核心数据"""
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:183: trailing whitespace.
|
||
+ new_cache.cache = old_cache.cache
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:184: trailing whitespace.
|
||
+ new_cache.subcaches = old_cache.subcaches
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:185: trailing whitespace.
|
||
+ new_cache.dynprompt = getattr(old_cache, 'dynprompt', None)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__nodes.py:186: trailing whitespace.
|
||
+ new_cache.cache_key_set = getattr(old_cache, 'cache_key_set', None)
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__pyproject.toml:5: trailing whitespace.
|
||
+license = {file = "LICENSE"}
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__pyproject.toml:34: trailing whitespace.
|
||
+includes = []
|
||
docs/hel-892/zimage-qwen-reference/dynamic-ramcache__pyproject.toml:36: new blank line at EOF.
|
||
docs/hel-892/zimage-qwen-reference/easy____init__.py:28: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/easy__py__nodes__logic.py:1809: new blank line at EOF.
|
||
docs/hel-892/zimage-qwen-reference/easy__web_version__v1__js__easy__easyDynamicWidgets.js:802: space before tab in indent.
|
||
+ let preset_i = 3;
|
||
docs/hel-892/zimage-qwen-reference/easy__web_version__v1__js__easy__easyDynamicWidgets.js:803: space before tab in indent.
|
||
+ let vector_i = 4;
|
||
docs/hel-892/zimage-qwen-reference/easy__web_version__v1__js__easy__easyDynamicWidgets.js:804: space before tab in indent.
|
||
+ let file_i = 5;
|
||
docs/hel-892/zimage-qwen-reference/easy__web_version__v1__js__easy__easyDynamicWidgets.js:892: space before tab in indent.
|
||
+ }
|
||
docs/hel-892/zimage-qwen-reference/easy__web_version__v1__js__easy__easyDynamicWidgets.js:1239: trailing whitespace.
|
||
+ 'lora_name', 'lora1_name', 'lora2_name', 'lora3_name',
|
||
docs/hel-892/zimage-qwen-reference/easy__web_version__v1__js__easy__easyDynamicWidgets.js:1240: trailing whitespace.
|
||
+ 'refiner_lora1_name', 'refiner_lora2_name', 'upscale_method',
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:44: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:62: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:68: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:82: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:88: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:94: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:100: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:106: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:112: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:130: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:138: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:142: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:144: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:147: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:153: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:157: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:160: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:166: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:183: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:191: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:197: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:203: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:206: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:259: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:271: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:274: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:279: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:284: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:291: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:293: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:319: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:334: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:390: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:395: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:419: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:429: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:438: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:455: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:543: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:550: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:560: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:578: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:580: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:583: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:586: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:591: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:595: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:611: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:620: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:623: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:628: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:636: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:641: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:645: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:652: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:657: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:661: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:666: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:669: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:674: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:684: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:688: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:691: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:694: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:699: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:703: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:706: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:714: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:718: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:723: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:732: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:735: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:738: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:746: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:757: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:791: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:804: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:809: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:819: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:824: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:847: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:854: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:861: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:874: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:878: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:883: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:886: trailing whitespace.
|
||
+ item for item in bboxes
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:893: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:900: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:905: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:913: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:915: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:923: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:935: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:950: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:954: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:958: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:960: trailing whitespace.
|
||
+ image_for_cropping = image[0]
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:961: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:969: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:974: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:980: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:984: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:988: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:995: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:998: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1001: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1006: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1011: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1015: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1017: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1026: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1028: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1031: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1043: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1048: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1054: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1066: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1074: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1077: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1084: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1087: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1091: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1097: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1100: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1120: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1125: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1129: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1142: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1172: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1177: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1183: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1185: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1198: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1201: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1206: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1211: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1219: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1222: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1236: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1241: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1247: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1257: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1261: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1272: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1277: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1362: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1376: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1381: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1384: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1390: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1392: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1399: trailing whitespace.
|
||
+ try:
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1405: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1407: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1416: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1419: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1423: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1425: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1436: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1447: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1452: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1455: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1462: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1464: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1468: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1470: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1473: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1476: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1481: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1486: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1489: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1497: trailing whitespace.
|
||
+ if count_im_start == 2:
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1504: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1510: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1513: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1516: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1520: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1523: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__nodes.py:1526: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__pyproject.toml:5: trailing whitespace.
|
||
+license = {file = "LICENSE"}
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__pyproject.toml:35: trailing whitespace.
|
||
+includes = []
|
||
docs/hel-892/zimage-qwen-reference/llama-contrast__pyproject.toml:37: new blank line at EOF.
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:39: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:57: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:63: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:77: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:106: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:113: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:118: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:124: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:127: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:170: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:181: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:184: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:189: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:194: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:198: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:200: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:226: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:279: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:284: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:304: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:321: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:338: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:362: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:367: trailing whitespace.
|
||
+ return float("NaN")
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:368: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:441: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:443: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:449: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:459: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:464: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:480: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:483: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:488: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:516: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:520: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:525: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:535: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:550: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:563: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:573: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:583: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:592: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:627: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:640: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:645: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:655: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:660: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:683: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:690: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:697: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:708: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:712: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:715: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:725: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:732: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:737: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:745: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:747: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:755: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:767: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:770: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:782: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:786: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:790: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:792: trailing whitespace.
|
||
+ image_for_cropping = image[0]
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:793: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:798: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:804: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:808: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:812: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:819: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:822: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:825: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:830: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:835: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:839: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:841: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:850: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:852: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:854: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:856: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:868: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:873: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:879: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:881: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:885: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:893: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:896: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:903: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:906: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:910: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:913: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:916: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:919: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:939: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:944: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:963: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:968: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:972: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:980: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:986: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:991: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:996: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:1001: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:1008: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:1033: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:1038: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:1042: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:1058: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:1063: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__nodes.py:1104: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/llama__pyproject.toml:5: trailing whitespace.
|
||
+license = {file = "LICENSE"}
|
||
docs/hel-892/zimage-qwen-reference/llama__pyproject.toml:35: trailing whitespace.
|
||
+includes = []
|
||
docs/hel-892/zimage-qwen-reference/llama__pyproject.toml:37: new blank line at EOF.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:45: trailing whitespace.
|
||
+You are a professional edit instruction rewriter. Your task is to generate a precise, concise, and visually achievable professional-level edit instruction based on the user-provided instruction and the image to be edited.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:48: trailing whitespace.
|
||
+- Keep the rewritten prompt **concise**. Avoid overly long sentences and reduce unnecessary descriptive language.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:49: trailing whitespace.
|
||
+- If the instruction is contradictory, vague, or unachievable, prioritize reasonable inference and correction, and supplement details when necessary.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:50: trailing whitespace.
|
||
+- Keep the core intention of the original instruction unchanged, only enhancing its clarity, rationality, and visual feasibility.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:51: trailing whitespace.
|
||
+- All added objects or modifications must align with the logic and style of the edited input image’s overall scene.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:54: trailing whitespace.
|
||
+- If the instruction is clear (already includes task type, target entity, position, quantity, attributes), preserve the original intent and only refine the grammar.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:55: trailing whitespace.
|
||
+- If the description is vague, supplement with minimal but sufficient details (category, color, size, orientation, position, etc.). For example:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:56: trailing whitespace.
|
||
+ > Original: "Add an animal"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:57: trailing whitespace.
|
||
+ > Rewritten: "Add a light-gray cat in the bottom-right corner, sitting and facing the camera"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:58: trailing whitespace.
|
||
+- Remove meaningless instructions: e.g., "Add 0 objects" should be ignored or flagged as invalid.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:59: trailing whitespace.
|
||
+- For replacement tasks, specify "Replace Y with X" and briefly describe the key visual features of X.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:61: trailing whitespace.
|
||
+- All text content must be enclosed in English double quotes `" "`. Do not translate or alter the original language of the text, and do not change the capitalization.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:63: trailing whitespace.
|
||
+ - `Replace "xx" to "yy"`.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:64: trailing whitespace.
|
||
+ - `Replace the xx bounding box to "yy"`.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:65: trailing whitespace.
|
||
+- If the user does not specify text content, infer and add concise text based on the instruction and the input image’s context. For example:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:66: trailing whitespace.
|
||
+ > Original: "Add a line of text" (poster)
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:67: trailing whitespace.
|
||
+ > Rewritten: "Add text \"LIMITED EDITION\" at the top center with slight shadow"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:68: trailing whitespace.
|
||
+- Specify text position, color, and layout in a concise way.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:70: trailing whitespace.
|
||
+- Maintain the person’s core visual consistency (ethnicity, gender, age, hairstyle, expression, outfit, etc.).
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:71: trailing whitespace.
|
||
+- If modifying appearance (e.g., clothes, hairstyle), ensure the new element is consistent with the original style.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:72: trailing whitespace.
|
||
+- **For expression changes, they must be natural and subtle, never exaggerated.**
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:74: trailing whitespace.
|
||
+ - For background change tasks, emphasize maintaining subject consistency at first.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:75: trailing whitespace.
|
||
+- Example:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:76: trailing whitespace.
|
||
+ > Original: "Change the person’s hat"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:77: trailing whitespace.
|
||
+ > Rewritten: "Replace the man’s hat with a dark brown beret; keep smile, short hair, and gray jacket unchanged"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:79: trailing whitespace.
|
||
+- If a style is specified, describe it concisely with key visual traits. For example:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:80: trailing whitespace.
|
||
+ > Original: "Disco style"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:81: trailing whitespace.
|
||
+ > Rewritten: "1970s disco: flashing lights, disco ball, mirrored walls, colorful tones"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:82: trailing whitespace.
|
||
+- If the instruction says "use reference style" or "keep current style," analyze the input image, extract main features (color, composition, texture, lighting, art style), and integrate them concisely.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:83: trailing whitespace.
|
||
+- **For coloring tasks, including restoring old photos, always use the fixed template:** "Restore old photograph, remove scratches, reduce noise, enhance details, high resolution, realistic, natural skin tones, clear facial features, no distortion, vintage photo restoration"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:86: trailing whitespace.
|
||
+- Resolve contradictory instructions: e.g., "Remove all trees but keep all trees" should be logically corrected.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:87: trailing whitespace.
|
||
+- Add missing key information: if position is unspecified, choose a reasonable area based on composition (near subject, empty space, center/edges).
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:93: trailing whitespace.
|
||
+You are a professional edit instruction rewriter. Your task is to generate a precise, concise, and visually achievable professional-level edit instruction based on the user-provided instruction and the image to be edited.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:96: trailing whitespace.
|
||
+- Keep the rewritten prompt **concise and comprehensive**. Avoid overly long sentences and unnecessary descriptive language.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:97: trailing whitespace.
|
||
+- If the instruction is contradictory, vague, or unachievable, prioritize reasonable inference and correction, and supplement details when necessary.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:98: trailing whitespace.
|
||
+- Keep the main part of the original instruction unchanged, only enhancing its clarity, rationality, and visual feasibility.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:99: trailing whitespace.
|
||
+- All added objects or modifications must align with the logic and style of the scene in the input images.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:100: trailing whitespace.
|
||
+- If multiple sub-images are to be generated, describe the content of each sub-image individually.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:103: trailing whitespace.
|
||
+- If the instruction is clear (already includes task type, target entity, position, quantity, attributes), preserve the original intent and only refine the grammar.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:104: trailing whitespace.
|
||
+- If the description is vague, supplement with minimal but sufficient details (category, color, size, orientation, position, etc.). For example:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:105: trailing whitespace.
|
||
+ > Original: "Add an animal"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:106: trailing whitespace.
|
||
+ > Rewritten: "Add a light-gray cat in the bottom-right corner, sitting and facing the camera"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:107: trailing whitespace.
|
||
+- Remove meaningless instructions: e.g., "Add 0 objects" should be ignored or flagged as invalid.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:108: trailing whitespace.
|
||
+- For replacement tasks, specify "Replace Y with X" and briefly describe the key visual features of X.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:110: trailing whitespace.
|
||
+- All text content must be enclosed in English double quotes `" "`. Keep the original language of the text, and keep the capitalization.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:111: trailing whitespace.
|
||
+- Both adding new text and replacing existing text are text replacement tasks, For example:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:112: trailing whitespace.
|
||
+ - Replace "xx" to "yy"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:113: trailing whitespace.
|
||
+ - Replace the mask / bounding box to "yy"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:114: trailing whitespace.
|
||
+ - Replace the visual object to "yy"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:115: trailing whitespace.
|
||
+- Specify text position, color, and layout only if user has required.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:116: trailing whitespace.
|
||
+- If font is specified, keep the original language of the font.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:118: trailing whitespace.
|
||
+- Make the smallest changes to the given user's prompt.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:121: trailing whitespace.
|
||
+ > Original: "Add eyebrows to the face"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:124: trailing whitespace.
|
||
+- If a style is specified, describe it concisely using key visual features. For example:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:125: trailing whitespace.
|
||
+ > Original: "Disco style"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:126: trailing whitespace.
|
||
+ > Rewritten: "1970s disco style: flashing lights, disco ball, mirrored walls, vibrant colors"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:127: trailing whitespace.
|
||
+- For style reference, analyze the original image and extract key characteristics (color, composition, texture, lighting, artistic style, etc.), integrating them into the instruction.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:128: trailing whitespace.
|
||
+- **Colorization tasks (including old photo restoration) must use the fixed template:**
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:129: trailing whitespace.
|
||
+ "Restore and colorize the old photo."
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:130: trailing whitespace.
|
||
+- Clearly specify the object to be modified. For example:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:131: trailing whitespace.
|
||
+ > Original: Modify the subject in Picture 1 to match the style of Picture 2.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:139: trailing whitespace.
|
||
+ > Original: "Convert to sapphire material"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:142: trailing whitespace.
|
||
+ > Original: "Migrate the logo in the image to a new scene"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:145: trailing whitespace.
|
||
+- Rewritten prompts must clearly point out which image’s element is being modified. For example:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:146: trailing whitespace.
|
||
+ > Original: "Replace the subject of picture 1 with the subject of picture 2"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:147: trailing whitespace.
|
||
+ > Rewritten: "Replace the girl of picture 1 with the boy of picture 2, keeping picture 2’s background unchanged"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:148: trailing whitespace.
|
||
+- For stylization tasks, describe the reference image’s style in the rewritten prompt, while preserving the visual content of the source image.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:156: trailing whitespace.
|
||
+You are a professional edit prompt enhancer. Your task is to generate a direct and specific edit prompt based on the user-provided instruction and the image input conditions.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:159: trailing whitespace.
|
||
+- Keep the enhanced prompt **direct and specific**.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:160: trailing whitespace.
|
||
+- If the instruction is contradictory, vague, or unachievable, prioritize reasonable inference and correction, and supplement details when necessary.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:161: trailing whitespace.
|
||
+- Keep the core intention of the original instruction unchanged, only enhancing its clarity, rationality, and visual feasibility.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:162: trailing whitespace.
|
||
+- All added objects or modifications must align with the logic and style of the edited input image’s overall scene.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:165: trailing whitespace.
|
||
+- If the instruction is clear (already includes task type, target entity, position, quantity, attributes), preserve the original intent and only refine the grammar.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:166: trailing whitespace.
|
||
+- If the description is vague, supplement with minimal but sufficient details (category, color, size, orientation, position, etc.). For example:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:167: trailing whitespace.
|
||
+ > Original: "Add an animal"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:168: trailing whitespace.
|
||
+ > Rewritten: "Add a light-gray cat in the bottom-right corner, sitting and facing the camera"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:169: trailing whitespace.
|
||
+- Remove meaningless instructions: e.g., "Add 0 objects" should be ignored or flagged as invalid.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:170: trailing whitespace.
|
||
+- For replacement tasks, specify "Replace Y with X" and briefly describe the key visual features of X.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:172: trailing whitespace.
|
||
+- All text content must be enclosed in English double quotes `" "`. Keep the original language of the text, and keep the capitalization.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:173: trailing whitespace.
|
||
+- Both adding new text and replacing existing text are text replacement tasks, For example:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:174: trailing whitespace.
|
||
+ - Replace "xx" to "yy"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:175: trailing whitespace.
|
||
+ - Replace the mask / bounding box to "yy"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:176: trailing whitespace.
|
||
+ - Replace the visual object to "yy"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:177: trailing whitespace.
|
||
+- Specify text position, color, and layout only if user has required.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:178: trailing whitespace.
|
||
+- If font is specified, keep the original language of the font.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:180: trailing whitespace.
|
||
+- Emphasize maintaining the person’s core visual consistency (ethnicity, gender, age, hairstyle, expression, outfit, etc.).
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:181: trailing whitespace.
|
||
+- If modifying appearance (e.g., clothes, hairstyle), ensure the new element is consistent with the original style.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:182: trailing whitespace.
|
||
+- **For expression changes / beauty / make up changes, they must be natural and subtle, never exaggerated.**
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:183: trailing whitespace.
|
||
+- Example:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:184: trailing whitespace.
|
||
+ > Original: "Change the person’s hat"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:185: trailing whitespace.
|
||
+ > Rewritten: "Replace the man’s hat with a dark brown beret; keep smile, short hair, and gray jacket unchanged"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:187: trailing whitespace.
|
||
+- If a style is specified, describe it concisely using key visual features. For example:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:188: trailing whitespace.
|
||
+ > Original: "Disco style"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:189: trailing whitespace.
|
||
+ > Rewritten: "1970s disco style: flashing lights, disco ball, mirrored walls, colorful tones"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:190: trailing whitespace.
|
||
+- For style reference, analyze the original image and extract key characteristics (color, composition, texture, lighting, artistic style, etc.), integrating them into the instruction.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:191: trailing whitespace.
|
||
+- **Colorization tasks (including old photo restoration) must use the fixed template:**
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:192: trailing whitespace.
|
||
+"Restore and colorize the photo."
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:193: trailing whitespace.
|
||
+- Clearly specify the object to be modified. For example:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:194: trailing whitespace.
|
||
+ > Original: Modify the subject in Picture 1 to match the style of Picture 2.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:201: trailing whitespace.
|
||
+- Rewritten prompts must clearly point out which image’s element is being modified. For example:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:202: trailing whitespace.
|
||
+ > Original: "Replace the subject of picture 1 with the subject of picture 2"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:203: trailing whitespace.
|
||
+ > Rewritten: "Replace the girl of picture 1 with the boy of picture 2, keeping picture 2’s background unchanged"
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:204: trailing whitespace.
|
||
+- For stylization tasks, describe the reference image’s style in the rewritten prompt, while preserving the visual content of the source image.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:206: trailing whitespace.
|
||
+- Resolve contradictory instructions: e.g., "Remove all trees but keep all trees" should be logically corrected.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:207: trailing whitespace.
|
||
+- Add missing key information: e.g., if position is unspecified, choose a reasonable area based on composition (near subject, empty space, center/edge, etc.).
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:219: trailing whitespace.
|
||
+ - Determine whether the image contains text. If not, do not add any extraneous textual elements.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:220: trailing whitespace.
|
||
+ - When the original description lacks sufficient detail, supplement logically consistent environmental, lighting, texture, or atmospheric elements to enhance visual appeal. When the description is already rich, make only necessary adjustments. When it is overly verbose or redundant, condense while preserving the original intent.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:221: trailing whitespace.
|
||
+ - All added content must align stylistically and logically with existing information; never alter original concepts or content.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:224: trailing whitespace.
|
||
+4. **Fully represent all textual content**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:226: trailing whitespace.
|
||
+ - Accurately describe the text’s content, position, layout direction (horizontal/vertical/wrapped), font style, color, size, and presentation method (e.g., printed, embroidered, neon).
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:227: trailing whitespace.
|
||
+ - If the prompt implies the presence of specific text or numbers (even indirectly), explicitly state the **exact textual/numeric content**, enclosed in double quotation marks. Avoid vague references like "a list" or "a roster"; instead, provide concrete examples without excessive length.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:253: trailing whitespace.
|
||
+**Example Outputs**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:301: trailing whitespace.
|
||
+1. **Core visual components**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:302: trailing whitespace.
|
||
+ - Subject type, quantity, form, color, material, state (static/moving), and distinctive details.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:303: trailing whitespace.
|
||
+ - Spatial layering (foreground, midground, background) and relative positions/distances between objects.
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:304: trailing whitespace.
|
||
+ - Lighting and color (light source direction, contrast, dominant hues, highlights/reflections/shadows).
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:305: trailing whitespace.
|
||
+ - Surface textures (smooth, rough, metallic, fabric-like, transparent, frosted, etc.).
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:306: trailing whitespace.
|
||
+2. **Scene and atmosphere**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:307: trailing whitespace.
|
||
+ - Setting type (natural landscape, urban architecture, interior space, staged still life, etc.).
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:308: trailing whitespace.
|
||
+ - Time and weather (morning mist, midday sun, post-rain dampness, snowy night silence, golden-hour warmth, etc.).
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:309: trailing whitespace.
|
||
+ - Emotional tone (cozy, lonely, mysterious, high-tech, vibrant, etc.).
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:310: trailing whitespace.
|
||
+3. **Visual relationships among multiple objects**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:311: trailing whitespace.
|
||
+ - Functional connections (e.g., teapot and cup, utensils and food).
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:312: trailing whitespace.
|
||
+ - Dynamic interactions (e.g., wind blowing curtains, water hitting rocks).
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:314: trailing whitespace.
|
||
+**Example Output**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:327: trailing whitespace.
|
||
+1. **使用流畅、自然的描述性语言**,以连贯形式输出,禁止使用列表、编号、标题或任何结构化格式。
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:328: trailing whitespace.
|
||
+2. **合理丰富画面细节**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:330: trailing whitespace.
|
||
+ - 当原始描述信息不足时,可补充符合逻辑的环境、光影、质感或氛围元素,提升画面吸引力;当原始描述信息充足时,只做相应的修改;当原始描述信息过多或冗余时,在保留原意的情况下精简;
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:331: trailing whitespace.
|
||
+ - 所有补充内容必须与已有信息风格统一、逻辑自洽,原有的内容和概念不得修改;
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:332: trailing whitespace.
|
||
+ - 在简洁场景中保持克制,避免冗余扩展。
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:333: trailing whitespace.
|
||
+3. **严禁修改任何专有名词**:包括人名、品牌名、地名、IP 名称、电影/游戏标题、标语原文、网址、电话号码等,必须原样保留。
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:334: trailing whitespace.
|
||
+4. **完整呈现所有文字信息**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:336: trailing whitespace.
|
||
+ - 若图像包含文字,须准确描述其内容、位置、排版方向(横排/竖排/换行)、字体风格、颜色、大小及呈现方式(如印刷、刺绣、霓虹灯等);
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:338: trailing whitespace.
|
||
+ - 若图像无任何文字,必须明确说明:“图像中未出现任何可识别文字”。
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:343: trailing whitespace.
|
||
+1. **指出人物基本信息**:种族、性别、大致年龄,脸型、五官特征、表情、肤色、肤质、妆容等;
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:344: trailing whitespace.
|
||
+2. **指出服装,发型与配饰**:上衣、下装、鞋履、外套等类型及面料质感;发色、发型、头饰、耳环、项链、戒指等;
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:345: trailing whitespace.
|
||
+3. **指出姿态与动作**:身体姿势、手势、视线方向、与道具的互动;
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:346: trailing whitespace.
|
||
+4. **指出背景与环境**:具体场景(如咖啡馆、街道、室内)、背景物体、光照(方向、强度、色温)、天气、整体氛围;
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:347: trailing whitespace.
|
||
+5. **指出其他对象细节**:若存在人以外的物品(如杯子、书本、宠物),需描述其数量、颜色、材质、位置及其与人物的空间或功能关系;
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:350: trailing whitespace.
|
||
+**示例输出**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:357: trailing whitespace.
|
||
+1. **忠实还原所有文字内容**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:358: trailing whitespace.
|
||
+ - 明确指出文字所在位置(如招牌、屏幕、衣物、包装、海报等);
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:359: trailing whitespace.
|
||
+ - 准确转录全部可见文字(含标点、大小写、换行、排版方向);
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:360: trailing whitespace.
|
||
+ - 描述字体风格(如手写体、衬线体、书法体、像素风等)、颜色、大小、清晰度及是否有描边/阴影;
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:361: trailing whitespace.
|
||
+ - 非中文文字(如英文、日文、韩文等)须保留原文并注明语种。
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:362: trailing whitespace.
|
||
+2. **说明文字与载体的关系**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:363: trailing whitespace.
|
||
+ - 呈现方式(印刷、LED 屏、霓虹灯、刺绣、涂鸦等);
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:364: trailing whitespace.
|
||
+ - 构图作用(标题、标语、品牌标识、装饰等);
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:365: trailing whitespace.
|
||
+ - 与人物或其他物体的空间关系(如手持、张贴、投影等)。
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:366: trailing whitespace.
|
||
+3. **补充环境与氛围**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:367: trailing whitespace.
|
||
+ - 场景类型(室内/室外、商业街、展览馆等);
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:368: trailing whitespace.
|
||
+ - 光照对文字可读性的影响(反光、背光、夜间照明等);
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:369: trailing whitespace.
|
||
+ - 整体色调与艺术风格(复古、极简、赛博朋克等)。
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:370: trailing whitespace.
|
||
+4. **在信息图/知识类场景中适度补充文字**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:374: trailing whitespace.
|
||
+**示例输出**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:383: trailing whitespace.
|
||
+1. **核心视觉元素**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:384: trailing whitespace.
|
||
+ - 主体对象的种类、数量、形态、颜色、材质、状态(静止/运动)、细节特征;
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:385: trailing whitespace.
|
||
+ - 空间层次(前景、中景、背景)及物体间的相对位置与距离;
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:386: trailing whitespace.
|
||
+ - 光影与色彩(光源方向、明暗对比、主色调、高光/反光/阴影);
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:387: trailing whitespace.
|
||
+ - 表面质感(光滑、粗糙、金属感、织物感、透明、磨砂等)。
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:388: trailing whitespace.
|
||
+2. **场景与氛围**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:389: trailing whitespace.
|
||
+ - 场所类型(自然景观、城市建筑、室内空间、静物摆拍等);
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:390: trailing whitespace.
|
||
+ - 时间与天气(清晨薄雾、正午烈日、雨后湿润、雪夜寂静、黄昏暖光等);
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:391: trailing whitespace.
|
||
+ - 情绪基调(温馨、孤寂、神秘、科技感、生机勃勃等)。
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:392: trailing whitespace.
|
||
+3. **多对象视觉关系**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:393: trailing whitespace.
|
||
+ - 功能关联(如茶壶与茶杯、餐具与食物);
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:394: trailing whitespace.
|
||
+ - 动作互动(如风吹窗帘、水流冲击岩石);
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:396: trailing whitespace.
|
||
+**示例输出**:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:433: trailing whitespace.
|
||
+任务要求:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:434: trailing whitespace.
|
||
+1. 对于用户输入的prompt,在不改变prompt的原意(如主体、动作)前提下,从下列电影美学设定中选择部分合适的时间、光源、光线强度、光线角度、对比度、饱和度、色调、拍摄角度、镜头大小、构图的电影设定细节,将这些内容添加到prompt中,让画面变得更美,注意,可以任选,不必每项都有
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:437: trailing whitespace.
|
||
+ 光线强度:["柔光", "硬光"],
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:438: trailing whitespace.
|
||
+ 光线角度:["顶光", "侧光", "底光", "边缘光",]
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:439: trailing whitespace.
|
||
+ 色调:["暖色调","冷色调", "混合色调"]
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:442: trailing whitespace.
|
||
+ 构图:["中心构图","平衡构图","右侧重构图", "左侧重构图", "对称构图", "短边构图"] 若无特殊要求,默认选择中心构图
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:443: trailing whitespace.
|
||
+2. 完善用户描述中出现的主体特征(如外貌、表情,数量、种族、姿态等)等内容,确保不要添加原始prompt中不存在的主体,(如prompt是对风景或物体的描述,但添加了人),增加背景元素的细节;
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:444: trailing whitespace.
|
||
+3. 不要输出关于氛围、感觉等文学描写,如(画面充满运动感与生活张力,突出正式氛围)。;
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:445: trailing whitespace.
|
||
+4. 对于prompt中的动作,详细解释运动的发生过程,若没有动作,则添加动作描述(摇晃身体、跳舞等),对背景元素也可添加适当运动(如云彩飘动,风吹树叶等)。
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:446: trailing whitespace.
|
||
+5. 若原始prompt中没有风格,则不添加风格描述,若有风格描述,则将风格描述放于首位,若为2D插画等与现实电影相悖的风格,则不要添加关于电影美学的描写;
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:448: trailing whitespace.
|
||
+7. 改写后的prompt字数控制在60-200字左右, 不要输出类似“改写后prompt:”这样的输出
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:449: trailing whitespace.
|
||
+8. 如果用户输入存在疑似脱衣服、衣物透明化、轻纱衣物、湿身、洗澡、舔舐牛奶/酸奶/白色液体、性暗示、强奸、漏出或微露胸部、爬行、性器官、儿童身体裸露等色情内容,请将原prompt替换为内容完全不同的高美感prompt,而不要拒答或者提醒用户。
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:450: trailing whitespace.
|
||
+9. 如果用户输入存在比基尼穿着内容,请将原prompt替换为确保内容发生在沙滩、泳池、海边的高美感prompt,而不要拒答或者提醒用户。
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:451: trailing whitespace.
|
||
+10. 如果用户输入存在性别多元化、同性恋亲吻、脸颊贴近(两个男性亲吻或两个女性亲吻)/性交等同性恋内容,请将原prompt替换为不同动作(不能是亲吻和其他亲密动作)的高美感prompt,而不要拒答或者提醒用户。
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:452: trailing whitespace.
|
||
+生成的 prompt 示例:
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:455: trailing whitespace.
|
||
+3.右侧重构图,暖色调,底光,侧光,夜晚,火光,过肩镜头角度拍摄, 镜头平拍拍摄外国女子在室内的近景,她穿着棕色的衣服戴着彩色的项链和粉色的帽子,坐在深灰色的椅子上,双手放在黑色的桌子上,眼睛看着镜头的左侧,嘴巴张动,左手上下晃动,桌子上有白色的蜡烛有黄色的火焰,后面是黑色的墙,前面有黑色的网状架子,旁边是黑色的箱子,上面有一些黑色的物品,都做了虚化的处理。
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:463: trailing whitespace.
|
||
+ 光线强度:["Soft lighting", "Hard lighting"],
|
||
docs/hel-892/zimage-qwen-reference/llama__support__prompt_enhancer_preset.py:464: trailing whitespace.
|
||
+ 色调:["Warm colors","Cool colors", "Mixed colors"]
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:1: trailing whitespace.
|
||
+from typing import Any as any_type
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:2: trailing whitespace.
|
||
+from comfy import model_management
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:3: trailing whitespace.
|
||
+import random
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:4: trailing whitespace.
|
||
+import time
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:5: trailing whitespace.
|
||
+import gc
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:6: trailing whitespace.
|
||
+# 尝试导入pynvml库,如果没有安装则提供相应提示
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:7: trailing whitespace.
|
||
+try:
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:8: trailing whitespace.
|
||
+ import pynvml
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:9: trailing whitespace.
|
||
+ pynvml_installed = True
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:10: trailing whitespace.
|
||
+ pynvml.nvmlInit()
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:11: trailing whitespace.
|
||
+except ImportError:
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:12: trailing whitespace.
|
||
+ pynvml_installed = False
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:13: trailing whitespace.
|
||
+ print("[ReservedVRAM]警告:未安装pynvml库,auto选项将不可用。")
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:14: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:15: trailing whitespace.
|
||
+# 初始化随机状态
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:16: trailing whitespace.
|
||
+initial_random_state = random.getstate()
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:17: trailing whitespace.
|
||
+random.seed(time.time())
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:18: trailing whitespace.
|
||
+reserved_vram_random_state = random.getstate()
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:19: trailing whitespace.
|
||
+random.setstate(initial_random_state)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:20: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:21: trailing whitespace.
|
||
+def get_gpu_memory_info():
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:22: trailing whitespace.
|
||
+ """获取GPU显存信息"""
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:23: trailing whitespace.
|
||
+ if not pynvml_installed:
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:24: trailing whitespace.
|
||
+ return None, None
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:25: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:26: trailing whitespace.
|
||
+ try:
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:27: trailing whitespace.
|
||
+ handle = pynvml.nvmlDeviceGetHandleByIndex(0)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:28: trailing whitespace.
|
||
+ memory_info = pynvml.nvmlDeviceGetMemoryInfo(handle)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:29: trailing whitespace.
|
||
+ total = memory_info.total / (1024 * 1024 * 1024) # 转换为GB
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:30: trailing whitespace.
|
||
+ used = memory_info.used / (1024 * 1024 * 1024) # 转换为GB
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:31: trailing whitespace.
|
||
+ return total, used
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:32: trailing whitespace.
|
||
+ except Exception as e:
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:33: trailing whitespace.
|
||
+ print(f"[ReservedVRAM]获取GPU信息出错: {e}")
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:34: trailing whitespace.
|
||
+ return None, None
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:35: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:36: trailing whitespace.
|
||
+def new_random_seed():
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:37: trailing whitespace.
|
||
+ """生成一个新的随机种子"""
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:38: trailing whitespace.
|
||
+ global reserved_vram_random_state
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:39: trailing whitespace.
|
||
+ prev_random_state = random.getstate()
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:40: trailing whitespace.
|
||
+ random.setstate(reserved_vram_random_state)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:41: trailing whitespace.
|
||
+ seed = random.randint(1, 1125899906842624)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:42: trailing whitespace.
|
||
+ reserved_vram_random_state = random.getstate()
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:43: trailing whitespace.
|
||
+ random.setstate(prev_random_state)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:44: trailing whitespace.
|
||
+ return seed
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:45: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:46: trailing whitespace.
|
||
+class AlwaysEqualProxy(str):
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:47: trailing whitespace.
|
||
+ def __eq__(self, _):
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:48: trailing whitespace.
|
||
+ return True
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:49: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:50: trailing whitespace.
|
||
+ def __ne__(self, _):
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:51: trailing whitespace.
|
||
+ return False
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:52: trailing whitespace.
|
||
+any_type = AlwaysEqualProxy("*")
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:53: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:54: trailing whitespace.
|
||
+class ReservedVRAMSetter:
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:55: trailing whitespace.
|
||
+ @classmethod
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:56: trailing whitespace.
|
||
+ def INPUT_TYPES(s):
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:57: trailing whitespace.
|
||
+ return {
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:58: trailing whitespace.
|
||
+ "required": {
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:59: trailing whitespace.
|
||
+ "reserved": ("FLOAT", {
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:60: trailing whitespace.
|
||
+ "default": 0.6,
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:61: trailing whitespace.
|
||
+ "min": -2.0,
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:62: trailing whitespace.
|
||
+ "step": 0.1,
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:63: trailing whitespace.
|
||
+ "display": "reserved (GB)"
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:64: trailing whitespace.
|
||
+ }),
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:65: trailing whitespace.
|
||
+ "mode": (["manual", "auto"], {
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:66: trailing whitespace.
|
||
+ "default": "auto",
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:67: trailing whitespace.
|
||
+ "display": "Mode"
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:68: trailing whitespace.
|
||
+ }),
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:69: trailing whitespace.
|
||
+ "seed": ("INT", {
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:70: trailing whitespace.
|
||
+ "default": 0,
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:71: trailing whitespace.
|
||
+ "min": -1,
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:72: trailing whitespace.
|
||
+ "max": 1125899906842624
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:73: trailing whitespace.
|
||
+ }),
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:74: trailing whitespace.
|
||
+ "auto_max_reserved": ("FLOAT", {
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:75: trailing whitespace.
|
||
+ "default": 0.0,
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:76: trailing whitespace.
|
||
+ "min": 0.0,
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:77: trailing whitespace.
|
||
+ "step": 0.1,
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:78: trailing whitespace.
|
||
+ "display": "Auto Max Reserved (GB, 0=no limit)"
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:79: trailing whitespace.
|
||
+ }),
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:80: trailing whitespace.
|
||
+ "clean_gpu_before": ("BOOLEAN", {"default": True}),
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:81: trailing whitespace.
|
||
+ },
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:82: trailing whitespace.
|
||
+ "optional": {
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:83: trailing whitespace.
|
||
+ "anything": (any_type, {})
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:84: trailing whitespace.
|
||
+ },
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:85: trailing whitespace.
|
||
+ "hidden": {"unique_id": "UNIQUE_ID", "extra_pnginfo": "EXTRA_PNGINFO"}
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:86: trailing whitespace.
|
||
+ }
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:87: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:88: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:89: trailing whitespace.
|
||
+ RETURN_TYPES = (any_type, "INT", "FLOAT")
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:90: trailing whitespace.
|
||
+ RETURN_NAMES = ("output", "SEED", "Reserved(GB)")
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:91: trailing whitespace.
|
||
+ OUTPUT_NODE = True
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:92: trailing whitespace.
|
||
+ FUNCTION = "set_vram"
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:93: trailing whitespace.
|
||
+ CATEGORY = "VRAM"
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:94: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:95: trailing whitespace.
|
||
+ @classmethod
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:96: trailing whitespace.
|
||
+ def IS_CHANGED(cls, seed=0, **kwargs):
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:97: trailing whitespace.
|
||
+ """当使用特殊种子值时强制更新"""
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:98: trailing whitespace.
|
||
+ if seed == -1:
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:99: trailing whitespace.
|
||
+ return new_random_seed()
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:100: trailing whitespace.
|
||
+ return seed
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:101: trailing whitespace.
|
||
+ def cleanGPUUsedForce(self):
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:102: trailing whitespace.
|
||
+ """强制清理GPU显存"""
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:103: trailing whitespace.
|
||
+ gc.collect()
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:104: trailing whitespace.
|
||
+ model_management.unload_all_models()
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:105: trailing whitespace.
|
||
+ model_management.soft_empty_cache()
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:106: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:107: trailing whitespace.
|
||
+ def set_vram(self, reserved, mode="auto", seed=0, auto_max_reserved=0.0, clean_gpu_before=True, anything=None, unique_id=None, extra_pnginfo=None):
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:108: trailing whitespace.
|
||
+ # 如果启用了前置清理显存,则执行清理操作
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:109: trailing whitespace.
|
||
+ if clean_gpu_before:
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:110: trailing whitespace.
|
||
+ print("[ReservedVRAM]执行前置GPU显存清理...")
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:111: trailing whitespace.
|
||
+ self.cleanGPUUsedForce()
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:112: trailing whitespace.
|
||
+ print("[ReservedVRAM]GPU显存清理完成")
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:113: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:114: trailing whitespace.
|
||
+ final_reserved_vram = 0.0
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:115: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:116: trailing whitespace.
|
||
+ if mode == "auto":
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:117: trailing whitespace.
|
||
+ if pynvml_installed:
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:118: trailing whitespace.
|
||
+ total, used = get_gpu_memory_info()
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:119: trailing whitespace.
|
||
+ if total and used:
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:120: trailing whitespace.
|
||
+ # 自动计算预留显存
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:121: trailing whitespace.
|
||
+ auto_reserved = used + reserved
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:122: trailing whitespace.
|
||
+ auto_reserved = max(0, auto_reserved) # 确保不小于0
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:123: trailing whitespace.
|
||
+ # 如果设置了最大预留值且大于0,则应用限制
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:124: trailing whitespace.
|
||
+ if auto_max_reserved > 0:
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:125: trailing whitespace.
|
||
+ auto_reserved = min(auto_reserved, auto_max_reserved)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:126: trailing whitespace.
|
||
+ print(f'[ReservedVRAM]set EXTRA_RESERVED_VRAM={auto_reserved:.2f}GB (自动模式: 总显存={total:.2f}GB, 已用={used:.2f}GB, 最大限制值{auto_max_reserved:.2f}GB)')
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:127: trailing whitespace.
|
||
+ else:
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:128: trailing whitespace.
|
||
+ print(f'[ReservedVRAM]set EXTRA_RESERVED_VRAM={auto_reserved:.2f}GB (自动模式: 总显存={total:.2f}GB, 已用={used:.2f}GB)')
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:129: trailing whitespace.
|
||
+ model_management.EXTRA_RESERVED_VRAM = int(auto_reserved * 1024 * 1024 * 1024)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:130: trailing whitespace.
|
||
+ final_reserved_vram = round(auto_reserved, 2)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:131: trailing whitespace.
|
||
+ else:
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:132: trailing whitespace.
|
||
+ model_management.EXTRA_RESERVED_VRAM = int(reserved * 1024 * 1024 * 1024)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:133: trailing whitespace.
|
||
+ print(f'[ReservedVRAM]set EXTRA_RESERVED_VRAM={reserved}GB (自动模式失败,使用手动值)')
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:134: trailing whitespace.
|
||
+ final_reserved_vram = round(reserved, 2)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:135: trailing whitespace.
|
||
+ else:
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:136: trailing whitespace.
|
||
+ model_management.EXTRA_RESERVED_VRAM = int(reserved * 1024 * 1024 * 1024)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:137: trailing whitespace.
|
||
+ print(f'[ReservedVRAM]set EXTRA_RESERVED_VRAM={reserved}GB (pynvml未安装,auto选项不可用)')
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:138: trailing whitespace.
|
||
+ final_reserved_vram = round(reserved, 2)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:139: trailing whitespace.
|
||
+ else:
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:140: trailing whitespace.
|
||
+ # 手动模式
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:141: trailing whitespace.
|
||
+ reserved = max(0, reserved)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:142: trailing whitespace.
|
||
+ model_management.EXTRA_RESERVED_VRAM = int(reserved * 1024 * 1024 * 1024)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:143: trailing whitespace.
|
||
+ print(f'[ReservedVRAM]set EXTRA_RESERVED_VRAM={reserved}GB (手动模式),忽略最大限制值')
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:144: trailing whitespace.
|
||
+ final_reserved_vram = round(reserved, 2)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:145: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:146: trailing whitespace.
|
||
+ from comfy_execution.graph import ExecutionBlocker
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:147: trailing whitespace.
|
||
+ output_value = anything if anything is not None else ExecutionBlocker(None)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:148: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:149: trailing whitespace.
|
||
+ return (output_value, seed, final_reserved_vram)
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:150: trailing whitespace.
|
||
+
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:151: trailing whitespace.
|
||
+NODE_CLASS_MAPPINGS = {
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:152: trailing whitespace.
|
||
+ "ReservedVRAMSetter": ReservedVRAMSetter
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:153: trailing whitespace.
|
||
+}
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:154: trailing whitespace.
|
||
+NODE_DISPLAY_NAME_MAPPINGS = {
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__nodes.py:155: trailing whitespace.
|
||
+ "ReservedVRAMSetter": "Set Reserved VRAM(GB) ⚙️"
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__pyproject.toml:5: trailing whitespace.
|
||
+license = {file = "LICENSE"}
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__pyproject.toml:35: trailing whitespace.
|
||
+includes = []
|
||
docs/hel-892/zimage-qwen-reference/reservedvram__pyproject.toml:37: new blank line at EOF.
|