Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused mock code for MD5 checks #678

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions tests/e2e/mnist.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import os

import torch
import torchvision.datasets.utils as utils
import requests
from pytorch_lightning import LightningModule, Trainer
from pytorch_lightning.callbacks.progress import TQDMProgressBar
Expand Down Expand Up @@ -139,11 +138,6 @@ def configure_optimizers(self):
####################

def prepare_data(self):
def check_md5(fpath, md5=None):
return True

utils.check_md5 = check_md5

# download
print("Downloading MNIST dataset...")

Expand Down