Skip to content

Releases: Lightning-AI/LitServe

Release v0.2.17

23 Dec 19:39
6a11dc5

Choose a tag to compare

Lightning AI ⚡ is excited to announce the release of LitServe v0.2.17

Highlights

Automatic Worker Restart

LitServe now supports automatic restarting of inference workers when they die, ensuring high availability and resilience in production environments. This prevents server shutdown due to isolated worker failures and maintains service continuity.

import litserve as ls

server = ls.LitServer(
    MyAPI(),
    restart_workers=True,  # Automatically restart failed workers
    workers_per_device=4
)
server.run()

When a worker terminates unexpectedly, the server automatically spawns a replacement, keeping requests flowing without interruption.

Changes

Added
  • Add support for restarting the inference worker when they die by @tchaton in #624
Changed
Fixed
  • Add warning for dict/set outputs in batched predict to catch edge cases by @Copilot in #612
  • fix(sdk): Reduce the quantity of warning emitted by @tchaton in #631
  • fix(litServe): Use asyncio.sleep instead of time.sleep by @tchaton in #633
  • fix(cli): lightning-sdk installation process with uv by @bhimrazy in #640
  • Fix on_request callback not triggering for API specs by @bhimrazy in #642
Chores

🧑‍💻 Contributors

Thank you ❤️ to all contributors for making LitServe better!

Full Changelog: v0.2.16...v0.2.17

v0.2.16

14 Oct 17:02
863c0da

Choose a tag to compare

What's Changed

  • bump linting to min python version py3.9 by @Borda in #597
  • enable testing with minimal requirements by @Borda in #596
  • Fix duplicate/multiple middleware initialization by @geeksambhu in #601
  • Support async LitAPI.health() and await it in /health by @KAVYANSHTYAGI in #604
  • fix: Swagger UI message print when `disable_openapi_url=False by @bhimrazy in #620
  • fix/req-middleware-duplication by @bhimrazy in #618

New Contributors

Full Changelog: v0.2.15...v0.2.16

v0.2.15

31 Jul 11:46
09811cb

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.14...v0.2.15

v0.2.14

22 Jul 10:04
a6477c5

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.13...v0.2.14

v0.2.13

01 Jul 19:44
e47b69e

Choose a tag to compare

What's Changed

Full Changelog: v0.2.12...v0.2.13

v0.2.13rc1

18 Jun 17:00
470dc7b

Choose a tag to compare

v0.2.13rc1 Pre-release
Pre-release

What's Changed

Full Changelog: v0.2.12...v0.2.13rc1

v0.2.12

11 Jun 11:43
1ef065b

Choose a tag to compare

What's Changed

Full Changelog: 0.2.11...v0.2.12

v0.2.12.dev0

05 Jun 14:17
3c79b6f

Choose a tag to compare

v0.2.12.dev0 Pre-release
Pre-release

What's Changed

Full Changelog: 0.2.11...v0.2.12.dev0

v0.2.11

29 May 16:03
145daea

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.10...0.2.11

v0.2.11.a2

27 May 19:16
b78f8ce

Choose a tag to compare

v0.2.11.a2 Pre-release
Pre-release

What's Changed

Full Changelog: v0.2.11a1...v0.2.11.a2