We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ff0752 commit 063cf93Copy full SHA for 063cf93
src/litmodels/io/gateway.py
@@ -7,7 +7,7 @@
7
from lightning_utilities import module_available
8
from torch.nn import Module
9
10
-from litmodels.io.cloud import download_model_file, upload_model_files
+from litmodels.io.cloud import download_model_file, upload_model_file
11
12
if module_available("torch"):
13
import torch
@@ -49,7 +49,7 @@ def upload_model(
49
path = str(model)
50
else:
51
raise ValueError(f"Unsupported model type {type(model)}")
52
- return upload_model_files(
+ return upload_model_file(
53
path=path,
54
name=name,
55
progress_bar=progress_bar,
0 commit comments