• Comfy-Org comfy-cli – A Command Line Tool for ComfyUI

    https://github.com/Comfy-Org/comfy-cli

    comfy-cli is a command line tool that helps users easily install and manage ComfyUI, a powerful open-source machine learning framework. With comfy-cli, you can quickly set up ComfyUI, install packages, and manage custom nodes, all from the convenience of your terminal.

    C:\<PATH_TO>\python.exe -m venv C:\comfyUI_cli_install
    cd C:\comfyUI_env
    C:\comfyUI_env\Scripts\activate.bat
    C:\<PATH_TO>\python.exe -m pip install comfy-cli
    comfy --workspace=C:\comfyUI_env\ComfyUI install
    
    # then
    comfy launch
    # or
    comfy launch -- --cpu --listen 0.0.0.0

    If you are trying to clone a different install, pip freeze it first. Then run those requirements.

    # from the original env
    python.exe -m pip freeze > M:\requirements.txt
    
    # under the new venv env
    pip install -r M:\requirements.txt
  • Image rendering bit depth

    ,

    The terms 8-bit, 16-bit, 16-bit float, and 32-bit refer to different data formats used to store and represent image information, as bits per pixel.

    https://en.wikipedia.org/wiki/Color_depth

    In color technology, color depth also known as bit depth, is either the number of bits used to indicate the color of a single pixel, OR the number of bits used for each color component of a single pixel.

    When referring to a pixel, the concept can be defined as bits per pixel (bpp).

    When referring to a color component, the concept can be defined as bits per component, bits per channel, bits per color (all three abbreviated bpc), and also bits per pixel component, bits per color channel or bits per sample (bps). Modern standards tend to use bits per component, but historical lower-depth systems used bits per pixel more often.

    Color depth is only one aspect of color representation, expressing the precision with which the amount of each primary can be expressed; the other aspect is how broad a range of colors can be expressed (the gamut). The definition of both color precision and gamut is accomplished with a color encoding specification which assigns a digital code value to a location in a color space.

     

    (more…)