Skip to content

Commit

Permalink
Merge pull request #1122 from zhanhaozhao/dev-postgresql
Browse files Browse the repository at this point in the history
Update the README.md for Model Selection
  • Loading branch information
lzjpaul authored Nov 4, 2023
2 parents f7e9705 + b99e580 commit bc3a415
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ docker exec -it trails-singa bash
# 2. Clone the code
cd ~
git clone https://github.com/apache/singa.git
cd singa/examples/model_selection/TRAILS-Database-Native-Model-Selection/
cd singa/
git fetch origin singa-ms:singa-ms
git checkout singa-ms
cd examples/model_selection/TRAILS-Database-Native-Model-Selection/
# 3. Export PYTHONPATH
export PYTHONPATH=$PYTHONPATH:./internal/ml/model_selection
# 4. Start the RDBMS and then exit
Expand Down Expand Up @@ -118,6 +121,7 @@ CREATE EXTENSION pg_extension;
```

If the above fails, open another terminal and go into the docker via docker exec -it trails-singa bash

Then run the following
```bash
rm /home/postgres/.pgrx/14.9/pgrx-install/share/extension/pg_extension--0.1.0.sql
Expand Down

0 comments on commit bc3a415

Please sign in to comment.