Skip to content

Conversation

@pmeier
Copy link
Contributor

@pmeier pmeier commented Feb 28, 2022

While eager vs scripted tests require a case by case treatment due to varying inputs, just checking if something is scriptable can be achieved outside of that "framework".

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Feb 28, 2022

💊 CI failures summary and remediations

As of commit 347ed61 (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

Comment on lines 207 to 217
if not name.startswith("_")
and callable(kernel)
and any(feature_type in name for feature_type in {"image", "segmentation_mask", "bounding_box", "label"})
and "pil" not in name
and (
name
not in {
"get_image_size",
"get_image_num_channels",
}
)
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 is only temporary. If we have full coverage for eager vs scripted tests we can simply reuse this instead of this abomination. Still, I've checked manually and for now this covers all kernels that we want to test and should be somewhat robust for future cases.

Copy link
Contributor

@datumbox datumbox left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@pmeier pmeier merged commit 60449a4 into pytorch:main Mar 1, 2022
@pmeier pmeier deleted the prototype-jit branch March 1, 2022 12:26
facebook-github-bot pushed a commit that referenced this pull request Mar 5, 2022
Summary:
* expand prototype functional scriptability tests

* remove obsolete skips

Reviewed By: datumbox

Differential Revision: D34579503

fbshipit-source-id: 9425d301e5ec938bfc80494900224517815d22fb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants