vmn-exp 0.1.0__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 (101) hide show
  1. vmn_exp-0.1.0/LICENSE.txt +21 -0
  2. vmn_exp-0.1.0/PKG-INFO +40 -0
  3. vmn_exp-0.1.0/README.md +16 -0
  4. vmn_exp-0.1.0/pyproject.toml +41 -0
  5. vmn_exp-0.1.0/setup.cfg +4 -0
  6. vmn_exp-0.1.0/src/vmn_exp/cli/__init__.py +0 -0
  7. vmn_exp-0.1.0/src/vmn_exp/cli/__main__.py +5 -0
  8. vmn_exp-0.1.0/src/vmn_exp/cli/experiment.py +1064 -0
  9. vmn_exp-0.1.0/src/vmn_exp/cli/inputs_arg.py +44 -0
  10. vmn_exp-0.1.0/src/vmn_exp/cli/main.py +47 -0
  11. vmn_exp-0.1.0/src/vmn_exp/cli/manage.py +92 -0
  12. vmn_exp-0.1.0/src/vmn_exp/cli/plugin.py +522 -0
  13. vmn_exp-0.1.0/src/vmn_exp/cli/provenance.py +127 -0
  14. vmn_exp-0.1.0/src/vmn_exp/cli/prune.py +340 -0
  15. vmn_exp-0.1.0/src/vmn_exp/cli/prune_query.py +40 -0
  16. vmn_exp-0.1.0/src/vmn_exp/cli/run.py +411 -0
  17. vmn_exp-0.1.0/src/vmn_exp/cli/supervisor.py +209 -0
  18. vmn_exp-0.1.0/src/vmn_exp/cli/views.py +53 -0
  19. vmn_exp-0.1.0/src/vmn_exp/gitmode/__init__.py +3 -0
  20. vmn_exp-0.1.0/src/vmn_exp/gitmode/capture.py +121 -0
  21. vmn_exp-0.1.0/src/vmn_exp/gitmode/checkout.py +98 -0
  22. vmn_exp-0.1.0/src/vmn_exp/gitmode/coldstart.py +138 -0
  23. vmn_exp-0.1.0/src/vmn_exp/importers/__init__.py +0 -0
  24. vmn_exp-0.1.0/src/vmn_exp/importers/_utils.py +25 -0
  25. vmn_exp-0.1.0/src/vmn_exp/importers/cli.py +183 -0
  26. vmn_exp-0.1.0/src/vmn_exp/importers/import_records.py +263 -0
  27. vmn_exp-0.1.0/src/vmn_exp/importers/mlflow_client.py +186 -0
  28. vmn_exp-0.1.0/src/vmn_exp/importers/mlflow_filestore.py +397 -0
  29. vmn_exp-0.1.0/src/vmn_exp/snapshot/__init__.py +539 -0
  30. vmn_exp-0.1.0/src/vmn_exp/ui/__init__.py +1 -0
  31. vmn_exp-0.1.0/src/vmn_exp/ui/cli.py +132 -0
  32. vmn_exp-0.1.0/src/vmn_exp/ui/experiment_source.py +108 -0
  33. vmn_exp-0.1.0/src/vmn_exp/ui/gil_hint.py +43 -0
  34. vmn_exp-0.1.0/src/vmn_exp/ui/http_params.py +28 -0
  35. vmn_exp-0.1.0/src/vmn_exp/ui/index.py +136 -0
  36. vmn_exp-0.1.0/src/vmn_exp/ui/jobs.py +272 -0
  37. vmn_exp-0.1.0/src/vmn_exp/ui/jobs_exp_meta.py +79 -0
  38. vmn_exp-0.1.0/src/vmn_exp/ui/jobs_models.py +83 -0
  39. vmn_exp-0.1.0/src/vmn_exp/ui/leaderboard_cache.py +349 -0
  40. vmn_exp-0.1.0/src/vmn_exp/ui/leaderboard_columns.py +60 -0
  41. vmn_exp-0.1.0/src/vmn_exp/ui/leaderboard_delta.py +162 -0
  42. vmn_exp-0.1.0/src/vmn_exp/ui/leaderboard_facets.py +92 -0
  43. vmn_exp-0.1.0/src/vmn_exp/ui/leaderboard_live.py +231 -0
  44. vmn_exp-0.1.0/src/vmn_exp/ui/leaderboard_tree.py +209 -0
  45. vmn_exp-0.1.0/src/vmn_exp/ui/memo.py +129 -0
  46. vmn_exp-0.1.0/src/vmn_exp/ui/middleware.py +34 -0
  47. vmn_exp-0.1.0/src/vmn_exp/ui/readers/__init__.py +0 -0
  48. vmn_exp-0.1.0/src/vmn_exp/ui/readers/changelog.py +130 -0
  49. vmn_exp-0.1.0/src/vmn_exp/ui/readers/config.py +76 -0
  50. vmn_exp-0.1.0/src/vmn_exp/ui/readers/diffs.py +161 -0
  51. vmn_exp-0.1.0/src/vmn_exp/ui/readers/experiment_detail.py +263 -0
  52. vmn_exp-0.1.0/src/vmn_exp/ui/readers/experiments.py +200 -0
  53. vmn_exp-0.1.0/src/vmn_exp/ui/readers/models.py +140 -0
  54. vmn_exp-0.1.0/src/vmn_exp/ui/readers/parsed_logs.py +274 -0
  55. vmn_exp-0.1.0/src/vmn_exp/ui/readers/series.py +121 -0
  56. vmn_exp-0.1.0/src/vmn_exp/ui/readers/snapshots.py +61 -0
  57. vmn_exp-0.1.0/src/vmn_exp/ui/readers/tree.py +157 -0
  58. vmn_exp-0.1.0/src/vmn_exp/ui/readers/versions.py +129 -0
  59. vmn_exp-0.1.0/src/vmn_exp/ui/refresher.py +129 -0
  60. vmn_exp-0.1.0/src/vmn_exp/ui/responses.py +167 -0
  61. vmn_exp-0.1.0/src/vmn_exp/ui/routes_leaderboard.py +99 -0
  62. vmn_exp-0.1.0/src/vmn_exp/ui/routes_models.py +143 -0
  63. vmn_exp-0.1.0/src/vmn_exp/ui/routes_series.py +79 -0
  64. vmn_exp-0.1.0/src/vmn_exp/ui/routes_tree.py +40 -0
  65. vmn_exp-0.1.0/src/vmn_exp/ui/schema_cache.py +36 -0
  66. vmn_exp-0.1.0/src/vmn_exp/ui/security.py +143 -0
  67. vmn_exp-0.1.0/src/vmn_exp/ui/server.py +441 -0
  68. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/Actions.js +1 -0
  69. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/Compare.js +2 -0
  70. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/CompareRuns.js +1 -0
  71. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/GroupedMetrics.js +1 -0
  72. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/LazyMount.js +1 -0
  73. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/MetricBarChart.js +1 -0
  74. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/MetricScatter.js +1 -0
  75. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/ModelDetail.js +1 -0
  76. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/Models.js +1 -0
  77. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/Overlay.js +1 -0
  78. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/ParallelCoordinates.js +1 -0
  79. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/ParamPlots.js +1 -0
  80. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/Run.js +2 -0
  81. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/SmoothingSlider.js +1 -0
  82. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/Snapshots.js +1 -0
  83. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/StampTree.js +2 -0
  84. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/UPlotChart.js +2 -0
  85. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/apiModels.js +1 -0
  86. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/chartHooks.js +1 -0
  87. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/cssColor.js +1 -0
  88. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/index.css +1 -0
  89. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/index.js +69 -0
  90. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/uplotLoader.css +1 -0
  91. vmn_exp-0.1.0/src/vmn_exp/ui/static/assets/uplotLoader.js +3 -0
  92. vmn_exp-0.1.0/src/vmn_exp/ui/static/index.html +19 -0
  93. vmn_exp-0.1.0/src/vmn_exp/ui/static_files.py +66 -0
  94. vmn_exp-0.1.0/src/vmn_exp/ui/tree_cache.py +52 -0
  95. vmn_exp-0.1.0/src/vmn_exp/ui/workspaces.py +165 -0
  96. vmn_exp-0.1.0/src/vmn_exp.egg-info/PKG-INFO +40 -0
  97. vmn_exp-0.1.0/src/vmn_exp.egg-info/SOURCES.txt +99 -0
  98. vmn_exp-0.1.0/src/vmn_exp.egg-info/dependency_links.txt +1 -0
  99. vmn_exp-0.1.0/src/vmn_exp.egg-info/entry_points.txt +5 -0
  100. vmn_exp-0.1.0/src/vmn_exp.egg-info/requires.txt +16 -0
  101. vmn_exp-0.1.0/src/vmn_exp.egg-info/top_level.txt +1 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2019-2026 Pavel Rogovoy
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
vmn_exp-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,40 @@
1
+ Metadata-Version: 2.4
2
+ Name: vmn-exp
3
+ Version: 0.1.0
4
+ Summary: vmn experiment platform: the vmn-exp CLI, dashboard and git-mode capture
5
+ Author-email: Pavel Rogovoy <p.rogovoy@gmail.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/progovoy/vmn
8
+ Requires-Python: >=3.8
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE.txt
11
+ Requires-Dist: vmn<1,>0.10.2rc9
12
+ Requires-Dist: vmn-exp-sdk==0.1.0
13
+ Provides-Extra: ui
14
+ Requires-Dist: fastapi>=0.110; extra == "ui"
15
+ Requires-Dist: uvicorn>=0.29; extra == "ui"
16
+ Requires-Dist: orjson>=3.9; extra == "ui"
17
+ Provides-Extra: s3
18
+ Requires-Dist: vmn-exp-sdk[s3]; extra == "s3"
19
+ Provides-Extra: sysmetrics
20
+ Requires-Dist: vmn-exp-sdk[sysmetrics]; extra == "sysmetrics"
21
+ Provides-Extra: mlflow
22
+ Requires-Dist: mlflow-skinny; extra == "mlflow"
23
+ Dynamic: license-file
24
+
25
+ # vmn-exp
26
+
27
+ The experiment platform built on [vmn](https://github.com/progovoy/vmn): the
28
+ `vmn-exp` command (experiments, model registry, snapshots), the web dashboard,
29
+ and capturing runs from a git checkout.
30
+
31
+ ```sh
32
+ pip install vmn-exp # add [ui] for the dashboard, [s3] for buckets
33
+ vmn-exp run my_app -- python train.py
34
+ vmn-exp list my_app --sort loss
35
+ vmn-exp ui
36
+ ```
37
+
38
+ Jobs that only record metrics need just
39
+ [`vmn-exp-sdk`](https://pypi.org/project/vmn-exp-sdk/). See
40
+ [docs/experiments.md](https://github.com/progovoy/vmn/blob/master/docs/experiments.md).
@@ -0,0 +1,16 @@
1
+ # vmn-exp
2
+
3
+ The experiment platform built on [vmn](https://github.com/progovoy/vmn): the
4
+ `vmn-exp` command (experiments, model registry, snapshots), the web dashboard,
5
+ and capturing runs from a git checkout.
6
+
7
+ ```sh
8
+ pip install vmn-exp # add [ui] for the dashboard, [s3] for buckets
9
+ vmn-exp run my_app -- python train.py
10
+ vmn-exp list my_app --sort loss
11
+ vmn-exp ui
12
+ ```
13
+
14
+ Jobs that only record metrics need just
15
+ [`vmn-exp-sdk`](https://pypi.org/project/vmn-exp-sdk/). See
16
+ [docs/experiments.md](https://github.com/progovoy/vmn/blob/master/docs/experiments.md).
@@ -0,0 +1,41 @@
1
+ [build-system]
2
+ requires = ["setuptools>=64"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "vmn-exp"
7
+ version = "0.1.0" # written by `vmn stamp vmn_exp`, shared with vmn-exp-sdk
8
+ description = "vmn experiment platform: the vmn-exp CLI, dashboard and git-mode capture"
9
+ readme = "README.md"
10
+ license = { text = "MIT" }
11
+ authors = [{ name = "Pavel Rogovoy", email = "p.rogovoy@gmail.com" }]
12
+ requires-python = ">=3.8"
13
+ dependencies = [
14
+ # The first vmn without its own `vmn exp`, with the plugin hooks used here.
15
+ "vmn>0.10.2rc9,<1",
16
+ # Released together with this package; tests/test_workspace.py keeps the
17
+ # pin equal to this package's own version.
18
+ "vmn-exp-sdk==0.1.0",
19
+ ]
20
+
21
+ [project.optional-dependencies]
22
+ ui = ["fastapi>=0.110", "uvicorn>=0.29", "orjson>=3.9"]
23
+ s3 = ["vmn-exp-sdk[s3]"]
24
+ sysmetrics = ["vmn-exp-sdk[sysmetrics]"]
25
+ mlflow = ["mlflow-skinny"]
26
+
27
+ [project.scripts]
28
+ vmn-exp = "vmn_exp.cli.main:main"
29
+
30
+ [project.entry-points."vmn.plugins"]
31
+ snapshot = "vmn_exp.cli.plugin:register_snapshot"
32
+
33
+ [project.urls]
34
+ Homepage = "https://github.com/progovoy/vmn"
35
+
36
+ [tool.setuptools.packages.find]
37
+ where = ["src"]
38
+ namespaces = true # vmn_exp is shared with vmn-exp-sdk (PEP 420)
39
+
40
+ [tool.setuptools.package-data]
41
+ "vmn_exp.ui" = ["static/*", "static/assets/*"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
File without changes
@@ -0,0 +1,5 @@
1
+ import sys
2
+
3
+ from vmn_exp.cli.main import main
4
+
5
+ sys.exit(main())