Implementation ci dataset#1474
Draft
marco66colombo wants to merge 27 commits into
Draft
Conversation
…into implementation-ci-dataset
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.
Description
This PR adds a dedicated GitLab CI path for collecting full implementation-flow artifacts from hls4ml models.
The first supported target is
VivadoAcceleratoronzcu102, using small Keras models from theexample-modelssubmodule. The implementation jobs run outside the regular pytest matrix and execute the complete backend flow: HLS synthesis, cosimulation, Vivado synthesis, implementation, bitstream generation, report parsing, and artifact collection.The goal is to make it possible to run selected end-to-end implementation checks periodically or on demand, and to preserve structured data that can be compared across hls4ml releases, backend/tool versions, boards, and model families. This should help track changes in resource usage, timing, generated reports, and other implementation metrics over time.
This is intended as the first step of an extensible implementation dataset CI suite. The helper and CI layout are written so that additional backends can be added with backend-specific templates and static job entries. Follow-up work is already planned/in development for
VitisUnified, with possible future extensions to Bambu and other supported backends.PR #1451 was propedeutic for this work, since it tested the runtime environment for these workflows.
Main changes:
CI_PIPELINE_MODE=implementationas a separate GitLab pipeline mode.example-modelsKeras models.Type of change
Tests
This CI path is intended to run in GitLab, because it depends on the CERN CI environment, CVMFS tool installations, and Vivado runtime.
To run the implementation CI, start a GitLab pipeline on this branch with:
Expected behavior:
implementation-pyteststrigger job runstest/pytest/implementation/ci-template.ymltest/pytest/implementation/pytests.ymlpytest.implementation.keras_1layer_vivadoaccpytest.implementation.keras_conv1d_small_vivadoaccExpected artifacts from each successful job include:
*_dataset.json*_hls4ml_report.json*_build.log*_project.zipChecklist
pre-commiton the files I edited or added.