You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed guidellm (from source) on a new python venv (python 3.10).
When I try to run guidellm benchmark --help I get this error:
File "/.../python3.10/site-packages/click/core.py", line 2212, in make_metavar
metavar = self.type.get_metavar(param=self, ctx=ctx)
TypeError: Union.get_metavar() got an unexpected keyword argument 'ctx'
This error is related to the click package, after a quick search I found that this issue is related to click version 8.
So I downgraded click to version 7:
And the --help worked with that version, but then a guidellm benchmark command fails:
File "/.../guidellm/src/guidellm/utils/cli.py", line 23, in set_if_not_default
if ctx.get_parameter_source(k) != click.core.ParameterSource.DEFAULT: # type: ignore[attr-defined]
AttributeError: 'Context' object has no attribute 'get_parameter_source'