ReleaseSiliconFlowSiliconFlowpublished Mar 2, 2024seen 5d

siliconflow/onediff 0.12.1

siliconflow/onediff

Open original ↗

Captured source

source ↗
published Mar 2, 2024seen 5dcaptured 9hhttp 200method plain

0.12.1(Stable acceleration of SD and SVD for production environment)

Repository: siliconflow/onediff

Tag: 0.12.1

Published: 2024-03-02T06:33:48Z

Prerelease: no

Release notes:

SOTA performance update for SDXL and SVD

https://github.com/siliconflow/onediff/tree/main?tab=readme-ov-file#state-of-the-art-performance

Fully support dynamic resolution run of SD and SVD

https://github.com/siliconflow/onediff/blob/55627d50157d4a0c4b484ba76b088c90f39179ff/onediff_diffusers_extensions/examples/text_to_image_sdxl.py#L96

Compile/Save/Load pipeline for HF diffusers

https://github.com/siliconflow/onediff/tree/main/onediff_diffusers_extensions#compile-save-and-load-pipeline

Fast LoRA loading and switching for HF diffusers

https://github.com/siliconflow/onediff/tree/main/onediff_diffusers_extensions#fast-lora-loading-and-switching

Accelerate InstantID

https://github.com/siliconflow/onediff/blob/main/benchmarks/instant_id.py https://github.com/siliconflow/onediff/tree/main/onediff_comfy_nodes#instantid

Accelerate SDXL lightning

https://github.com/siliconflow/onediff/blob/main/onediff_diffusers_extensions/examples/text_to_image_sdxl_light.py

Reuse compiled components between pipelines

https://github.com/siliconflow/onediff/blob/main/onediff_diffusers_extensions/examples/reuse_compiled_pipeline_components.py

Compatible with HF diffisers 0.26

SD Webui support img2img

Change log

  • Official LoRA compatible with OneDiff by @marigoold in https://github.com/siliconflow/onediff/pull/507
  • use dict.setdefault in oneflow_compile by @marigoold in https://github.com/siliconflow/onediff/pull/515
  • fix compilation failure of resnet50 and faster_rcnn by @haoyang9804 in https://github.com/siliconflow/onediff/pull/491
  • Add SILICON_ONEDIFF_LICENSE_KEY by @jackalcooper in https://github.com/siliconflow/onediff/pull/519
  • Dev quant tools and fix graph file management by @ccssu in https://github.com/siliconflow/onediff/pull/495
  • refine document of setup by @doombeaker in https://github.com/siliconflow/onediff/pull/522
  • replace reshape by flatten and unflatten to speedup svd by @hjchen2 in https://github.com/siliconflow/onediff/pull/516
  • graph load fix by @strint in https://github.com/siliconflow/onediff/pull/525
  • compile vae decoder to avoid oneflow module to while upcasting vae by @hjchen2 in https://github.com/siliconflow/onediff/pull/526
  • Debug Comfy in CI by @jackalcooper in https://github.com/siliconflow/onediff/pull/521
  • simplify test by @strint in https://github.com/siliconflow/onediff/pull/529
  • Enable docker hub cache by @jackalcooper in https://github.com/siliconflow/onediff/pull/532
  • Add links for NA/EU by @jackalcooper in https://github.com/siliconflow/onediff/pull/542
  • Reorder links by @jackalcooper in https://github.com/siliconflow/onediff/pull/544
  • support_deepcache_svd_pipeline by @clackhan in https://github.com/siliconflow/onediff/pull/514
  • view comfyui log by @doombeaker in https://github.com/siliconflow/onediff/pull/534
  • Documents for OneDiff Enterprise by @doombeaker in https://github.com/siliconflow/onediff/pull/545
  • fix adpater id argument by @doombeaker in https://github.com/siliconflow/onediff/pull/478
  • Dev optimize svd by @chengzeyi in https://github.com/siliconflow/onediff/pull/533
  • fix bug of _torch_module_to_with_check using oneflow args by @marigoold in https://github.com/siliconflow/onediff/pull/548
  • transform diffusers AttnProcessor by @hjchen2 in https://github.com/siliconflow/onediff/pull/550
  • update readme by @doombeaker in https://github.com/siliconflow/onediff/pull/553
  • Update hf sd1.5 model url by @doombeaker in https://github.com/siliconflow/onediff/pull/554
  • rm dynamo by @hjchen2 in https://github.com/siliconflow/onediff/pull/558
  • Fix Quantitative Execution in sd_webui by @ccssu in https://github.com/siliconflow/onediff/pull/517
  • Publish onediff on pypi automatically by @jackalcooper in https://github.com/siliconflow/onediff/pull/560
  • add sd-webui api doc and script by @marigoold in https://github.com/siliconflow/onediff/pull/559
  • Fix ControlNet Usage by @ccssu in https://github.com/siliconflow/onediff/pull/561
  • align dynamic param with torch by @strint in https://github.com/siliconflow/onediff/pull/537
  • update readme by @doombeaker in https://github.com/siliconflow/onediff/pull/562
  • Add community version controlnet performance testing by @ccssu in https://github.com/siliconflow/onediff/pull/557
  • [diffusers] support dynamic batch size by @hjchen2 in https://github.com/siliconflow/onediff/pull/552
  • Enable dynamic for comfy by @strint in https://github.com/siliconflow/onediff/pull/535
  • fix ControlLora usage by @ccssu in https://github.com/siliconflow/onediff/pull/565
  • add ci for deepcache and int8 by @doombeaker in https://github.com/siliconflow/onediff/pull/556
  • Enable MLIR logging flags in CI by @jackalcooper in https://github.com/siliconflow/onediff/pull/568
  • speedup node create mixed modelpatcher by @marigoold in https://github.com/siliconflow/onediff/pull/472
  • Support YGemm by @chengzeyi in https://github.com/siliconflow/onediff/pull/563
  • Support SVD dynamic shape[feat] by @lixiang007666 in https://github.com/siliconflow/onediff/pull/564
  • add cached load_lora_weight by @marigoold in https://github.com/siliconflow/onediff/pull/524
  • support custom svd by @strint in https://github.com/siliconflow/onediff/pull/536
  • make diffusers_extensions.utils a package by @isidentical in https://github.com/siliconflow/onediff/pull/579
  • [Fix] dynamic switch for uncommon resolutions by @lixiang007666 in https://github.com/siliconflow/onediff/pull/573
  • Fix typo in README.md by @jackalcooper in https://github.com/siliconflow/onediff/pull/583
  • fix_multi_resolutions_bug by @clackhan in https://github.com/siliconflow/onediff/pull/578
  • add graph cache key by @ccssu in https://github.com/siliconflow/onediff/pull/576
  • [perf] Remove redundant reshape op by @lixiang007666 in https://github.com/siliconflow/onediff/pull/586
  • Modify readme ee for svd by @lixiang007666 in https://github.com/siliconflow/onediff/pull/588
  • implement compile_pipe and oneflow_compiler_config by @chengzeyi in https://github.com/siliconflow/onediff/pull/584
  • add quant_unet by @ccssu in https://github.com/siliconflow/onediff/pull/592
  • Fix Check Failed Error by @ccssu in https://github.com/siliconflow/onediff/pull/585
  • rename_diffusers_extension_to_onediffx by @clackhan in https://github.com/siliconflow/onediff/pull/593
  • Update onediffx…

Excerpt shown — open the source for the full document.