File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 11Changelog
22=========
33
4+ v1.9.0 (2025-04-04)
5+ -------------------
6+
47* Added environment variables to container deployment example
58* Updated examples image from 'fastai' to 'ubuntu-24.04-cuda-12.8-open-docker'
69* Consistent naming and load of credentials from env variables in examples
10+ * Added size_in_mb parameter to VolumeMount class
11+ * Added memory volume mount type
712
813v1.8.4 (2025-03-25)
914-------------------
Original file line number Diff line number Diff line change 1- VERSION = '1.8.4 '
1+ VERSION = '1.9.0 '
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ class EnvVarType(str, Enum):
1919class VolumeMountType (str , Enum ):
2020 SCRATCH = "scratch"
2121 SECRET = "secret"
22+ MEMORY = "memory"
2223
2324
2425class ContainerRegistryType (str , Enum ):
@@ -82,16 +83,18 @@ class EnvVar:
8283 type : EnvVarType
8384
8485
85- @dataclass_json
86+ @dataclass_json ( undefined = Undefined . EXCLUDE )
8687@dataclass
8788class VolumeMount :
8889 """Volume mount configuration for containers.
8990
9091 :param type: Type of volume mount
9192 :param mount_path: Path where the volume should be mounted in the container
93+ :param size_in_mb: Size of the volume in megabytes, only used for memory volume mounts
9294 """
9395 type : VolumeMountType
9496 mount_path : str
97+ size_in_mb : Optional [int ] = None
9598
9699
97100@dataclass_json
You can’t perform that action at this time.
0 commit comments