Skip to content

Commit

Permalink
adding postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Mar 19, 2024
1 parent 45a107e commit f24e240
Show file tree
Hide file tree
Showing 18 changed files with 34 additions and 18 deletions.
2 changes: 1 addition & 1 deletion 2023/04/28/gpt4all
Submodule gpt4all updated 44 files
+59 −40 .github/workflows/test-docker-build.yml
+15 −0 docs/source/accelerate/deepspeed.md
+29 −0 docs/source/developer_guides/lora.md
+3 −3 docs/source/developer_guides/quantization.md
+1 −1 docs/source/task_guides/prompt_based_methods.md
+9 −10 examples/causal_language_modeling/peft_lora_clm_accelerate_ds_zero3_offload.py
+1 −1 examples/conditional_generation/peft_adalora_seq2seq.py
+9 −10 examples/conditional_generation/peft_lora_seq2seq_accelerate_ds_zero3_offload.py
+3 −1 examples/feature_extraction/peft_lora_embedding_semantic_search.py
+1 −1 examples/feature_extraction/peft_lora_embedding_semantic_similarity_inference.ipynb
+2 −2 examples/fp4_finetuning/finetune_fp4_opt_bnb_peft.py
+2 −2 examples/int8_training/Finetune_flan_t5_large_bnb_peft.ipynb
+4 −4 examples/int8_training/Finetune_opt_bnb_peft.ipynb
+4 −2 examples/int8_training/fine_tune_blip2_int8.py
+4 −1 examples/int8_training/peft_adalora_whisper_large_training.py
+4 −4 examples/int8_training/peft_bnb_whisper_large_v2_training.ipynb
+2 −2 examples/multi_adapter_examples/PEFT_Multi_LoRA_Inference.ipynb
+1 −1 examples/sft/train.py
+4 −5 examples/sft/utils.py
+1 −1 setup.py
+1 −1 src/peft/__init__.py
+7 −0 src/peft/mixed_model.py
+7 −0 src/peft/peft_model.py
+3 −2 src/peft/tuners/adalora/layer.py
+7 −0 src/peft/tuners/adaption_prompt/config.py
+13 −5 src/peft/tuners/adaption_prompt/layer.py
+12 −2 src/peft/tuners/adaption_prompt/utils.py
+82 −26 src/peft/tuners/lora/bnb.py
+44 −0 src/peft/tuners/lora/config.py
+13 −1 src/peft/tuners/lora/gptq.py
+165 −16 src/peft/tuners/lora/layer.py
+50 −8 src/peft/tuners/lora/model.py
+13 −7 src/peft/tuners/lora/tp_layer.py
+10 −1 src/peft/tuners/prompt_tuning/config.py
+105 −5 src/peft/tuners/tuners_utils.py
+69 −0 src/peft/utils/integrations.py
+1 −1 tests/regression/test_regression.py
+375 −1 tests/test_adaption_prompt.py
+212 −29 tests/test_common_gpu.py
+23 −2 tests/test_custom_models.py
+40 −1 tests/test_decoder_models.py
+294 −18 tests/test_gpu_examples.py
+55 −5 tests/test_initialization.py
+3 −3 tests/test_tuners_utils.py
2 changes: 1 addition & 1 deletion 2023/04/29/gpt4all-ui
2 changes: 1 addition & 1 deletion 2023/07/17/experiments/transformers
Submodule transformers updated 209 files
2 changes: 1 addition & 1 deletion 2024/03/12/gnutls
Submodule gnutls updated from 7b6856 to a97486
2 changes: 1 addition & 1 deletion 2024/03/12/guile
Submodule guile updated from e1690f to 4ec155
2 changes: 1 addition & 1 deletion 2024/03/12/guix-artwork
Submodule guix-artwork updated from 3101f1 to d9ea60
2 changes: 1 addition & 1 deletion 2024/03/13/guile
Submodule guile updated from 4ec155 to 6da17c
2 changes: 1 addition & 1 deletion 2024/03/13/guile-gcrypt
Submodule guile-gcrypt updated from 25f47d to d54237
2 changes: 1 addition & 1 deletion 2024/03/13/guile-json
Submodule guile-json updated 1 files
+0 −11 build.sh
2 changes: 1 addition & 1 deletion 2024/03/13/guile-sqlite3
Submodule guile-sqlite3 updated from 48cbb2 to 5fa25e
2 changes: 1 addition & 1 deletion 2024/03/13/guile-zlib
Submodule guile-zlib updated from bc0f48 to 13c512
2 changes: 1 addition & 1 deletion 2024/03/13/libgit2
Submodule libgit2 updated 1 files
+0 −10 build.sh
2 changes: 1 addition & 1 deletion 2024/03/13/scheme-bytestructures
2 changes: 1 addition & 1 deletion 2024/03/18/guix-cuirass
Submodule guix-cuirass updated 1 files
+12 −12 configure.ac
18 changes: 17 additions & 1 deletion 2024/03/19/notes.org
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,22 @@ nix build .#psql_15/bin -o result-15
./initdb -D data2

#./pg_ctl -D data2 -l logfile start
./postgres -D data2
./postgres -D data2 &

ln -s /nix/store/lzffdhdlp7fg1ggm7spbs2czlny0m6nm-postgresql-and-plugins-15.6/bin/createuser

./createuser root

ln -s /nix/store/lzffdhdlp7fg1ggm7spbs2czlny0m6nm-postgresql-and-plugins-15.6/bin/createdb
./createdb cuirass

ln -s /nix/store/lzffdhdlp7fg1ggm7spbs2czlny0m6nm-postgresql-and-plugins-15.6/bin/psql
#+end_src

./psql

#+begin_src shell
grant all PRIVILEGES on schema public to root;
grant all PRIVILEGES on database cuirass to root;
alter database cuirass owner to root;
#+end_src

0 comments on commit f24e240

Please sign in to comment.