## TL;DR

Yes, this was fixed in 0.18.0. Installing leptonai via poetry made my Docker image 10x bigger because of all the extra dependencies like CUDA.

## Steps

1. Installing leptonai via poetry made my Docker image 10x bigger because of all the extra dependencies like CUDA. Deployment takes forever now. Is there a lighter install option?

2. Yes, this was fixed in 0.18.0. The package was split in two: plain leptonai has no CUDA dependencies and stays small, while leptonai[runtime] has the full set. If you only need the client and deployment tooling in your image, install leptonai without the runtime extra and your image size drops back down.

## When to use

You are seeing this: Deployment takes forever now. Use this skill when you run into "leptonai install makes Docker image huge - use the slim package".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

Versions mentioned in the source: 0.18.0. If you are on something much newer or older, the details may have shifted.

## Why this happens

Installing leptonai via poetry made my Docker image 10x bigger because of all the extra dependencies like CUDA.
