ComfyUI > Nodes > 10S-Comfy-nodes > 🔍 LTX Model Inspector

ComfyUI Node: 🔍 LTX Model Inspector

Class Name

LTXModelInspector

Category
10S Nodes/Identity
Author
TenStrip (Account age: 11days)
Extension
10S-Comfy-nodes
Latest Updated
2026-05-12
Github Stars
0.04K

How to Install 10S-Comfy-nodes

Install this extension via the ComfyUI Manager by searching for 10S-Comfy-nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter 10S-Comfy-nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

🔍 LTX Model Inspector Description

Diagnostic tool for exploring and understanding diffusion model structure, with focus on troubleshooting registration and hook issues.

🔍 LTX Model Inspector:

The LTXModelInspector is a diagnostic tool designed to help you explore and understand the structure of diffusion models, particularly when the model's attention implementation bypasses ComfyUI's patch protocol. This node is invaluable for diagnosing issues where registration succeeds but hooks do not fire, allowing you to walk through the diffusion model, print its structure, and optionally attach forward-trace hooks. These hooks enable you to observe input and output shapes for selected modules during the next sampling pass. The LTXModelInspector offers three main functionalities: a top-level dump of the diffusion backbone's children, a name-filtered listing of modules based on their path or class name, and a focus mode that provides a detailed view of a specific module's immediate children. Additionally, it can trace hooks on modules whose paths contain a target string, automatically quieting after a set number of calls. Importantly, the node returns the model unmodified, ensuring that any changes are temporary and non-destructive.

🔍 LTX Model Inspector Input Parameters:

model

The model parameter is the diffusion model you wish to inspect. It serves as the primary input for the LTXModelInspector, allowing the node to analyze and interact with the model's structure. This parameter does not have specific minimum, maximum, or default values, as it depends on the model you are working with.

name_filter

The name_filter parameter allows you to specify a substring to filter module names or paths. This helps in identifying candidate modules that match the given substring, making it easier to focus on specific parts of the model. There are no predefined values for this parameter, as it is a customizable string input.

focus_path

The focus_path parameter is used to narrow down the inspection to the immediate children of a specific module path, such as "transformer_blocks.0". This provides a cleaner view of a single block's structure, avoiding the clutter of a recursive name-filter dump. The default value is "transformer_blocks.0", but it can be adjusted to target different parts of the model.

max_modules_listed

This parameter controls the maximum number of modules to list when using the name-filter feature. It helps manage the output size, ensuring that the listing remains manageable and focused. The default value is 100, but it can be adjusted based on your needs.

trace_path_contains

The trace_path_contains parameter specifies a target string for tracing hooks on modules. It allows you to focus on modules whose paths contain the specified string, enabling detailed observation of their input and output shapes. This parameter does not have predefined values, as it is a customizable string input.

max_modules_traced

This parameter sets the maximum number of modules to trace when using the trace_path_contains feature. It helps control the scope of tracing, ensuring that the process remains efficient and focused. The default value is 8, but it can be adjusted according to your requirements.

trace_calls_per_module

The trace_calls_per_module parameter determines how many times a trace hook will be called before it automatically disables itself. This helps prevent excessive logging and ensures that the tracing process remains efficient. The default value is 1, but it can be adjusted to allow more calls if needed.

The print_top_level parameter is a boolean flag that, when set to True, triggers a top-level dump of the diffusion backbone's children, including parameter counts and container lengths. This provides a high-level overview of the model's structure. The default value is False, meaning the top-level dump is not performed unless explicitly enabled.

🔍 LTX Model Inspector Output Parameters:

model

The output parameter is the same model that was input into the node. The LTXModelInspector returns the model unmodified, ensuring that any hooks or traces added during the inspection process are temporary and do not alter the model's original state. This allows you to safely explore and diagnose the model without risking unintended changes.

🔍 LTX Model Inspector Usage Tips:

  • Use the name_filter parameter to quickly locate specific modules within the model by providing a substring that matches their path or class name.
  • Enable print_top_level to get a comprehensive overview of the model's structure, which can be particularly useful for understanding complex models with many layers.
  • Adjust trace_calls_per_module to control the verbosity of the tracing process, especially when dealing with modules that are called frequently.

🔍 LTX Model Inspector Common Errors and Solutions:

"Hook never fires"

  • Explanation: This error occurs when the model's attention implementation bypasses the patch protocol, preventing hooks from firing.
  • Solution: Use the LTXModelInspector to walk through the model and identify where the hooks are not being attached. Adjust the trace_path_contains parameter to target specific modules and ensure hooks are correctly placed.

"Too many modules listed"

  • Explanation: This happens when the output from the name-filter listing is too large to manage effectively.
  • Solution: Reduce the max_modules_listed parameter to limit the number of modules displayed, making the output more manageable.

"Excessive tracing output"

  • Explanation: This issue arises when trace hooks generate too much output, overwhelming the user with information.
  • Solution: Decrease the trace_calls_per_module parameter to limit the number of times each trace hook is called, reducing the volume of output generated.

🔍 LTX Model Inspector Related Nodes

Go back to the extension to check out more related nodes.
10S-Comfy-nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

🔍 LTX Model Inspector