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.
@@ -1,72 +1,64 @@
1
- """Tinker public API with EnvLoop checkpoint paths; install envloop-cli[train].
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
- try:
8
- from tinker import (
9
- AdamOptimizerConfig as AdamOptimizerConfig,
10
- AdamParams as AdamParams,
11
- APIConnectionError as APIConnectionError,
12
- APIError as APIError,
13
- APIFuture as APIFuture,
14
- APIResponseValidationError as APIResponseValidationError,
15
- APIStatusError as APIStatusError,
16
- APITimeoutError as APITimeoutError,
17
- AuthenticationError as AuthenticationError,
18
- BadRequestError as BadRequestError,
19
- BillingError as BillingError,
20
- Checkpoint as Checkpoint,
21
- CheckpointType as CheckpointType,
22
- ConflictError as ConflictError,
23
- Datum as Datum,
24
- DimuonOptimizerConfig as DimuonOptimizerConfig,
25
- DimuonParams as DimuonParams,
26
- DmelChunk as DmelChunk,
27
- EncodedTextChunk as EncodedTextChunk,
28
- ForwardBackwardOutput as ForwardBackwardOutput,
29
- InternalServerError as InternalServerError,
30
- LoraConfig as LoraConfig,
31
- ModelID as ModelID,
32
- ModelInput as ModelInput,
33
- ModelInputChunk as ModelInputChunk,
34
- NotFoundError as NotFoundError,
35
- OptimParams as OptimParams,
36
- OptimStepRequest as OptimStepRequest,
37
- OptimStepResponse as OptimStepResponse,
38
- ParsedCheckpointTinkerPath as ParsedCheckpointTinkerPath,
39
- PermissionDeniedError as PermissionDeniedError,
40
- PromptProvenanceSpan as PromptProvenanceSpan,
41
- RateLimitError as RateLimitError,
42
- RequestFailedError as RequestFailedError,
43
- RequestOptions as RequestOptions,
44
- SampledProvenanceSpan as SampledProvenanceSpan,
45
- SampledSequence as SampledSequence,
46
- SampleRequest as SampleRequest,
47
- SampleResponse as SampleResponse,
48
- SamplingClient as SamplingClient,
49
- SamplingParams as SamplingParams,
50
- StopReason as StopReason,
51
- TensorData as TensorData,
52
- TensorDtype as TensorDtype,
53
- Timeout as Timeout,
54
- TinkerError as TinkerError,
55
- TrainingClient as TrainingClient,
56
- TrainingRun as TrainingRun,
57
- UnprocessableEntityError as UnprocessableEntityError,
58
- __title__ as __title__,
59
- __version__ as __version__,
60
- auth as auth,
61
- types as types,
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.0
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
- Provides-Extra: train
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
- For Python training workflows, install the optional training dependency:
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 base client uses Python's standard library. The training extra installs 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=cWLIE-ymPZxpGIBbc-aZNRbHfcXx-QxXqkJyQrK1RwM,3967
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.0.dist-info/METADATA,sha256=gAUzJ5ICCUl_EhQtxGD73ObF4UwvuP30GIte2erfPcU,3241
22
- envloop_cli-0.2.0.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
23
- envloop_cli-0.2.0.dist-info/entry_points.txt,sha256=8aXOpgtVk4GndhChA4XNecShkb1w0xGHBHrKla78ofI,67
24
- envloop_cli-0.2.0.dist-info/RECORD,,
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,,