Skip to content

Commit 0212ba5

Browse files
Updated the release notes.
1 parent f3ef5d1 commit 0212ba5

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

RELEASENOTES.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,33 @@ Releases, starting with 9/2/2021, are listed with the most recent release at the
66

77
__Breaking Changes__:
88

9-
- `torchvision.dataset.MNIST` will try more mirrors.
10-
- The thrown exception might be changed when it fails to download `MNIST`, `FashionMNIST` or `KMNIST`.
11-
- `ObjectDisposedException` will now be thrown when trying to use the disposed dispose scopes.
12-
- The constructor of dispose scopes is no longer `public`. Use `torch.NewDisposeScope` instead.
9+
`torchvision.dataset.MNIST` will try more mirrors. The thrown exception might be changed when it fails to download `MNIST`, `FashionMNIST` or `KMNIST`.<br/>
10+
`ObjectDisposedException` will now be thrown when trying to use a disposed dispose scopes.<br/>
11+
The constructor of dispose scopes is no longer `public`. Use `torch.NewDisposeScope` instead.<br/>
1312

1413
__API Changes__:
1514

16-
- #1291 `Tensor.grad()` and `Tensor.set_grad()` have been replaced by a new property `Tensor.grad`.
17-
- A potential memory leak caused by `set_grad` has been resolved.
18-
- `Include` method of dispose scopes has been removed. Use `Attach` instead.
19-
- Two more `Attach` methods that accepts `IEnumerable<IDisposable>`s and arrays as the parameter have been added into dispose scopes.
20-
- A new property `torch.CurrentDisposeScope` has been added to provide the ability to get the current dispose scope.
15+
#1314 Grant read-only access to DataLoader attributes<br/>
16+
#1313 Add 'non_blocking' argument to tensor and module 'to()' signatures.<br/>
17+
#1291 `Tensor.grad()` and `Tensor.set_grad()` have been replaced by a new property `Tensor.grad`.<br/>
18+
A potential memory leak caused by `set_grad` has been resolved.<br/>
19+
`Include` method of dispose scopes has been removed. Use `Attach` instead.<br/>
20+
Two more `Attach` methods that accepts `IEnumerable<IDisposable>`s and arrays as the parameter have been added into dispose scopes.<br/>
21+
A new property `torch.CurrentDisposeScope` has been added to provide the ability to get the current dispose scope.<br/>
22+
Add module hooks that take no input/output arguments, just the module itself.<br/>
2123

2224
__Bug Fixes__:
2325

24-
- #1300 `Adadelta`, `Adam` and `AdamW` will no longer throw `NullReferenceException` when `maximize` is `true` and `grad` is `null`.
25-
- `torch.normal` will now correctly return a leaf tensor.
26-
- New options `disposeBatch` and `disposeDataset` have been added into `DataLoader`.
27-
- The default collate functions will now always dispose the intermediate tensors, rather than wait for the next iteration.
26+
#1300 `Adadelta`, `Adam` and `AdamW` will no longer throw `NullReferenceException` when `maximize` is `true` and `grad` is `null`.<br/>
27+
torch.normal` will now correctly return a leaf tensor.<br/>
28+
New options `disposeBatch` and `disposeDataset` have been added into `DataLoader`.<br/>
29+
The default collate functions will now always dispose the intermediate tensors, rather than wait for the next iteration.<br/>
2830

2931
__Bug Fixes__:
3032

31-
- `TensorDataset` will now keep the aliases detached from dispose scopes, to avoid the unexpected disposal.
32-
- `DataLoaderEnumerator` has been completely rewritten to resolve the unexpected shuffler disposal, the ignorance of `drop_last`, the incorrect count of worker, and the potential leak cause by multithreading.
33-
- #1303 Allow dispose scopes to be disposed out of LIFO order.
33+
`TensorDataset` will now keep the aliases detached from dispose scopes, to avoid the unexpected disposal.<br/>
34+
`DataLoaderEnumerator` has been completely rewritten to resolve the unexpected shuffler disposal, the ignorance of `drop_last`, the incorrect count of worker, and the potential leak cause by multithreading.<br/>
35+
#1303 Allow dispose scopes to be disposed out of LIFO order.<br/>
3436

3537
# NuGet Version 0.102.4
3638

0 commit comments

Comments
 (0)