ComfyUI KSampler (timer)版本v1.0 (ID: 442217)

ComfyUI KSampler (timer)版本v1.0 (ID: 442217)

KSampler (timer)

by @IndustrialVectors
repository GitLab
license MIT

The download link gets you the contents of the custom node as a zip. You need to unzip the contents to path_to_your_comfyui/custom_nodes/comfyui_ksamplertimer.

A custom node that returns the generation time of the KSampler.

Intended for benchmarking or debugging.

Install

manager

  1. In ComfyUI, open the Manager, click "Install via GIT URL"

  2. Paste https://gitlab.com/lanterieur/comfyui_ksamplertimer.git in the text field.

  3. Hit Enter/OK.

cmd

  1. Clone this project into the custom_nodes directory of your ComfyUI install directory.
    git clone https://gitlab.com/lanterieur/comfyui_ksamplertimer.git

  2. (Re)Start ComfyUI

Usage

  • The custom node is called KSampler (timer).

  • The node is found under add node > sampling > KSampler (timer).

Behavior

This node is just a wrapper around the native KSampler. This node adds two outputs to the KSampler:

  • GENERATION_TIME_STRING
    The time in seconds as a float string with 2 numbers after the comma.

  • GENERATION_TIME
    The time in seconds as a float.

Batches

The time returned is for the whole batch.

You may have to divide the generation time by the batch size to get the average generation time. (See examples on how to do it.)

Examples

See the sample workflows in the workflows sub directory.

描述:

训练词语:

名称: comfyuiKsamplerTimer_v10.zip

大小 (KB): 4290

类型: Archive

Pickle 扫描结果: Success

Pickle 扫描信息: No Pickle imports

病毒扫描结果: Success

ComfyUI KSampler (timer)

ComfyUI KSampler (timer)

ComfyUI KSampler (timer)

资源下载
下载价格VIP专享
仅限VIP下载升级VIP
犹豫不决让我们错失一次又一次机会!!!
原文链接:https://1111down.com/1052955.html,转载请注明出处
由于网站升级,部分用户密码全部设置为111111,登入后自己修改, 并且VIP等级提升一级(包月提升至包季,包季提升到包年 包年提升至永久)
没有账号?注册  忘记密码?

社交账号快速登录