corehu

OPEN MODELS / ERNIE-4.5-21B-A3B-MLX-8bit

Can you run ERNIE-4.5-21B-A3B-MLX-8bit on RTX 4090?

Needs 3 GPUs

Not on a single card: ERNIE-4.5-21B-A3B-MLX-8bit needs about 54 GB and one RTX 4090 has 24 GB. It fits on a machine with 3× RTX 4090 (72 GB in total).

A 4-bit quantized build needs about 17 GB and fits on one RTX 4090.

For one request, expect about 42 tokens per second, roughly $14.98 per million generated tokens at this price.

Rent 3× RTX 4090 3× RTX 4090 from $2.28 per hour, billed per second. Ten hours cost about $22.80.
Memory needed
≈ 54 GB
RTX 4090 memory
24 GB
Free memory
18 GB
3× RTX 4090
Price per hour
$2.28
3× RTX 4090

Memory figures are our estimates for inference; real use depends on resolution, batch size and context length.

Cheapest GPUs that fit ERNIE-4.5-21B-A3B-MLX-8bit today

Questions

Can I run ERNIE-4.5-21B-A3B-MLX-8bit on RTX 4090?
Not on a single card: ERNIE-4.5-21B-A3B-MLX-8bit needs about 54 GB and one RTX 4090 has 24 GB. It fits on a machine with 3× RTX 4090 (72 GB in total). A 4-bit quantized build needs about 17 GB and fits on one RTX 4090.
How much does it cost to run ERNIE-4.5-21B-A3B-MLX-8bit on RTX 4090?
3× RTX 4090 from $2.28 per hour, billed per second. Ten hours cost about $22.80.