--max-requests CLI parameter now supports the dataset value.
MaxRequestsType(ParamType) is used as a custom click param type to validate input data
RequestGenerator(ABC) now includes the abstract __len__ that corresponds to the length of the dataset if it is supported.
Unit tests are added
Smoke tests are added
guidellm/utils/text.py is fixed. There is no reason to check if the file start with the 'http' string. Basically this is a Bug since you never read a text file properly because of old if/else condition.
issue link: https://github.com/neuralmagic/guidellm/issues/44
Summary:
--max-requests
CLI parameter now supports thedataset
value.MaxRequestsType(ParamType)
is used as a customclick
param type to validate input dataRequestGenerator(ABC)
now includes the abstract__len__
that corresponds to the length of the dataset if it is supported.guidellm/utils/text.py
is fixed. There is no reason to check if the file start with the'http'
string. Basically this is a Bug since you never read a text file properly because of oldif/else
condition.