def run_train_with_empty_loader() -> None:
    """
    In this function we push loader to be empty because we
    use batch_size > len(dataset) and drop_last=True.
    """
    dataset = DummyDataset()
    model = nn.Linear(in_features=dataset.features_dim, out_features=dataset.out_dim)
    loader = DataLoader(dataset=dataset, batch_size=len(dataset) + 1, drop_last=True)
    runner = SupervisedRunner()
    runner.train(
        loaders={"train": loader},
        model=model,
        num_epochs=1,
        criterion=nn.BCEWithLogitsLoss(),
    )

    In this function we push loader to be empty because we
    use batch_size > len(dataset) and drop_last=True.
    
tests/catalyst/runners/test_runner.py