weco 0.2.9__tar.gz → 0.2.10__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 (42) hide show
  1. {weco-0.2.9 → weco-0.2.10}/.github/workflows/release.yml +2 -2
  2. {weco-0.2.9 → weco-0.2.10}/PKG-INFO +1 -1
  3. {weco-0.2.9 → weco-0.2.10}/pyproject.toml +1 -1
  4. {weco-0.2.9 → weco-0.2.10}/weco/__init__.py +1 -1
  5. {weco-0.2.9 → weco-0.2.10}/weco/cli.py +2 -2
  6. {weco-0.2.9 → weco-0.2.10}/weco.egg-info/PKG-INFO +1 -1
  7. {weco-0.2.9 → weco-0.2.10}/.github/workflows/lint.yml +0 -0
  8. {weco-0.2.9 → weco-0.2.10}/.gitignore +0 -0
  9. {weco-0.2.9 → weco-0.2.10}/LICENSE +0 -0
  10. {weco-0.2.9 → weco-0.2.10}/README.md +0 -0
  11. {weco-0.2.9 → weco-0.2.10}/examples/cuda/README.md +0 -0
  12. {weco-0.2.9 → weco-0.2.10}/examples/cuda/evaluate.py +0 -0
  13. {weco-0.2.9 → weco-0.2.10}/examples/cuda/guide.md +0 -0
  14. {weco-0.2.9 → weco-0.2.10}/examples/cuda/optimize.py +0 -0
  15. {weco-0.2.9 → weco-0.2.10}/examples/hello-kernel-world/evaluate.py +0 -0
  16. {weco-0.2.9 → weco-0.2.10}/examples/hello-kernel-world/optimize.py +0 -0
  17. {weco-0.2.9 → weco-0.2.10}/examples/metal/README.md +0 -0
  18. {weco-0.2.9 → weco-0.2.10}/examples/metal/evaluate.py +0 -0
  19. {weco-0.2.9 → weco-0.2.10}/examples/metal/examples.rst +0 -0
  20. {weco-0.2.9 → weco-0.2.10}/examples/metal/optimize.py +0 -0
  21. {weco-0.2.9 → weco-0.2.10}/examples/prompt/README.md +0 -0
  22. {weco-0.2.9 → weco-0.2.10}/examples/prompt/eval.py +0 -0
  23. {weco-0.2.9 → weco-0.2.10}/examples/prompt/optimize.py +0 -0
  24. {weco-0.2.9 → weco-0.2.10}/examples/prompt/prompt_guide.md +0 -0
  25. {weco-0.2.9 → weco-0.2.10}/examples/spaceship-titanic/README.md +0 -0
  26. {weco-0.2.9 → weco-0.2.10}/examples/spaceship-titanic/baseline.py +0 -0
  27. {weco-0.2.9 → weco-0.2.10}/examples/spaceship-titanic/evaluate.py +0 -0
  28. {weco-0.2.9 → weco-0.2.10}/examples/spaceship-titanic/optimize.py +0 -0
  29. {weco-0.2.9 → weco-0.2.10}/examples/spaceship-titanic/requirements-test.txt +0 -0
  30. {weco-0.2.9 → weco-0.2.10}/examples/spaceship-titanic/utils.py +0 -0
  31. {weco-0.2.9 → weco-0.2.10}/examples/triton/README.md +0 -0
  32. {weco-0.2.9 → weco-0.2.10}/examples/triton/evaluate.py +0 -0
  33. {weco-0.2.9 → weco-0.2.10}/examples/triton/optimize.py +0 -0
  34. {weco-0.2.9 → weco-0.2.10}/setup.cfg +0 -0
  35. {weco-0.2.9 → weco-0.2.10}/weco/api.py +0 -0
  36. {weco-0.2.9 → weco-0.2.10}/weco/panels.py +0 -0
  37. {weco-0.2.9 → weco-0.2.10}/weco/utils.py +0 -0
  38. {weco-0.2.9 → weco-0.2.10}/weco.egg-info/SOURCES.txt +0 -0
  39. {weco-0.2.9 → weco-0.2.10}/weco.egg-info/dependency_links.txt +0 -0
  40. {weco-0.2.9 → weco-0.2.10}/weco.egg-info/entry_points.txt +0 -0
  41. {weco-0.2.9 → weco-0.2.10}/weco.egg-info/requires.txt +0 -0
  42. {weco-0.2.9 → weco-0.2.10}/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.9'
93
+ 'v0.2.10'
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.9' dist/**
105
+ 'v0.2.10' dist/**
106
106
  --repo '${{ github.repository }}'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: weco
3
- Version: 0.2.9
3
+ Version: 0.2.10
4
4
  Summary: Documentation for `weco`, a CLI for using Weco AI's code optimizer.
5
5
  Author-email: Weco AI Team <contact@weco.ai>
6
6
  License: MIT
@@ -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.9"
13
+ version = "0.2.10"
14
14
  license = {text = "MIT"}
15
15
  requires-python = ">=3.8"
16
16
  dependencies = ["requests", "rich"]
@@ -1,4 +1,4 @@
1
1
  # DO NOT EDIT
2
- __pkg_version__ = "0.2.9"
2
+ __pkg_version__ = "0.2.10"
3
3
  __api_version__ = "v1"
4
4
  __base_url__ = f"https://api.aide.weco.ai/{__api_version__}"
@@ -125,7 +125,7 @@ def main() -> None:
125
125
  runs_dir.mkdir(parents=True, exist_ok=True)
126
126
 
127
127
  # Save the original code (.runs/<session-id>/original.<extension>)
128
- runs_copy_source_fp = runs_dir / f"original.{source_fp.suffix}"
128
+ runs_copy_source_fp = runs_dir / f"original{source_fp.suffix}"
129
129
  write_to_path(fp=runs_copy_source_fp, content=source_code)
130
130
 
131
131
  # Write the code string to the source file path
@@ -368,7 +368,7 @@ def main() -> None:
368
368
  best_solution_content = f"# Best solution from Weco with a score of {best_score_str}\n\n{best_solution_code}"
369
369
 
370
370
  # Save best solution to .runs/<session-id>/best.<extension>
371
- write_to_path(fp=runs_dir / f"best.{source_fp.suffix}", content=best_solution_content)
371
+ write_to_path(fp=runs_dir / f"best{source_fp.suffix}", content=best_solution_content)
372
372
 
373
373
  # write the best solution to the source file
374
374
  if not args.preserve_source:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: weco
3
- Version: 0.2.9
3
+ Version: 0.2.10
4
4
  Summary: Documentation for `weco`, a CLI for using Weco AI's code optimizer.
5
5
  Author-email: Weco AI Team <contact@weco.ai>
6
6
  License: MIT
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes