envloop-cli 0.2.0__py3-none-any.whl → 0.2.1__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.
- envloop/training/__init__.py +56 -64
- {envloop_cli-0.2.0.dist-info → envloop_cli-0.2.1.dist-info}/METADATA +4 -7
- {envloop_cli-0.2.0.dist-info → envloop_cli-0.2.1.dist-info}/RECORD +5 -5
- {envloop_cli-0.2.0.dist-info → envloop_cli-0.2.1.dist-info}/WHEEL +0 -0
- {envloop_cli-0.2.0.dist-info → envloop_cli-0.2.1.dist-info}/entry_points.txt +0 -0
envloop/training/__init__.py
CHANGED
|
@@ -1,72 +1,64 @@
|
|
|
1
|
-
"""Tinker public API with EnvLoop checkpoint paths
|
|
1
|
+
"""Tinker public API with EnvLoop checkpoint paths, included with envloop-cli.
|
|
2
2
|
|
|
3
3
|
Methods, futures, exceptions and authentication retain upstream semantics.
|
|
4
4
|
TrainingRun is the upstream data type, not an EnvLoop lifecycle API.
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
)
|
|
63
|
-
except ModuleNotFoundError as exc:
|
|
64
|
-
if exc.name != "tinker":
|
|
65
|
-
raise
|
|
66
|
-
raise ModuleNotFoundError(
|
|
67
|
-
'Training requires the optional dependency: pip install "envloop-cli[train]"',
|
|
68
|
-
name="tinker",
|
|
69
|
-
) from exc
|
|
7
|
+
from tinker import (
|
|
8
|
+
AdamOptimizerConfig as AdamOptimizerConfig,
|
|
9
|
+
AdamParams as AdamParams,
|
|
10
|
+
APIConnectionError as APIConnectionError,
|
|
11
|
+
APIError as APIError,
|
|
12
|
+
APIFuture as APIFuture,
|
|
13
|
+
APIResponseValidationError as APIResponseValidationError,
|
|
14
|
+
APIStatusError as APIStatusError,
|
|
15
|
+
APITimeoutError as APITimeoutError,
|
|
16
|
+
AuthenticationError as AuthenticationError,
|
|
17
|
+
BadRequestError as BadRequestError,
|
|
18
|
+
BillingError as BillingError,
|
|
19
|
+
Checkpoint as Checkpoint,
|
|
20
|
+
CheckpointType as CheckpointType,
|
|
21
|
+
ConflictError as ConflictError,
|
|
22
|
+
Datum as Datum,
|
|
23
|
+
DimuonOptimizerConfig as DimuonOptimizerConfig,
|
|
24
|
+
DimuonParams as DimuonParams,
|
|
25
|
+
DmelChunk as DmelChunk,
|
|
26
|
+
EncodedTextChunk as EncodedTextChunk,
|
|
27
|
+
ForwardBackwardOutput as ForwardBackwardOutput,
|
|
28
|
+
InternalServerError as InternalServerError,
|
|
29
|
+
LoraConfig as LoraConfig,
|
|
30
|
+
ModelID as ModelID,
|
|
31
|
+
ModelInput as ModelInput,
|
|
32
|
+
ModelInputChunk as ModelInputChunk,
|
|
33
|
+
NotFoundError as NotFoundError,
|
|
34
|
+
OptimParams as OptimParams,
|
|
35
|
+
OptimStepRequest as OptimStepRequest,
|
|
36
|
+
OptimStepResponse as OptimStepResponse,
|
|
37
|
+
ParsedCheckpointTinkerPath as ParsedCheckpointTinkerPath,
|
|
38
|
+
PermissionDeniedError as PermissionDeniedError,
|
|
39
|
+
PromptProvenanceSpan as PromptProvenanceSpan,
|
|
40
|
+
RateLimitError as RateLimitError,
|
|
41
|
+
RequestFailedError as RequestFailedError,
|
|
42
|
+
RequestOptions as RequestOptions,
|
|
43
|
+
SampledProvenanceSpan as SampledProvenanceSpan,
|
|
44
|
+
SampledSequence as SampledSequence,
|
|
45
|
+
SampleRequest as SampleRequest,
|
|
46
|
+
SampleResponse as SampleResponse,
|
|
47
|
+
SamplingClient as SamplingClient,
|
|
48
|
+
SamplingParams as SamplingParams,
|
|
49
|
+
StopReason as StopReason,
|
|
50
|
+
TensorData as TensorData,
|
|
51
|
+
TensorDtype as TensorDtype,
|
|
52
|
+
Timeout as Timeout,
|
|
53
|
+
TinkerError as TinkerError,
|
|
54
|
+
TrainingClient as TrainingClient,
|
|
55
|
+
TrainingRun as TrainingRun,
|
|
56
|
+
UnprocessableEntityError as UnprocessableEntityError,
|
|
57
|
+
__title__ as __title__,
|
|
58
|
+
__version__ as __version__,
|
|
59
|
+
auth as auth,
|
|
60
|
+
types as types,
|
|
61
|
+
)
|
|
70
62
|
|
|
71
63
|
from .service_client import ServiceClient as ServiceClient
|
|
72
64
|
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: envloop-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: EnvLoop CLI and Python SDK for jobs, training, checkpoints and inference
|
|
5
5
|
Project-URL: Homepage, https://envloop.ai
|
|
6
6
|
Project-URL: Documentation, https://docs.envloop.ai
|
|
7
7
|
Project-URL: Agent instructions, https://docs.envloop.ai/skill.md
|
|
8
8
|
Requires-Python: >=3.11
|
|
9
|
-
|
|
10
|
-
Requires-Dist: tinker==0.30.2; extra == 'train'
|
|
9
|
+
Requires-Dist: tinker==0.30.2
|
|
11
10
|
Description-Content-Type: text/markdown
|
|
12
11
|
|
|
13
12
|
# EnvLoop CLI and Python SDK
|
|
@@ -25,15 +24,13 @@ python -m pip install envloop-cli
|
|
|
25
24
|
el --help
|
|
26
25
|
```
|
|
27
26
|
|
|
28
|
-
|
|
27
|
+
The standard installation includes training support:
|
|
29
28
|
|
|
30
29
|
```bash
|
|
31
|
-
python -m pip install 'envloop-cli[train]'
|
|
32
30
|
python -c 'from envloop import Client, training; print("EnvLoop SDK ready")'
|
|
33
31
|
```
|
|
34
32
|
|
|
35
|
-
The
|
|
36
|
-
training protocol client. You do not need a source checkout, GitHub account,
|
|
33
|
+
The package installs the training protocol client by default. You do not need a source checkout, GitHub account,
|
|
37
34
|
local execution backend, Docker, or a GPU to install the client.
|
|
38
35
|
|
|
39
36
|
## Connect
|
|
@@ -13,12 +13,12 @@ envloop/navigation_resources.py,sha256=vbnWxtTjN4om1R3kvRBw-2Ps9j1wOZiCN1CHml-CK
|
|
|
13
13
|
envloop/resource_cli.py,sha256=CNoqU6BxBevsvgxgM1b1Xm3QkQtnQC6mV8mTW9RuKx0,10096
|
|
14
14
|
envloop/resources.py,sha256=0hvoAJE3MteKXnzFD937b8Y7H0IcW-YYPIU4fRq5d6U,9367
|
|
15
15
|
envloop/train.py,sha256=HUPpOiMdzSbiePjAQrYBbQTkfB5bUbZ3L5CAKxNo8zA,2419
|
|
16
|
-
envloop/training/__init__.py,sha256=
|
|
16
|
+
envloop/training/__init__.py,sha256=graR3Q3TlLBuoPOZf4fDjS8m_wchqvgpZAVC-84Nkxg,3507
|
|
17
17
|
envloop/training/credentials.py,sha256=yLy2M4ia8SAqrdIKZyF-glarVfWsKb99nSPS1RPK4EY,2447
|
|
18
18
|
envloop/training/service_client.py,sha256=8h0jzVghxUbUnyfo5jGbbgFB7NSmMIhTkjiF5YT3xjE,1831
|
|
19
19
|
envloop/utils/__init__.py,sha256=huB3qPQuKNr3JxfH3Ys09YWFtHiDamCHFsBa4epANgQ,25
|
|
20
20
|
envloop/utils/logging.py,sha256=rXN0qyxhfGEq4vWXxjwfaczPPZf_7atnOkkBTgNNRPc,1017
|
|
21
|
-
envloop_cli-0.2.
|
|
22
|
-
envloop_cli-0.2.
|
|
23
|
-
envloop_cli-0.2.
|
|
24
|
-
envloop_cli-0.2.
|
|
21
|
+
envloop_cli-0.2.1.dist-info/METADATA,sha256=4QpkjF6aURmHouYDNTUHS1sQmW-fb6sI_jkI3tgBjZo,3094
|
|
22
|
+
envloop_cli-0.2.1.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
23
|
+
envloop_cli-0.2.1.dist-info/entry_points.txt,sha256=8aXOpgtVk4GndhChA4XNecShkb1w0xGHBHrKla78ofI,67
|
|
24
|
+
envloop_cli-0.2.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|