summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-16 05:00:14 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-16 05:00:14 +0000
commit0130b9fd35ada0bcb118ec5d185a0a8e33f65f6a (patch)
treebf9049f0d2548334c407c8c93b4365aa5c9af6d8
parent653a30bbe7273b577ad2307657d80ab737f846c8 (diff)
automatic import of botorch
-rw-r--r--.gitignore1
-rw-r--r--botorch.spec51
-rw-r--r--sources1
3 files changed, 53 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d5809ea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/botorch-0.9.5.tar.gz
diff --git a/botorch.spec b/botorch.spec
new file mode 100644
index 0000000..cc44b9a
--- /dev/null
+++ b/botorch.spec
@@ -0,0 +1,51 @@
+%global _empty_manifest_terminate_build 0
+
+Name: botorch
+Version: 0.9.5
+Release: 1
+Summary: Bayesian optimization in PyTorch
+License: MIT
+URL: https://pytorch.org/botorch
+Source0: botorch-0.9.5.tar.gz
+
+Requires: python3-gpytorch
+Requires: python3-multipledispatch
+Requires: python3-pytorch
+Requires: python3-pyro-ppl
+Requires: python3-scipy
+
+%description
+BoTorch is a library for Bayesian Optimization built on PyTorch. It provides a modular and easily extensible interface for composing Bayesian optimization primitives, including probabilistic models, acquisition functions, and optimizers.
+
+%package -n python3-botorch
+Summary: Bayesian optimization in PyTorch
+Provides: python-botorch
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-setuptools_scm
+BuildRequires: python3-pbr
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
+BuildRequires: python3-hatchling
+
+%description -n python3-botorch
+BoTorch is a library for Bayesian Optimization built on PyTorch. It provides a modular and easily extensible interface for composing Bayesian optimization primitives, including probabilistic models, acquisition functions, and optimizers.
+
+%prep
+%autosetup -p1 -n %{name}-%{version}
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install
+
+%files -n python3-botorch
+%doc *.md
+%license LICENSE
+%{python3_sitelib}/*
+
+%changelog
+* Tue Apr 16 2024 weilaijishu
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..b8ba976
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+a567a6b01152955abaccb8e58c3473d4 botorch-0.9.5.tar.gz