Skip to content

Commit bd4d192

Browse files
committed
Minor fix
1 parent 67b2afe commit bd4d192

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torchtitan/models/llama/model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def update_from_config(self, job_config: JobConfig, tokenizer: Tokenizer) -> Non
4848
self.vocab_size = tokenizer.n_words
4949
self.max_seq_len = job_config.training.seq_len
5050
self.use_flex_attn = job_config.model.use_flex_attn
51+
self.attn_bias_type = job_config.model.attn_bias_type
5152

5253
def get_num_flop_per_token(self, num_params: int, seq_len: int) -> int:
5354
l, h, q, t = (

0 commit comments

Comments
 (0)