disable the error exit here, see if the pregen code works
This commit is contained in:
parent
07021b9a1c
commit
ced04e1dff
1 changed files with 3 additions and 3 deletions
6
setup.py
6
setup.py
|
@ -99,9 +99,9 @@ if BUILD_CUDA_EXT:
|
|||
if platform.system() != 'Windows':
|
||||
p = int(subprocess.run("cat /proc/cpuinfo | grep cores | head -1", shell=True, check=True, text=True, stdout=subprocess.PIPE).stdout.split(" ")[2])
|
||||
ret = subprocess.call(["python", "./autogptq_extension/qigen/generate.py", "--module", "--search", "--p", str(p)])
|
||||
if ret != 0:
|
||||
raise Exception(f"Failed generate with {ret}")
|
||||
sys.exit(-1)
|
||||
# if ret != 0:
|
||||
# raise Exception(f"Failed generate with {ret}")
|
||||
# sys.exit(-1)
|
||||
|
||||
if not ROCM_VERSION:
|
||||
from distutils.sysconfig import get_python_lib
|
||||
|
|
Loading…
Add table
Reference in a new issue