Skip to content

Conversation

@zhenyan-zhang-meta
Copy link
Contributor

@zhenyan-zhang-meta zhenyan-zhang-meta commented Apr 10, 2025

Stack from ghstack (oldest at bottom):

Following #9971

  • Update get_flatbuffer_scalar_type return type to Result
  • Iteratively update functions that calling the functions with result type changed:
    • Check returns, if with an error, pass above the error.
    • If unable to pass error, update the return type as Result

Differential Revision: D72771753

Following #9971

- Update get_flatbuffer_scalar_type return type to Result<T>
- Iteratively update functions that calling the functions with result type changed:
  - Check returns, if with an error, pass above the error.
  - If unable to pass error, update the return type as Result<T>

Differential Revision: [D72771753](https://our.internmc.facebook.com/intern/diff/D72771753/)

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Apr 10, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10056

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit d52cefd with merge base 1facfa9 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

zhenyan-zhang-meta pushed a commit that referenced this pull request Apr 10, 2025
Following #9971

- Update get_flatbuffer_scalar_type return type to Result<T>
- Iteratively update functions that calling the functions with result type changed:
  - Check returns, if with an error, pass above the error.
  - If unable to pass error, update the return type as Result<T>

Differential Revision: [D72771753](https://our.internmc.facebook.com/intern/diff/D72771753/)

ghstack-source-id: 277244589
Pull Request resolved: #10056
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 10, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D72771753

* @param[in] evalue_type Indicates what type of output this is logging e.g.
* an intermediate output, program output etc.
*/
virtual void log_evalue(
Copy link
Contributor

Choose a reason for hiding this comment

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

Please update the comment for result value

Copy link
Contributor

@Gasoonjia Gasoonjia 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 for update!
Please update the comment before landing it.

…scalar_type"

Following #9971

- Update get_flatbuffer_scalar_type return type to Result<T>
- Iteratively update functions that calling the functions with result type changed:
  - Check returns, if with an error, pass above the error.
  - If unable to pass error, update the return type as Result<T>

Differential Revision: [D72771753](https://our.internmc.facebook.com/intern/diff/D72771753/)

[ghstack-poisoned]
zhenyan-zhang-meta pushed a commit that referenced this pull request Apr 10, 2025
Pull Request resolved: #10056

Following #9971

- Update get_flatbuffer_scalar_type return type to Result<T>
- Iteratively update functions that calling the functions with result type changed:
  - Check returns, if with an error, pass above the error.
  - If unable to pass error, update the return type as Result<T>
ghstack-source-id: 277252745
@exported-using-ghexport

Differential Revision: [D72771753](https://our.internmc.facebook.com/intern/diff/D72771753/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D72771753

@facebook-github-bot facebook-github-bot merged commit 2c49165 into gh/zhenyan-zhang-meta/2/base Apr 10, 2025
82 of 84 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/zhenyan-zhang-meta/2/head branch April 10, 2025 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported topic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants