Giter VIP home page Giter VIP logo

Comments (3)

PommesPeter avatar PommesPeter commented on August 25, 2024

Hi @danieldietzel ,
Could you provide your yaml config? we will help you check the correctness

from lumina-t2x.

danieldietzel avatar danieldietzel commented on August 25, 2024

Hi @danieldietzel , Could you provide your yaml config? we will help you check the correctness

Hi Pommes,

I ran through the steps again and realized the second item in this config is supposed to be the LLM checkpoint, not the lumina model.

https://github.com/Alpha-VLLM/Lumina-T2X/blob/main/lumina_next_t2i/configs/infer/settings.yaml

Now my Yaml is:

  • settings:

    model:
    ckpt: 'C:\models\lumina'
    ckpt_lm: 'C:\models\gemma'
    token: ""

    transport:
    path_type: "Linear" # option: ["Linear", "GVP", "VP"]
    prediction: "velocity" # option: ["velocity", "score", "noise"]
    loss_weight: "velocity" # option: [None, "velocity", "likelihood"]
    sample_eps: 0.1
    train_eps: 0.2

    ode:
    atol: 1e-6 # Absolute tolerance
    rtol: 1e-3 # Relative tolerance
    reverse: false # option: true or false
    likelihood: false # option: true or false

    infer:
    resolution: "1024x1024" # option: ["1024x1024", "512x2048", "2048x512", "(Extrapolation) 1664x1664", "(Extrapolation) 1024x2048", "(Extrapolation) 2048x1024"]
    num_sampling_steps: 60 # range: 1-1000
    cfg_scale: 4. # range: 1-20
    solver: "euler" # option: ["euler", "dopri5", "dopri8"]
    t_shift: 4 # range: 1-20 (int only)
    ntk_scaling: true # option: true or false
    proportional_attn: true # option: true or false
    seed: 0 # rnage: any number

But I get this:
TypeError: NextDiT.forward_with_cfg() got an unexpected keyword argument 'ntk_factor'
[rank0]: AttributeError: 'NoneType' object has no attribute 'float'

I am on Windows by the way if it helps. Had to change all dist.init_process_group("nccl") to dist.init_process_group("gloo") to get this far not sure if that breaks things.

from lumina-t2x.

PommesPeter avatar PommesPeter commented on August 25, 2024

This may not impact performance, but we have not tested whether it can run correctly on the Gloo backend. you could try running the mini version of Lumina-Next-T2I on https://github.com/Alpha-VLLM/Lumina-T2X/tree/main/lumina_next_t2i_mini

from lumina-t2x.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.