Hey @RahulSChand, Awesome work on creating this calculator. But there are some problems I am facing and getting unreliable results. Here are some of the issues I am facing:
The configurations I will be using are as follows:
Model: CodeLlama
Param size: 7B
batch size: 1
context length: 2048
- QLoRA's GPU memory is showing more than LoRA
In LoRA it is showing: 177 GB and for QLoRA it is showing: 180 GB and full fine-tuning it is showing: 216 GB
-
When I upload the config.json file vs. just the parameter number, it shows inconsistent results.
-
The memory requirement number should not be this much. For example, I am using just 1 as batch size and 2048 context length size it is showing triple digits for LoRA and QLoRA, and now consider this graph. Reference

According to this graph, the memory requirement for LoRA is 16GB but in the calculation, it is showing 177 GB.
So, can you please address this doubts and if there is any way to fix this, it would be awesome.
Hey @RahulSChand, Awesome work on creating this calculator. But there are some problems I am facing and getting unreliable results. Here are some of the issues I am facing:
The configurations I will be using are as follows:
In
LoRAit is showing:177 GBand forQLoRAit is showing:180 GBandfullfine-tuning it is showing:216 GBWhen I upload the
config.jsonfile vs. just the parameter number, it shows inconsistent results.The memory requirement number should not be this much. For example, I am using just 1 as batch size and 2048 context length size it is showing triple digits for LoRA and QLoRA, and now consider this graph. Reference
According to this graph, the memory requirement for LoRA is 16GB but in the calculation, it is showing 177 GB.
So, can you please address this doubts and if there is any way to fix this, it would be awesome.