mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
fix hub doc formatting issues (#19434)
Summary: minor fixes for doc Pull Request resolved: https://github.com/pytorch/pytorch/pull/19434 Differential Revision: D15003903 Pulled By: ailzhang fbshipit-source-id: 400768d9a5ee24f9183faeec9762b688c48c531b
This commit is contained in:
committed by
Facebook Github Bot
parent
a5c4348d54
commit
4c93be0fa0
@ -98,11 +98,10 @@ Where are my downloaded models saved?
|
||||
|
||||
The locations are used in the order of
|
||||
|
||||
- hub_dir: user specified path. It can be set in the following ways:
|
||||
- Calling ``hub.set_dir(<PATH_TO_HUB_DIR>)``
|
||||
- ``$TORCH_HOME/hub``, if environment variable ``TORCH_HOME`` is set.
|
||||
- ``$XDG_CACHE_HOME/torch/hub``, if environment variable ``XDG_CACHE_HOME` is set.
|
||||
- ``~/.cache/torch/hub``
|
||||
- Calling ``hub.set_dir(<PATH_TO_HUB_DIR>)``
|
||||
- ``$TORCH_HOME/hub``, if environment variable ``TORCH_HOME`` is set.
|
||||
- ``$XDG_CACHE_HOME/torch/hub``, if environment variable ``XDG_CACHE_HOME`` is set.
|
||||
- ``~/.cache/torch/hub``
|
||||
|
||||
.. autofunction:: set_dir
|
||||
|
||||
|
||||
Reference in New Issue
Block a user