opt-350m vs codegen-350M-multi
opt-350m and codegen-350M-multi need about the same GPU memory (2 GB). Cheapest way to run them today: opt-350m from $0.13 per hour on GTX 1070, codegen-350M-multi from $0.13 per hour on GTX 1070.
| opt-350m | codegen-350M-multi | |
|---|---|---|
| Developer | Salesforce | |
| Parameters | 350M | 350M |
| Weights | — | — |
| License | — | bsd-3-clause |
| GPU memory needed | ≈ 2 GB | ≈ 2 GB |
| Memory at 4-bit | ≈ 2 GB | ≈ 2 GB |
| Cheapest GPU that fits | GTX 1070 · $0.13 | GTX 1070 · $0.13 |
| Speed (est.) | ≈ 193 tok/s · $0.19/1M | ≈ 193 tok/s · $0.19/1M |
| Downloads | 188,532 | 2,660 |
Memory figures are our estimates for inference; real use depends on resolution, batch size and context length. Speed is an estimate for one request at a time from the GPU's memory bandwidth; serving many requests at once raises total throughput and lowers the cost per token.
Questions
- Which needs less GPU memory, opt-350m or codegen-350M-multi?
- opt-350m and codegen-350M-multi need about the same GPU memory (2 GB).
- Which is cheaper to run, opt-350m or codegen-350M-multi?
- Cheapest way to run them today: opt-350m from $0.13 per hour on GTX 1070, codegen-350M-multi from $0.13 per hour on GTX 1070.