Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

NAS benchmark integration (stage 2) - download #4205

Merged

Conversation

ultmaster
Copy link
Contributor

We will enable auto-download of benchmarks in this PR.

I'll also test nasbench101 and nasbench201 for all Retiarii strategies. nds is still not covered yet.

@ultmaster ultmaster marked this pull request as draft September 23, 2021 08:55
@ultmaster ultmaster marked this pull request as ready for review September 27, 2021 05:56
@ultmaster ultmaster changed the title NAS benchmark integration (stage 2) NAS benchmark integration (stage 2) - download Sep 27, 2021
raise FileNotFoundError('Download is not enabled, but file still does not exist: {}'.format(local_path))

digest = sha256.hexdigest()
if digest[:len(hash_prefix)] != hash_prefix:
Copy link
Contributor

Choose a reason for hiding this comment

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

startswith

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This code is directly copied from pytorch. But I think you are right.

@QuanluZhang QuanluZhang merged commit afe42ce into microsoft:master Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants