You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASENOTES.md
+18-17Lines changed: 18 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,32 +6,33 @@ Releases, starting with 9/2/2021, are listed with the most recent release at the
6
6
7
7
__Breaking Changes__:
8
8
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/>
13
12
14
13
__API Changes__:
15
14
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/>
21
23
22
24
__Bug Fixes__:
23
25
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.
28
-
- The fields are now exposed as readonly properties.
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/>
29
30
30
31
__Bug Fixes__:
31
32
32
-
-`TensorDataset` will now keep the aliases detached from dispose scopes, to avoid the unexpected disposal.
33
-
-`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.
34
-
-#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/>
0 commit comments