New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gradient_halide: init at 2018-08-31 #46349
Conversation
# Another way is using "make halide_archive", but the tarball is not easy | ||
# to disassemble. | ||
installPhase = '' | ||
find |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed anymore :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't exactly understand your comment. The default installPhase doesn't install things correctly; did you have some alternative in mind?
sha256 = "0qhk1plc4697p1livf9xz2c5aqaq6v9sx1pr0ia6x7sjkmggc9rc"; | ||
}; | ||
|
||
patches = [ ./nix.patch ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think it would be possible to upstream some of these patches?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps, but I didn't make these patches myself so I don't know exactly what would we involved. However, it looks like I might soon create an issue/PR against the stock halide
NIx package so perhaps I'll suggest it there.
25e94b1
to
d8e3056
Compare
Are there any updates on this pull request, please? |
Halide extended with autodiff as described in Differentiable Programming for
Image Processing and Deep Learning in Halide.
Gradient Halide is implemented in a separate repository from stock Halide, hence this package. At the moment, I've simply copied the existing Halide expression since there are minimal differences. It seems like I should factor the two expressions but I'm not sure of the appropriate directory structure. Of course, hopefully the two repositories will soon merge and this will be irrelevant anyway.
The tests seem to be getting built but I couldn't immediately figure out how to run them when building, but I've compiled and run a couple examples against the library.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)