[add][docs] add Part 5 VitisUnified accelerator backend tutorials - #130
Open
Tanawin1701d wants to merge 1 commit into
Open
[add][docs] add Part 5 VitisUnified accelerator backend tutorials#130Tanawin1701d wants to merge 1 commit into
Tanawin1701d wants to merge 1 commit into
Conversation
- Add 5_accelerator_backends/vitis_unified/5_vu_{a..f}: predict, csim, cosim, FIFO depth optimization, bitfile build, and Vitis platform setup guide
- Use absolute output_dir for VitisUnified projects (backend resolves v++ --config relative to the workspace cwd)
- Add create_simple_unet Keras model to models.py for the Part 5 notebooks
- Add Part 5 screenshots (images/part5f_*.png) and register notebooks in _toc.yml
- Document Part 5 requirements (Vitis/Vivado 2023.2, hls4ml PR #1376) in README
TODO:
- [ ] Pin VitisUnified backend in environment.yml once hls4ml PR #1376 is merged
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Part 5: VitisUnified accelerator backend tutorials
This PR adds a new Part 5 with a set of notebooks for the VitisUnified backend
(hls4ml PR fastmachinelearning/hls4ml#1376), which produces a bitstream plus a PYNQ driver for
a SoC board (zcu102 or kv260).
What's added
New directory
5_accelerator_backends/vitis_unified/:5_vu_a_predict.ipynbpredict()matches the plain Vitis backend5_vu_b_csim.ipynb5_vu_c_cosim.ipynb5_vu_d_fifo_depth.ipynbvitisunified:fifo_depth_optimizationflow and inspectfifo_depths.json5_vu_e_bitfile.ipynbexport/files (system.bit,system.hwh, PYNQ driver) to copy to the board5_vu_f_platform_setup.mdaxi_streammode and the kv260Supporting changes:
models.py: addcreate_simple_unet()(small Keras U-Net with one skip connection; random weights, since these notebooks exercise the flow, not accuracy)._toc.yml: register the Part 5 chapters.README.md: new "Accelerator backends (Part 5)" section with the Vitis/Vivado 2023.2 requirement and thepip installline for PR #1376.images/part5f_*.png: screenshots for the platform setup guide.