together 1.5.34__tar.gz → 1.5.35__tar.gz

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.
Files changed (76) hide show
  1. {together-1.5.34 → together-1.5.35}/PKG-INFO +1 -1
  2. {together-1.5.34 → together-1.5.35}/pyproject.toml +1 -1
  3. {together-1.5.34 → together-1.5.35}/src/together/cli/api/endpoints.py +3 -1
  4. {together-1.5.34 → together-1.5.35}/src/together/cli/api/utils.py +5 -5
  5. {together-1.5.34 → together-1.5.35}/src/together/resources/endpoints.py +13 -0
  6. {together-1.5.34 → together-1.5.35}/src/together/types/finetune.py +1 -0
  7. {together-1.5.34 → together-1.5.35}/LICENSE +0 -0
  8. {together-1.5.34 → together-1.5.35}/README.md +0 -0
  9. {together-1.5.34 → together-1.5.35}/src/together/__init__.py +0 -0
  10. {together-1.5.34 → together-1.5.35}/src/together/abstract/__init__.py +0 -0
  11. {together-1.5.34 → together-1.5.35}/src/together/abstract/api_requestor.py +0 -0
  12. {together-1.5.34 → together-1.5.35}/src/together/cli/__init__.py +0 -0
  13. {together-1.5.34 → together-1.5.35}/src/together/cli/api/__init__.py +0 -0
  14. {together-1.5.34 → together-1.5.35}/src/together/cli/api/chat.py +0 -0
  15. {together-1.5.34 → together-1.5.35}/src/together/cli/api/completions.py +0 -0
  16. {together-1.5.34 → together-1.5.35}/src/together/cli/api/evaluation.py +0 -0
  17. {together-1.5.34 → together-1.5.35}/src/together/cli/api/files.py +0 -0
  18. {together-1.5.34 → together-1.5.35}/src/together/cli/api/finetune.py +0 -0
  19. {together-1.5.34 → together-1.5.35}/src/together/cli/api/images.py +0 -0
  20. {together-1.5.34 → together-1.5.35}/src/together/cli/api/models.py +0 -0
  21. {together-1.5.34 → together-1.5.35}/src/together/cli/cli.py +0 -0
  22. {together-1.5.34 → together-1.5.35}/src/together/client.py +0 -0
  23. {together-1.5.34 → together-1.5.35}/src/together/constants.py +0 -0
  24. {together-1.5.34 → together-1.5.35}/src/together/error.py +0 -0
  25. {together-1.5.34 → together-1.5.35}/src/together/filemanager.py +0 -0
  26. {together-1.5.34 → together-1.5.35}/src/together/legacy/__init__.py +0 -0
  27. {together-1.5.34 → together-1.5.35}/src/together/legacy/base.py +0 -0
  28. {together-1.5.34 → together-1.5.35}/src/together/legacy/complete.py +0 -0
  29. {together-1.5.34 → together-1.5.35}/src/together/legacy/embeddings.py +0 -0
  30. {together-1.5.34 → together-1.5.35}/src/together/legacy/files.py +0 -0
  31. {together-1.5.34 → together-1.5.35}/src/together/legacy/finetune.py +0 -0
  32. {together-1.5.34 → together-1.5.35}/src/together/legacy/images.py +0 -0
  33. {together-1.5.34 → together-1.5.35}/src/together/legacy/models.py +0 -0
  34. {together-1.5.34 → together-1.5.35}/src/together/resources/__init__.py +0 -0
  35. {together-1.5.34 → together-1.5.35}/src/together/resources/audio/__init__.py +0 -0
  36. {together-1.5.34 → together-1.5.35}/src/together/resources/audio/speech.py +0 -0
  37. {together-1.5.34 → together-1.5.35}/src/together/resources/audio/transcriptions.py +0 -0
  38. {together-1.5.34 → together-1.5.35}/src/together/resources/audio/translations.py +0 -0
  39. {together-1.5.34 → together-1.5.35}/src/together/resources/audio/voices.py +0 -0
  40. {together-1.5.34 → together-1.5.35}/src/together/resources/batch.py +0 -0
  41. {together-1.5.34 → together-1.5.35}/src/together/resources/chat/__init__.py +0 -0
  42. {together-1.5.34 → together-1.5.35}/src/together/resources/chat/completions.py +0 -0
  43. {together-1.5.34 → together-1.5.35}/src/together/resources/code_interpreter.py +0 -0
  44. {together-1.5.34 → together-1.5.35}/src/together/resources/completions.py +0 -0
  45. {together-1.5.34 → together-1.5.35}/src/together/resources/embeddings.py +0 -0
  46. {together-1.5.34 → together-1.5.35}/src/together/resources/evaluation.py +0 -0
  47. {together-1.5.34 → together-1.5.35}/src/together/resources/files.py +0 -0
  48. {together-1.5.34 → together-1.5.35}/src/together/resources/finetune.py +0 -0
  49. {together-1.5.34 → together-1.5.35}/src/together/resources/images.py +0 -0
  50. {together-1.5.34 → together-1.5.35}/src/together/resources/models.py +0 -0
  51. {together-1.5.34 → together-1.5.35}/src/together/resources/rerank.py +0 -0
  52. {together-1.5.34 → together-1.5.35}/src/together/resources/videos.py +0 -0
  53. {together-1.5.34 → together-1.5.35}/src/together/together_response.py +0 -0
  54. {together-1.5.34 → together-1.5.35}/src/together/types/__init__.py +0 -0
  55. {together-1.5.34 → together-1.5.35}/src/together/types/abstract.py +0 -0
  56. {together-1.5.34 → together-1.5.35}/src/together/types/audio_speech.py +0 -0
  57. {together-1.5.34 → together-1.5.35}/src/together/types/batch.py +0 -0
  58. {together-1.5.34 → together-1.5.35}/src/together/types/chat_completions.py +0 -0
  59. {together-1.5.34 → together-1.5.35}/src/together/types/code_interpreter.py +0 -0
  60. {together-1.5.34 → together-1.5.35}/src/together/types/common.py +0 -0
  61. {together-1.5.34 → together-1.5.35}/src/together/types/completions.py +0 -0
  62. {together-1.5.34 → together-1.5.35}/src/together/types/embeddings.py +0 -0
  63. {together-1.5.34 → together-1.5.35}/src/together/types/endpoints.py +0 -0
  64. {together-1.5.34 → together-1.5.35}/src/together/types/error.py +0 -0
  65. {together-1.5.34 → together-1.5.35}/src/together/types/evaluation.py +0 -0
  66. {together-1.5.34 → together-1.5.35}/src/together/types/files.py +0 -0
  67. {together-1.5.34 → together-1.5.35}/src/together/types/images.py +0 -0
  68. {together-1.5.34 → together-1.5.35}/src/together/types/models.py +0 -0
  69. {together-1.5.34 → together-1.5.35}/src/together/types/rerank.py +0 -0
  70. {together-1.5.34 → together-1.5.35}/src/together/types/videos.py +0 -0
  71. {together-1.5.34 → together-1.5.35}/src/together/utils/__init__.py +0 -0
  72. {together-1.5.34 → together-1.5.35}/src/together/utils/_log.py +0 -0
  73. {together-1.5.34 → together-1.5.35}/src/together/utils/api_helpers.py +0 -0
  74. {together-1.5.34 → together-1.5.35}/src/together/utils/files.py +0 -0
  75. {together-1.5.34 → together-1.5.35}/src/together/utils/tools.py +0 -0
  76. {together-1.5.34 → together-1.5.35}/src/together/version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: together
3
- Version: 1.5.34
3
+ Version: 1.5.35
4
4
  Summary: Python client for Together's Cloud Platform! Note: SDK 2.0 is now available at https://github.com/togethercomputer/together-py
5
5
  License: Apache-2.0
6
6
  License-File: LICENSE
@@ -12,7 +12,7 @@ build-backend = "poetry.masonry.api"
12
12
 
13
13
  [tool.poetry]
14
14
  name = "together"
15
- version = "1.5.34"
15
+ version = "1.5.35"
16
16
  authors = ["Together AI <support@together.ai>"]
17
17
  description = "Python client for Together's Cloud Platform! Note: SDK 2.0 is now available at https://github.com/togethercomputer/together-py"
18
18
  readme = "README.md"
@@ -98,7 +98,7 @@ def endpoints(ctx: click.Context) -> None:
98
98
  )
99
99
  @click.option(
100
100
  "--gpu",
101
- type=click.Choice(["h100", "a100", "l40", "l40s", "rtx-6000"]),
101
+ type=click.Choice(["b200", "h200", "h100", "a100", "l40", "l40s", "rtx-6000"]),
102
102
  required=True,
103
103
  help="GPU type to use for inference",
104
104
  )
@@ -161,6 +161,8 @@ def create(
161
161
  """Create a new dedicated inference endpoint."""
162
162
  # Map GPU types to their full hardware ID names
163
163
  gpu_map = {
164
+ "b200": "nvidia_b200_180gb_sxm",
165
+ "h200": "nvidia_h200_140gb_sxm",
164
166
  "h100": "nvidia_h100_80gb_sxm",
165
167
  "a100": "nvidia_a100_80gb_pcie" if gpu_count == 1 else "nvidia_a100_80gb_sxm",
166
168
  "l40": "nvidia_l40",
@@ -103,13 +103,13 @@ def generate_progress_bar(
103
103
  progress = "Progress: [bold red]unavailable[/bold red]"
104
104
  if finetune_job.status in COMPLETED_STATUSES:
105
105
  progress = "Progress: [bold green]completed[/bold green]"
106
- elif finetune_job.updated_at is not None:
106
+ elif finetune_job.started_at is not None:
107
107
  # Replace 'Z' with '+00:00' for Python 3.10 compatibility
108
- updated_at_str = finetune_job.updated_at.replace("Z", "+00:00")
109
- update_at = datetime.fromisoformat(updated_at_str).astimezone()
108
+ started_at_str = finetune_job.started_at.replace("Z", "+00:00")
109
+ started_at = datetime.fromisoformat(started_at_str).astimezone()
110
110
 
111
111
  if finetune_job.progress is not None:
112
- if current_time < update_at:
112
+ if current_time < started_at:
113
113
  return progress
114
114
 
115
115
  if not finetune_job.progress.estimate_available:
@@ -118,7 +118,7 @@ def generate_progress_bar(
118
118
  if finetune_job.progress.seconds_remaining <= 0:
119
119
  return progress
120
120
 
121
- elapsed_time = (current_time - update_at).total_seconds()
121
+ elapsed_time = (current_time - started_at).total_seconds()
122
122
  ratio_filled = min(
123
123
  elapsed_time / finetune_job.progress.seconds_remaining, 1.0
124
124
  )
@@ -1,5 +1,6 @@
1
1
  from __future__ import annotations
2
2
 
3
+ import warnings
3
4
  from typing import Dict, List, Literal, Optional, Union
4
5
 
5
6
  from together.abstract import api_requestor
@@ -96,6 +97,12 @@ class Endpoints:
96
97
  Returns:
97
98
  DedicatedEndpoint: Object containing endpoint information
98
99
  """
100
+ if disable_prompt_cache:
101
+ warnings.warn(
102
+ "The 'disable_prompt_cache' parameter (CLI flag: '--no-prompt-cache') is deprecated and will be removed in a future version.",
103
+ stacklevel=2,
104
+ )
105
+
99
106
  requestor = api_requestor.APIRequestor(
100
107
  client=self._client,
101
108
  )
@@ -389,6 +396,12 @@ class AsyncEndpoints:
389
396
  Returns:
390
397
  DedicatedEndpoint: Object containing endpoint information
391
398
  """
399
+ if disable_prompt_cache:
400
+ warnings.warn(
401
+ "The 'disable_prompt_cache' parameter (CLI flag: '--no-prompt-cache') is deprecated and will be removed in a future version.",
402
+ stacklevel=2,
403
+ )
404
+
392
405
  requestor = api_requestor.APIRequestor(
393
406
  client=self._client,
394
407
  )
@@ -286,6 +286,7 @@ class FinetuneResponse(BaseModel):
286
286
  # created/updated datetime stamps
287
287
  created_at: str | None = None
288
288
  updated_at: str | None = None
289
+ started_at: str | None = None
289
290
  # job status
290
291
  status: FinetuneJobStatus | None = None
291
292
  # job id
File without changes
File without changes