fmperf-project / fmperf

Cloud Native Benchmarking of Foundation Models
Apache License 2.0
21 stars 10 forks source link

New workloadspec classes #1

Closed GhaziSyed closed 5 months ago

GhaziSyed commented 5 months ago

While we typically using HomogeneousWorkloadSpec to create homogeneous workloads (e.g., where min_input_tokens=max_input_tokens and min_output_tokens=max_output_tokens). It doesn't have to be used that way. It can actually be used to generate heterogeneous workloads just using simple uniform distributions.

Either we should:

  1. Change the definition of HomogenousWorkloadSpec so that it is really homogeneous, or
  2. Rename it to something like HomogeneousWorkloadSpec -> SyntheticWorkloadSpec and HeterogeneousWorkloadSpec -> RealisticWorkloadSpec