Skip to content

Conversation

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 30, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 81efec7 with merge base b82a51b (image):
💚 Looks good so far! There are no failures yet. 💚

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

Copy link
Contributor

@anijain2305 anijain2305 left a comment

Choose a reason for hiding this comment

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

Oh nice. Thanks! Disregard the comment on the previous PR.

@StrongerXi StrongerXi added the topic: not user facing topic category label Nov 4, 2024
[ghstack-poisoned]
pytorchmergebot pushed a commit that referenced this pull request Nov 5, 2024
…Tracker` (#139341)

This patch adds 2 simple methods `VariableTracker.is_mutable()` and
`VariableTracker.is_immutable()`, which helps clarify intention. For
instance, rather than writing
```python
if var.mutation_type:
    ...
```
After this patch one can write
```python
if var.is_mutable():
    ...
```

This patch also simplifies `mutation_type` propagation in some
`ListVariable` methods.

Pull Request resolved: #139341
Approved by: https://github.com/mlazos, https://github.com/anijain2305
ghstack dependencies: #139339, #139340
Ryo-not-rio pushed a commit to Ryo-not-rio/pytorch that referenced this pull request Dec 2, 2024
…Tracker` (pytorch#139341)

This patch adds 2 simple methods `VariableTracker.is_mutable()` and
`VariableTracker.is_immutable()`, which helps clarify intention. For
instance, rather than writing
```python
if var.mutation_type:
    ...
```
After this patch one can write
```python
if var.is_mutable():
    ...
```

This patch also simplifies `mutation_type` propagation in some
`ListVariable` methods.

Pull Request resolved: pytorch#139341
Approved by: https://github.com/mlazos, https://github.com/anijain2305
ghstack dependencies: pytorch#139339, pytorch#139340
pobin6 pushed a commit to pobin6/pytorch that referenced this pull request Dec 5, 2024
…Tracker` (pytorch#139341)

This patch adds 2 simple methods `VariableTracker.is_mutable()` and
`VariableTracker.is_immutable()`, which helps clarify intention. For
instance, rather than writing
```python
if var.mutation_type:
    ...
```
After this patch one can write
```python
if var.is_mutable():
    ...
```

This patch also simplifies `mutation_type` propagation in some
`ListVariable` methods.

Pull Request resolved: pytorch#139341
Approved by: https://github.com/mlazos, https://github.com/anijain2305
ghstack dependencies: pytorch#139339, pytorch#139340
@github-actions github-actions bot deleted the gh/StrongerXi/14/head branch December 6, 2024 02:13
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.

4 participants