For flags that we define that aren't in the hf config.
| 490 | |
| 491 | @dataclass |
| 492 | class ExtraModelConfig: |
| 493 | """ |
| 494 | For flags that we define that aren't in the hf config. |
| 495 | """ |
| 496 | |
| 497 | pp_size: int = 1 |
| 498 | tp_size: int = 1 |
| 499 | pp_rank: int = 0 |
| 500 | tp_rank: int = 0 |
| 501 | tp_group: dist.ProcessGroup | None = None |
| 502 | |
| 503 | torch_compile: bool = False |
| 504 | |
| 505 | rope_scaling: dict | None = None |
| 506 | |
| 507 | enable_chosen_logprobs: bool = True |
| 508 | topk_logprobs: int | None = None |
no outgoing calls
no test coverage detected