()
| 2 | import torch |
| 3 | |
| 4 | def test_list_avail_args(): |
| 5 | a = BaseModel.list_avail_args() |
| 6 | assert a.parse_args([]).num_layers == 24 |
| 7 | from sat.model import GLMModel |
| 8 | a = GLMModel.list_avail_args() |
| 9 | assert hasattr(a.parse_args([]), 'gpt_infill_prob') |
| 10 | |
| 11 | def test_model_get_args(): |
| 12 | from sat.model import GLMModel |
no test coverage detected