learning-loop-node 0.20.2__py3-none-any.whl → 0.22.0__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.
@@ -71,7 +71,7 @@ def get_free_memory_mb() -> float: # NOTE used by yolov5
71
71
  h = pynvml.nvmlDeviceGetHandleByIndex(0)
72
72
  info = pynvml.nvmlDeviceGetMemoryInfo(h)
73
73
  free_mb = float(info.free) / 1024 / 1024
74
- except pynvml.nvml.NVMLError:
74
+ except pynvml.NVMLError:
75
75
  logger = logging.getLogger(__name__)
76
76
  logger.warning('Could not get GPU memory info, returning free CPU memory instead')
77
77
  free_mb = float(os.sysconf('SC_PAGE_SIZE') * os.sysconf('SC_AVPHYS_PAGES')) / 1024 / 1024
@@ -1,34 +1,30 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: learning_loop_node
3
- Version: 0.20.2
3
+ Version: 0.22.0
4
4
  Summary: Python Library for Nodes which connect to the Zauberzeug Learning Loop
5
5
  Author-email: Zauberzeug GmbH <info@zauberzeug.com>
6
6
  License: MIT
7
7
  Project-URL: Repository, https://github.com/zauberzeug/learning_loop_node
8
8
  Requires-Python: >=3.10
9
9
  Description-Content-Type: text/markdown
10
- Requires-Dist: fastapi<1.0,>=0.128
11
- Requires-Dist: uvicorn[standard]<0.23.0,>=0.22.0
12
- Requires-Dist: fastapi-utils<0.9.0,>=0.8.0
13
- Requires-Dist: requests<3.0.0,>=2.25.1
14
- Requires-Dist: python-socketio<6.0.0,>=5.7.2
15
- Requires-Dist: simplejson<4.0.0,>=3.17.2
16
- Requires-Dist: icecream<3.0.0,>=2.1.0
17
- Requires-Dist: aiofiles<0.8.0,>=0.7.0
18
- Requires-Dist: async_generator<2.0.0,>=1.10
19
- Requires-Dist: pytest-watch<5.0.0,>=4.2.0
20
- Requires-Dist: python-multipart>=0.0.22
21
- Requires-Dist: psutil<6.0.0,>=5.8.0
10
+ Requires-Dist: fastapi<1.0,>=0.135
11
+ Requires-Dist: uvicorn[standard]<1.0.0,>=0.22.0
12
+ Requires-Dist: requests<3.0.0,>=2.33.0
13
+ Requires-Dist: python-socketio<6.0.0,>=5.16.2
14
+ Requires-Dist: aiofiles>=0.7.0
15
+ Requires-Dist: python-multipart>=0.0.31
16
+ Requires-Dist: psutil<8.0.0,>=5.9.0
22
17
  Requires-Dist: numpy<3.0,>=2.0
23
- Requires-Dist: Pillow<12.0.0,>=11.0.0
18
+ Requires-Dist: Pillow<13.0.0,>=12.3.0
24
19
  Requires-Dist: tqdm<5.0.0,>=4.66.3
25
- Requires-Dist: pytest-mock<4.0.0,>=3.6.1
26
- Requires-Dist: pynvml<12.0.0,>=11.4.1
27
- Requires-Dist: aiohttp<4.0.0,>=3.13.3
20
+ Requires-Dist: pynvml<13.0.0,>=11.4.1
21
+ Requires-Dist: aiohttp<4.0.0,>=3.14.3
28
22
  Requires-Dist: httpx<0.29.0,>=0.28.1
29
23
  Requires-Dist: dacite<2.0.0,>=1.8.1
30
24
  Provides-Extra: dev
31
25
  Requires-Dist: pytest-flakefinder<2.0.0,>=1.1.0; extra == "dev"
26
+ Requires-Dist: pytest-mock<4.0.0,>=3.6.1; extra == "dev"
27
+ Requires-Dist: icecream<3.0.0,>=2.1.0; extra == "dev"
32
28
  Requires-Dist: retry<0.10.0,>=0.9.2; extra == "dev"
33
29
  Requires-Dist: debugpy<2.0.0,>=1.6.7.post1; extra == "dev"
34
30
  Requires-Dist: pytest-asyncio<0.22.0,>=0.21.1; extra == "dev"
@@ -42,7 +42,7 @@ learning_loop_node/helpers/background_tasks.py,sha256=sbbS8JO1ls0ZCbNW68KOT9QLOF
42
42
  learning_loop_node/helpers/environment_reader.py,sha256=6DxDJecLHxiGczByhyVa_JssAwwft7vuNCGaEzoSY2I,1662
43
43
  learning_loop_node/helpers/gdrive_downloader.py,sha256=zeYJciTAJVRpu_eFjwgYLCpIa6hU1d71anqEBb564Rk,1145
44
44
  learning_loop_node/helpers/log_conf.py,sha256=hqVAa_9NnYEU6N0dcOKmph82p7MpgKqeF_eomTLYzWY,961
45
- learning_loop_node/helpers/misc.py,sha256=Lw1gr7CdyTJbrv44bsFNXWtGVDCRQrpcDIJsIrKjtqU,8936
45
+ learning_loop_node/helpers/misc.py,sha256=qdN18Ukbw6eR6sFL4BxNq0EZzg2tVm2Cm8cTbFyy8QU,8931
46
46
  learning_loop_node/helpers/run.py,sha256=_uox-j3_K_bL3yCAwy3JYSOiIxrnhzVxyxWpCe8_J9U,876
47
47
  learning_loop_node/trainer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
48
  learning_loop_node/trainer/downloader.py,sha256=AIyEKM4XYtd6VgmXrP3VayV9DpJzdURK1Brx81ePNSM,1470
@@ -55,7 +55,7 @@ learning_loop_node/trainer/trainer_logic_generic.py,sha256=IRP68ZGpnOX4OS03OwB7H
55
55
  learning_loop_node/trainer/trainer_node.py,sha256=ZnydfHJ2ehAhb821Xke_09qthCE3vDf7iqeYUrliSSo,4938
56
56
  learning_loop_node/trainer/rest/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
57
57
  learning_loop_node/trainer/rest/backdoor_controls.py,sha256=ZnK8ypY5r_q0-YZbtaOxhQThzuZvMsQHM5gJGESd_dE,5131
58
- learning_loop_node-0.20.2.dist-info/METADATA,sha256=wx_DLGWg99OEC3AUymtRgjVo7k1BHz-aOSPCjPunCg4,17175
59
- learning_loop_node-0.20.2.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
60
- learning_loop_node-0.20.2.dist-info/top_level.txt,sha256=nS5qiFc4stVF_VXVCVJxZnrqVOv3IGX5-_E3sLby6OE,19
61
- learning_loop_node-0.20.2.dist-info/RECORD,,
58
+ learning_loop_node-0.22.0.dist-info/METADATA,sha256=AuMYnVs2JgNTb3LNoMJmG0XdjhU2dUpOH_y7L-VpYMk,17030
59
+ learning_loop_node-0.22.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
60
+ learning_loop_node-0.22.0.dist-info/top_level.txt,sha256=nS5qiFc4stVF_VXVCVJxZnrqVOv3IGX5-_E3sLby6OE,19
61
+ learning_loop_node-0.22.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (83.0.0)
2
+ Generator: setuptools (84.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5