Skip to content

Commit 75d341b

Browse files
authored
[docs] Update local installation guide (#1262)
1 parent 5987ebc commit 75d341b

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

pgml-cms/docs/resources/developer-docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Once there, you can initialize `pgrx` and get going:
6767
#### Pgrx command line and environments
6868

6969
```commandline
70-
cargo install cargo-pgrx --version "0.9.8" --locked && \
70+
cargo install cargo-pgrx --version "0.11.2" --locked && \
7171
cargo pgrx init # This will take a few minutes
7272
```
7373

pgml-cms/docs/resources/developer-docs/installation.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ brew bundle
3636
PostgresML is written in Rust, so you'll need to install the latest compiler from [rust-lang.org](https://rust-lang.org). Additionally, we use the Rust PostgreSQL extension framework `pgrx`, which requires some initialization steps:
3737

3838
```bash
39-
cargo install cargo-pgrx --version 0.9.8 && \
39+
cargo install cargo-pgrx --version 0.11.2 && \
4040
cargo pgrx init
4141
```
4242

@@ -63,8 +63,7 @@ To install the necessary Python packages into a virtual environment, use the `vi
6363
```bash
6464
virtualenv pgml-venv && \
6565
source pgml-venv/bin/activate && \
66-
pip install -r requirements.txt && \
67-
pip install -r requirements-xformers.txt --no-dependencies
66+
pip install -r requirements.txt
6867
```
6968
{% endtab %}
7069

@@ -146,7 +145,7 @@ pgml_test=# SELECT pgml.version();
146145
We like and use pgvector a lot, as documented in our blog posts and examples, to store and search embeddings. You can install pgvector from source pretty easily:
147146

148147
```bash
149-
git clone --branch v0.4.4 https://github.com/pgvector/pgvector && \
148+
git clone --branch v0.5.0 https://github.com/pgvector/pgvector && \
150149
cd pgvector && \
151150
echo "trusted = true" >> vector.control && \
152151
make && \
@@ -288,7 +287,7 @@ We use the `pgrx` Postgres Rust extension framework, which comes with its own in
288287

289288
```bash
290289
cd pgml-extension && \
291-
cargo install cargo-pgrx --version 0.9.8 && \
290+
cargo install cargo-pgrx --version 0.11.2 && \
292291
cargo pgrx init
293292
```
294293

0 commit comments

Comments
 (0)