CivArchive
    LoRA Training Calculator for Colab - v3.0
    Preview 1558010

    I spent quite a while toiling over calculations for how many steps it would take for my LoRAs to cook and, by extension, how long it would be, until I decided to make a sheet for it and then, I realized how useful it would be to share it with others. So, here you all go!

    The Parameters are as follows (I'll repost this in the tool page itself for future reference):

    These ones you have to set manually:

    • Images: How many images you have in your dataset.

    • Repeats: How many repeats you have.

    • Epochs: How many Epochs you have.

    • Batch Size: The Batch Size you have set in the Lora trainer.

    • Override: Only set this up if the expected auto-calculated steps don't line up with the steps you're seeing in the Colab (ex. if you have 1250 Steps but the Colab says it's training 1300 Steps, you put 1300 in the Override)

    • IT/s: What is the overall rate of which your LoRA is currently being trained at.

    • Epochs Remaining: How many Epochs are left until your LoRA is complete.

    From there, it will auto calculate the rest of the steps so you don't need to worry about setting those up.

    • Steps: It will give you an estimated number of steps that the LoRA will take to complete.

    • Steps Remaining: It will give you an estimated number of steps remaining for the LoRA to be completed.

    • Time Remaining: It will give you an estimated time before the LoRA is completed in seconds, minutes, and hours.

    • Difference: The difference between the auto-calculated Steps and the Overridden Steps. The bottom row will show the entire differences.

    Description

    Added a section for when the LoRA Trainer overrides the calculated amount of steps so you can manually add it in. It's also great to calculate how much of a certain amount of steps you want to reach via tweaking repeats and epochs.

    FAQ

    Comments (8)

    andylehereJul 15, 2023
    CivitAI

    can you explain all parameters ? i dont understand with minus number !

    MassBrainImpact
    Author
    Jul 15, 2023

    The Parameters are as follows (I'll repost this in the tool page itself for future reference):

    These ones you have to set manually:
    Images: How many images you have in your dataset.

    Repeats: How many repeats you have.

    Epochs: How many Epochs you have.

    Batch Size: The Batch Size you have set in the Lora trainer.

    Override: Only set this up if the expected auto-calculated steps don't line up with the steps you're seeing in the Colab (ex. if you have 1250 Steps but the Colab says it's training 1300 Steps, you put 1300 in the Override)

    IT/s: What is the overall rate of which your LoRA is currently being trained at.

    Epochs Remaining: How many Epochs are left until your LoRA is complete.

    From there, it will auto calculate the rest of the steps so you don't need to worry about setting those up.

    Steps: It will give you an estimated number of steps that the LoRA will take to complete.

    Steps Remaining: It will give you an estimated number of steps remaining for the LoRA to be completed.

    Time Remaining: It will give you an estimated time before the LoRA is completed in seconds, minutes, and hours.

    Difference: The difference between the auto-calculated Steps and the Overridden Steps. The bottom row will show the entire differences.

    andylehereJul 16, 2023

    @MassBrainImpact you meant Colab, so what is your Colab that i can find the information there ?

    MassBrainImpact
    Author
    Jul 17, 2023

    @andylehere Not my Colab, but Holostrawberry's. It should be linked in Resources.

    PsySpyJul 17, 2023
    CivitAI

    The 3.0 version is giving me an 'invalid archive' error, 2.0 and such open fine.

    MassBrainImpact
    Author
    Jul 17, 2023

    Weird. Let me see if I can fix that

    Litty877Jul 20, 2023

    Same Issue :(

    MassBrainImpact
    Author
    Jul 20, 2023

    @Litty877 Try now.

    Other
    Other

    Details

    Downloads
    304
    Platform
    CivitAI
    Platform Status
    Available
    Created
    7/14/2023
    Updated
    4/30/2026
    Deleted
    -

    Files

    loraTrainingCalculator_v30.zip

    Mirrors

    loraTrainingCalculator_v30.zip

    Mirrors