File size: 1,350 Bytes
b1a608f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
license: apache-2.0
tags:
  - neuron
  - trainium
  - aws
  - compiled
  - laguna
base_model: poolside/Laguna-XS.2
---

# Laguna-XS.2 — Pre-compiled for AWS Neuron (trn2.3xlarge)

Pre-compiled and pre-sharded model artifacts for serving [poolside/Laguna-XS.2](https://huggingface.co/poolside/Laguna-XS.2) on AWS Trainium2 using NxD Inference.

## Configuration

- **Instance**: trn2.3xlarge (LNC=2, 4 logical cores)
- **TP degree**: 4
- **Batch size**: 4 (TKG), 1 (CTE)
- **Max sequence length**: 4096
- **Precision**: BF16
- **SDK**: Neuron SDK 2.29 (neuronx-cc 2.24, NxDI 0.9.17334)

## Files

| File | Size | Description |
|------|------|-------------|
|  | 4.3 GB | Compiled NEFFs (6 CTE + 6 TKG buckets) |
|  | 12 KB | NxDI inference configuration |
|  | 16 GB | Sharded weights for TP rank 0 |
|  | 16 GB | Sharded weights for TP rank 1 |
|  | 16 GB | Sharded weights for TP rank 2 |
|  | 16 GB | Sharded weights for TP rank 3 |

## Usage with vLLM



## Performance

| Metric | Value |
|--------|-------|
| Throughput (BS=1) | ~50 tok/s (via vLLM) |
| Throughput (BS=4, raw) | 223 tok/s |
| Throughput (BS=8, raw) | 310 tok/s |
| TPOT (BS=1) | 11 ms |

## Requirements

- AWS trn2.3xlarge instance
- Neuron SDK 2.29 (DLAMI 20260410)
- [NxDI fork with Laguna contrib](https://github.com/aws-neuron/neuronx-distributed-inference/pull/158)