Skip to content

Releases: Lightning-AI/LitServe

Release v0.2.17

Choose a tag to compare

@bhimrazy bhimrazy released this 23 Dec 19:39
6a11dc5

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

Choose a tag to compare

@dmitsf dmitsf released this 14 Oct 17:02
863c0da

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

Choose a tag to compare

@aniketmaurya aniketmaurya released this 31 Jul 11:46
09811cb

What's Changed

New Contributors

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

v0.2.14

Choose a tag to compare

@aniketmaurya aniketmaurya released this 22 Jul 10:04
a6477c5

What's Changed

New Contributors

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

v0.2.13

Choose a tag to compare

@aniketmaurya aniketmaurya released this 01 Jul 19:44
e47b69e

What's Changed

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

v0.2.13rc1

v0.2.13rc1 Pre-release
Pre-release

Choose a tag to compare

@aniketmaurya aniketmaurya released this 18 Jun 17:00
470dc7b

What's Changed

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

v0.2.12

Choose a tag to compare

@aniketmaurya aniketmaurya released this 11 Jun 11:43
1ef065b

What's Changed

Full Changelog: 0.2.11...v0.2.12

v0.2.12.dev0

v0.2.12.dev0 Pre-release
Pre-release

Choose a tag to compare

@aniketmaurya aniketmaurya released this 05 Jun 14:17
3c79b6f

What's Changed

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

v0.2.11

Choose a tag to compare

@aniketmaurya aniketmaurya released this 29 May 16:03
145daea

What's Changed

New Contributors

Full Changelog: v0.2.10...0.2.11

v0.2.11.a2

v0.2.11.a2 Pre-release
Pre-release

Choose a tag to compare

@aniketmaurya aniketmaurya released this 27 May 19:16
b78f8ce

What's Changed

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