Serve.batch decorator error

Hi guys

I got this error when trying to decorate my handler with @serve.batch:

AttributeError: module ‘ray.serve’ has no attribute ‘batch’

I am using ray 1.2.0 . Do you know why?

Thanks

Hi @aamrani-dev, @serve.batch is not supported in 1.2.0, but is supported in the nightly wheels and will be supported in the upcoming 1.3.0 release. You’re likely looking at the docs for the nightly wheels right now, you can check with the hovering “drop-down” on the bottom right of the docs page.

1 Like

it fixed it. Thanks.