Skip to content
Discussion options

You must be logged in to vote

Hey @jotak, thanks for your message :)

If I'm not mistaken, IBM Granite is open source and part of the HuggingFace models (see here), so you can already use Ecologits via the huggingface-hub provider (here is a tutorial).

To compare models, you can also 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 models
  • The number of total parameters of the models
  • The number of output token (you can fix it to a constant value to compare)
  • The request latency (that you can measure with time for example)

L…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by adrienbanse
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