Skip to content

Help with Adding Custom Models to Ecologits #106

Answered by adrienbanse
vchemla asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @vchemla,

Thanks a lot for using EcoLogits. :-)

First of all, Ecologits really aims at approximating cloud-based requests impacts. If you run your model locally, I would advise to use other packages such as CodeCarbon (https://codecarbon.io/), that will lead to more precise results!

If however you want to approximate custom cloud-based models, as of today, the only way to do that is to directly call the compute_llm_impacts function from

def compute_llm_impacts(

For each request, you'll have to provide

  • The number of active parameters of the custom model
  • The number of total parameters of the custom model
  • The numbe…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@vchemla
Comment options

@adrienbanse
Comment options

@vchemla
Comment options

@vchemla
Comment options

@adrienbanse
Comment options

Answer selected by vchemla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants