Skip to content

Commit

Permalink
Remove unused mock code for MD5 checks
Browse files Browse the repository at this point in the history
  • Loading branch information
oksanabaza authored and openshift-merge-bot[bot] committed Sep 23, 2024
1 parent 868386e commit c6ed1a1
Showing 1 changed file with 0 additions and 6 deletions.
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

0 comments on commit c6ed1a1

Please sign in to comment.