You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pgml-extension/pgml_rust/README.md
+24-8Lines changed: 24 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,20 +4,36 @@ Here we have some POC code to use Rust for PostgresML.
4
4
5
5
## Dependencies
6
6
7
-
All dependencies are vendored. I downloaded XGBoost 1.62 and all its submodules. We're also using the `master` branch of `xgboost` Rust crate.
7
+
All dependencies are vendored. I downloaded XGBoost 1.62 and all its submodules. We're also using the `master` branch of `xgboost` Rust crate and `openblas-src`.
7.`SELECT * FROM pgml_rust.predict('Project name', ARRAY[1, 5.0, 2.0]);`
22
24
23
-
Lots of todos, but still a decent PoC.
25
+
## Packaging
26
+
27
+
We currently support Ubuntu 18.04 and newer. Mac OS (Apple Sillicon) support is in progress. Provided in the repo is the `.deb` builder, which requires Docker. Once Docker is installed, you can run:
28
+
29
+
```bash
30
+
bash build_extension.sh
31
+
```
32
+
33
+
which will produce a `.deb` file in the current directory. The deb file can be installed with `apt-get`, for example:
0 commit comments