wandb 0.19.11__py3-none-win32.whl → 0.19.12rc1__py3-none-win32.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.
- wandb/__init__.py +1 -1
- wandb/__init__.pyi +1 -1
- wandb/bin/gpu_stats.exe +0 -0
- wandb/bin/wandb-core +0 -0
- wandb/sdk/lib/service_connection.py +16 -20
- wandb/sdk/wandb_setup.py +3 -3
- {wandb-0.19.11.dist-info → wandb-0.19.12rc1.dist-info}/METADATA +1 -1
- {wandb-0.19.11.dist-info → wandb-0.19.12rc1.dist-info}/RECORD +11 -11
- {wandb-0.19.11.dist-info → wandb-0.19.12rc1.dist-info}/WHEEL +0 -0
- {wandb-0.19.11.dist-info → wandb-0.19.12rc1.dist-info}/entry_points.txt +0 -0
- {wandb-0.19.11.dist-info → wandb-0.19.12rc1.dist-info}/licenses/LICENSE +0 -0
wandb/__init__.py
CHANGED
wandb/__init__.pyi
CHANGED
wandb/bin/gpu_stats.exe
CHANGED
Binary file
|
wandb/bin/wandb-core
CHANGED
Binary file
|
@@ -18,10 +18,6 @@ from wandb.sdk.mailbox import HandleAbandonedError, Mailbox, MailboxClosedError
|
|
18
18
|
from wandb.sdk.service import service
|
19
19
|
|
20
20
|
|
21
|
-
class WandbServiceNotOwnedError(Exception):
|
22
|
-
"""Raised when the current process does not own the service process."""
|
23
|
-
|
24
|
-
|
25
21
|
class WandbServiceConnectionError(Exception):
|
26
22
|
"""Raised on failure to connect to the service process."""
|
27
23
|
|
@@ -196,35 +192,35 @@ class ServiceConnection:
|
|
196
192
|
request._info.stream_id = run_id
|
197
193
|
self._client.send_server_request(spb.ServerRequest(inform_start=request))
|
198
194
|
|
199
|
-
def teardown(self, exit_code: int) -> int:
|
200
|
-
"""
|
195
|
+
def teardown(self, exit_code: int) -> int | None:
|
196
|
+
"""Close the connection.
|
197
|
+
|
198
|
+
Stop reading responses on the connection, and if this connection owns
|
199
|
+
the service process, send a teardown message and wait for it to shut
|
200
|
+
down.
|
201
201
|
|
202
202
|
This may only be called once.
|
203
203
|
|
204
204
|
Returns:
|
205
|
-
The exit code of the service process
|
206
|
-
|
207
|
-
Raises:
|
208
|
-
WandbServiceNotOwnedError: If the current process did not start
|
209
|
-
the service process.
|
205
|
+
The exit code of the service process, or None if the process was
|
206
|
+
not owned by this connection.
|
210
207
|
"""
|
211
|
-
if
|
212
|
-
raise
|
213
|
-
"Cannot tear down service started by different process",
|
214
|
-
)
|
215
|
-
|
216
|
-
assert not self._torn_down
|
208
|
+
if self._torn_down:
|
209
|
+
raise AssertionError("Already torn down.")
|
217
210
|
self._torn_down = True
|
218
211
|
|
219
212
|
if self._cleanup:
|
220
213
|
self._cleanup()
|
221
214
|
|
222
|
-
# Clear the service token to prevent new connections from being made.
|
223
|
-
service_token.clear_service_token()
|
224
|
-
|
225
215
|
# Stop reading responses on the socket.
|
226
216
|
self._router.join()
|
227
217
|
|
218
|
+
if not self._proc:
|
219
|
+
return None
|
220
|
+
|
221
|
+
# Clear the service token to prevent new connections to the process.
|
222
|
+
service_token.clear_service_token()
|
223
|
+
|
228
224
|
self._client.send_server_request(
|
229
225
|
spb.ServerRequest(
|
230
226
|
inform_teardown=spb.ServerInformTeardownRequest(
|
wandb/sdk/wandb_setup.py
CHANGED
@@ -307,12 +307,12 @@ class _WandbSetup:
|
|
307
307
|
if not self._connection:
|
308
308
|
return
|
309
309
|
|
310
|
-
internal_exit_code = self._connection.teardown(exit_code or 0)
|
311
|
-
|
312
310
|
# Reset to None so that setup() creates a new connection.
|
311
|
+
connection = self._connection
|
313
312
|
self._connection = None
|
314
313
|
|
315
|
-
|
314
|
+
internal_exit_code = connection.teardown(exit_code or 0)
|
315
|
+
if internal_exit_code not in (None, 0):
|
316
316
|
sys.exit(internal_exit_code)
|
317
317
|
|
318
318
|
def ensure_service(self) -> ServiceConnection:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: wandb
|
3
|
-
Version: 0.19.
|
3
|
+
Version: 0.19.12rc1
|
4
4
|
Summary: A CLI and library for interacting with the Weights & Biases API.
|
5
5
|
Project-URL: Source, https://github.com/wandb/wandb
|
6
6
|
Project-URL: Bug Reports, https://github.com/wandb/wandb/issues
|
@@ -1,6 +1,6 @@
|
|
1
1
|
package_readme.md,sha256=XGlaq8rMFcoBb21rCr2d5qeSM79ZI4WslLmXqRimTGQ,4395
|
2
|
-
wandb/__init__.py,sha256=
|
3
|
-
wandb/__init__.pyi,sha256=
|
2
|
+
wandb/__init__.py,sha256=tAaz7mz-DAVM4jigXhYK67XDgXcFlljHU9NRdglQtAI,7401
|
3
|
+
wandb/__init__.pyi,sha256=oWPIEgFskYrtNRUTfEuaWj5vWoBQ0TYPFbevwBZYLvw,49583
|
4
4
|
wandb/__main__.py,sha256=uHY6OxHT6RtTH34zC8_UC1GsCTkndgbdsHXv-t7dOMI,67
|
5
5
|
wandb/_iterutils.py,sha256=6c5yuQq0DKgw1D__OVbXQzOfk53ETZTfj27r7azDMgA,1591
|
6
6
|
wandb/data_types.py,sha256=DdCkf7Dh_j86Q74FWzh3M20EW_hzKpNagexjo03qv-A,2349
|
@@ -86,8 +86,8 @@ wandb/automations/_generated/operations.py,sha256=V0n3PZ_e754Ym8IraYjFzLWg0wqnA_
|
|
86
86
|
wandb/automations/_generated/slack_integrations_by_entity.py,sha256=95llPwkGxKrwX4R6ze9IxzmMuyLpIWoperLUy-hKsE0,558
|
87
87
|
wandb/automations/_generated/update_automation.py,sha256=9SvGNXYK7fEZdhztonzRcMiJ8Yqps-42hKB16CUOFYI,357
|
88
88
|
wandb/beta/workflows.py,sha256=bi-Aa8j4sbRCgUsnwA5JkkimvZFDn5pkWjes2PMHk3I,10681
|
89
|
-
wandb/bin/gpu_stats.exe,sha256=
|
90
|
-
wandb/bin/wandb-core,sha256=
|
89
|
+
wandb/bin/gpu_stats.exe,sha256=SzgBH1nvyueiJ07RC7XeUt_qtE_hXGPvUQfA4ReJ24E,8165376
|
90
|
+
wandb/bin/wandb-core,sha256=EbIAEqbaouD7yIVS3rCAxqEgQGYSr7F1zr7qkfQgXm8,50461184
|
91
91
|
wandb/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
92
92
|
wandb/cli/beta.py,sha256=_wbqhk6J2yjnNuVQAGlYbYZ9-j0sFE73zMIXVkQYlXA,5619
|
93
93
|
wandb/cli/cli.py,sha256=9g15LV88C-7uW5ChXixhHqhYWW5RTbB2mcEl9NFcTtg,95415
|
@@ -254,7 +254,7 @@ wandb/sdk/wandb_require.py,sha256=zDdqyA6FPh1rUNFLQOmNBZtK8VZSKoVK4WyYa3bI3gU,32
|
|
254
254
|
wandb/sdk/wandb_require_helpers.py,sha256=4PUXmVw86_XaKj3rn20s5DAjBMO8L0m26KqnTLaQJNc,1375
|
255
255
|
wandb/sdk/wandb_run.py,sha256=IQyR6J1mszxtLAtHaWIPRTaKDB7glOGbFU_bTqXwNt4,162394
|
256
256
|
wandb/sdk/wandb_settings.py,sha256=UFQ2qsDXFkdQNRV153vfgXuk_WxOrbLqGhlL5A_HfQI,66630
|
257
|
-
wandb/sdk/wandb_setup.py,sha256=
|
257
|
+
wandb/sdk/wandb_setup.py,sha256=0FRxcBpzksR6iei7a9jZ93MaQ9QbvO7sS_Feo3GaMb4,15705
|
258
258
|
wandb/sdk/wandb_summary.py,sha256=eEV3hvHhbc1XQus0MUqFmvhXCzd3SPjvVVVg_fVZ1QM,4686
|
259
259
|
wandb/sdk/wandb_sweep.py,sha256=FhjfRmWS_Ffn7CwT9kjVAnvTJFnaB50mUwaGOLb2WrU,4147
|
260
260
|
wandb/sdk/wandb_sync.py,sha256=Bk1X5a2RgpdB24trwwW1fLC1sEKET87ySCH84T-kgf4,2177
|
@@ -488,7 +488,7 @@ wandb/sdk/lib/retry.py,sha256=LwZZTfhHBexX21FCcHo7AShA-5i7sJg78vIpcTXMAVE,10465
|
|
488
488
|
wandb/sdk/lib/run_moment.py,sha256=ucyrtSaudHHFLrJCQl7r230UnvUU1gsArIu3iAj0T6k,2503
|
489
489
|
wandb/sdk/lib/runid.py,sha256=rHYRTjJu8gTZ6Aoo0WZ5jQfAtNLXQo6aY6PD-i3Fh6I,404
|
490
490
|
wandb/sdk/lib/server.py,sha256=f8idM8TiJKS1nYTjijhVkzOTp8e2flNpLUWcZ2K08f0,1681
|
491
|
-
wandb/sdk/lib/service_connection.py,sha256=
|
491
|
+
wandb/sdk/lib/service_connection.py,sha256=8zFG0pE0I0lvS7L025SCRDYwSHZCE8WcK7TCQQgpslA,7584
|
492
492
|
wandb/sdk/lib/service_token.py,sha256=GC8onzk44uphA5l5hHs8RZmQ7Auo7-Dx-KhCWOFYH9g,2565
|
493
493
|
wandb/sdk/lib/sock_client.py,sha256=efSlg-mMthwQqicZtE-8-C8InDWbaUJLbu4sH6dbdt8,8623
|
494
494
|
wandb/sdk/lib/sparkline.py,sha256=CivfHHGPrbnnacpfjsoYUrCtX6Xz7AHoybEeOuWeEI0,1407
|
@@ -905,8 +905,8 @@ wandb/vendor/watchdog_0_9_0/wandb_watchdog/utils/importlib2.py,sha256=kX0rdVmTDL
|
|
905
905
|
wandb/vendor/watchdog_0_9_0/wandb_watchdog/utils/platform.py,sha256=7fpTDfxSYvSRtHvyog-plRdLR5A6k1QVY_AL0gVhhPM,1563
|
906
906
|
wandb/vendor/watchdog_0_9_0/wandb_watchdog/utils/unicode_paths.py,sha256=xzyQmuba2gns1s3Qemu9SXaKV5zeTL3TP9--xOi541g,2254
|
907
907
|
wandb/vendor/watchdog_0_9_0/wandb_watchdog/utils/win32stat.py,sha256=R48kuuEIi7XzCJBJ6Xo7v6DJIbOP5EwcsWaPf5Axn_g,3951
|
908
|
-
wandb-0.19.
|
909
|
-
wandb-0.19.
|
910
|
-
wandb-0.19.
|
911
|
-
wandb-0.19.
|
912
|
-
wandb-0.19.
|
908
|
+
wandb-0.19.12rc1.dist-info/METADATA,sha256=6_-6ZD4DcnylO-nhLQ4d4E5oBwkiwCvym50u4qW7EP8,10262
|
909
|
+
wandb-0.19.12rc1.dist-info/WHEEL,sha256=F7luzo77gHneG2SMTaD6iIlqNT8oVz1uotn5Zigp4o8,89
|
910
|
+
wandb-0.19.12rc1.dist-info/entry_points.txt,sha256=v4FCOZ9gW7Pc6KLsmgQqpCiKTrA1wh2XHmNf-NUP1-I,67
|
911
|
+
wandb-0.19.12rc1.dist-info/licenses/LICENSE,sha256=rJ7p1acqNi17WFOAJ9WqsImXZtKZDA3i_gzdDVGRuFQ,1102
|
912
|
+
wandb-0.19.12rc1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|