my-opencode 279a4c0353 license fix & version bump
The license field is optional but in the case that it is filled out, the license file should be referenced as follows

    license = { file = "LICENSE" } ✅
    license = "LICENSE" ❌

This was brought up in discord and so. More info in the [toml file standards](https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license) or the  [docs page](https://docs.comfy.org/registry/specifications#license)!

=====

Version bump to 1.0.1 required to publish to the registry.
2024-07-31 16:10:20 +02:00
2024-04-12 12:49:02 +08:00
2024-04-12 12:49:33 +08:00
2024-04-12 12:49:20 +08:00
2024-04-12 12:49:20 +08:00
2024-07-08 14:18:15 +02:00
2024-06-29 02:01:41 +02:00
2024-07-31 16:10:20 +02:00
2024-04-12 12:49:02 +08:00

KSampler (timer)

by @IndustrialVectors
repository GitLab
license MIT

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

Intended for benchmarking or debugging.

Install

  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.

S
Description
No description provided
Readme
4.8 MiB
Languages
Python 100%