omnimalloc 0.2.0__tar.gz → 0.3.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.
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/CMakeLists.txt +1 -1
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/PKG-INFO +1 -1
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/pyproject.toml +5 -1
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/cpp/primitives/id_type.hpp +1 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/common/registry.py +3 -2
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/primitives/allocation.py +1 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/.clang-format +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/.clang-tidy +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/.gitignore +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/.pre-commit-config.yaml +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/.python-version +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/LICENSE +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/README.md +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/examples/01_basic.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/examples/02_plotting.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/examples/03_allocators.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/examples/04_sources.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/examples/05_benchmark.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/examples/README.md +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/cpp/allocators/greedy.cpp +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/cpp/allocators/greedy.hpp +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/cpp/bindings.cpp +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/cpp/primitives/allocation.cpp +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/cpp/primitives/allocation.hpp +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/cpp/primitives/buffer_kind.hpp +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/cpp/primitives/hash_utils.hpp +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/_cpp.pyi +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/allocate.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/allocators/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/allocators/base.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/allocators/genetic.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/allocators/greedy.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/allocators/greedy_cpp.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/allocators/hillclimb.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/allocators/minimalloc.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/allocators/naive.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/allocators/random.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/allocators/utils.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/benchmark.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/converters/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/converters/model.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/converters/onnx.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/results/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/results/campaign.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/results/export.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/results/report.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/results/result.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/results/utils.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/results/visualize.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/sources/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/sources/base.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/sources/generator.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/sources/huggingface.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/sources/minimalloc.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/sources/utils.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/timer.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/utils.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/common/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/common/directories.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/common/optional.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/common/units.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/primitives/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/primitives/memory.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/primitives/pool.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/primitives/system.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/primitives/utils.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/py.typed +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/validate.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/visualize.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/conftest.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/integration/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/integration/test_allocators_on_sources.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/integration/test_examples.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/integration/test_notebooks.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/allocators/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/allocators/test_greedy.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/allocators/test_greedy_cpp.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/allocators/test_naive.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/benchmark/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/benchmark/converters/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/benchmark/converters/test_model.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/benchmark/converters/test_onnx.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/benchmark/results/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/benchmark/results/test_campaign.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/benchmark/results/test_export.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/benchmark/results/test_report.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/benchmark/results/test_result.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/benchmark/results/test_visualize.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/benchmark/sources/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/benchmark/sources/test_base.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/benchmark/sources/test_generator.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/benchmark/sources/test_huggingface.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/benchmark/sources/test_minimalloc.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/benchmark/test_benchmark.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/benchmark/test_timer.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/common/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/common/test_directories.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/common/test_registry.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/primitives/__init__.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/primitives/test_allocation.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/primitives/test_bufferkind.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/primitives/test_memory.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/primitives/test_pool.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/primitives/test_system.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/primitives/test_utils.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/test_allocate.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/test_validate.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/tests/unit/test_visualize.py +0 -0
- {omnimalloc-0.2.0 → omnimalloc-0.3.0}/uv.lock +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "omnimalloc"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.3.0" # Also update CMakeLists.txt
|
|
8
8
|
description = "Your one-stop shop for static memory allocation."
|
|
9
9
|
readme = { file = "README.md", content-type = "text/markdown" }
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -73,8 +73,12 @@ skip = "*-musllinux_*"
|
|
|
73
73
|
# test-command = "pytest {project}/tests/unit -x --no-header -q"
|
|
74
74
|
|
|
75
75
|
[tool.cibuildwheel.linux]
|
|
76
|
+
archs = ["auto"]
|
|
76
77
|
before-all = "yum install -y cmake || apk add cmake"
|
|
77
78
|
|
|
79
|
+
[tool.cibuildwheel.macos]
|
|
80
|
+
archs = ["arm64"]
|
|
81
|
+
|
|
78
82
|
[tool.ruff]
|
|
79
83
|
line-length = 88
|
|
80
84
|
target-version = "py310"
|
|
@@ -12,8 +12,9 @@ from typing_extensions import Self
|
|
|
12
12
|
class Registered(ABC):
|
|
13
13
|
"""Mixin for auto-registering and managing subclasses.
|
|
14
14
|
|
|
15
|
-
Any direct subclass of will maintain its own registry. Any
|
|
16
|
-
subclass that's not abstract will be registered in the
|
|
15
|
+
Any direct subclass of Registered will maintain its own registry. Any
|
|
16
|
+
subclass of that subclass that's not abstract will be registered in the
|
|
17
|
+
direct subclass's registry.
|
|
17
18
|
"""
|
|
18
19
|
|
|
19
20
|
_registry: ClassVar[dict[str, type[Self]]]
|
|
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
|
|
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
|
{omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/converters/__init__.py
RENAMED
|
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
|
{omnimalloc-0.2.0 → omnimalloc-0.3.0}/src/python/omnimalloc/benchmark/sources/huggingface.py
RENAMED
|
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
|
|
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
|
|
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
|