The main goal of this PR is to add Range object to model intervals. It integrates with Impact data model and can be compared or added with integers and floats.
Added
Range model
Tests of Impact models
Environmental impacts tutorial page
Changed
Separate compute_llm_impacts function into two functions, compute_llm_impacts_dag that returns raw results and compute_llm_impacts that returns the Impacts model.
request_latency is now an optional parameter of compute_llm_impacts
compute_llm_impacts from tracer.utils is now llm_impacts
The main goal of this PR is to add
Range
object to model intervals. It integrates withImpact
data model and can be compared or added with integers and floats.Added
Range
modelImpact
modelsChanged
compute_llm_impacts
function into two functions,compute_llm_impacts_dag
that returns raw results andcompute_llm_impacts
that returns theImpacts
model.request_latency
is now an optional parameter ofcompute_llm_impacts
compute_llm_impacts
from tracer.utils is nowllm_impacts