|
|
@ -56,7 +56,7 @@ lenvCython.Program('models/driving_pyx.so', 'models/driving_pyx.pyx', LIBS=[driv |
|
|
|
if arch == "larch64" or GetOption('pc_thneed'): |
|
|
|
if arch == "larch64" or GetOption('pc_thneed'): |
|
|
|
fn = File("models/supercombo").abspath |
|
|
|
fn = File("models/supercombo").abspath |
|
|
|
|
|
|
|
|
|
|
|
tinygrad_opts = ["NATIVE_EXPLOG=1", "VALIDHACKS=1", "OPTLOCAL=1", "IMAGE=2", "GPU=1", "ENABLE_METHOD_CACHE=1"] |
|
|
|
tinygrad_opts = ["NOLOCALS=1", "IMAGE=2", "GPU=1"] |
|
|
|
if not GetOption('pc_thneed'): |
|
|
|
if not GetOption('pc_thneed'): |
|
|
|
# use FLOAT16 on device for speed + don't cache the CL kernels for space |
|
|
|
# use FLOAT16 on device for speed + don't cache the CL kernels for space |
|
|
|
tinygrad_opts += ["FLOAT16=1", "PYOPENCL_NO_CACHE=1"] |
|
|
|
tinygrad_opts += ["FLOAT16=1", "PYOPENCL_NO_CACHE=1"] |
|
|
|