Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mike dupont committed Mar 19, 2024
1 parent c1edf18 commit 45a107e
Show file tree
Hide file tree
Showing 18 changed files with 41 additions and 38 deletions.
2 changes: 1 addition & 1 deletion 2023/04/28/gpt4all
Submodule gpt4all updated 44 files
+40 −59 .github/workflows/test-docker-build.yml
+0 −15 docs/source/accelerate/deepspeed.md
+0 −29 docs/source/developer_guides/lora.md
+3 −3 docs/source/developer_guides/quantization.md
+1 −1 docs/source/task_guides/prompt_based_methods.md
+10 −9 examples/causal_language_modeling/peft_lora_clm_accelerate_ds_zero3_offload.py
+1 −1 examples/conditional_generation/peft_adalora_seq2seq.py
+10 −9 examples/conditional_generation/peft_lora_seq2seq_accelerate_ds_zero3_offload.py
+1 −3 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
+2 −4 examples/int8_training/fine_tune_blip2_int8.py
+1 −4 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
+5 −4 examples/sft/utils.py
+1 −1 setup.py
+1 −1 src/peft/__init__.py
+0 −7 src/peft/mixed_model.py
+0 −7 src/peft/peft_model.py
+2 −3 src/peft/tuners/adalora/layer.py
+0 −7 src/peft/tuners/adaption_prompt/config.py
+5 −13 src/peft/tuners/adaption_prompt/layer.py
+2 −12 src/peft/tuners/adaption_prompt/utils.py
+26 −82 src/peft/tuners/lora/bnb.py
+0 −44 src/peft/tuners/lora/config.py
+1 −13 src/peft/tuners/lora/gptq.py
+16 −165 src/peft/tuners/lora/layer.py
+8 −50 src/peft/tuners/lora/model.py
+7 −13 src/peft/tuners/lora/tp_layer.py
+1 −10 src/peft/tuners/prompt_tuning/config.py
+5 −105 src/peft/tuners/tuners_utils.py
+0 −69 src/peft/utils/integrations.py
+1 −1 tests/regression/test_regression.py
+1 −375 tests/test_adaption_prompt.py
+29 −212 tests/test_common_gpu.py
+2 −23 tests/test_custom_models.py
+1 −40 tests/test_decoder_models.py
+18 −294 tests/test_gpu_examples.py
+5 −55 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 a97486 to 7b6856
2 changes: 1 addition & 1 deletion 2024/03/12/guile
Submodule guile updated from 4ec155 to e1690f
2 changes: 1 addition & 1 deletion 2024/03/12/guix-artwork
Submodule guix-artwork updated from d9ea60 to 3101f1
2 changes: 1 addition & 1 deletion 2024/03/13/guile
Submodule guile updated from 6da17c to 4ec155
2 changes: 1 addition & 1 deletion 2024/03/13/guile-gcrypt
Submodule guile-gcrypt updated from d54237 to 25f47d
2 changes: 1 addition & 1 deletion 2024/03/13/guile-json
Submodule guile-json updated 1 files
+11 −0 build.sh
2 changes: 1 addition & 1 deletion 2024/03/13/guile-sqlite3
Submodule guile-sqlite3 updated from 5fa25e to 48cbb2
2 changes: 1 addition & 1 deletion 2024/03/13/guile-zlib
Submodule guile-zlib updated from 13c512 to bc0f48
2 changes: 1 addition & 1 deletion 2024/03/13/libgit2
Submodule libgit2 updated 1 files
+10 −0 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
45 changes: 24 additions & 21 deletions 2024/03/19/notes.org
Original file line number Diff line number Diff line change
Expand Up @@ -189,26 +189,29 @@ grep -P '(nix|guix)' ./sorte.txt | grep clone_url |cut '-d"' -f4 |cut -d. -f1-

for x in `cat urls.txt `; do grep $x /mnt/data1/nix/time/.gitmodules || echo nope $x; done

** postgres
** clean
#+begin_src shell
nix gc
nix clean
nix --help |grep clean
nix-store --gc
#+end_src

127 nix gc
128 nix clean
129 nix --help |grep clean
130 nix-store --gc
131 df -h
132 df
133 mkdir /home/postgres
134 chown postgres: /home/postgres
135 mkdir /run/postgresql
136 chown postgres: /run/postgresql
137 history
** postgres
#+begin_src shell
mkdir /home/postgres
chown postgres: /home/postgres
mkdir /run/postgresql
chown postgres: /run/postgresql
nix build .#psql_15/bin -o result-15
git submodule update .
cd nix-postgres/
bash-5.2#
ln -s /nix/store/lzffdhdlp7fg1ggm7spbs2czlny0m6nm-postgresql-and-plugins-15.6/bin/postgres
# ln -s /nix/store/lzffdhdlp7fg1ggm7spbs2czlny0m6nm-postgresql-and-plugins-15.6/bin/initdb
./initdb -D data2
# ln -s /nix/store/lzffdhdlp7fg1ggm7spbs2czlny0m6nm-postgresql-and-plugins-15.6/bin/pg_ctl
#./pg_ctl -D data2 -l logfile start
./postgres -D data2
#+end_src

#+begin_src shell

ln -s /nix/store/lzffdhdlp7fg1ggm7spbs2czlny0m6nm-postgresql-and-plugins-15.6/bin/postgres
./initdb -D data2

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

#+end_src

0 comments on commit 45a107e

Please sign in to comment.