Skip to content

Commit

Permalink
Increase dataset limit (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
vhaldemar authored Dec 26, 2024
1 parent eeef558 commit f626364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/yandex_cloud_ml_sdk/_datasets/uploaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from .dataset import BaseDataset


MAX_FILE_SIZE = 300 * 1024 * 1024
MAX_FILE_SIZE = 5 * 1024 ** 3 # 5 GB


class SingleUploader:
Expand All @@ -25,7 +25,7 @@ async def upload(self, path: PathLike, timeout: float) -> None:
if size > MAX_FILE_SIZE:
raise RuntimeError(
f'file {path} is too big; in this version of SDK it must be less '
'than 300MB'
'than 5GB'
)

# pylint: disable=protected-access
Expand Down

0 comments on commit f626364

Please sign in to comment.