Skip to content

Offline usage and caching #488

Answered by snakers4
RobinM30 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

I did not find the .pt file for it

Hi, there is no .pt file, the model is either in TorchScript or ONNX format here.

One way to cache model locally is to initialize it and then just to use the created cache.

Another way would be to just cache the repo locally and then pass a local path to the saved repo to torch.hub.load.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by snakers4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants
Converted from issue

This discussion was converted from issue #487 on July 04, 2024 12:43.