weco 0.2.1__tar.gz → 0.2.2__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.
- {weco-0.2.1 → weco-0.2.2}/.github/workflows/release.yml +2 -2
- {weco-0.2.1 → weco-0.2.2}/PKG-INFO +1 -1
- {weco-0.2.1 → weco-0.2.2}/pyproject.toml +1 -1
- {weco-0.2.1 → weco-0.2.2}/weco/__init__.py +1 -1
- {weco-0.2.1 → weco-0.2.2}/weco/cli.py +3 -0
- {weco-0.2.1 → weco-0.2.2}/weco.egg-info/PKG-INFO +1 -1
- {weco-0.2.1 → weco-0.2.2}/.github/workflows/lint.yml +0 -0
- {weco-0.2.1 → weco-0.2.2}/.gitignore +0 -0
- {weco-0.2.1 → weco-0.2.2}/LICENSE +0 -0
- {weco-0.2.1 → weco-0.2.2}/README.md +0 -0
- {weco-0.2.1 → weco-0.2.2}/examples/simple-mlx/evaluate.py +0 -0
- {weco-0.2.1 → weco-0.2.2}/examples/simple-mlx/metal-examples.rst +0 -0
- {weco-0.2.1 → weco-0.2.2}/examples/simple-mlx/optimize.py +0 -0
- {weco-0.2.1 → weco-0.2.2}/examples/simple-torch/evaluate.py +0 -0
- {weco-0.2.1 → weco-0.2.2}/examples/simple-torch/optimize.py +0 -0
- {weco-0.2.1 → weco-0.2.2}/setup.cfg +0 -0
- {weco-0.2.1 → weco-0.2.2}/weco/api.py +0 -0
- {weco-0.2.1 → weco-0.2.2}/weco/panels.py +0 -0
- {weco-0.2.1 → weco-0.2.2}/weco/utils.py +0 -0
- {weco-0.2.1 → weco-0.2.2}/weco.egg-info/SOURCES.txt +0 -0
- {weco-0.2.1 → weco-0.2.2}/weco.egg-info/dependency_links.txt +0 -0
- {weco-0.2.1 → weco-0.2.2}/weco.egg-info/entry_points.txt +0 -0
- {weco-0.2.1 → weco-0.2.2}/weco.egg-info/requires.txt +0 -0
- {weco-0.2.1 → weco-0.2.2}/weco.egg-info/top_level.txt +0 -0
|
@@ -90,7 +90,7 @@ jobs:
|
|
|
90
90
|
GITHUB_TOKEN: ${{ github.token }}
|
|
91
91
|
run: >-
|
|
92
92
|
gh release create
|
|
93
|
-
'v0.2.
|
|
93
|
+
'v0.2.2'
|
|
94
94
|
--repo '${{ github.repository }}'
|
|
95
95
|
--notes ""
|
|
96
96
|
|
|
@@ -102,5 +102,5 @@ jobs:
|
|
|
102
102
|
# sigstore-produced signatures and certificates.
|
|
103
103
|
run: >-
|
|
104
104
|
gh release upload
|
|
105
|
-
'v0.2.
|
|
105
|
+
'v0.2.2' dist/**
|
|
106
106
|
--repo '${{ github.repository }}'
|
|
@@ -10,7 +10,7 @@ authors = [
|
|
|
10
10
|
]
|
|
11
11
|
description = "Documentation for `weco`, a CLI for using Weco AI's code optimizer."
|
|
12
12
|
readme = "README.md"
|
|
13
|
-
version = "0.2.
|
|
13
|
+
version = "0.2.2"
|
|
14
14
|
license = {text = "MIT"}
|
|
15
15
|
requires-python = ">=3.12"
|
|
16
16
|
dependencies = ["requests", "rich"]
|
|
@@ -185,6 +185,9 @@ def main() -> None:
|
|
|
185
185
|
# Save next solution (.runs/<session-id>/step_<step>.py)
|
|
186
186
|
write_to_path(fp=runs_dir / f"step_{step}.py", content=eval_and_next_solution_response["code"])
|
|
187
187
|
|
|
188
|
+
# Write the next solution to the source file
|
|
189
|
+
write_to_path(fp=source_fp, content=eval_and_next_solution_response["code"])
|
|
190
|
+
|
|
188
191
|
# Get the optimization session status for
|
|
189
192
|
# the best solution, its score, and the history to plot the tree
|
|
190
193
|
status_response = get_optimization_session_status(console=console, session_id=session_id, include_history=True)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|