From b591ef87dd44a4b4b45ca66f6da8e4c645ec7c0f Mon Sep 17 00:00:00 2001 From: Jonas Knobloch Date: Fri, 17 Apr 2026 14:46:44 +0200 Subject: Add pyproject.toml --- pyproject.toml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pyproject.toml (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..875f003 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,24 @@ +[project] +name = "x" +version = "0.1.0" +requires-python = "==3.12.12" +dependencies = [ + "transformers", + "optimum", + "optimum[onnxruntime]", + "accelerate", + "onnxruntime; sys_platform == 'darwin'", + "onnxruntime-gpu; sys_platform != 'darwin'", + "pyarrow>=23.0.0", + "onnx>=1.17.0", + "numpy>=2.4.2", + "datasets>=4.5.0", + "polars>=1.38.1", + "matplotlib>=3.10.8", +] + +[tool.uv] +required-environments = [ + "sys_platform == 'darwin' and platform_machine == 'arm64'", + "sys_platform == 'linux' and platform_machine == 'x86_64'", +] \ No newline at end of file -- cgit v1.3.1