def test_all_features_cpu_model(tmp_path):
    """Test each of the trainer options."""
    seed_everything(42)
    trainer_options = {
        "default_root_dir": tmp_path,
        "gradient_clip_val": 1.0,
        "overfit_batches": 0.20,
        "enable_progress_bar": False,
        "accumulate_grad_batches": 2,
        "max_epochs": 1,
        "limit_train_batches": 0.4,
        "limit_val_batches": 0.4,
    }

    model = BoringModel()
    tpipes.run_model_test(trainer_options, model)
Test each of the trainer options.
tests/tests_pytorch/models/test_cpu.py