Skip to content

Commit

Permalink
Change to UntypedStorage in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Stonesjtu committed Jul 26, 2024
1 parent d27e9b1 commit 3754bee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,12 @@ As *Memory Profiler* only gives the overall memory usage information by lines,
a more low-level memory usage information can be obtained by *Memory Reporter*.

*Memory reporter* iterates all the `Tensor` objects and gets the underlying
`Storage` object to get the actual memory usage instead of the surface
`UntypedStorage` (previously `Storage`) object to get the actual memory usage instead of the surface
`Tensor.size`.

> see [UntypedStorage](https://pytorch.org/docs/stable/storage.html#torch.UntypedStorage) for detailed
> information
#### Sample

- A minimal one:
Expand Down

0 comments on commit 3754bee

Please sign in to comment.