aioway 0.3.2__tar.gz → 0.4__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 (329) hide show
  1. {aioway-0.3.2 → aioway-0.4}/.github/workflows/pre-commit.yaml +3 -5
  2. {aioway-0.3.2 → aioway-0.4}/.github/workflows/publish.yaml +1 -2
  3. {aioway-0.3.2 → aioway-0.4}/.github/workflows/unit-test.yaml +2 -4
  4. {aioway-0.3.2 → aioway-0.4}/.github/workflows/website.yaml +1 -2
  5. {aioway-0.3.2 → aioway-0.4}/.gitignore +1 -0
  6. {aioway-0.3.2 → aioway-0.4}/CODE_OF_CONDUCT.md +10 -11
  7. aioway-0.4/CONTRIBUTING.md +130 -0
  8. aioway-0.4/LICENSE.md +201 -0
  9. {aioway-0.3.2 → aioway-0.4}/Makefile +5 -5
  10. {aioway-0.3.2/src/aioway.egg-info → aioway-0.4}/PKG-INFO +9 -22
  11. {aioway-0.3.2/docs → aioway-0.4}/README.md +5 -15
  12. aioway-0.4/assets/aioway-noto-sans.svg +51 -0
  13. aioway-0.4/assets/aioway-noto-serif.svg +51 -0
  14. aioway-0.4/ci/group-actions.sh +5 -0
  15. {aioway-0.3.2 → aioway-0.4/docs}/README.md +5 -15
  16. {aioway-0.3.2 → aioway-0.4}/docs/_coverpage.md +1 -1
  17. {aioway-0.3.2 → aioway-0.4}/notebooks/aten.py +15 -3
  18. {aioway-0.3.2 → aioway-0.4}/notebooks/attributes.py +1 -1
  19. aioway-0.4/notebooks/render_ops.py +101 -0
  20. {aioway-0.3.2 → aioway-0.4}/notebooks/state_dicts.py +1 -1
  21. aioway-0.4/pdm.lock +4560 -0
  22. {aioway-0.3.2 → aioway-0.4}/pyproject.toml +6 -21
  23. {aioway-0.3.2 → aioway-0.4}/src/aioway/_api/fast.py +1 -4
  24. {aioway-0.3.2 → aioway-0.4}/src/aioway/_api/items.py +1 -1
  25. aioway-0.4/src/aioway/_pytrees/README.md +17 -0
  26. aioway-0.4/src/aioway/_pytrees/__init__.py +7 -0
  27. aioway-0.4/src/aioway/_pytrees/bases.py +149 -0
  28. aioway-0.4/src/aioway/_pytrees/compat.py +81 -0
  29. aioway-0.3.2/src/aioway/t/nested.py → aioway-0.4/src/aioway/_pytrees/funcs.py +9 -23
  30. aioway-0.4/src/aioway/_signs.py +527 -0
  31. {aioway-0.3.2 → aioway-0.4}/src/aioway/_utils/__init__.py +0 -1
  32. {aioway-0.3.2 → aioway-0.4}/src/aioway/_utils/profs.py +1 -1
  33. aioway-0.4/src/aioway/_utils/sets.py +297 -0
  34. {aioway-0.3.2 → aioway-0.4}/src/aioway/_utils/types.py +24 -1
  35. {aioway-0.3.2 → aioway-0.4}/src/aioway/_utils/typing.py +15 -15
  36. aioway-0.4/src/aioway/cmds/README.md +3 -0
  37. aioway-0.4/src/aioway/cmds/__init__.py +9 -0
  38. aioway-0.4/src/aioway/cmds/cmds.py +121 -0
  39. aioway-0.3.2/src/aioway/tasks/distils.py → aioway-0.4/src/aioway/cmds/distills.py +2 -2
  40. aioway-0.4/src/aioway/cmds/expls/__init__.py +7 -0
  41. aioway-0.4/src/aioway/cmds/expls/_utils.py +145 -0
  42. aioway-0.4/src/aioway/cmds/expls/attrs.py +131 -0
  43. aioway-0.4/src/aioway/cmds/expls/concepts.py +157 -0
  44. aioway-0.4/src/aioway/cmds/expls/influences.py +165 -0
  45. aioway-0.4/src/aioway/cmds/fits/__init__.py +6 -0
  46. aioway-0.4/src/aioway/cmds/fits/callbacks.py +41 -0
  47. aioway-0.4/src/aioway/cmds/fits/fits.py +13 -0
  48. aioway-0.4/src/aioway/cmds/fits/loops.py +85 -0
  49. aioway-0.4/src/aioway/cmds/metrics/__init__.py +6 -0
  50. aioway-0.4/src/aioway/cmds/metrics/_utils.py +13 -0
  51. aioway-0.4/src/aioway/cmds/metrics/ariths.py +152 -0
  52. aioway-0.4/src/aioway/cmds/metrics/clfs.py +216 -0
  53. aioway-0.4/src/aioway/cmds/metrics/metrics.py +75 -0
  54. aioway-0.4/src/aioway/cmds/metrics/stats.py +65 -0
  55. aioway-0.4/src/aioway/cmds/nets/__init__.py +9 -0
  56. aioway-0.4/src/aioway/cmds/nets/_utils.py +71 -0
  57. {aioway-0.3.2/src/aioway/cc/emits → aioway-0.4/src/aioway/cmds/nets}/convs.py +26 -41
  58. aioway-0.4/src/aioway/cmds/nets/domains.py +81 -0
  59. aioway-0.4/src/aioway/cmds/nets/emitters.py +193 -0
  60. aioway-0.4/src/aioway/cmds/nets/linear.py +81 -0
  61. aioway-0.4/src/aioway/cmds/nets/norms.py +42 -0
  62. {aioway-0.3.2/src/aioway/tasks/expls → aioway-0.4/src/aioway/cmds/optims}/__init__.py +2 -2
  63. aioway-0.4/src/aioway/cmds/optims/mopts.py +43 -0
  64. aioway-0.4/src/aioway/cmds/optims/params.py +95 -0
  65. {aioway-0.3.2/src/aioway/cc → aioway-0.4/src/aioway/cmds}/rewrites/__init__.py +2 -1
  66. aioway-0.4/src/aioway/cmds/rewrites/morphing.py +115 -0
  67. aioway-0.4/src/aioway/cmds/rewrites/rewrites.py +43 -0
  68. aioway-0.4/src/aioway/cmds/rewrites/seqs.py +32 -0
  69. aioway-0.4/src/aioway/contrib/discovery.py +101 -0
  70. {aioway-0.3.2 → aioway-0.4}/src/aioway/contrib/dsets.py +2 -2
  71. {aioway-0.3.2 → aioway-0.4}/src/aioway/contrib/mnist.py +17 -12
  72. {aioway-0.3.2 → aioway-0.4}/src/aioway/io/codecs/audios.py +3 -4
  73. {aioway-0.3.2 → aioway-0.4}/src/aioway/io/codecs/collates.py +1 -1
  74. {aioway-0.3.2 → aioway-0.4}/src/aioway/io/codecs/images.py +6 -6
  75. {aioway-0.3.2 → aioway-0.4}/src/aioway/io/codecs/videos.py +1 -2
  76. {aioway-0.3.2 → aioway-0.4}/src/aioway/io/dsets/comps.py +19 -16
  77. {aioway-0.3.2 → aioway-0.4}/src/aioway/io/dsets/dsets.py +26 -22
  78. aioway-0.4/src/aioway/ops/README.md +44 -0
  79. aioway-0.4/src/aioway/ops/__init__.py +12 -0
  80. aioway-0.4/src/aioway/ops/_utils.py +67 -0
  81. aioway-0.4/src/aioway/ops/codes.py +516 -0
  82. {aioway-0.3.2/src/aioway/cc/ir → aioway-0.4/src/aioway/ops/execs}/__init__.py +1 -3
  83. aioway-0.4/src/aioway/ops/execs/dags.py +218 -0
  84. aioway-0.4/src/aioway/ops/execs/execs.py +102 -0
  85. aioway-0.4/src/aioway/ops/execs/reqs.py +58 -0
  86. aioway-0.4/src/aioway/ops/funcs.py +218 -0
  87. aioway-0.4/src/aioway/ops/layers.py +424 -0
  88. aioway-0.4/src/aioway/ops/ops.py +199 -0
  89. aioway-0.4/src/aioway/ops/rebuilds.py +304 -0
  90. aioway-0.4/src/aioway/ops/scores.py +56 -0
  91. aioway-0.4/src/aioway/ops/thunks.py +87 -0
  92. aioway-0.4/src/aioway/ops/tracers.py +393 -0
  93. aioway-0.4/src/aioway/ops/vars.py +67 -0
  94. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/__init__.py +2 -5
  95. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/aten/aten.py +8 -11
  96. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/aten/binary.py +1 -25
  97. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/aten/fn.py +1 -3
  98. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/aten/getitem.py +1 -4
  99. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/attrs/_utils.py +1 -1
  100. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/attrs/attrs.py +16 -9
  101. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/attrs/caches.py +3 -3
  102. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/attrs/dtypes.py +0 -1
  103. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/attrs/shapes.py +0 -1
  104. aioway-0.4/src/aioway/t/cols/__init__.py +9 -0
  105. aioway-0.4/src/aioway/t/cols/keys.py +96 -0
  106. aioway-0.4/src/aioway/t/cols/lists.py +163 -0
  107. aioway-0.4/src/aioway/t/cols/nodes.py +108 -0
  108. aioway-0.4/src/aioway/t/cols/regs.py +39 -0
  109. aioway-0.4/src/aioway/t/cols/sets.py +75 -0
  110. aioway-0.4/src/aioway/t/domains/__init__.py +6 -0
  111. aioway-0.4/src/aioway/t/domains/domains.py +178 -0
  112. aioway-0.4/src/aioway/t/domains/tensors.py +274 -0
  113. aioway-0.4/src/aioway/t/domains/units.py +108 -0
  114. aioway-0.4/src/aioway/t/domains/utils.py +68 -0
  115. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/guards.py +10 -1
  116. aioway-0.4/src/aioway/t/overrides/fake.py +106 -0
  117. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/overrides/modes.py +1 -1
  118. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/routes.py +22 -11
  119. {aioway-0.3.2 → aioway-0.4/src/aioway.egg-info}/PKG-INFO +9 -22
  120. {aioway-0.3.2 → aioway-0.4}/src/aioway.egg-info/SOURCES.txt +97 -97
  121. {aioway-0.3.2 → aioway-0.4}/src/aioway.egg-info/requires.txt +2 -6
  122. {aioway-0.3.2 → aioway-0.4}/src/aioway.egg-info/scm_file_list.json +97 -97
  123. aioway-0.4/src/aioway.egg-info/scm_version.json +8 -0
  124. aioway-0.3.2/tests/t/test_nested.py → aioway-0.4/tests/_pytrees/test_funcs.py +5 -7
  125. aioway-0.4/tests/_pytrees/test_pytrees.py +176 -0
  126. aioway-0.4/tests/_utils/test_sets.py +263 -0
  127. {aioway-0.3.2 → aioway-0.4}/tests/_utils/test_types.py +14 -1
  128. aioway-0.4/tests/cmds/expls/test_attrs.py +53 -0
  129. aioway-0.4/tests/cmds/expls/test_concepts.py +63 -0
  130. aioway-0.4/tests/cmds/expls/test_influences.py +49 -0
  131. aioway-0.4/tests/cmds/nets/test_convs.py +15 -0
  132. aioway-0.4/tests/cmds/rewrites/test_morphing.py +196 -0
  133. aioway-0.4/tests/cmds/rewrites/test_seqs.py +46 -0
  134. {aioway-0.3.2/tests/tasks → aioway-0.4/tests/cmds}/test_distils.py +2 -2
  135. aioway-0.4/tests/cmds/test_metrics.py +236 -0
  136. aioway-0.4/tests/cmds/test_params.py +50 -0
  137. aioway-0.4/tests/cmds/test_trains.py +67 -0
  138. {aioway-0.3.2 → aioway-0.4}/tests/conftest.py +2 -2
  139. aioway-0.4/tests/contrib/test_discovery.py +42 -0
  140. aioway-0.4/tests/io/dsets/test_dsets.py +28 -0
  141. aioway-0.4/tests/mock.py +1 -0
  142. aioway-0.4/tests/ops/test_execs.py +247 -0
  143. aioway-0.4/tests/ops/test_layers.py +174 -0
  144. aioway-0.4/tests/ops/test_rebuilds.py +133 -0
  145. aioway-0.4/tests/ops/test_thunks.py +138 -0
  146. aioway-0.4/tests/ops/test_tracers.py +150 -0
  147. {aioway-0.3.2 → aioway-0.4}/tests/t/attrs/test_schemas.py +3 -1
  148. aioway-0.4/tests/t/overrides/test_fake.py +279 -0
  149. aioway-0.4/tests/t/test_cols.py +439 -0
  150. aioway-0.4/tests/t/test_domains.py +303 -0
  151. {aioway-0.3.2 → aioway-0.4}/tests/test_api.py +2 -3
  152. aioway-0.4/tests/test_signs.py +392 -0
  153. aioway-0.3.2/CONTRIBUTING.md +0 -90
  154. aioway-0.3.2/LICENSE.md +0 -202
  155. aioway-0.3.2/ci/group-actions.py +0 -50
  156. aioway-0.3.2/notebooks/history.py +0 -51
  157. aioway-0.3.2/notebooks/mnist.py +0 -86
  158. aioway-0.3.2/pdm.lock +0 -5148
  159. aioway-0.3.2/src/aioway/_thunks.py +0 -110
  160. aioway-0.3.2/src/aioway/_utils/sets.py +0 -227
  161. aioway-0.3.2/src/aioway/_utils/signs.py +0 -230
  162. aioway-0.3.2/src/aioway/apps/__init__.py +0 -4
  163. aioway-0.3.2/src/aioway/apps/entrypoint.py +0 -79
  164. aioway-0.3.2/src/aioway/apps/server.py +0 -61
  165. aioway-0.3.2/src/aioway/cc/README.md +0 -3
  166. aioway-0.3.2/src/aioway/cc/__init__.py +0 -10
  167. aioway-0.3.2/src/aioway/cc/args.py +0 -73
  168. aioway-0.3.2/src/aioway/cc/deductions/__init__.py +0 -6
  169. aioway-0.3.2/src/aioway/cc/deductions/containers.py +0 -21
  170. aioway-0.3.2/src/aioway/cc/deductions/deductions.py +0 -235
  171. aioway-0.3.2/src/aioway/cc/deductions/dense.py +0 -56
  172. aioway-0.3.2/src/aioway/cc/deductions/losses.py +0 -26
  173. aioway-0.3.2/src/aioway/cc/deductions/miscs.py +0 -43
  174. aioway-0.3.2/src/aioway/cc/deductions/sliding.py +0 -41
  175. aioway-0.3.2/src/aioway/cc/emits/__init__.py +0 -7
  176. aioway-0.3.2/src/aioway/cc/emits/_utils.py +0 -38
  177. aioway-0.3.2/src/aioway/cc/emits/compound.py +0 -214
  178. aioway-0.3.2/src/aioway/cc/emits/emitters.py +0 -148
  179. aioway-0.3.2/src/aioway/cc/emits/linear.py +0 -177
  180. aioway-0.3.2/src/aioway/cc/emits/losses/__init__.py +0 -5
  181. aioway-0.3.2/src/aioway/cc/emits/losses/contrastive.py +0 -64
  182. aioway-0.3.2/src/aioway/cc/emits/losses/recon.py +0 -25
  183. aioway-0.3.2/src/aioway/cc/emits/losses/routes.py +0 -122
  184. aioway-0.3.2/src/aioway/cc/emits/norms.py +0 -54
  185. aioway-0.3.2/src/aioway/cc/hashes.py +0 -13
  186. aioway-0.3.2/src/aioway/cc/ir/_utils.py +0 -98
  187. aioway-0.3.2/src/aioway/cc/ir/calls.py +0 -93
  188. aioway-0.3.2/src/aioway/cc/ir/dags.py +0 -420
  189. aioway-0.3.2/src/aioway/cc/ir/execs.py +0 -209
  190. aioway-0.3.2/src/aioway/cc/ir/modules.py +0 -168
  191. aioway-0.3.2/src/aioway/cc/ir/queries.py +0 -25
  192. aioway-0.3.2/src/aioway/cc/rebuild.py +0 -61
  193. aioway-0.3.2/src/aioway/cc/regs.py +0 -118
  194. aioway-0.3.2/src/aioway/cc/rewrites/matchers.py +0 -105
  195. aioway-0.3.2/src/aioway/cc/rewrites/morphing.py +0 -60
  196. aioway-0.3.2/src/aioway/cc/rewrites/rewrites.py +0 -41
  197. aioway-0.3.2/src/aioway/cc/signs.py +0 -27
  198. aioway-0.3.2/src/aioway/t/discovery.py +0 -61
  199. aioway-0.3.2/src/aioway/t/lists.py +0 -119
  200. aioway-0.3.2/src/aioway/t/overrides/fake.py +0 -157
  201. aioway-0.3.2/src/aioway/t/tspecs/README.md +0 -3
  202. aioway-0.3.2/src/aioway/t/tspecs/__init__.py +0 -16
  203. aioway-0.3.2/src/aioway/t/tspecs/_utils.py +0 -44
  204. aioway-0.3.2/src/aioway/t/tspecs/boxes.py +0 -105
  205. aioway-0.3.2/src/aioway/t/tspecs/coercions.py +0 -153
  206. aioway-0.3.2/src/aioway/t/tspecs/gym.py +0 -84
  207. aioway-0.3.2/src/aioway/t/tspecs/losses.py +0 -37
  208. aioway-0.3.2/src/aioway/t/tspecs/media.py +0 -22
  209. aioway-0.3.2/src/aioway/t/tspecs/sampling.py +0 -34
  210. aioway-0.3.2/src/aioway/t/tspecs/tspecs.py +0 -125
  211. aioway-0.3.2/src/aioway/t/visitors.py +0 -70
  212. aioway-0.3.2/src/aioway/tasks/__init__.py +0 -7
  213. aioway-0.3.2/src/aioway/tasks/expls/expls.py +0 -102
  214. aioway-0.3.2/src/aioway/tasks/expls/inputs.py +0 -46
  215. aioway-0.3.2/src/aioway/tasks/losses.py +0 -49
  216. aioway-0.3.2/src/aioway/tasks/rl.py +0 -61
  217. aioway-0.3.2/src/aioway/tasks/static.py +0 -206
  218. aioway-0.3.2/src/aioway/tasks/steps.py +0 -141
  219. aioway-0.3.2/src/aioway/tasks/tasks.py +0 -43
  220. aioway-0.3.2/src/aioway.egg-info/scm_version.json +0 -8
  221. aioway-0.3.2/tests/_utils/test_sets.py +0 -170
  222. aioway-0.3.2/tests/_utils/test_signs.py +0 -50
  223. aioway-0.3.2/tests/cc/emits/losses/test_contrastive.py +0 -38
  224. aioway-0.3.2/tests/cc/emits/losses/test_losses.py +0 -32
  225. aioway-0.3.2/tests/cc/emits/test_compound.py +0 -39
  226. aioway-0.3.2/tests/cc/emits/test_convs.py +0 -53
  227. aioway-0.3.2/tests/cc/emits/test_linear.py +0 -95
  228. aioway-0.3.2/tests/cc/emits/test_norms.py +0 -56
  229. aioway-0.3.2/tests/cc/ir/conftest.py +0 -40
  230. aioway-0.3.2/tests/cc/ir/test_calls.py +0 -224
  231. aioway-0.3.2/tests/cc/ir/test_dags.py +0 -66
  232. aioway-0.3.2/tests/cc/ir/test_execs.py +0 -45
  233. aioway-0.3.2/tests/cc/ir/test_modules.py +0 -179
  234. aioway-0.3.2/tests/cc/rewrites/test_matchers.py +0 -37
  235. aioway-0.3.2/tests/cc/rewrites/test_morphing.py +0 -62
  236. aioway-0.3.2/tests/cc/test_args.py +0 -28
  237. aioway-0.3.2/tests/cc/test_deductions.py +0 -61
  238. aioway-0.3.2/tests/cc/test_hashes.py +0 -52
  239. aioway-0.3.2/tests/cc/test_rebuilds.py +0 -37
  240. aioway-0.3.2/tests/t/overrides/test_utils.py +0 -163
  241. aioway-0.3.2/tests/t/test_discovery.py +0 -42
  242. aioway-0.3.2/tests/t/test_lists.py +0 -80
  243. aioway-0.3.2/tests/t/tspecs/test_boxes.py +0 -15
  244. aioway-0.3.2/tests/t/tspecs/test_gym.py +0 -105
  245. aioway-0.3.2/tests/t/tspecs/test_types.py +0 -48
  246. aioway-0.3.2/tests/tasks/test_expls.py +0 -42
  247. {aioway-0.3.2 → aioway-0.4}/.gitattributes +0 -0
  248. {aioway-0.3.2 → aioway-0.4}/CITATIONS.cff +0 -0
  249. {aioway-0.3.2 → aioway-0.4}/CODEOWNERS +0 -0
  250. {aioway-0.3.2 → aioway-0.4}/assets/architecture.excalidraw +0 -0
  251. {aioway-0.3.2 → aioway-0.4}/assets/architecture.svg +0 -0
  252. {aioway-0.3.2 → aioway-0.4}/ci/cleanup-github.sh +0 -0
  253. {aioway-0.3.2 → aioway-0.4}/ci/docs.sh +0 -0
  254. {aioway-0.3.2 → aioway-0.4}/ci/echo-run.sh +0 -0
  255. {aioway-0.3.2 → aioway-0.4}/ci/install-linux.sh +0 -0
  256. {aioway-0.3.2 → aioway-0.4}/ci/install-mac.sh +0 -0
  257. {aioway-0.3.2 → aioway-0.4}/docs/.nojekyll +0 -0
  258. {aioway-0.3.2 → aioway-0.4}/docs/CNAME +0 -0
  259. {aioway-0.3.2 → aioway-0.4}/docs/Makefile +0 -0
  260. {aioway-0.3.2 → aioway-0.4}/docs/coverpage.css +0 -0
  261. {aioway-0.3.2 → aioway-0.4}/docs/dev/conf.py +0 -0
  262. {aioway-0.3.2 → aioway-0.4}/docs/dev/index.md +0 -0
  263. {aioway-0.3.2 → aioway-0.4}/docs/dev/index.rst +0 -0
  264. {aioway-0.3.2 → aioway-0.4}/docs/index.html +0 -0
  265. {aioway-0.3.2 → aioway-0.4}/media/.gitkeep +0 -0
  266. {aioway-0.3.2 → aioway-0.4}/media/file_example_JPG_2500kB.jpg +0 -0
  267. {aioway-0.3.2 → aioway-0.4}/media/file_example_MP3_5MG.mp3 +0 -0
  268. {aioway-0.3.2 → aioway-0.4}/media/file_example_MP4_1920_18MG.mp4 +0 -0
  269. {aioway-0.3.2 → aioway-0.4}/media/file_example_PNG_3MB.png +0 -0
  270. {aioway-0.3.2 → aioway-0.4}/media/in_search_of_lost_time.txt +0 -0
  271. {aioway-0.3.2 → aioway-0.4}/notebooks/disable_ops.py +0 -0
  272. {aioway-0.3.2 → aioway-0.4}/notebooks/grads.py +0 -0
  273. {aioway-0.3.2 → aioway-0.4}/notebooks/hello.py +0 -0
  274. {aioway-0.3.2 → aioway-0.4}/notebooks/missing_values.py +0 -0
  275. {aioway-0.3.2 → aioway-0.4}/notebooks/print_torch_ops.py +0 -0
  276. {aioway-0.3.2 → aioway-0.4}/setup.cfg +0 -0
  277. {aioway-0.3.2 → aioway-0.4}/src/aioway/__init__.py +0 -0
  278. {aioway-0.3.2 → aioway-0.4}/src/aioway/_api/__init__.py +0 -0
  279. {aioway-0.3.2 → aioway-0.4}/src/aioway/_utils/platforms.py +0 -0
  280. {aioway-0.3.2 → aioway-0.4}/src/aioway/_utils/renders.py +0 -0
  281. {aioway-0.3.2 → aioway-0.4}/src/aioway/api.py +0 -0
  282. {aioway-0.3.2/tests → aioway-0.4/src/aioway/apps}/__init__.py +0 -0
  283. {aioway-0.3.2/src/aioway/tasks → aioway-0.4/src/aioway/cmds/fits}/nmf.py +0 -0
  284. {aioway-0.3.2 → aioway-0.4}/src/aioway/contrib/__init__.py +0 -0
  285. /aioway-0.3.2/src/aioway/tasks/supervised.py → /aioway-0.4/src/aioway/domains/__init__.py +0 -0
  286. {aioway-0.3.2 → aioway-0.4}/src/aioway/errors/__init__.py +0 -0
  287. {aioway-0.3.2 → aioway-0.4}/src/aioway/errors/exceptions.py +0 -0
  288. {aioway-0.3.2 → aioway-0.4}/src/aioway/errors/raising.py +0 -0
  289. {aioway-0.3.2 → aioway-0.4}/src/aioway/io/__init__.py +0 -0
  290. {aioway-0.3.2 → aioway-0.4}/src/aioway/io/codecs/__init__.py +0 -0
  291. {aioway-0.3.2 → aioway-0.4}/src/aioway/io/codecs/_av.py +0 -0
  292. {aioway-0.3.2 → aioway-0.4}/src/aioway/io/codecs/_bases.py +0 -0
  293. {aioway-0.3.2 → aioway-0.4}/src/aioway/io/codecs/texts.py +0 -0
  294. {aioway-0.3.2 → aioway-0.4}/src/aioway/io/dsets/__init__.py +0 -0
  295. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/README.md +0 -0
  296. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/_utils.py +0 -0
  297. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/aten/README.md +0 -0
  298. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/aten/__init__.py +0 -0
  299. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/attrs/README.md +0 -0
  300. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/attrs/__init__.py +0 -0
  301. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/attrs/_bases.py +0 -0
  302. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/attrs/devices.py +0 -0
  303. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/attrs/layouts.py +0 -0
  304. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/hooks.py +0 -0
  305. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/overrides/README.md +0 -0
  306. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/overrides/__init__.py +0 -0
  307. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/overrides/contexts.py +0 -0
  308. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/overrides/toggles.py +0 -0
  309. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/sessions/__init__.py +0 -0
  310. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/sessions/costs.py +0 -0
  311. {aioway-0.3.2 → aioway-0.4}/src/aioway/t/sessions/sessions.py +0 -0
  312. {aioway-0.3.2 → aioway-0.4}/src/aioway.egg-info/dependency_links.txt +0 -0
  313. {aioway-0.3.2 → aioway-0.4}/src/aioway.egg-info/top_level.txt +0 -0
  314. /aioway-0.3.2/tests/mock.py → /aioway-0.4/tests/__init__.py +0 -0
  315. {aioway-0.3.2 → aioway-0.4}/tests/io/codecs/conftest.py +0 -0
  316. {aioway-0.3.2 → aioway-0.4}/tests/io/codecs/test_audios.py +0 -0
  317. {aioway-0.3.2 → aioway-0.4}/tests/io/codecs/test_collate.py +0 -0
  318. {aioway-0.3.2 → aioway-0.4}/tests/io/codecs/test_images.py +0 -0
  319. {aioway-0.3.2 → aioway-0.4}/tests/io/codecs/test_media.py +0 -0
  320. {aioway-0.3.2 → aioway-0.4}/tests/io/codecs/test_texts.py +0 -0
  321. {aioway-0.3.2 → aioway-0.4}/tests/io/codecs/test_videos.py +0 -0
  322. {aioway-0.3.2 → aioway-0.4}/tests/t/attrs/test_devices.py +0 -0
  323. {aioway-0.3.2 → aioway-0.4}/tests/t/attrs/test_dtypes.py +0 -0
  324. {aioway-0.3.2 → aioway-0.4}/tests/t/attrs/test_layouts.py +0 -0
  325. {aioway-0.3.2 → aioway-0.4}/tests/t/attrs/test_shapes.py +0 -0
  326. {aioway-0.3.2 → aioway-0.4}/tests/t/sessions/test_costs.py +0 -0
  327. {aioway-0.3.2 → aioway-0.4}/tests/t/sessions/test_sessions.py +0 -0
  328. {aioway-0.3.2 → aioway-0.4}/tests/test_ci.py +0 -0
  329. {aioway-0.3.2 → aioway-0.4}/tests/test_notebooks.py +0 -0
@@ -6,7 +6,7 @@ jobs:
6
6
  runs-on: ubuntu-latest
7
7
  strategy:
8
8
  matrix:
9
- python-version: ["3.14"]
9
+ python-version: ["3.15"]
10
10
 
11
11
  steps:
12
12
  - name: 🔔 Check out
@@ -16,17 +16,16 @@ jobs:
16
16
  uses: pdm-project/setup-pdm@v4
17
17
  with:
18
18
  python-version: ${{ matrix.python-version }}
19
- cache: true
20
19
 
21
20
  - name: 🪄 Formatting
22
- run: make setup install autoflake isort black CHECK=1
21
+ run: make setup install isort black CHECK=1
23
22
 
24
23
  type:
25
24
  name: 👨‍⚕️ Type Checking
26
25
  runs-on: ubuntu-latest
27
26
  strategy:
28
27
  matrix:
29
- python-version: ["3.14"]
28
+ python-version: ["3.15"]
30
29
 
31
30
  steps:
32
31
  - name: 🔔 Check out
@@ -36,7 +35,6 @@ jobs:
36
35
  uses: pdm-project/setup-pdm@v4
37
36
  with:
38
37
  python-version: ${{ matrix.python-version }}
39
- cache: true
40
38
 
41
39
  - name: ⌨️ Type checking
42
40
  run: make setup install pyrefly
@@ -14,7 +14,7 @@ jobs:
14
14
  id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
15
15
  strategy:
16
16
  matrix:
17
- python-version: ["3.14"]
17
+ python-version: ["3.15"]
18
18
 
19
19
  steps:
20
20
  - name: 🔔 Check out
@@ -24,7 +24,6 @@ jobs:
24
24
  uses: pdm-project/setup-pdm@v4
25
25
  with:
26
26
  python-version: ${{ matrix.python-version }}
27
- cache: true
28
27
 
29
28
  - name: 📦 Release
30
29
  run: make setup install publish
@@ -6,7 +6,7 @@ jobs:
6
6
  runs-on: ubuntu-latest
7
7
  strategy:
8
8
  matrix:
9
- python-version: ["3.14"]
9
+ python-version: ["3.15"]
10
10
 
11
11
  steps:
12
12
  - name: 🔔 Check out
@@ -18,7 +18,6 @@ jobs:
18
18
  uses: pdm-project/setup-pdm@v4
19
19
  with:
20
20
  python-version: ${{ matrix.python-version }}
21
- cache: true
22
21
 
23
22
  - name: 🧪 Test with pytest
24
23
  run: make setup install pytest
@@ -28,7 +27,7 @@ jobs:
28
27
  runs-on: ubuntu-latest
29
28
  strategy:
30
29
  matrix:
31
- python-version: ["3.14"]
30
+ python-version: ["3.15"]
32
31
 
33
32
  steps:
34
33
  - name: 🔔 Check out
@@ -38,7 +37,6 @@ jobs:
38
37
  uses: pdm-project/setup-pdm@v4
39
38
  with:
40
39
  python-version: ${{ matrix.python-version }}
41
- cache: true
42
40
 
43
41
  - name: 👷‍♂️ Build
44
42
  run: make setup install build
@@ -7,7 +7,7 @@ jobs:
7
7
  runs-on: ubuntu-latest
8
8
  strategy:
9
9
  matrix:
10
- python-version: ["3.14"]
10
+ python-version: ["3.15"]
11
11
 
12
12
  steps:
13
13
  - name: 🔔 Check out
@@ -17,7 +17,6 @@ jobs:
17
17
  uses: pdm-project/setup-pdm@v4
18
18
  with:
19
19
  python-version: ${{ matrix.python-version }}
20
- cache: true
21
20
 
22
21
  - name: 📚 Build docs
23
22
  run: make setup install docs
@@ -2,6 +2,7 @@
2
2
  /.vscode/
3
3
  .DS_Store
4
4
  /.testmondata*
5
+ /*.patch
5
6
 
6
7
  ######################
7
8
  ## Python gitignore ##
@@ -1,4 +1,3 @@
1
-
2
1
  # Code of Conduct
3
2
 
4
3
  ## Our Pledge
@@ -18,23 +17,23 @@ diverse, inclusive, and healthy community.
18
17
  Examples of behavior that contributes to a positive environment for our
19
18
  community include:
20
19
 
21
- * Demonstrating empathy and kindness toward other people
22
- * Being respectful of differing opinions, viewpoints, and experiences
23
- * Giving and gracefully accepting constructive feedback
24
- * Accepting responsibility and apologizing to those affected by our mistakes,
20
+ - Demonstrating empathy and kindness toward other people
21
+ - Being respectful of differing opinions, viewpoints, and experiences
22
+ - Giving and gracefully accepting constructive feedback
23
+ - Accepting responsibility and apologizing to those affected by our mistakes,
25
24
  and learning from the experience
26
- * Focusing on what is best not just for us as individuals, but for the overall
25
+ - Focusing on what is best not just for us as individuals, but for the overall
27
26
  community
28
27
 
29
28
  Examples of unacceptable behavior include:
30
29
 
31
- * The use of sexualized language or imagery, and sexual attention or advances of
30
+ - The use of sexualized language or imagery, and sexual attention or advances of
32
31
  any kind
33
- * Trolling, insulting or derogatory comments, and personal or political attacks
34
- * Public or private harassment
35
- * Publishing others' private information, such as a physical or email address,
32
+ - Trolling, insulting or derogatory comments, and personal or political attacks
33
+ - Public or private harassment
34
+ - Publishing others' private information, such as a physical or email address,
36
35
  without their explicit permission
37
- * Other conduct which could reasonably be considered inappropriate in a
36
+ - Other conduct which could reasonably be considered inappropriate in a
38
37
  professional setting
39
38
 
40
39
  ## Enforcement Responsibilities
@@ -0,0 +1,130 @@
1
+ # Contributing
2
+
3
+ Please take a moment to review this document in order to make the contribution process easy and effective for everyone involved.
4
+
5
+ Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project.
6
+ In return, they should reciprocate that respect in addressing your issue or assessing patches and features.
7
+
8
+ ## Development installation
9
+
10
+ First, clone and navigate into the project:
11
+
12
+ ```bash
13
+ git clone https://github.com/rentruewang/aioway
14
+ cd aioway/
15
+ ```
16
+
17
+ Alternatively, use ssh:
18
+
19
+ ```bash
20
+ git clone git@github.com:rentruewang/aioway
21
+ cd aioway/
22
+ ```
23
+
24
+ I'm using [nox](https://nox.thea.codes/) for build management,
25
+ and [pdm](https://pdm-project.org/) in this project for dependency management.
26
+
27
+ To setup the environment (including development dependencies) with `pdm`, run
28
+
29
+ ```bash
30
+ pdm install -G:all
31
+ ```
32
+
33
+ Then activate with
34
+
35
+ ```bash
36
+ eval $(pdm venv activate)
37
+ ```
38
+
39
+ or simpler, if you want to use our makefile:
40
+
41
+ ```bash
42
+ make setup install
43
+ ```
44
+
45
+ To run testing, do:
46
+
47
+ ```bash
48
+ make pytest
49
+ ```
50
+
51
+ To format the codebase, run:
52
+
53
+ ```bash
54
+ make isort black
55
+ ```
56
+
57
+ To just check the formatting (no modification), run:
58
+
59
+ ```bash
60
+ make isort black CHECK=1
61
+ ```
62
+
63
+ To run type checking with `mypy`, run:
64
+
65
+ ```bash
66
+ make mypy
67
+ ```
68
+
69
+ These make commands are executed in github actions, see `.github/workflows` for details.
70
+
71
+ ## Recommended development style
72
+
73
+ ### Python code style
74
+
75
+ Please write code matching the style of the surrounding code.
76
+
77
+ Otherwise, follow the following style guide that I personally use (by me): [link](https://github.com/rentruewang/mind/blob/main/CONTRIBUTING.md).
78
+
79
+ ### Documentation
80
+
81
+ The documentation string style follows the Google style format specified [here](https://mkdocstrings.github.io/griffe/docstrings/#google-style).
82
+
83
+ ### Commit message
84
+
85
+ Commit message should follow the format (applied during squash and merge):
86
+
87
+ ```
88
+ {emoji} Message. [([fix] #{issue})]
89
+
90
+ Detailed explanation.
91
+ ```
92
+
93
+ Where `[]` denotes optional in the above commit message. `{emoji}` should be a relevant emoji, and `#{issue}` should be the relevant issue number.
94
+
95
+ ## Using the issue tracker
96
+
97
+ The [issue tracker](https://github.com/rentrueawng/aioway/issues) is the preferred channel for bug reports, but please respect the following guidelines:
98
+
99
+ 1. Please don't report issues with modified versions of `aioway`.
100
+ 2. **Use the GitHub issue search** — check if the issue has already been
101
+ reported.
102
+ 3. **Isolate the problem** — ideally create reproducible steps with an attached savegame and screenshots. Try to use few or no NewGRFs, AIs etc if possible.
103
+
104
+ A good bug report shouldn't leave others needing to chase you up for more information.
105
+ Please try to be as detailed as possible in your report.
106
+
107
+ - What is your environment?
108
+ - What steps will reproduce the issue?
109
+ - Which operating system(s) experience the problem?
110
+ - What would you expect to be the outcome?
111
+
112
+ All these details will help people to fix any potential bugs.
113
+
114
+ ### LLM contirbution policy
115
+
116
+ Please refrain from submitting issues or pull requests that have been generated by an LLM or other fully-automated tools.
117
+ Any submission that is in violation of this policy will be closed, and the submitter may be blocked from this repository without warning.
118
+
119
+ If you submit an issue, you need to understand what your issue description is saying.
120
+ You need to be able to answer questions about your bug report or feature request.
121
+ Using an AI tool to _proofread_ your issue/comment text is acceptable. Using an AI tool to _write_ your issue/comment text is not.
122
+
123
+ If you submit a pull request, you need to understand what every line of code you've changed does.
124
+ If you can't explain why your PR is doing something, then do not submit it.
125
+ Using an AI tool to generate entire lines of code is unacceptable.
126
+
127
+ The rationale behind this policy is that automated contributions are a waste of the maintainers' time.
128
+ Humans spend their time and brainpower reviewing every submission.
129
+ Issues or pull requests generated by automation tools create an imbalance of effort between the submitter and the reviewer.
130
+ Nobody learns anything when a maintainer reviews code written by an LLM.
aioway-0.4/LICENSE.md ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 RenChu Wang
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -7,10 +7,11 @@ PYTHON_VERSION :=
7
7
  CHECK :=
8
8
  CHECK_FLAG := $(if $(CHECK),--check,)
9
9
  SUDO := sudo -E
10
+ PYREFLY_ARGS :=
10
11
 
11
12
  # Running in GitHub Actions
12
13
  ifeq ($(GITHUB_ACTIONS),true)
13
- SH := python3 ci/group-actions.py
14
+ SH := bash ci/group-actions.sh
14
15
  CLEANUP := $(SUDO) $(SH) bash ci/cleanup-github.sh
15
16
  # Running locally
16
17
  else
@@ -19,6 +20,8 @@ else
19
20
  endif
20
21
 
21
22
 
23
+ ci: isort black pyrefly pytest
24
+
22
25
  setup: cleanup deps
23
26
 
24
27
  cleanup:
@@ -51,9 +54,6 @@ sync:
51
54
  pytest:
52
55
  @$(SH) pdm run pytest $(PYTEST_FLAGS)
53
56
 
54
- autoflake:
55
- @$(SH) pdm run autoflake . $(CHECK_FLAG)
56
-
57
57
  black:
58
58
  @$(SH) pdm run black . $(CHECK_FLAG)
59
59
 
@@ -61,7 +61,7 @@ isort:
61
61
  @$(SH) pdm run isort . $(CHECK_FLAG)
62
62
 
63
63
  pyrefly:
64
- @$(SH) pdm run pyrefly check src notebooks tests
64
+ @$(SH) pdm run pyrefly check src notebooks tests $(PYREFLY_ARGS)
65
65
 
66
66
 
67
67
  sphinx:
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aioway
3
- Version: 0.3.2
3
+ Version: 0.4
4
4
  Summary: AI on the way
5
5
  Author-email: RenChu Wang <patrick1031wang@gmail.com>
6
6
  License-Expression: Apache-2.0
7
- Requires-Python: <3.15,>=3.14
7
+ Requires-Python: >=3.15
8
8
  Description-Content-Type: text/markdown
9
9
  License-File: LICENSE.md
10
10
  Requires-Dist: numpy>=2
@@ -12,23 +12,20 @@ Requires-Dist: pandas>=3
12
12
  Requires-Dist: torch>=2
13
13
  Requires-Dist: tensordict>=0.11
14
14
  Requires-Dist: torchvision>=0.25
15
- Requires-Dist: torchrl>=0.13
16
15
  Requires-Dist: rich>=14
17
16
  Requires-Dist: pillow>=12
18
- Requires-Dist: av>=17
17
+ Requires-Dist: av>=19
19
18
  Requires-Dist: transformers>=5
20
19
  Requires-Dist: tokenizers>=0.22
21
20
  Requires-Dist: datasets>=5
22
- Requires-Dist: lightning>=2
23
21
  Requires-Dist: captum>=0.9
24
22
  Requires-Dist: loguru>=0.7
23
+ Requires-Dist: optree>=0.20
25
24
  Provides-Extra: networkx
26
25
  Requires-Dist: networkx>=3; extra == "networkx"
27
26
  Requires-Dist: matplotlib>=3; extra == "networkx"
28
27
  Provides-Extra: gym
29
28
  Requires-Dist: gymnasium>=1; extra == "gym"
30
- Provides-Extra: faiss
31
- Requires-Dist: faiss-cpu>=1; extra == "faiss"
32
29
  Provides-Extra: sklearn
33
30
  Requires-Dist: scikit-learn>=1; extra == "sklearn"
34
31
  Provides-Extra: api
@@ -36,16 +33,9 @@ Requires-Dist: fastapi>=0.141; extra == "api"
36
33
  Requires-Dist: fastmcp>=3; extra == "api"
37
34
  Dynamic: license-file
38
35
 
39
- ```
40
- _____
41
- ______ ___(_)________ _______ _____ __
42
- _ __ `/_ /_ __ \_ | /| / / __ `/_ / / /
43
- / /_/ /_ / / /_/ /_ |/ |/ // /_/ /_ /_/ /
44
- \__,_/ /_/ \____/____/|__/ \__,_/ _\__, /
45
- /____/
46
-
47
- An optimizing compiler for ML algorithms.
48
- ```
36
+ <div align="center">
37
+ <img src="./assets/aioway-noto-sans.svg" />
38
+ </div>
49
39
 
50
40
  [![Unit Testing](https://github.com/rentruewang/aioway/actions/workflows/unit-test.yaml/badge.svg)](https://github.com/rentruewang/aioway/actions/workflows/unit-test.yaml)
51
41
  [![Pre Commit Checks](https://github.com/rentruewang/aioway/actions/workflows/pre-commit.yaml/badge.svg)](https://github.com/rentruewang/aioway/actions/workflows/pre-commit.yaml)
@@ -55,6 +45,8 @@ An optimizing compiler for ML algorithms.
55
45
 
56
46
  # 🛣️ AioWay
57
47
 
48
+ > Developer support: [![](https://dcbadge.limes.pink/api/server/CEsuw3TRN)](https://discord.gg/CEsuw3TRN)
49
+
58
50
  > Aioway is an optimizing compiler for deep learning algorithms.
59
51
  > It treats the machine learning models / algorithms as instructions and build the pipeline that way.
60
52
 
@@ -80,7 +72,6 @@ An optimizing compiler for ML algorithms.
80
72
  3. Pretrained models / LLM: Usually expensive, non explainable, less flexible.
81
73
  4. Traditional methods: They can't handle new data (multimodal).
82
74
 
83
-
84
75
  ### 🤔 Why aioway yada yada
85
76
 
86
77
  In the recent years, machine learning's entry barrier higher, rather than lower. People with expert training are expensive, as they need years of experience to be good.
@@ -89,7 +80,6 @@ However, current AutoML solutions are subpar. Each one of them have clear limita
89
80
 
90
81
  Drawing inspriation from opitmizing compilers (especially SQLs), `aioway` aims to solve that.
91
82
 
92
-
93
83
  ## [🌟 Give us a star][star]!
94
84
 
95
85
  That's all for now!
@@ -115,14 +105,11 @@ Contributing is of course welcome. Please see the [contributing guide](./CONTRIB
115
105
  <img src="https://contrib.rocks/image?repo=rentruewang/aioway" />
116
106
  </a>
117
107
 
118
-
119
-
120
108
  ## 🐨 Relation to koila
121
109
 
122
110
  Aioway builds on top of the original [`koila` (moved to a branch)][koila]. The `torch` team built `FakeTensor` which overlaps a lot with `koila`'s functionality, so it's no longer maintained. See the rationale in the [koila][koila] branch.
123
111
 
124
112
  Conceptually, `aioway` works in a similar way, but instead of `Tensor` ops, `aioway` focuses on a higher level, on **algorithm building**.
125
113
 
126
-
127
114
  [koila]: https://github.com/rentruewang/aioway/tree/koila
128
115
  [star]: https://github.com/rentruewang/aioway/stargazers
@@ -1,13 +1,6 @@
1
- ```
2
- _____
3
- ______ ___(_)________ _______ _____ __
4
- _ __ `/_ /_ __ \_ | /| / / __ `/_ / / /
5
- / /_/ /_ / / /_/ /_ |/ |/ // /_/ /_ /_/ /
6
- \__,_/ /_/ \____/____/|__/ \__,_/ _\__, /
7
- /____/
8
-
9
- An optimizing compiler for ML algorithms.
10
- ```
1
+ <div align="center">
2
+ <img src="./assets/aioway-noto-sans.svg" />
3
+ </div>
11
4
 
12
5
  [![Unit Testing](https://github.com/rentruewang/aioway/actions/workflows/unit-test.yaml/badge.svg)](https://github.com/rentruewang/aioway/actions/workflows/unit-test.yaml)
13
6
  [![Pre Commit Checks](https://github.com/rentruewang/aioway/actions/workflows/pre-commit.yaml/badge.svg)](https://github.com/rentruewang/aioway/actions/workflows/pre-commit.yaml)
@@ -17,6 +10,8 @@ An optimizing compiler for ML algorithms.
17
10
 
18
11
  # 🛣️ AioWay
19
12
 
13
+ > Developer support: [![](https://dcbadge.limes.pink/api/server/CEsuw3TRN)](https://discord.gg/CEsuw3TRN)
14
+
20
15
  > Aioway is an optimizing compiler for deep learning algorithms.
21
16
  > It treats the machine learning models / algorithms as instructions and build the pipeline that way.
22
17
 
@@ -42,7 +37,6 @@ An optimizing compiler for ML algorithms.
42
37
  3. Pretrained models / LLM: Usually expensive, non explainable, less flexible.
43
38
  4. Traditional methods: They can't handle new data (multimodal).
44
39
 
45
-
46
40
  ### 🤔 Why aioway yada yada
47
41
 
48
42
  In the recent years, machine learning's entry barrier higher, rather than lower. People with expert training are expensive, as they need years of experience to be good.
@@ -51,7 +45,6 @@ However, current AutoML solutions are subpar. Each one of them have clear limita
51
45
 
52
46
  Drawing inspriation from opitmizing compilers (especially SQLs), `aioway` aims to solve that.
53
47
 
54
-
55
48
  ## [🌟 Give us a star][star]!
56
49
 
57
50
  That's all for now!
@@ -77,14 +70,11 @@ Contributing is of course welcome. Please see the [contributing guide](./CONTRIB
77
70
  <img src="https://contrib.rocks/image?repo=rentruewang/aioway" />
78
71
  </a>
79
72
 
80
-
81
-
82
73
  ## 🐨 Relation to koila
83
74
 
84
75
  Aioway builds on top of the original [`koila` (moved to a branch)][koila]. The `torch` team built `FakeTensor` which overlaps a lot with `koila`'s functionality, so it's no longer maintained. See the rationale in the [koila][koila] branch.
85
76
 
86
77
  Conceptually, `aioway` works in a similar way, but instead of `Tensor` ops, `aioway` focuses on a higher level, on **algorithm building**.
87
78
 
88
-
89
79
  [koila]: https://github.com/rentruewang/aioway/tree/koila
90
80
  [star]: https://github.com/rentruewang/aioway/stargazers