Halide icon indicating copy to clipboard operation
Halide copied to clipboard

Add a Python bindings tutorial example that uses JIT and an autoscheduler?

Open lirenzhucn opened this issue 1 year ago • 1 comments

I was trying to figure out how to use the Python bindings to do some quick prototyping. And naturally, I wanted to start with an auto-scheduler. I kept running into an "unknown autoscheduler name" error. It took me a whole day to find out this 2-year old issue: #6791, and found out about hl.load_plugin.

I think it would be very helpful to newcomers (especially those with more Python experience than C++) to have a tutorial example that uses JIT and an autoscheduler. Because, I believe that is the most natural and lowest-barrier-to-entry way of starting one's Halide experience.

lirenzhucn avatar May 29 '24 11:05 lirenzhucn

We'd love to have more tutorials for the Python bindings! Unfortunately none of the core contributors has the bandwidth to do this at the present time, but we'd love to review a PR that adds or improves the Python tutorials.

steven-johnson avatar May 29 '24 15:05 steven-johnson