-
Notifications
You must be signed in to change notification settings - Fork 3
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
Build/dependency docs #30
Comments
For what it's worth, my current build instructions are encoded in this Makefile and the code block in the readme here. |
In my setup I simply followed the readme, installed all dependencies mentioned there, and supplied The tests were trickier: The nofib-tensorflow test suite depends on the accelerate nofib test suite which is disabled by default. I couldn't figure out how to instruct stack to reinstall accelerate with the appropriate flag so I gave up on that one. |
Thank you, good to hear that at least you got something working without too many code changes!
For completeness, because the project was using stack, this would end up in flags:
accelerate:
nofib: True I'm not sure why that was not already there, perhaps because most of the Accelerate test suite (which On my fork the project is now using cabal, not stack, where this goes in
On my fork, we're now building TF ourselves from a submodule, and using that not only for the Haskell code but also to create a Python virtualenv from to run
Would this happen already with the first test or only halfway through the test suite? This looks exactly like the error we got before we realised we needed to add udev rules to give ourselves access to the USB device; In our case, we have the following: $ cat /etc/udev/rules.d/99-edgetpu-accelerator.rules
SUBSYSTEM=="usb",ATTRS{idVendor}=="1a6e",GROUP="edgetpu"
SUBSYSTEM=="usb",ATTRS{idVendor}=="18d1",GROUP="edgetpu" and then make sure your Linux user is in the |
The failure occurs usually halfway through the test suite. I will try adapting the udev rules and give it another go. |
@sowilo I've successfully built the repository in a "minimized" Ubuntu Server virtual machine. The required commands can be found in ubuntu-build-instructions.txt. The commands in that file describe the things that are not manually, locally built by the Makefile though. I'm not sure that's the granularity that you want. I'm happy to process these instructions more and get this to a list of dependencies that you can try to put into Nix, but perhaps you're faster at that anyway. |
We need more detailed docs on what dependencies need to be installed, what the version constraints are, and what library-path issues exist.
Maybe Bianca can add what she knows from her setup here.
The text was updated successfully, but these errors were encountered: