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

fix: adl layer sync fixes #3367

Merged
merged 2 commits into from
Oct 21, 2021
Merged

Conversation

mndeveci
Copy link
Contributor

  • Skip ADL layer sync if dependencies are not changed
  • Find correct physical id of ADL layer
  • Fix issue with finding related functions when an ADL layer is changed.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

- skip adl layer sync if dependencies are not changed.
- find physical id of adl layer.
- collect related functions for a layer change
@mndeveci mndeveci requested a review from CoshUS October 19, 2021 00:28
@@ -347,6 +347,7 @@ def _compare_hash_changes(
uuid = stored_def.uuid
if old_hash != updated_hash or old_manifest_hash != updated_manifest_hash:
content[uuid] = BuildHashingInformation(updated_hash, updated_manifest_hash)
compared_def.download_dependencies = old_manifest_hash != updated_manifest_hash
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we not storing this back to our build.toml file?

Copy link
Contributor Author

@mndeveci mndeveci Oct 21, 2021

Choose a reason for hiding this comment

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

Nope, download_dependencies are not stored in build.toml file. Can be seen here;

self.download_dependencies: bool = True

@qingchm qingchm merged commit 5ae214b into aws:accelerate Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants