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

Copy-to-default-graph-generalization #918

Merged
merged 10 commits into from
Feb 21, 2023

Conversation

glguy
Copy link
Contributor

@glguy glguy commented Feb 21, 2023

See #912

cli/rack/manifest.py Outdated Show resolved Hide resolved
@glguy glguy force-pushed the copy-to-default-graph-generalization branch from d474331 to e888b01 Compare February 21, 2023 19:02
Copy link
Contributor

@Ptival Ptival left a comment

Choose a reason for hiding this comment

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

Looks fine. Left two questions to understand a bit of the context.

@@ -501,7 +500,7 @@ def build_manifest_driver(
zipfile_path: Path
) -> None:

with tempfile.TemporaryDirectory() as outdir:
with TemporaryDirectory() as outdir:
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it the case that builder.model_graphs and builder.data_graphs depend on having created the archive?
At face value it looks like it's never explicitly used, but I assume there's a reason why it needs to be created, even if temporarily.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm currently only collecting those graph names as debugging output. I am imagining that we could extend that in the future to report and error if the URLs were missing from the manifest's footprint:

cli/rack/__init__.py Show resolved Hide resolved
@glguy glguy merged commit 4b56d14 into master Feb 21, 2023
@glguy glguy deleted the copy-to-default-graph-generalization branch February 21, 2023 22:37
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.

None yet

3 participants