Skip to content

Dont transfer entire models for data generation#335

Open
AlexandreGoettel wants to merge 4 commits into
dingo-gw:mainfrom
AlexandreGoettel:dont-always-transfer-entire-models-v2
Open

Dont transfer entire models for data generation#335
AlexandreGoettel wants to merge 4 commits into
dingo-gw:mainfrom
AlexandreGoettel:dont-always-transfer-entire-models-v2

Conversation

@AlexandreGoettel

Copy link
Copy Markdown
Collaborator

This formats the metadata saved inside of the model as a string and saves it in the .ini file. This way, the model metadata can be accessed basically automatically.

Addresses #327

@AlexandreGoettel

Copy link
Copy Markdown
Collaborator Author

I tested this locally and as a condor job on CIT, but I'm not sure how to report results.

@AlexandreGoettel

Copy link
Copy Markdown
Collaborator Author

ping @stephengreen
If this looks good for the data generation step, I'm happy to copy the same logic to other transfers.

@nihargupte-ph nihargupte-ph left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for putting in the PR! 12 eyes looked at this PR.

Just one comment on the PR.

if (value := getattr(self.inputs, attr)) is not None:
input_files_to_transfer.append(os.path.abspath(str(value)))

# modifying the paths for OSDF networks

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why are we removing this?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

The generation node only needed the network files to be transferred so it could access their metadata. Since it can now get the metadata from the ini file, this removes the networks from the list of files to be transferred

@ewencedr

ewencedr commented Jul 1, 2026

Copy link
Copy Markdown

CI is failing

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