forked from oumi-ai/oumi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscout_instruct_infer.yaml
More file actions
27 lines (24 loc) · 886 Bytes
/
Copy pathscout_instruct_infer.yaml
File metadata and controls
27 lines (24 loc) · 886 Bytes
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
# Inference config for Llama 4 Scout-17B-16E Instruct with a NATIVE engine.
#
# Requirements:
# - Log into HF: `hf auth login`
# - Request access to Llama 4: https://huggingface.co/meta-llama/Llama-4-Scout-17B-16E-Instruct
#
# Usage:
# oumi infer -i -c configs/recipes/llama4/inference/scout_instruct_infer.yaml
#
# See Also:
# - Documentation: https://oumi.ai/docs/en/latest/user_guides/infer/infer.html
# - Config class: oumi.core.configs.InferenceConfig
# - Config source: https://github.com/oumi-ai/oumi/blob/main/src/oumi/core/configs/inference_config.py
# - Other inference configs: configs/**/inference/
model:
model_name: "meta-llama/Llama-4-Scout-17B-16E-Instruct"
model_max_length: 2048
torch_dtype_str: "bfloat16"
attn_implementation: "sdpa"
load_pretrained_weights: True
trust_remote_code: True
generation:
max_new_tokens: 2048
engine: NATIVE