CivArchive
    sd2ly_line // animelineart LyCORIS - v1.0
    NSFW
    Preview 842089
    Preview 842091
    Preview 842092
    Preview 842129

    The LoCon/LyCORIS system is designed for SD2.1 series, targeting WD1.5beta3. It aims to produce outputs reminiscent of black and white anime line drawings.

    Please install the extension feature of LoCon. Better results can be achieved by using Hires.fix with a 1.5 scale-up at 512x768 resolution.

    For positive inputs, we recommend "monochrome, lineart, <lyco:sd2ly_line:0.65>".

    For negative inputs, we suggest "(mayng:1.4), fullcolor, photo, shadow".

    Please refer to the prompts from the sample images.

    mayng(SDv2 Negative Embedding)

    https://huggingface.co/852wa/hakoMay/tree/main

    Description

    FAQ

    Comments (8)

    kiradaMay 20, 2023· 7 reactions
    CivitAI

    Unable to run

    kiradaMay 20, 2023· 3 reactions

    RuntimeError: The size of tensor a (768) must match the size of tensor b (1024) at non-singleton dimension 1

    slavoisardMay 20, 2023

    @kirada I think you're using it with a 1.5 model... It's a 2.1 model Lora, working fine with me !

    KoRo_May 26, 2023

    @kirada that's a lycoris that was made for stable diffusion 2.1, so it's normal to getting error on an SD1.5 models

    Cyraq_NausMay 26, 2023· 2 reactions
    CivitAI

    This is how I got this LyCORIS to work:

    + Installed the LyCORIS webui extension from https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris. (A new LyCORIS tab appears in extra networks)

    + downloaded the sd2ly_line.safetensors and saved it to ..\stable-diffusion-webui\models\LyCORIS

    + downloaded and used a hakoMay model from https://huggingface.co/852wa/hakoMay/tree/main (I used hakoMayB)

    + I got an error "# A tensor with all NaNs was produced in Unet", To correct it, in a1111 webui go to Settings > Stable Diffussion > [check] Upcast cross attention layer to float32

    guderianw312wuMay 29, 2023

    What version is your stable-diffusion? 1.5 or 2.0?

    Cyraq_NausMay 30, 2023

    @guderianw312wu I'm not using a raw stable diffusion release, i used a hakoMay model from https://huggingface.co/852wa/hakoMay/tree/main

    hujiale123609Mar 4, 2025· 1 reaction

    The same problem occurred when I used comfyui's clip loader node to import mayng. It turns out that mayng is also a Lora model (the weight file is too small), so it says you need two Lora loaders, one connecting model and positive tip words, and mayng's lora connecting negative tip words.

    LoCon
    SD 2.1

    Details

    Downloads
    7,210
    Platform
    CivitAI
    Platform Status
    Available
    Created
    5/19/2023
    Updated
    4/30/2026
    Deleted
    -

    Available On (1 platform)

    Same model published on other platforms. May have additional downloads or version variants.