Skip to content

Remove getter for event_blocks #581

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

Closed
wants to merge 2 commits into from

Conversation

Olivia-liu
Copy link
Contributor

Summary: Remove the getter function because it's more Pythonic to just access the attributes (I read this article says so).

Differential Revision: D49853351

@netlify
Copy link

netlify bot commented Oct 3, 2023

Deploy Preview for resplendent-gnome-14e531 canceled.

Name Link
🔨 Latest commit 87aefc8
🔍 Latest deploy log https://app.netlify.com/sites/resplendent-gnome-14e531/deploys/651c7d0595380a000800a3ab

@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 Oct 3, 2023
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

Olivia-liu and others added 2 commits October 3, 2023 13:42
Differential Revision: D49844340

fbshipit-source-id: 7606494cb18f0dc95cdfac7520922c470525c186
Summary:
Pull Request resolved: pytorch/executorch#581

Remove the getter function because it's more Pythonic to just access the attributes (I read this [article](https://realpython.com/python-getter-setter/#:~:text=In%20OOP%2C%20the%20getter%20and,use%20getter%20and%20setter%20methods.) says so).

Reviewed By: Jack-Khuu

Differential Revision: D49853351

fbshipit-source-id: de0f331bda37d8707eba3ea1545b7c96bde63f11
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in ee4d98b.

Gasoonjia pushed a commit that referenced this pull request Jul 30, 2024
Gasoonjia pushed a commit that referenced this pull request Jul 30, 2024
* executable README

* fix title of CI workflow

* markup commands in markdown

* extend the markup-markdown language

* Automatically identify cuda from nvidia-smi in install-requirements (#606)

* Automatically identify cuda from nvidia-smi in install-requirements

* Update README.md

---------

Co-authored-by: Michael Gschwind <[email protected]>

* Unbreak zero-temperature sampling (#599)

Fixes #581.

* Improve process README

* [retake] Add sentencepiece tokenizer (#626)

* Add sentencepiece tokenizer

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

* Add white space

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

* Handle white space:

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

* Handle control ids

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

* More cleanup

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

* Lint

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

* Use unique_ptr

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

* Use a larger runner

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

* Debug

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

* Debug

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

* Cleanup

* Update install_utils.sh to use python3 instead of python (#636)

As titled. On some devices `python` and `python3` are pointing to different environments so good to unify them.

* Fix quantization doc to specify dytpe limitation on a8w4dq (#629)

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Co-authored-by: Kimish Patel <[email protected]>

* add desktop.json (#622)

* add desktop.json

* add fast

* remove embedding

* improvements

* update readme from doc branch

* tab/spc

* fix errors in updown language

* fix errors in updown language, and [skip]: begin/end

* fix errors in updown language, and [skip]: begin/end

* a storied run

* stories run on readme instructions does not need HF token

* increase timeout

* check for hang un hf_login

* executable README improvements

* typo

* typo

---------

Co-authored-by: Ian Barber <[email protected]>
Co-authored-by: Scott Wolchok <[email protected]>
Co-authored-by: Mengwei Liu <[email protected]>
Co-authored-by: Kimish Patel <[email protected]>
Co-authored-by: Scott Roy <[email protected]>
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 Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants