From 80c580b57165ad47848b80aed7d887b0f75f3a5f Mon Sep 17 00:00:00 2001 From: Dunura Witharama Date: Wed, 21 Jan 2026 21:05:46 +0530 Subject: [PATCH] docs: clarify version module and improve typing --- src/executorch/version.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/executorch/version.py diff --git a/src/executorch/version.py b/src/executorch/version.py new file mode 100644 index 00000000000..3c580a38d92 --- /dev/null +++ b/src/executorch/version.py @@ -0,0 +1,16 @@ +""" +Version information for the ExecuTorch package. + +This module exposes the public package version as well as the +corresponding Git commit hash used to build the release. +""" + +from typing import Optional + +__all__ = ["__version__", "git_version"] + +#: Human-readable package version (PEP 440 compatible). +__version__: str = "1.2.0a0+a20cb0d" + +#: Git commit hash associated with this build, if available. +git_version: Optional[str] = "a20cb0dbb6a41b239e24dea0142b657eaf913f5f"