halide / Halide

a language for fast, portable data-parallel computation
https://halide-lang.org
Other
5.86k stars 1.07k forks source link

Easy way to compile/install python bindings #8319

Open qqaatw opened 3 months ago

qqaatw commented 3 months ago

Hi,

AFAIK, Halide does not publish its binaries to pypi so I'm trying to compile the python bindings by following the readme here: https://github.com/halide/Halide/blob/main/README_python.md#compilation-instructions.

However, the compilation instruction is not very clear to me. In particular, can it be as detailed as the c++ build instructions here? I was able to compile the c++ library by following it.

I found another instruction on someone's page at the CSAIL website, but the content seems to be out-dated: https://people.csail.mit.edu/tzumao/tmp/learning_halide/installation.html

Any help/pointer would be highly appreciated!

alexreinking commented 3 weeks ago

This is rapidly changing! Why not give this a try?

python -m pip install halide --pre --extra-index-url https://test.pypi.org/simple
alexreinking commented 3 weeks ago

@qqaatw - please let me know if you encounter any issues with the package. There's still time for us to address them ahead of 19.0.0

qqaatw commented 3 weeks ago

@qqaatw - please let me know if you encounter any issues with the package. There's still time for us to address them ahead of 19.0.0

Sure, thank you for your work!