Skip to content
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 https://github.com/genai-impact/ecologits/blob/0cd0df2b05690a73e2afa3f9353ef32c26e8f512/ecologits/impacts/llm.py#L424

For each request, you'll have to provide

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

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