Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show_examples_timetaken #278

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

show_examples_timetaken #278

wants to merge 7 commits into from

Conversation

iYingg
Copy link
Collaborator

@iYingg iYingg commented Dec 16, 2024

自动把耗时整为一个markdown表格 commit到issue

Copy link

The time taken by running the examples on Linux:

json文件 耗时
FLUX-schnell Text to Image(4 steps) - bizyair_flux_schnell_workflow.json 1.4 s

Copy link

The time taken by running the examples on Linux:

title and file timetaken
FLUX-schnell Text to Image(4 steps) - bizyair_flux_schnell_workflow.json 1.2 s
FLUX-dev Text to Image - bizyair_flux_dev_workflow.json 26.6 s
FLUX-dev Image to Image - bizyair_flux_img2img_workflow.json 17.0 s
FLUX Simple Lora - bizyair_flux_simple_lora_workflow.json 22.0 s
FLUX PuLID - bizyair_flux_pulid.json 17.5 s
PixelWave Flux.1-dev Text to Image - bizyair_flux_pixelwave_txt2img.json 19.5 s
FLUX ControlNet Canny - bizyair-flux1-tools-canny.json 19.0 s
FLUX ControlNet Depth - bizyair-flux1-tools-depth.json 44.7 s
FLUX Redux - bizyair-flux1-tools-redux.json 22.5 s
FLUX Fill - bizyair-flux-fill1-inpaint.json 23.5 s
FLUX Detail Daemon Sampler - bizyair_flux_detail_daemon_sampler.json 71.4 s
Generate an image from a line drawing - bizyair_showcase_interior_design.json 19.0 s
Design a submarine like a great white shark - bizyair_showcase_shark_submarine.json 36.7 s
UltimateSDUpscale - bizyair_ultimate_sd_upscale.json 15.5 s
Text to Image by BizyAir KSampler - bizyair_showcase_ksampler_txt2img.json 15.5 s
Image to Image by BizyAir KSampler - bizyair_showcase_ksampler_img2img.json 11.9 s
LoRA workflow by BizyAir KSampler - bizyair_showcase_ksampler_lora.json 10.4 s
ControlNet workflow by BizyAir KSampler - bizyair_showcase_ksampler_controlnet.json 11.4 s
IP Adapter workflow by BizyAir KSampler - bizyair_showcase_ksampler_ipadapter.json 31.1 s
InstantID Basic workflow by BizyAir KSampler - bizyair_sdxl_InstantID_basic.json 70.4 s
SD3.5 Text to Image - bizyair_sd3_5_txt2img.json 19.5 s
SD3.5 Turbo Text to Image - bizyair_sd3_5_turbo_txt2img.json 11.4 s
SD3.5 ControlNet Canny - bizyair_sd3_5_canny.json 35.1 s
SD3.5 ControlNet Depth - bizyair_sd3_5_depth.json 38.6 s
SD3.5 ControlNet Blur - bizyair_sd3_5_blur.json 40.2 s
Kolors Text to Image - bizyair_kolors_txt2img.json 18.5 s
Kolors ControlNet Depth - bizyair_kolors_controlnet.json 42.2 s
Kolors Inpainting - bizyair_kolors_inpainting.json 73.9 s
Kolors IP-Adapter - bizyair_kolors_ipa.json 32.1 s
Remove the background from the image - bizyair_showcase_remove_background.json 16.5 s
Recreate an existing image - bizyair_flux_joycaption_img2img_workflow.json 29.6 s
Text Guided Segment Anything - bizyair_text_guided_segment-anything.json 3.8 s
Choose BizyAir Server Endpoint - bizyair_switch_end_point.json 0.3 s

Copy link

The time taken by running the examples on Windows:

title and file timetaken
FLUX-schnell Text to Image(4 steps) - bizyair_flux_schnell_workflow.json 16.4 s
FLUX-dev Text to Image - bizyair_flux_dev_workflow.json 18.0 s
FLUX-dev Image to Image - bizyair_flux_img2img_workflow.json 18.6 s
FLUX Simple Lora - bizyair_flux_simple_lora_workflow.json 23.1 s
FLUX PuLID - bizyair_flux_pulid.json 20.1 s
PixelWave Flux.1-dev Text to Image - bizyair_flux_pixelwave_txt2img.json 16.5 s
FLUX ControlNet Canny - bizyair-flux1-tools-canny.json 22.6 s
FLUX ControlNet Depth - bizyair-flux1-tools-depth.json 37.7 s
FLUX Redux - bizyair-flux1-tools-redux.json 24.1 s
FLUX Fill - bizyair-flux-fill1-inpaint.json 25.7 s
FLUX Detail Daemon Sampler - bizyair_flux_detail_daemon_sampler.json 71.0 s
Generate an image from a line drawing - bizyair_showcase_interior_design.json 21.4 s
Design a submarine like a great white shark - bizyair_showcase_shark_submarine.json 30.7 s
UltimateSDUpscale - bizyair_ultimate_sd_upscale.json 17.5 s
Text to Image by BizyAir KSampler - bizyair_showcase_ksampler_txt2img.json 17.0 s
Image to Image by BizyAir KSampler - bizyair_showcase_ksampler_img2img.json 14.0 s
LoRA workflow by BizyAir KSampler - bizyair_showcase_ksampler_lora.json 12.0 s
ControlNet workflow by BizyAir KSampler - bizyair_showcase_ksampler_controlnet.json 13.5 s
IP Adapter workflow by BizyAir KSampler - bizyair_showcase_ksampler_ipadapter.json 33.7 s
InstantID Basic workflow by BizyAir KSampler - bizyair_sdxl_InstantID_basic.json 41.7 s
SD3.5 Text to Image - bizyair_sd3_5_txt2img.json 21.0 s
SD3.5 Turbo Text to Image - bizyair_sd3_5_turbo_txt2img.json 12.9 s
SD3.5 ControlNet Canny - bizyair_sd3_5_canny.json 63.4 s
SD3.5 ControlNet Depth - bizyair_sd3_5_depth.json 41.2 s
SD3.5 ControlNet Blur - bizyair_sd3_5_blur.json 41.7 s
Kolors Text to Image - bizyair_kolors_txt2img.json 25.2 s
Kolors ControlNet Depth - bizyair_kolors_controlnet.json 45.8 s
Kolors Inpainting - bizyair_kolors_inpainting.json 79.1 s
Kolors IP-Adapter - bizyair_kolors_ipa.json 59.4 s
Remove the background from the image - bizyair_showcase_remove_background.json 20.1 s
Recreate an existing image - bizyair_flux_joycaption_img2img_workflow.json 28.6 s
Text Guided Segment Anything - bizyair_text_guided_segment-anything.json 4.9 s
Choose BizyAir Server Endpoint - bizyair_switch_end_point.json 0.3 s

@@ -225,8 +231,12 @@ def filter_examples_json(all_examples_json: dict, bypass_titles: list):
print("========Running all examples========")
print("\n".join(f"{key} -- {value}" for key, value in all_examples_json.items()))
print("====================================")
with open(os.path.join(base_path, "..", "time_taken.txt"), "a") as f:
f.write(f"| title and file | timetaken |\n|:--:|:--:|\n")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里建议根据耗时排序一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants