Download inference-cache-config/mistral.json from aws-neuron/optimum-neuron-cache: direct link, hf CLI and curl.
- Browser
- Download file 1.46 kB
-
https://huggingface.co/aws-neuron/optimum-neuron-cache/resolve/2a842bd893e41e685cd7bdaf00a2b0eff2ca91ec/inference-cache-config/mistral.json
- Command line
-
hf download hf://aws-neuron/optimum-neuron-cache@2a842bd893e41e685cd7bdaf00a2b0eff2ca91ec/inference-cache-config/mistral.json
-
curl -L -o mistral.json https://huggingface.co/aws-neuron/optimum-neuron-cache/resolve/2a842bd893e41e685cd7bdaf00a2b0eff2ca91ec/inference-cache-config/mistral.json
1.46 kB
| { | |
| "mistralai/Mistral-7B-Instruct-v0.3": [ | |
| { | |
| "batch_size": 1, | |
| "sequence_length": 4096, | |
| "num_cores": 2, | |
| "auto_cast_type": "fp16" | |
| }, | |
| { | |
| "batch_size": 4, | |
| "sequence_length": 4096, | |
| "num_cores": 4, | |
| "auto_cast_type": "fp16" | |
| }, | |
| { | |
| "batch_size": 8, | |
| "sequence_length": 4096, | |
| "num_cores": 2, | |
| "auto_cast_type": "fp16" | |
| }, | |
| { | |
| "batch_size": 1, | |
| "sequence_length": 4096, | |
| "num_cores": 8, | |
| "auto_cast_type": "fp16" | |
| }, | |
| { | |
| "batch_size": 4, | |
| "sequence_length": 4096, | |
| "num_cores": 2, | |
| "auto_cast_type": "fp16" | |
| }, | |
| { | |
| "batch_size": 4, | |
| "sequence_length": 4096, | |
| "num_cores": 8, | |
| "auto_cast_type": "fp16" | |
| }, | |
| { | |
| "batch_size": 8, | |
| "sequence_length": 4096, | |
| "num_cores": 8, | |
| "auto_cast_type": "fp16" | |
| }, | |
| { | |
| "batch_size": 16, | |
| "sequence_length": 4096, | |
| "num_cores": 8, | |
| "auto_cast_type": "fp16" | |
| }, | |
| { | |
| "batch_size": 32, | |
| "sequence_length": 4096, | |
| "num_cores": 8, | |
| "auto_cast_type": "fp16" | |
| } | |
| ], | |
| "mistralai/Mistral-7B-Instruct-v0.2": [ | |
| { | |
| "batch_size": 1, | |
| "sequence_length": 4096, | |
| "num_cores": 2, | |
| "auto_cast_type": "fp16" | |
| } | |
| ], | |
| "mistralai/Mistral-7B-Instruct-v0.1": [ | |
| { | |
| "batch_size": 1, | |
| "sequence_length": 4096, | |
| "num_cores": 2, | |
| "auto_cast_type": "fp16" | |
| } | |
| ] | |
| } |