Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tritonclient.utils.InferenceServerException: The parameter datatype "<class 'float'>" for key "speed" is not supported. #6709

Closed
Jackiexiao opened this issue Dec 15, 2023 · 4 comments

Comments

@Jackiexiao
Copy link

Description
parameter should support float?

Triton Information
23.10-py3

To Reproduce
in client.py

response = triton_client.infer(
  FLAGS.model_name,
  inputs,
  outputs=outputs,
  parameters={'speaker': ‘baker', 'speed': 1.0},
)

Error:

tritonclient.utils.InferenceServerException: 
The parameter datatype "<class 'float'>" for key "speed" is not supported.

when I change to 'speed': 1 (int), it works fine

Expected behavior
but according to

$parameters =
{
  $parameter, ...
}

$parameter = $string : $string | $number | $boolean

I think datatype "<class 'float'>" for key "speed" should support? since float is also number

@oandreeva-nv
Copy link
Contributor

Hi @Jackiexiao , float is currently not supported, it is on our roadmap and this issue: #6382 is tracking it.

I will close this issue as a duplicate, feel free to reach out in the original thread (i.e. issue 6382)

@fpetrini15
Copy link
Contributor

fpetrini15 commented Feb 1, 2024

Hello @Jackiexiao, I have merged the PRs relating to the linked request. Double type parameters will be supported in the 24.02 release!

@Jackiexiao
Copy link
Author

thx, I guess you mean 24.02 release

@fpetrini15
Copy link
Contributor

I did, thank you for the correction. I've modified the original comment to prevent confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants