-
Notifications
You must be signed in to change notification settings - Fork 524
Starter Task 2: Adding return type annotation to the _attribute_progress_setup method #1576
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
Conversation
This pull request was exported from Phabricator. Differential Revision: D75972827 |
…ess_setup method (pytorch#1576) Summary: The problem was that the _attribute_progress_setup method in feature_ablation.py didn't have a return type annotation. After making the relevant changes in the task 1 diff to only have the progress function return a tqdm object, I added a tqdm return type annotation to the _attribute_progress_setup function. Differential Revision: D75972827
a9d2a71
to
752fc1d
Compare
…ess_setup method (pytorch#1576) Summary: The problem was that the _attribute_progress_setup method in feature_ablation.py didn't have a return type annotation. After making the relevant changes in the task 1 diff to only have the progress function return a tqdm object, I added a tqdm return type annotation to the _attribute_progress_setup function. Differential Revision: D75972827
This pull request was exported from Phabricator. Differential Revision: D75972827 |
…ess_setup method (pytorch#1576) Summary: Pull Request resolved: pytorch#1576 The problem was that the _attribute_progress_setup method in feature_ablation.py didn't have a return type annotation. After making the relevant changes in the task 1 diff to only have the progress function return a tqdm object, I added a tqdm return type annotation to the _attribute_progress_setup function. Differential Revision: D75972827
752fc1d
to
9e2ff6e
Compare
…ess_setup method (pytorch#1576) Summary: Pull Request resolved: pytorch#1576 The problem was that the _attribute_progress_setup method in feature_ablation.py didn't have a return type annotation. After making the relevant changes in the task 1 diff to only have the progress function return a tqdm object, I added a tqdm return type annotation to the _attribute_progress_setup function. Differential Revision: D75972827
…ess_setup method (pytorch#1576) Summary: The problem was that the _attribute_progress_setup method in feature_ablation.py didn't have a return type annotation. After making the relevant changes in the task 1 diff to only have the progress function return a tqdm object, I added a tqdm return type annotation to the _attribute_progress_setup function. Reviewed By: sarahtranfb Differential Revision: D75972827
…ess_setup method (pytorch#1576) Summary: The problem was that the _attribute_progress_setup method in feature_ablation.py didn't have a return type annotation. After making the relevant changes in the task 1 diff to only have the progress function return a tqdm object, I added a tqdm return type annotation to the _attribute_progress_setup function. Reviewed By: sarahtranfb Differential Revision: D75972827
…ess_setup method (pytorch#1576) Summary: The problem was that the _attribute_progress_setup method in feature_ablation.py didn't have a return type annotation. After making the relevant changes in the task 1 diff to only have the progress function return a tqdm object, I added a tqdm return type annotation to the _attribute_progress_setup function. Reviewed By: sarahtranfb Differential Revision: D75972827
9e2ff6e
to
f5aa3b1
Compare
This pull request was exported from Phabricator. Differential Revision: D75972827 |
…ess_setup method (pytorch#1576) Summary: Pull Request resolved: pytorch#1576 The problem was that the _attribute_progress_setup method in feature_ablation.py didn't have a return type annotation. After making the relevant changes in the task 1 diff to only have the progress function return a tqdm object, I added a tqdm return type annotation to the _attribute_progress_setup function. Reviewed By: sarahtranfb Differential Revision: D75972827
f5aa3b1
to
9fd524b
Compare
…ess_setup method (pytorch#1576) Summary: Pull Request resolved: pytorch#1576 The problem was that the _attribute_progress_setup method in feature_ablation.py didn't have a return type annotation. After making the relevant changes in the task 1 diff to only have the progress function return a tqdm object, I added a tqdm return type annotation to the _attribute_progress_setup function. Differential Revision: D75972827
…ess_setup method (pytorch#1576) Summary: The problem was that the _attribute_progress_setup method in feature_ablation.py didn't have a return type annotation. After making the relevant changes in the task 1 diff to only have the progress function return a tqdm object, I added a tqdm return type annotation to the _attribute_progress_setup function. Reviewed By: sarahtranfb Differential Revision: D75972827
9fd524b
to
ffff5fc
Compare
This pull request was exported from Phabricator. Differential Revision: D75972827 |
…ess_setup method (pytorch#1576) Summary: Pull Request resolved: pytorch#1576 The problem was that the _attribute_progress_setup method in feature_ablation.py didn't have a return type annotation. After making the relevant changes in the task 1 diff to only have the progress function return a tqdm object, I added a tqdm return type annotation to the _attribute_progress_setup function. Reviewed By: sarahtranfb Differential Revision: D75972827
ffff5fc
to
746b3dd
Compare
…ess_setup method (pytorch#1576) Summary: The problem was that the _attribute_progress_setup method in feature_ablation.py didn't have a return type annotation. After making the relevant changes in the task 1 diff to only have the progress function return a tqdm object, I added a tqdm return type annotation to the _attribute_progress_setup function. Reviewed By: sarahtranfb Differential Revision: D75972827
746b3dd
to
033f105
Compare
This pull request was exported from Phabricator. Differential Revision: D75972827 |
…ess_setup method (pytorch#1576) Summary: Pull Request resolved: pytorch#1576 The problem was that the _attribute_progress_setup method in feature_ablation.py didn't have a return type annotation. After making the relevant changes in the task 1 diff to only have the progress function return a tqdm object, I added a tqdm return type annotation to the _attribute_progress_setup function. Reviewed By: sarahtranfb Differential Revision: D75972827
033f105
to
c91a202
Compare
Summary: Pull Request resolved: pytorch#1575 My task was to remove the redundant progress bar code now that tqdm is a dependency. The problem was that since tqdm is now a dependency, we don't need to make checks for whether or not tqdm is being used, and thus we can remove the simple progress print code in the progress function (as well as the import error try-except code at the very top of the file). I also removed the SimpleProgress class definition, as well as the use_tqdm parameter in the progress function. Since we are no longer using the SimpleProgress object anywhere, I removed it from wherever it was used in the codebase (feature_ablation.py). In the test_progress.py, I removed the tests corresponding to SimpleProgress. Differential Revision: D75814260 Reviewed By: cyrjano
…ess_setup method (pytorch#1576) Summary: The problem was that the _attribute_progress_setup method in feature_ablation.py didn't have a return type annotation. After making the relevant changes in the task 1 diff to only have the progress function return a tqdm object, I added a tqdm return type annotation to the _attribute_progress_setup function. Reviewed By: sarahtranfb Differential Revision: D75972827
c91a202
to
2e50627
Compare
…ess_setup method (pytorch#1576) Summary: Pull Request resolved: pytorch#1576 The problem was that the _attribute_progress_setup method in feature_ablation.py didn't have a return type annotation. After making the relevant changes in the task 1 diff to only have the progress function return a tqdm object, I added a tqdm return type annotation to the _attribute_progress_setup function. Reviewed By: sarahtranfb Differential Revision: D75972827
This pull request was exported from Phabricator. Differential Revision: D75972827 |
2e50627
to
2d932b8
Compare
This pull request has been merged in 3d6765a. |
Summary: The problem was that the _attribute_progress_setup method in feature_ablation.py didn't have a return type annotation. After making the relevant changes in the task 1 diff to only have the progress function return a tqdm object, I added a tqdm return type annotation to the _attribute_progress_setup function.
Differential Revision: D75972827