-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[CI] Pre-build Reference System Dependencies #9270
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
Merged
Merged
Conversation
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
Contributor
|
@Mousius do you have an idea how much larger this makes ci-cpu? just wary of including build artifacts in our docker base images |
Member
Author
|
@areusch the Driver is about 364K and CMSIS NN is about 1.6MB |
Building these dependencies from scratch in each test was taking much longer than really necessary. Before: ``` $ time python3 -m pytest tests/python/contrib/test_ethosu/test_codegen.py::test_tflite_depthwise_conv2d[strides0-dilation0-SAME-kernel_shape0-relu-ifm_shape0-ethos-u55-256] real 0m19.982s user 0m13.255s sys 0m3.403s ``` After: ``` $ time python3 -m pytest tests/python/contrib/test_ethosu/test_codegen.py::test_tflite_depthwise_conv2d[strides0-dilation0-SAME-kernel_shape0-relu-ifm_shape0-ethos-u55-256] real 0m10.963s user 0m5.516s sys 0m2.232s ```
2b5d824 to
0a25f9e
Compare
Member
Author
|
Docker output with a cut down ci_cpu: Can't figure out how to make this more granular, but seems ok 😸 |
areusch
approved these changes
Oct 14, 2021
Contributor
|
thanks @Mousius, the PR is now merged! |
masahi
pushed a commit
to Laurawly/tvm-1
that referenced
this pull request
Oct 14, 2021
Building these dependencies from scratch in each test was taking much longer than really necessary. Before: ``` $ time python3 -m pytest tests/python/contrib/test_ethosu/test_codegen.py::test_tflite_depthwise_conv2d[strides0-dilation0-SAME-kernel_shape0-relu-ifm_shape0-ethos-u55-256] real 0m19.982s user 0m13.255s sys 0m3.403s ``` After: ``` $ time python3 -m pytest tests/python/contrib/test_ethosu/test_codegen.py::test_tflite_depthwise_conv2d[strides0-dilation0-SAME-kernel_shape0-relu-ifm_shape0-ethos-u55-256] real 0m10.963s user 0m5.516s sys 0m2.232s ```
ylc
pushed a commit
to ylc/tvm
that referenced
this pull request
Jan 7, 2022
Building these dependencies from scratch in each test was taking much longer than really necessary. Before: ``` $ time python3 -m pytest tests/python/contrib/test_ethosu/test_codegen.py::test_tflite_depthwise_conv2d[strides0-dilation0-SAME-kernel_shape0-relu-ifm_shape0-ethos-u55-256] real 0m19.982s user 0m13.255s sys 0m3.403s ``` After: ``` $ time python3 -m pytest tests/python/contrib/test_ethosu/test_codegen.py::test_tflite_depthwise_conv2d[strides0-dilation0-SAME-kernel_shape0-relu-ifm_shape0-ethos-u55-256] real 0m10.963s user 0m5.516s sys 0m2.232s ```
ylc
pushed a commit
to ylc/tvm
that referenced
this pull request
Jan 13, 2022
Building these dependencies from scratch in each test was taking much longer than really necessary. Before: ``` $ time python3 -m pytest tests/python/contrib/test_ethosu/test_codegen.py::test_tflite_depthwise_conv2d[strides0-dilation0-SAME-kernel_shape0-relu-ifm_shape0-ethos-u55-256] real 0m19.982s user 0m13.255s sys 0m3.403s ``` After: ``` $ time python3 -m pytest tests/python/contrib/test_ethosu/test_codegen.py::test_tflite_depthwise_conv2d[strides0-dilation0-SAME-kernel_shape0-relu-ifm_shape0-ethos-u55-256] real 0m10.963s user 0m5.516s sys 0m2.232s ```
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.
Building these dependencies from scratch in each test was taking much longer than really necessary.
Before:
After: