From 906f9efc576b23b7a7229b7d1599f1d9426ccefc Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 11 Mar 2019 08:49:30 -0700 Subject: [PATCH] Revert "Add check for x64 Python before setup (#17707)" (#17864) Summary: This reverts commit 08fb9021da32e73bd7dec73104eea6a76dd44439. Pull Request resolved: https://github.com/pytorch/pytorch/pull/17864 Differential Revision: D14404920 Pulled By: soumith fbshipit-source-id: d41fc06e249f3437d4f80d1d6a5fdbd44c90462b --- setup.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/setup.py b/setup.py index 042905b..4ce1993 100644 --- a/setup.py +++ b/setup.py @@ -152,7 +152,6 @@ import distutils.command.clean import distutils.sysconfig import filecmp import platform -import struct import subprocess import shutil import sys @@ -259,10 +258,6 @@ def build_deps(): f.write("debug = {}\n".format(repr(DEBUG))) f.write("cuda = {}\n".format(repr(CUDA_VERSION))) - if struct.calcsize("P") != 8: - report('PyTorch is only supported to run with 64-bit python.') - exit(1) - def check_file(f): if not os.path.exists(f): report("Could not find {}".format(f)) -- 2.7.4