Skip to content
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

365 implement inference execution with pytest #384

Merged
merged 54 commits into from
Nov 19, 2024

Conversation

LeoBuron
Copy link
Member

@LeoBuron LeoBuron commented Nov 5, 2024

Added inference of linear layer as a system test with enV5 Rev2 Hardware

LeoBuron and others added 30 commits August 13, 2024 11:43
…y point in time independent of the other inputs
…y point in time independent of the other inputs
…-coverage-to-the-existing-linear-layer' into 360-add-the-ghdl-simulation-test-coverage-to-the-existing-linear-layer
…will be used in the future to do system tests
…sb-protocol-from-the-runtime' into 361-add-a-system-testend-to-end-for-the-existing-linear-layer
…ion-with-pytest

# Conflicts:
#	elasticai/creator/nn/fixed_point/conv1d/layer/batch_normed_conv1d.py
#	elasticai/creator/nn/fixed_point/conv1d/layer/conv1d.py
#	elasticai/creator/nn/fixed_point/linear/layer/batch_normed_linear.py
#	elasticai/creator/nn/fixed_point/linear/layer/linear.py
…with-skeleton-v2' into 365-implement-inference-execution-with-pytest

# Conflicts:
#	elasticai/creator/vhdl/system_integrations/firmware_env5_test.py
#	elasticai/creator/vhdl/system_integrations/skeleton/network_skeleton_v2.tpl.vhd
@LeoBuron LeoBuron added documentation Improvements or additions to documentation enhancement New feature or request labels Nov 5, 2024
@LeoBuron LeoBuron requested a review from glencoe November 5, 2024 10:53
@LeoBuron LeoBuron self-assigned this Nov 5, 2024
elasticai/creator/nn/fixed_point/conv1d/simulation_test.py Outdated Show resolved Hide resolved
elasticai/creator/nn/fixed_point/linear/simulation_test.py Outdated Show resolved Hide resolved
tests/system_tests/conv1d/conv1d.py Outdated Show resolved Hide resolved
tests/system_tests/conv1d/conv1d.py Outdated Show resolved Hide resolved
pyproject.toml Outdated
@@ -29,6 +29,7 @@ impulse = "^1.0"
pylint = "^2.16.2"
pytest = "^7.2.2"
setuptools = "^67.5.1"
elasticai-runtime-env5 = {git = "https://github.com/es-ude/elastic-ai.runtime.enV5.git", rev = "develop"}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to switch runtime version automatically as it gets updated or do we want to switch manually by changing the commit hash or version tag here? The later case seems more safe to me.

Copy link
Member Author

@LeoBuron LeoBuron Nov 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On one hand I agree with you. On the other I think it would make sense to automatically update to develop revision in the runtime, so we can test their newest features. But maybe safety is more important

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From experience I strongly favor safety over convenience here

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the git revision.

@glencoe
Copy link
Contributor

glencoe commented Nov 6, 2024

A lot of cool stuff. Thanks @LeoBuron. Got a few change requests and a few questions/fyis.

Almost forgot... unit tests should pass, obviously.

@glencoe glencoe self-requested a review November 14, 2024 09:35
@LeoBuron
Copy link
Member Author

@glencoe I pushed the new code. I fixed the unittest errors.

Copy link
Contributor

@glencoe glencoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good enough for me

@glencoe glencoe merged commit ca31f79 into develop Nov 19, 2024
2 checks passed
@glencoe glencoe deleted the 365-implement-inference-execution-with-pytest branch November 19, 2024 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants