From ea07fa5dc56b91e8bfc7224558e196d754fd214f Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Sun, 16 Jun 2024 00:00:01 -0400 Subject: [PATCH] Delete recipe/patches/0003-Restore-DILL_AVAILABLE-for-backwards-compat-with-tor.patch --- ...ILABLE-for-backwards-compat-with-tor.patch | 29 ------------------- 1 file changed, 29 deletions(-) delete mode 100644 recipe/patches/0003-Restore-DILL_AVAILABLE-for-backwards-compat-with-tor.patch diff --git a/recipe/patches/0003-Restore-DILL_AVAILABLE-for-backwards-compat-with-tor.patch b/recipe/patches/0003-Restore-DILL_AVAILABLE-for-backwards-compat-with-tor.patch deleted file mode 100644 index 57b626f3a..000000000 --- a/recipe/patches/0003-Restore-DILL_AVAILABLE-for-backwards-compat-with-tor.patch +++ /dev/null @@ -1,29 +0,0 @@ -From fbd9bc4a306860483284e050a378f6e3622f5f21 Mon Sep 17 00:00:00 2001 -From: "Edward Z. Yang" -Date: Mon, 25 Mar 2024 16:43:36 -0400 -Subject: [PATCH 3/3] Restore DILL_AVAILABLE for backwards compat with - torchdata (#122616) - -Signed-off-by: Edward Z. Yang - -Pull Request resolved: https://github.com/pytorch/pytorch/pull/122616 -Approved by: https://github.com/peterbell10 ---- - torch/utils/data/datapipes/utils/common.py | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/torch/utils/data/datapipes/utils/common.py b/torch/utils/data/datapipes/utils/common.py -index faf45c07..3c466d33 100644 ---- a/torch/utils/data/datapipes/utils/common.py -+++ b/torch/utils/data/datapipes/utils/common.py -@@ -20,6 +20,10 @@ __all__ = [ - ] - - -+# BC for torchdata -+DILL_AVAILABLE = dill_available() -+ -+ - def validate_input_col(fn: Callable, input_col: Optional[Union[int, tuple, list]]): - """ - Check that function used in a callable datapipe works with the input column.