-
Notifications
You must be signed in to change notification settings - Fork 7.1k
add regnet_y_128gf factory function #5176
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
add regnet_y_128gf factory function #5176
Conversation
💊 CI failures summary and remediationsAs of commit 59d56ab (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
Job | Step | Action |
---|---|---|
packaging/build_conda.sh | 🔁 rerun |
1 job timed out:
binary_linux_conda_py3.9_cu111
This comment was automatically generated by Dr. CI (expand for details).
Please report bugs/suggestions to the (internal) Dr. CI Users group.
0ccc5d5
to
85b2ec1
Compare
Yeah...same for Lines 9 to 20 in 49ec677
The available executor types on CircleCI can be found on this documentation. |
14d0957
to
755b824
Compare
The tests on Windows failed when saving model torchscript. I suspected it's OOMd. I tried to use |
755b824
to
cf27e0e
Compare
@kazhang It seems to work now. The failing test is not related. @prabhat00155 The test.test_videoapi.TestVideoApi test has been failing periodically for a while now. Can we adjust the thresholds or modify to reduce flakiness? |
@bjuncek is looking into this. |
The reason why
T.I.L |
hmmm, saving and loading torchscript from temporary file caused failure in detection model tests, sounds weird to me. |
@kazhang Previously we faced similar issues with ViT and I noticed that the biggest Windows instance available to us is "GPU Windows Medium". I'm not sure if there are larger instances available that we could use but you could try checking with CircleCI. My hypothesis for why Linux doesn't fail is that we either use a different type of instance or it uses the GPU memory more efficiently due to the lack of GUI. |
5656811
to
a038c85
Compare
@@ -126,16 +126,16 @@ def assert_export_import_module(m, args): | |||
|
|||
def get_export_import_copy(m): | |||
"""Save and load a TorchScript model""" | |||
buffer = io.BytesIO() | |||
torch.jit.save(m, buffer) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Crash when saving large model to buffer.
with TemporaryDirectory() as dir: | ||
path = os.path.join(dir, "script.pt") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NamedTemporaryFile
doesn't work on windows since it can't be open twice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @kazhang!
Summary: * add regnet_y_128gf * fix test * add expected test file * update regnet factory function, add to prototype as well * write torchscript to temp file instead bytesio in model test * docs * clear GPU memory * no_grad * nit Reviewed By: NicolasHug Differential Revision: D33618170 fbshipit-source-id: cb92ce70413a6f1096aef8732d8fe948af41caad Co-authored-by: Vasilis Vryniotis <[email protected]>
Add a factory function for RegNetY 128GF.
cc @datumbox