wandb 0.18.6__py3-none-any.whl → 0.18.7__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. wandb/__init__.py +1 -1
  2. wandb/__init__.pyi +2 -2
  3. wandb/apis/public/api.py +5 -1
  4. wandb/proto/v3/wandb_settings_pb2.py +2 -2
  5. wandb/proto/v3/wandb_telemetry_pb2.py +4 -4
  6. wandb/proto/v4/wandb_settings_pb2.py +2 -2
  7. wandb/proto/v4/wandb_telemetry_pb2.py +4 -4
  8. wandb/proto/v5/wandb_settings_pb2.py +2 -2
  9. wandb/proto/v5/wandb_telemetry_pb2.py +4 -4
  10. wandb/proto/wandb_deprecated.py +2 -0
  11. wandb/sdk/artifacts/artifact.py +1 -1
  12. wandb/sdk/data_types/base_types/wb_value.py +20 -10
  13. wandb/sdk/interface/interface_queue.py +0 -6
  14. wandb/sdk/interface/router.py +1 -2
  15. wandb/sdk/interface/router_queue.py +0 -3
  16. wandb/sdk/interface/router_relay.py +0 -2
  17. wandb/sdk/internal/handler.py +1 -3
  18. wandb/sdk/internal/internal.py +0 -14
  19. wandb/sdk/internal/internal_util.py +0 -3
  20. wandb/sdk/internal/sender.py +0 -2
  21. wandb/sdk/internal/writer.py +1 -3
  22. wandb/sdk/launch/__init__.py +2 -1
  23. wandb/sdk/lib/_settings_toposort_generated.py +1 -0
  24. wandb/sdk/lib/sock_client.py +0 -5
  25. wandb/sdk/service/server.py +2 -11
  26. wandb/sdk/service/server_sock.py +0 -2
  27. wandb/sdk/wandb_run.py +44 -50
  28. wandb/sdk/wandb_settings.py +20 -2
  29. wandb/sdk/wandb_setup.py +1 -5
  30. wandb/util.py +3 -3
  31. {wandb-0.18.6.dist-info → wandb-0.18.7.dist-info}/METADATA +1 -2
  32. {wandb-0.18.6.dist-info → wandb-0.18.7.dist-info}/RECORD +35 -36
  33. {wandb-0.18.6.dist-info → wandb-0.18.7.dist-info}/WHEEL +1 -1
  34. wandb/sdk/lib/tracelog.py +0 -255
  35. {wandb-0.18.6.dist-info → wandb-0.18.7.dist-info}/entry_points.txt +0 -0
  36. {wandb-0.18.6.dist-info → wandb-0.18.7.dist-info}/licenses/LICENSE +0 -0
@@ -1,6 +1,6 @@
1
1
  package_readme.md,sha256=1v4WgKja-54kllY4clEr85vGFQAGaCo-JrtTZfsG4zM,3864
2
- wandb/__init__.py,sha256=GaQ8fWNs_-lETyKei24451nwZc_-sz_EeokEcYs9SQo,7227
3
- wandb/__init__.pyi,sha256=nDtg72uLmLfz-E9bTz00yQxhPWJQGJAxmvnpcg4wg7I,44641
2
+ wandb/__init__.py,sha256=x5js4OoC4s-jX_UYapYxmUBFcNuVlW_16GRzsIFMEM8,7227
3
+ wandb/__init__.pyi,sha256=Pl22-PMcH1qZ1u7w-DTOY3YX93k47Xb1eiTJ76BRktM,44671
4
4
  wandb/__main__.py,sha256=gripuDgB7J8wMMeJt4CIBRjn1BMSFr5zvsrt585Pnj4,64
5
5
  wandb/_globals.py,sha256=CccwOAls5bxJArYHg12b08ZeKR8Qu9u57GtYWjBH0o0,702
6
6
  wandb/data_types.py,sha256=tjxcQ8padGuGxST192PyEDX_nhU__izHcAK-kaSyevI,2276
@@ -10,7 +10,7 @@ wandb/magic.py,sha256=YVSQmkrtlQ56p-VqkwjiPGNBa694UvPALxc4yp6RiLk,59
10
10
  wandb/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  wandb/sklearn.py,sha256=hbPkefhS39A1RRymn0nHZZmKM2TrOd4xjlkthTZe9pY,803
12
12
  wandb/trigger.py,sha256=PaitU3sX6ekGkd2R8iD6d_VtI72ypF7LaPBXh3rXY7Q,615
13
- wandb/util.py,sha256=7p4A73Imepx5oWbcEiSDy1LKcMMVlzD2tmU16m8362c,63140
13
+ wandb/util.py,sha256=h34Ns_Cy0JD6FEiQw5tLfgBlEbE-B1uyD4x_QkckoT4,63081
14
14
  wandb/wandb_agent.py,sha256=s2GiDjB15j0arw15Bf4xEvQWmwt8mpZdr5w0w-LTjQg,21076
15
15
  wandb/wandb_controller.py,sha256=cjm-HX1F-SpNfL4htAuQcmSqzlmd-kFyg6D0yQmj-uY,24907
16
16
  wandb/wandb_run.py,sha256=CNh9S6uubFk8FphQjzkbvedyyGCN9aBEsRBKjy8tqqs,155
@@ -31,7 +31,7 @@ wandb/apis/importers/internals/internal.py,sha256=BWA3gcRS1tlEAKDUJTnZ5hUjEgNAJi
31
31
  wandb/apis/importers/internals/protocols.py,sha256=MSEEs9pmMZRJRaDEFp07owqWX8p_vIfC6_Bud59E7Kk,2977
32
32
  wandb/apis/importers/internals/util.py,sha256=HvphFwhSxuYqg0omNhfP1GwZV6UzZN-m85CNaSUZXQs,2083
33
33
  wandb/apis/public/__init__.py,sha256=ldsy9V8UQlRnsIf9E4qRMtYIdH89oQ8eiYThQsphXks,1070
34
- wandb/apis/public/api.py,sha256=v8i83lcnVRUB_6N4IzvxVsUa9Aa3hZtnvSl2_YLKsJo,51561
34
+ wandb/apis/public/api.py,sha256=juyIFB2vNI7UjbUMwm-_ND41pD5gFVHydG8BQZ_mp94,51653
35
35
  wandb/apis/public/artifacts.py,sha256=ZO6vt4Qs2N8GerR8vM5Wv8Bx-mfG8tAA-FXHs5czDRk,33902
36
36
  wandb/apis/public/const.py,sha256=icNtcS3gTCtvevLWuTOCqm0FHEfLQ0P80mA69dWeEXs,121
37
37
  wandb/apis/public/files.py,sha256=xX7hb3gmHZoVSiw08SB-W3T0kcjqnzsg5ipI9EjL4Lo,6270
@@ -177,7 +177,7 @@ wandb/plot/utils.py,sha256=Ri1W9_NYQijFcPv9BfGLGMKdQk_AZ8dnw1TiHJ0LANE,6803
177
177
  wandb/plot/viz.py,sha256=ni1MTkt3k1TxSqArdIR_sVcD1cV0j9eKmJdX0QlBcOM,943
178
178
  wandb/proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
179
179
  wandb/proto/wandb_base_pb2.py,sha256=HjakgSUcYSm6X7B-nvckrmMjaUKGuUh_KE97AuFBat8,307
180
- wandb/proto/wandb_deprecated.py,sha256=TzajfudC8s2ihtSmeRLVj_jmvsOxw_hFsQhrFPXYCQI,1988
180
+ wandb/proto/wandb_deprecated.py,sha256=ILshi4PsEpcfyPiMYHVbpTeKf6uzVooCT26E5ppx1hE,2078
181
181
  wandb/proto/wandb_generate_deprecated.py,sha256=emT11ZJbjUU0wfhAS6l6AokaXyy9ekVEF1jOHR6I5kE,1156
182
182
  wandb/proto/wandb_generate_proto.py,sha256=KO1hlAUBGHQRNKsddhcSXvh5a6rmFM3kshKTWftbWwY,1278
183
183
  wandb/proto/wandb_internal_pb2.py,sha256=nIbQS1O4z7n2U0SWGxViHUnjReEBblhht3rZ7pQ0MTs,542
@@ -188,19 +188,19 @@ wandb/proto/v3/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
188
188
  wandb/proto/v3/wandb_base_pb2.py,sha256=_nsr_HW4Fdz62-KiXGo6Dw0_9bwdXz07auZkkH2QfSI,2355
189
189
  wandb/proto/v3/wandb_internal_pb2.py,sha256=sbxE-0jaPbV3niI6ZwnPpwVexbMOPdn4ZML9PsyUktI,111455
190
190
  wandb/proto/v3/wandb_server_pb2.py,sha256=v_A6xNDUCKToBeUTgr1b6sqo51-PdqBEgLLKu8oloSU,15442
191
- wandb/proto/v3/wandb_settings_pb2.py,sha256=LW7OwZQlKtu2hZ1FZL0YC19iVdkIF16WdXEuyIRBjqU,20001
192
- wandb/proto/v3/wandb_telemetry_pb2.py,sha256=oJY8DOl3qdn-G2fUmzYKK1qiEaoFt3Kws_z34Xnb0oc,13756
191
+ wandb/proto/v3/wandb_settings_pb2.py,sha256=SY_oAB1y9SLqab9riihdzS9b0KzU-QwJu7586Qp8FWM,20141
192
+ wandb/proto/v3/wandb_telemetry_pb2.py,sha256=tQQJ7s3fbFYJc60JLnrkdf8yxCqKK0zJMdJaXxA3phM,13805
193
193
  wandb/proto/v4/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
194
194
  wandb/proto/v4/wandb_base_pb2.py,sha256=El5lnZMRpkc1W4SlZgeKoDPqWiJau0BG8QfigMMt6bM,1422
195
195
  wandb/proto/v4/wandb_internal_pb2.py,sha256=Gll2HTW_t44dQ8988XOO3ROLdJ9N9qlHyliYjMCW-1A,51066
196
196
  wandb/proto/v4/wandb_server_pb2.py,sha256=MjXs9_8Gy8PKlIZuNZILp0fh2GDXctwKDL5BZhXydsA,6905
197
- wandb/proto/v4/wandb_settings_pb2.py,sha256=3UMKIax5vWS8uiUU4T0t7VfMqOcGa18GN8Dn6-nORxM,16732
198
- wandb/proto/v4/wandb_telemetry_pb2.py,sha256=ttxi2j58yb4FmtKQvxwKauhZHntPYQMvDVdsr5f-oHU,11203
197
+ wandb/proto/v4/wandb_settings_pb2.py,sha256=dEBMN0osR4ZEgorUv7JsZjxDaIf5S8dOKxx4kHS17Y4,16872
198
+ wandb/proto/v4/wandb_telemetry_pb2.py,sha256=sd9xk2SdYw3SBOYw77GT5pFa0YHl9v-P17-854RMMxg,11252
199
199
  wandb/proto/v5/wandb_base_pb2.py,sha256=u7VVWdExJ4WDkYNMV-xvWvyQ-NTIbAqToTKtgEqt_Lg,1572
200
200
  wandb/proto/v5/wandb_internal_pb2.py,sha256=9lKc_NrYNyLTaJaaRz1ox-JfyYpJ6pOP297gPrgk6_w,55269
201
201
  wandb/proto/v5/wandb_server_pb2.py,sha256=piGeVPCrHNCMMc9yIYKQtFRNSvfvB2fQKs8ANwApJu8,7463
202
- wandb/proto/v5/wandb_settings_pb2.py,sha256=MzbElDMueaPx-7OPnBTpbTdf2F_KZWoyMhT4dRaSX2c,17064
203
- wandb/proto/v5/wandb_telemetry_pb2.py,sha256=kL3OgFy39xy2ARUik0fWJRVBMD1QG1S8rQI-AmmMUA0,11473
202
+ wandb/proto/v5/wandb_settings_pb2.py,sha256=lrdyW9YigFSC2QzO2IFHLlJdXiR4OCig_omrwqFlink,17204
203
+ wandb/proto/v5/wandb_telemetry_pb2.py,sha256=tYmNIX5Mtw2AybnuX8n9KbwdxT2w4GKPvvokFfKfP8M,11522
204
204
  wandb/sdk/__init__.py,sha256=N-GTAC0AzbZF2J8RzB33DTmYk9u-jubllCwvhWrPgsE,813
205
205
  wandb/sdk/wandb_alerts.py,sha256=SwBPBiXRxknMTMGbsVoMMWqWK65UWMcKAdTWZtdwAeo,193
206
206
  wandb/sdk/wandb_config.py,sha256=TCddmgheDApOE-OXcZdgihhCnTpoR5jj4zeohs-9Q8M,10854
@@ -210,16 +210,16 @@ wandb/sdk/wandb_login.py,sha256=mG3k2OePDQzykHO6_09UH9Ic2KB_hE-ptkutiDWdWaY,1123
210
210
  wandb/sdk/wandb_metric.py,sha256=a3GiQXr6H18m81uobYjlJaC8CL8iANzI42qxkxfZsDs,3268
211
211
  wandb/sdk/wandb_require.py,sha256=Y0ib8h27__t7hXos1F2srfsQzVfzH4BB6wq8E1aRbRA,2950
212
212
  wandb/sdk/wandb_require_helpers.py,sha256=ZmKv5aXXHDTTU6nYHMLKW4_pt9X-PlaMtbRJl77kHX8,1331
213
- wandb/sdk/wandb_run.py,sha256=683weSyHPhwRl9sEWp2JnpGPVW5hBCixbl-B3fpyAf8,155814
214
- wandb/sdk/wandb_settings.py,sha256=n_21dGG1SUL33UaCXEXjgYrMxIzdDEfDnys4HkDbQXo,76347
215
- wandb/sdk/wandb_setup.py,sha256=y9yInthNeupBLPS5NGiLIAfMfoAyEbr5Dc0woFf1c_I,13643
213
+ wandb/sdk/wandb_run.py,sha256=SSDYV2SswY7Nc3e8xi3eEraKaOuvT8HZNC_tdBHuZ8E,155681
214
+ wandb/sdk/wandb_settings.py,sha256=Nbb1qPkziq8oytyYEJT7vNu0Ghr0tKVhMbl8tS0Ro_Y,76969
215
+ wandb/sdk/wandb_setup.py,sha256=QjpXMTdfpXUsLu-ZR5P3RF7L0yWI-08wGRttekuI4O8,13514
216
216
  wandb/sdk/wandb_summary.py,sha256=yQdOVIPrZaZanhBQ7yuSfPLX0x6dxwkN_KAn4SgjSZU,4536
217
217
  wandb/sdk/wandb_sweep.py,sha256=cboZB5qvLigAY3UeYifDTX1me_-Q4Y0EJ5UVEzYCXac,4000
218
218
  wandb/sdk/wandb_sync.py,sha256=GzZ6f6PrzhhuAmNh10OZgEwe7RuzyBqXSvJdLJxnt8I,2321
219
219
  wandb/sdk/wandb_watch.py,sha256=-QXCDDczgyOad3RnWU_YLJmsNCj3wGfrfg74ywdnHOY,4842
220
220
  wandb/sdk/artifacts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
221
221
  wandb/sdk/artifacts/_validators.py,sha256=TLiRLkBZb7CMhR2ybdWTg68Z93uBQW3KiptijYHt-kM,4205
222
- wandb/sdk/artifacts/artifact.py,sha256=VNxK7lnTPEJgcGRaQfng4jCAka_GbNWCVNFlIlbSaNo,88263
222
+ wandb/sdk/artifacts/artifact.py,sha256=ZpL6OJJmYEpWuu-oUUvDyZEPiMfW-i198iX_zbREs1s,88242
223
223
  wandb/sdk/artifacts/artifact_download_logger.py,sha256=XEVxmktMInrd1p2z86CKt3QyTA9vscxJL5-8_eupknI,1501
224
224
  wandb/sdk/artifacts/artifact_file_cache.py,sha256=Ez5ocC-G6L8sEyZ9fRbF4u-4qkbCOQyoVJj_wxtklAM,9834
225
225
  wandb/sdk/artifacts/artifact_instance_cache.py,sha256=atSUDvKjkp6by6QY0w2FLMrFUg9UKc8TIrMVWGauV64,501
@@ -270,7 +270,7 @@ wandb/sdk/data_types/video.py,sha256=kmgOGjiCpn-SNkR4HTuKZKhayR5680W8kL1xo-fVMhQ
270
270
  wandb/sdk/data_types/base_types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
271
271
  wandb/sdk/data_types/base_types/json_metadata.py,sha256=oKpimndUQvDW30n15tb2pbyyyKhhWwm8wsYNBEot060,1553
272
272
  wandb/sdk/data_types/base_types/media.py,sha256=QO6aQdNGYtwr6qZYUQ9-WbTpkB3adCBTXWSqO3ZCJjI,14284
273
- wandb/sdk/data_types/base_types/wb_value.py,sha256=4kwyr9bw881eZ44gsDLl_VBsfy8f35Ec2qUbq-ERi-g,11054
273
+ wandb/sdk/data_types/base_types/wb_value.py,sha256=7F2ufa0wMgZ2glMfK3O15lrg0EJQdd0iPU8NMvx61h8,11393
274
274
  wandb/sdk/data_types/helper_types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
275
275
  wandb/sdk/data_types/helper_types/bounding_boxes_2d.py,sha256=U_A5Ac7dhXLuuG2QOpPQFMByGYkwX9WGD6WN9QZAtBo,12782
276
276
  wandb/sdk/data_types/helper_types/classes.py,sha256=cg-AwUgULbb3T_-ptOdliXGvYjXZYRj8rvSmT7fl9ds,5520
@@ -281,15 +281,15 @@ wandb/sdk/integration_utils/data_logging.py,sha256=DDFtDaUu50aeTTgxCHHYd2f85guqq
281
281
  wandb/sdk/interface/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
282
282
  wandb/sdk/interface/constants.py,sha256=NJNBFr7LkshLI837D3LU3JuEURLzBwza9H-kxcy4ihw,60
283
283
  wandb/sdk/interface/interface.py,sha256=vHdQQI0a2djDxphwxer6cRyH0LUKEN6ADeE1DGQjacY,34750
284
- wandb/sdk/interface/interface_queue.py,sha256=eCvNpvwMe1GHJv_5M8R3ZSspmEvE02mXMstBDBEZy8A,1967
284
+ wandb/sdk/interface/interface_queue.py,sha256=7lbQz6VYamqYlNpkC-Ckrn5az_Yc9CrbnmwKNFtta44,1700
285
285
  wandb/sdk/interface/interface_relay.py,sha256=vQUrk5KESKInZsXpOxWF4YcWRZFLJjNz1mdNywbWbbE,1514
286
286
  wandb/sdk/interface/interface_shared.py,sha256=dPxBFuRStRyptnMreWMOSlo0hJoHOchcv0VJkIS6BmA,20045
287
287
  wandb/sdk/interface/interface_sock.py,sha256=vA5vDMDuuenKkW8zHYfECM4OoSoqAi6hiLMJzqdepd8,1984
288
288
  wandb/sdk/interface/message_future.py,sha256=5OMApIUKTXLHP98ph_jCdshuPZB_E0Uf3UGZpOQ8sik,685
289
289
  wandb/sdk/interface/message_future_poll.py,sha256=drjrcBKswYPYJJQLFlj7UDXq7_zg7KNcObFVetsbvhQ,1410
290
- wandb/sdk/interface/router.py,sha256=79pU5pobtJrL-xe6um6HC0GmVbZS2w-lGmjtL6X1vmw,3478
291
- wandb/sdk/interface/router_queue.py,sha256=7TImXbpuwgn3iUw6kcNyC_nZ3APaBrojZyz1xDWgehI,1196
292
- wandb/sdk/interface/router_relay.py,sha256=wjV6qPtZ5Lqdg8PNhyUrKLsidm71YMwBRwBIirbVGo4,1043
290
+ wandb/sdk/interface/router.py,sha256=uTgmF0TaQnYq8Frgs7pncUBucA6B7XXCmKcRoYEZV10,3419
291
+ wandb/sdk/interface/router_queue.py,sha256=4RDXvCcm1OQ7R7eSrZQi7qpaXyd_DzSStYs6CbgXHkQ,1041
292
+ wandb/sdk/interface/router_relay.py,sha256=uf0KA_WJ25xMwLsH_3RU_ZhRPNS5qujo1aFU2d_rfzs,953
293
293
  wandb/sdk/interface/router_sock.py,sha256=7-J3SFhnaqPohYaUyljwpbsvYPBXA-ZTENYnXxzbh9U,1060
294
294
  wandb/sdk/interface/summary_record.py,sha256=-wDv_zLYueeUY8IzyF9NPYnYwF3iBpUWbrsGcHAd2YM,1677
295
295
  wandb/sdk/internal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -298,21 +298,21 @@ wandb/sdk/internal/datastore.py,sha256=qqkCbh98crLbfKSTHKmO137IX-jCFYkh8wbZeh9dc
298
298
  wandb/sdk/internal/file_pusher.py,sha256=clBm6fj_27krGVCcFw9mUdalXHRZlIUxsj5AW_BAzZU,6098
299
299
  wandb/sdk/internal/file_stream.py,sha256=j9TGeHFJvSo_ALMRs1b_tdcXZfFb75n7KecJUnQDVOo,25904
300
300
  wandb/sdk/internal/flow_control.py,sha256=LO3iDyBbI4WGoDuVLjA_iv62PyiupdYkpSjxPIMGI7E,8584
301
- wandb/sdk/internal/handler.py,sha256=lpm2aeHqaF8AtOekoqGlzdqUmrEyba0DRHrXRUINCUU,33398
302
- wandb/sdk/internal/internal.py,sha256=ii55aIz0iNHqecKfZS75TkG1xD2NXaknY4Xssvq4vMs,12733
301
+ wandb/sdk/internal/handler.py,sha256=4VlxDTdzLg3E-03tNTn5p03s8NqjMW6DnJIBYWjV4WU,33270
302
+ wandb/sdk/internal/internal.py,sha256=GoR1tx_PlLi46IFNuaXy_5siTpGpo8qkcCJg9E3ytNM,12165
303
303
  wandb/sdk/internal/internal_api.py,sha256=-rNVH3CnH_WevOlGqo_GGLHNS5I-vrl1zlb8f-OLptU,159612
304
- wandb/sdk/internal/internal_util.py,sha256=RMBAsnVimA9UpC-qlT862nqxIXDAPm6KfonNmpvlRfc,2654
304
+ wandb/sdk/internal/internal_util.py,sha256=dKawQKw4UdZUE6Bmme5baT0FGDC0IUgoD2zM6ey4oBU,2555
305
305
  wandb/sdk/internal/job_builder.py,sha256=CNItWdpQjFijW_Zis1F901A6JpOtY_mA17xlB7RiHqk,22954
306
306
  wandb/sdk/internal/profiler.py,sha256=C8-mPrAhPS6_l-Fj_zCOwmXaEqhjI9Wd0EAPXS9GAEI,2348
307
307
  wandb/sdk/internal/progress.py,sha256=0nARkPJ4eVaElpjBl_UQAXeiPtujqcJkMz6OxuJJkps,2446
308
308
  wandb/sdk/internal/run.py,sha256=8OhVy2vfgPC8pNFq0tJ4CkQHETOBfQsFDghw50ccSXc,682
309
309
  wandb/sdk/internal/sample.py,sha256=_bB-tLsYKayL0h1rJ-Na1aI-aHDPHXb1jSMb0nCDmfo,2442
310
- wandb/sdk/internal/sender.py,sha256=snSHq5a99YNL75cQsd4HAHCh6B7DmSlgm-QLQ57HT4U,65378
310
+ wandb/sdk/internal/sender.py,sha256=UD0H8jdBN1nSGEJADwGGxptxbTHERLxnF2u5D1YKDLc,65305
311
311
  wandb/sdk/internal/sender_config.py,sha256=qEuXwOskca3sYyDIRsswlXmj9StCCS0WKQ1qrBXbIjw,6767
312
312
  wandb/sdk/internal/settings_static.py,sha256=m97hST3YWmpkmgnXbso0gfPFZ7k7Y4SJSM7NbJIZKTc,3526
313
313
  wandb/sdk/internal/tb_watcher.py,sha256=mb-Corh0MGPcMLUASbUaH9Qus21MnfxOk5LJdgRIJtA,18702
314
314
  wandb/sdk/internal/thread_local_settings.py,sha256=UqD6kfjsy6mvxIWcjhd-vJWkNRCeU1whuRe_-VGIklQ,527
315
- wandb/sdk/internal/writer.py,sha256=_W3OHh0Xs7x8HqEed20DFNMbh2SkK4P2pQfxbu_B1t0,7394
315
+ wandb/sdk/internal/writer.py,sha256=scHpDgdwmwCLDXfTTbsgBMvddrqu1_o8ss82B2ml8lc,7266
316
316
  wandb/sdk/internal/system/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
317
317
  wandb/sdk/internal/system/env_probe_helpers.py,sha256=jIy6gbiaq37SzgcBGe6GepJho1VS5qNQThqOmu-g0OA,397
318
318
  wandb/sdk/internal/system/system_info.py,sha256=m4U2-RIbVEOIwiEVgRu9Xmrhmc9ueapSY0dli8GW3u4,9944
@@ -331,7 +331,7 @@ wandb/sdk/internal/system/assets/network.py,sha256=n3buH2-InLGT35PVlvhY5eHv_Hm5K
331
331
  wandb/sdk/internal/system/assets/open_metrics.py,sha256=6HoA4Wg34u_yPVM-vhH621lP4napx7ITImmiHqFyPqs,9741
332
332
  wandb/sdk/internal/system/assets/tpu.py,sha256=nwv3C9a6dgD1hc0461Rh28NQkWbNQ5fJOXsw6lOQ-Gw,4901
333
333
  wandb/sdk/internal/system/assets/trainium.py,sha256=5jt8KY-XHIqSybuTkcfz_e64ZxDbli_gcQpRSi2F9l8,13455
334
- wandb/sdk/launch/__init__.py,sha256=2B1J5HbUCeGq7gowbBgYy8-gYiD7kvxNFxbSphVjqhI,349
334
+ wandb/sdk/launch/__init__.py,sha256=moXY557JibPbvE1GSSh3nGFiyelTVaJZMdFSv61Dn2k,399
335
335
  wandb/sdk/launch/_launch.py,sha256=FZ2JjZc1rzAIW3biWpVKHzxTwWmRx1ZK3n5S-YUQMKE,11829
336
336
  wandb/sdk/launch/_launch_add.py,sha256=OD6JPJN3dCNz5FZ_8MzgUOBAWGRtcgMz8UYoeV26g9c,8795
337
337
  wandb/sdk/launch/_project_spec.py,sha256=lkDkVeAjg8wJylHJHHbFsX3jK3gdXXLj3PzIJIaxRV4,21748
@@ -384,7 +384,7 @@ wandb/sdk/launch/sweeps/scheduler_sweep.py,sha256=beM0go0u9xRcXW20ED8MyTqq4ol_O5
384
384
  wandb/sdk/launch/sweeps/utils.py,sha256=TbsAvn3eQnp5js0SvMmPVoP5vaT5bXMPL-ISWyZvVlQ,9837
385
385
  wandb/sdk/lib/__init__.py,sha256=53BA5lIOtUXciXZcPpNsFbp-iUPzI5gQFxplTykNmOE,183
386
386
  wandb/sdk/lib/_settings_toposort_generate.py,sha256=FQZPNGKnUcApOHjT_SYFC5APLxniN2aJJ8UnvdS2dV4,4843
387
- wandb/sdk/lib/_settings_toposort_generated.py,sha256=Gl_WhLZs-OvXjWh6vU1SQ0hqV00eMmXkBpwRkf2RcQ4,5310
387
+ wandb/sdk/lib/_settings_toposort_generated.py,sha256=F3aVBZFrRWzzAW340QOwAk_Uw1Iuw-bJtCdFeBjAk4Q,5341
388
388
  wandb/sdk/lib/apikey.py,sha256=D8tX91noMz0yYLTViUNwMh7Ynf7NfwcVCjd-UGX5rl8,9257
389
389
  wandb/sdk/lib/capped_dict.py,sha256=T2CNkmzfWeFgXOsFmx5IDPzgYmP1jxaVAb-nn3-qBBE,820
390
390
  wandb/sdk/lib/config_util.py,sha256=YdYvk-KbTdTa-84XegpvbqMuQfdlOREFiVR7m3q6e3Q,2917
@@ -419,17 +419,16 @@ wandb/sdk/lib/runid.py,sha256=Qa-5ft4B85YUazkV_18OYwf9JhMaAVp0JAInZzxzX5o,392
419
419
  wandb/sdk/lib/server.py,sha256=R8E-IqjtAvC7yLChNf2GxRNXrzJ8OMPph3RPU0IzxHo,1684
420
420
  wandb/sdk/lib/service_connection.py,sha256=wgxe5j66WSjP-vQ-gQUPVMYOtqvmwUGtQ-Mz8tNPHR4,6466
421
421
  wandb/sdk/lib/service_token.py,sha256=c4olk_g4Suo0zTTDaoR78oHLwpt3NgDzQeF94raigME,2471
422
- wandb/sdk/lib/sock_client.py,sha256=N05stb0fI6ZFCtl6vqznkZRcXWCly7w-ag3Dz1fSzfQ,10534
422
+ wandb/sdk/lib/sock_client.py,sha256=-B2V0rTRM_pnZsqV0GuCjPTvEOAjfvjICTz5nohEIGY,10351
423
423
  wandb/sdk/lib/sparkline.py,sha256=SbeX9FkaU47BMi0-HtnpCh_cBHsUSl5n1vL7vVL9e60,1373
424
424
  wandb/sdk/lib/telemetry.py,sha256=OdBUbhUAU1LPDJJmW5Rm6GkRDRPpeCk2SP61XUQYm2g,2752
425
425
  wandb/sdk/lib/timed_input.py,sha256=D7vx3N3m4LlxwkQpzS7lDi7IOnccqZ3WfLlDYRs8Oes,3229
426
426
  wandb/sdk/lib/timer.py,sha256=VZUyl7fmQAB75l9QXw9Nkz9SxyYj-CvLPawAk866YKM,440
427
- wandb/sdk/lib/tracelog.py,sha256=uI_1Z4cTq_dDWxdC5sIh2dB0js56OmVw9e_OMOwOCCE,7572
428
427
  wandb/sdk/service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
429
428
  wandb/sdk/service/_startup_debug.py,sha256=0-evSjgwjb2LiOP952eScrfSWL8PrAXPOKPgZbio5_M,588
430
429
  wandb/sdk/service/port_file.py,sha256=_VeftD2LjNBeQH6nfzd9Dyq2u4fT2YRLE7D1ikIhYmU,1546
431
- wandb/sdk/service/server.py,sha256=sS8SQ57ssuvKMH5PX5aRD5v8HhwKXnTBiUWHViZ0hEI,3883
432
- wandb/sdk/service/server_sock.py,sha256=c66bBF1_BSLDb3A_L3UDx5t-s2fZLSkJsnLQGYU5Vs4,9656
430
+ wandb/sdk/service/server.py,sha256=e8V1X8N0HJmQfB6fFVK8gCJMawc6OgP1CuPtOo_fdlg,3459
431
+ wandb/sdk/service/server_sock.py,sha256=MKZZPFiSArhPZ0v9_xEWM0TUxDeLFotECqH64nQwKl4,9559
433
432
  wandb/sdk/service/service.py,sha256=cTx-81R34E5g32Obk9WlubMhNwLUmr-Nff5f62eJdGg,8572
434
433
  wandb/sdk/service/streams.py,sha256=LITDTm-lxNr4Xj_owgflPRL3R1WlLfqNW_1cd-IaxO8,14650
435
434
  wandb/sdk/verify/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -820,8 +819,8 @@ wandb/vendor/watchdog_0_9_0/wandb_watchdog/utils/importlib2.py,sha256=cJIaJ2EQso
820
819
  wandb/vendor/watchdog_0_9_0/wandb_watchdog/utils/platform.py,sha256=UORYTNVcUSE2NpFcq9UVLIS-tsS0TS_Qw8akhKxn2eY,1506
821
820
  wandb/vendor/watchdog_0_9_0/wandb_watchdog/utils/unicode_paths.py,sha256=UWX8DB97ygkEeSxWQUYCHR4MahNilux7vl5TCTQtPPk,2190
822
821
  wandb/vendor/watchdog_0_9_0/wandb_watchdog/utils/win32stat.py,sha256=ZOevOTbSo8NRiIxkuBVGaG4yigWnPoO0goxAi-jsBkM,3828
823
- wandb-0.18.6.dist-info/METADATA,sha256=JlERWsFpIrsFGxq4sTnywFaBURENT8qTYhps1jVBKOE,9700
824
- wandb-0.18.6.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
825
- wandb-0.18.6.dist-info/entry_points.txt,sha256=v4FCOZ9gW7Pc6KLsmgQqpCiKTrA1wh2XHmNf-NUP1-I,67
826
- wandb-0.18.6.dist-info/licenses/LICENSE,sha256=izOKRJpGOx1PrJiGOKR0HsNdlB5JdH2d0Z4P7a7ssTc,1081
827
- wandb-0.18.6.dist-info/RECORD,,
822
+ wandb-0.18.7.dist-info/METADATA,sha256=OuhHtxRx7rYvxZ7hpR2qm0en8g2Qi1KfHoO1jTeIQNI,9678
823
+ wandb-0.18.7.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
824
+ wandb-0.18.7.dist-info/entry_points.txt,sha256=v4FCOZ9gW7Pc6KLsmgQqpCiKTrA1wh2XHmNf-NUP1-I,67
825
+ wandb-0.18.7.dist-info/licenses/LICENSE,sha256=izOKRJpGOx1PrJiGOKR0HsNdlB5JdH2d0Z4P7a7ssTc,1081
826
+ wandb-0.18.7.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.25.0
2
+ Generator: hatchling 1.26.3
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
wandb/sdk/lib/tracelog.py DELETED
@@ -1,255 +0,0 @@
1
- """tracelog.
2
-
3
- Functions:
4
- log_message_queue - message put() to queue
5
- log_message_dequeue - message get() from queue
6
- log_message_send - message sent to socket
7
- log_message_recv - message received from socket
8
- log_message_process - message processed by thread
9
- log_message_link - message linked to another message
10
- log_message_assert - message encountered problem
11
-
12
- """
13
-
14
- import datetime
15
- import logging
16
- import secrets
17
- import sys
18
- import threading
19
- from typing import TYPE_CHECKING, Optional, cast
20
-
21
- if TYPE_CHECKING:
22
- import multiprocessing
23
- import queue
24
- import socket
25
- from typing import Union
26
-
27
- from wandb.proto import wandb_internal_pb2 as pb
28
- from wandb.proto import wandb_server_pb2 as spb
29
-
30
- MessageQueueType = Union[pb.Record, pb.Result]
31
- MessageType = Union[pb.Record, pb.Result, spb.ServerRequest, spb.ServerResponse]
32
- QueueType = Union[multiprocessing.Queue, queue.Queue]
33
- TransportType = Union[socket.socket, str]
34
-
35
-
36
- # Supported modes:
37
- # logger - tracelog output goes to python logging (default)
38
- # stdout - tracelog output goes to stdout
39
- # stderr - tracelog output goes to stderr
40
- tracelog_mode: Optional[str] = "logger"
41
-
42
- logger = logging.getLogger(__name__)
43
-
44
-
45
- ANNOTATE_QUEUE_NAME = "_DEBUGLOG_QUEUE_NAME"
46
-
47
- # capture stdout and stderr before anyone messes with them
48
- stdout_write = sys.__stdout__.write # type: ignore
49
- stderr_write = sys.__stderr__.write # type: ignore
50
-
51
-
52
- def _log(
53
- msg_type: str,
54
- log_type: str,
55
- is_response: bool = False,
56
- record: Optional["pb.Record"] = None,
57
- result: Optional["pb.Result"] = None,
58
- resource: Optional[str] = None,
59
- ) -> None:
60
- prefix = "TRACELOG(1)"
61
- tname = threading.current_thread().name
62
- now = datetime.datetime.now()
63
- ts = now.strftime("%H%M%S.%f")
64
- arrow = "<-" if is_response else "->"
65
- resource = resource or "unknown"
66
- uuid = ""
67
- data = record or result
68
- record_id = ""
69
- if data:
70
- uuid = data.uuid or uuid
71
- record_id = data._info._tracelog_id
72
- uuid = uuid or "-"
73
- record_id = record_id or "-"
74
- relay = ""
75
- if data and data.control and data.control.relay_id:
76
- relay = data.control.relay_id
77
- relay = relay or "-"
78
- line = f"{prefix} {arrow} {ts} {record_id:16} {log_type:7} {resource:8} {tname:16} {msg_type:32} {uuid:32} {relay:32}"
79
- if tracelog_mode == "stdout":
80
- stdout_write(f"{line}\n")
81
- elif tracelog_mode == "stderr":
82
- stderr_write(f"{line}\n")
83
- elif tracelog_mode == "logger":
84
- logger.info(line)
85
-
86
-
87
- def _record_msg_type(record: "pb.Record") -> str:
88
- msg_type = str(record.WhichOneof("record_type"))
89
- if msg_type == "request":
90
- request = record.request
91
- msg_type = str(request.WhichOneof("request_type"))
92
- return msg_type
93
-
94
-
95
- def _result_msg_type(result: "pb.Result") -> str:
96
- msg_type = str(result.WhichOneof("result_type"))
97
- if msg_type == "response":
98
- response = result.response
99
- msg_type = str(response.WhichOneof("response_type"))
100
- return msg_type
101
-
102
-
103
- def _log_message(
104
- msg: "MessageType", log_type: str, resource: Optional[str] = None
105
- ) -> None:
106
- record: Optional[pb.Record] = None
107
- result: Optional[pb.Result] = None
108
- is_response = False
109
- msg_type: str
110
- # Note: using strings to avoid an import
111
- message_type_str = type(msg).__name__
112
- if message_type_str == "Record":
113
- record = cast("pb.Record", msg)
114
- msg_type = _record_msg_type(record)
115
- elif message_type_str == "Result":
116
- is_response = True
117
- result = cast("pb.Result", msg)
118
- msg_type = _result_msg_type(result)
119
- elif message_type_str == "ServerRequest":
120
- server_request = cast("spb.ServerRequest", msg)
121
- msg_type = str(server_request.WhichOneof("server_request_type"))
122
- if msg_type == "record_publish":
123
- record = server_request.record_publish
124
- sub_msg_type = _record_msg_type(record)
125
- msg_type = f"pub-{sub_msg_type}"
126
- elif msg_type == "record_communicate":
127
- record = server_request.record_communicate
128
- sub_msg_type = _record_msg_type(record)
129
- msg_type = f"comm-{sub_msg_type}"
130
- # print("SRV", server_request)
131
- elif message_type_str == "ServerResponse":
132
- is_response = True
133
- server_response = cast("spb.ServerResponse", msg)
134
- msg_type = str(server_response.WhichOneof("server_response_type"))
135
- if msg_type == "result_communicate":
136
- result = server_response.result_communicate
137
- sub_msg_type = _result_msg_type(result)
138
- msg_type = f"comm-{sub_msg_type}"
139
- else:
140
- raise AssertionError(f"Unknown message type {message_type_str}")
141
- _log(
142
- msg_type,
143
- is_response=is_response,
144
- record=record,
145
- result=result,
146
- log_type=log_type,
147
- resource=resource,
148
- )
149
-
150
-
151
- def _log_message_queue(msg: "MessageQueueType", q: "QueueType") -> None:
152
- _annotate_message(msg)
153
- resource = getattr(q, ANNOTATE_QUEUE_NAME, None)
154
- _log_message(msg, "queue", resource=resource)
155
-
156
-
157
- def _log_message_dequeue(msg: "MessageQueueType", q: "QueueType") -> None:
158
- resource = getattr(q, ANNOTATE_QUEUE_NAME, None)
159
- _log_message(msg, "dequeue", resource=resource)
160
-
161
-
162
- def _log_message_send(msg: "MessageType", t: "TransportType") -> None:
163
- _log_message(msg, "send")
164
-
165
-
166
- def _log_message_recv(msg: "MessageType", t: "TransportType") -> None:
167
- _log_message(msg, "recv")
168
-
169
-
170
- def _log_message_process(msg: "MessageType") -> None:
171
- _log_message(msg, "process")
172
-
173
-
174
- def _log_message_link(src: "MessageType", dest: "MessageType") -> None:
175
- _log_message(src, "source")
176
- _log_message(dest, "dest")
177
-
178
-
179
- def _log_message_assert(msg: "MessageType") -> None:
180
- _log_message(msg, "assert")
181
-
182
-
183
- def _annotate_queue(q: "QueueType", name: str) -> None:
184
- setattr(q, ANNOTATE_QUEUE_NAME, name)
185
-
186
-
187
- def _annotate_message(msg: "MessageQueueType") -> None:
188
- record_id = secrets.token_hex(8)
189
- msg._info._tracelog_id = record_id
190
-
191
-
192
- #
193
- # Default functions when logging is disabled
194
- #
195
-
196
-
197
- def log_message_queue(msg: "MessageQueueType", q: "QueueType") -> None:
198
- return None
199
-
200
-
201
- def log_message_dequeue(msg: "MessageQueueType", q: "QueueType") -> None:
202
- return None
203
-
204
-
205
- def log_message_send(msg: "MessageType", t: "TransportType") -> None:
206
- return None
207
-
208
-
209
- def log_message_recv(msg: "MessageType", t: "TransportType") -> None:
210
- return None
211
-
212
-
213
- def log_message_process(msg: "MessageType") -> None:
214
- return None
215
-
216
-
217
- def log_message_link(src: "MessageType", dest: "MessageType") -> None:
218
- return None
219
-
220
-
221
- def log_message_assert(msg: "MessageType") -> None:
222
- return None
223
-
224
-
225
- def annotate_queue(q: "QueueType", name: str) -> None:
226
- return None
227
-
228
-
229
- def annotate_message(msg: "MessageQueueType") -> None:
230
- return None
231
-
232
-
233
- def enable(log_mode: Optional[str] = None) -> None:
234
- global tracelog_mode
235
- if log_mode:
236
- tracelog_mode = log_mode
237
-
238
- global log_message_queue
239
- global log_message_dequeue
240
- global log_message_send
241
- global log_message_recv
242
- global log_message_process
243
- global log_message_link
244
- global log_message_assert
245
- global annotate_queue
246
- global annotate_message
247
- log_message_queue = _log_message_queue
248
- log_message_dequeue = _log_message_dequeue
249
- log_message_send = _log_message_send
250
- log_message_recv = _log_message_recv
251
- log_message_process = _log_message_process
252
- log_message_link = _log_message_link
253
- log_message_assert = _log_message_assert
254
- annotate_queue = _annotate_queue
255
- annotate_message = _annotate_message