cortex-training 0.0.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,49 @@
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ """Public Python API for Cortex Training."""
17
+
18
+ __version__ = "0.0.2"
19
+
20
+ from . import wire
21
+ from .client import ChunkGroupConflictError
22
+ from .client import ChunkGroupError
23
+ from .client import ChunkGroupRestartError
24
+ from .client import CortexTrainingClient
25
+ from .client import Hardware
26
+ from .client import InferenceConfig
27
+ from .client import JobType
28
+ from .client import SubJobConfig
29
+ from .client import TrainingConfig
30
+ from .client import build_forward_backward_kwargs
31
+ from .client import build_forward_backward_payload
32
+ from .client import serialize_forward_backward_args
33
+
34
+ __all__ = [
35
+ "CortexTrainingClient",
36
+ "build_forward_backward_kwargs",
37
+ "build_forward_backward_payload",
38
+ "ChunkGroupError",
39
+ "ChunkGroupRestartError",
40
+ "ChunkGroupConflictError",
41
+ "serialize_forward_backward_args",
42
+ "SubJobConfig",
43
+ "TrainingConfig",
44
+ "InferenceConfig",
45
+ "JobType",
46
+ "Hardware",
47
+ "wire",
48
+ "__version__",
49
+ ]
@@ -0,0 +1,20 @@
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ """Module entry point for ``python -m cortex_training``."""
17
+
18
+ from cortex_training.cli import main
19
+
20
+ raise SystemExit(main())