Will there be a Lens-Base safetensor?

#3
by jwallacefluxy - opened

Hi - I see files for "Lens" and "Lens-Turbo" - thank you for providing those:
lens_bf16.safetensors
lens_mxfp8.safetensors
lens_turbo_bf16.safetensors
lens_turbo_mxfp8.safetensors

Will anyone be providing the file for Lens-Base? If not, can someone share how I can create it myself? Thanks!

This worked for me:

  1. Download Lens-Base: huggingface-cli download microsoft/Lens-Base --include="transformer/*" --local-dir Lens-Base
  2. Merge: merge_lens_base.py
  3. pip install convert-to-quant in comfy venv.
  4. Convert to mxfp8: ctq -i lens_base_bf16.safetensors -o lens_base_mxfp8.safetensors --mxfp8 --comfy_quant --save-quant-metadata --simple --low-memory --lens

This is what I got: lens_base_mxfp8.safetensors

Sign up or log in to comment