llama.cpp
Add `cvector-generator` example
#7514
Merged

Add `cvector-generator` example #7514

ngxson
ngxson add control-vector-generator
0a46d730
ngxson calc diff
c31c118d
github-actions github-actions added examples
ngxson ngxson added help wanted
mofosyne mofosyne added Review Complexity : High
christianazinn
ngxson add comments
b30bea32
ngxson
christianazinn
ngxson
christianazinn proof-of-concept stdlib implementation
73747fe8
christianazinn
christianazinn param parsing, refactor, comments
f58f6af1
christianazinn
ngxson
christianazinn
christianazinn example template completions
dc46264f
christianazinn
ngxson add multi prompts, multi-thread for PCA
447023fc
ngxson
ngxson
ngxson commented on 2024-05-30
ngxson fix mem error
287da25f
ngxson
ngxson commented on 2024-05-30
slaren
slaren commented on 2024-05-30
ngxson add debugs
d446c6d8
ngxson
christianazinn
christianazinn
christianazinn
christianazinn
christianazinn fix matrix transpose multiplication
31f153fe
christianazinn
christianazinn preliminary template/multiprompt support
fa85ba6a
ngxson
christianazinn
christianazinn
christianazinn fix zero output & param parsing, functional templating
4d88cd1a
christianazinn fix square_diff matmul index range and CRLF->LF line endings
4d7d71bc
christianazinn add command-line args for num threads, num completions file lines, al…
62560367
christianazinn code aestheticization
db3ba108
christianazinn
christianazinn fix compiler warnings
86842b20
christianazinn in-series multithreading for prompt embedding?
54426888
christianazinn
ngxson
ngxson
slaren
ngxson
ngxson commented on 2024-06-01
ngxson
ngxson commented on 2024-06-01
ngxson
ngxson commented on 2024-06-01
christianazinn
christianazinn remove unnecessary multithreading
3090c485
christianazinn interim fix memory leak
df623fff
christianazinn
christianazinn translated everything but PCA (I think)
0e1f9734
christianazinn
christianazinn commented on 2024-06-01
christianazinn
christianazinn tentatively translate the rest
b67ea659
christianazinn fix ggml errors and make new ones
a23c72e4
christianazinn
ngxson
ngxson fix cb_eval
15d5c257
ngxson
ngxson
ngxson commented on 2024-06-02
ngxson
ngxson commented on 2024-06-02
ngxson
ngxson commented on 2024-06-02
christianazinn
christianazinn commented on 2024-06-03
christianazinn
christianazinn commented on 2024-06-03
christianazinn
christianazinn commented on 2024-06-03
christianazinn temporary commit while I move dev environments
07dba13a
christianazinn
christianazinn
christianazinn update debug statements
23fd1b58
christianazinn pre-tokenize so we can allocate correct memory to ctx_diffs_wrapped
3815a0c3
christianazinn update comments
a42e783d
ngxson
ngxson commented on 2024-06-05
ngxson
ngxson commented on 2024-06-05
ngxson
ngxson commented on 2024-06-05
ngxson
ngxson
christianazinn
ngxson (wip) refactor
a710df74
ngxson
slaren
slaren commented on 2024-06-07
slaren
slaren commented on 2024-06-07
christianazinn
christianazinn commented on 2024-06-07
christianazinn
ngxson clean up PCA ggml implementation
c241b500
ngxson
ngxson fix shape of v_diff_original
6a5adf3d
christianazinn
ngxson
ngxson commented on 2024-06-11
ngxson add n_batch for pca
9e39571f
ngxson
ngxson working version
1a088fb0
ngxson remember to copy back the last_eigenvector
16391686
ngxson
ngxson
christianazinn
christianazinn fix n_completions
446da906
ngxson bring back n_completions
d41c7199
ngxson
ngxson default n_pca_batch to 20
3223133c
ngxson fix macos build
da6babdf
jukofyork
jukofyork
ngxson
slaren
slaren commented on 2024-06-11
ngxson
ngxson
ngxson Merge branch 'master' into xsn/control-vector-generator
85db22dd
ngxson add to makefile all targets
54f77e24
ngxson use ggml_format_name
04c91d29
ngxson add readme
5ffba9ec
ngxson ngxson marked this pull request as ready for review 1 year ago
ngxson ngxson added need feedback
ngxson ngxson removed help wanted
ngxson ngxson changed the title Add control-vector-generator (WIP) Add `control-vector-generator` example 1 year ago
ngxson ngxson requested a review from ggerganov ggerganov 1 year ago
ngxson ngxson requested a review from slaren slaren 1 year ago
ngxson ngxson requested a review from christianazinn christianazinn 1 year ago
ngxson fix .editorconfig
e9cb3b33
slaren
slaren commented on 2024-06-12
ngxson use ggml_backend_tensor_copy
7297817d
ngxson attemp to fix compile problem on mac
e683b9af
ngxson fix compile warn
8ee0c966
ngxson reuse allocr
f54cb8e3
ggerganov
ggerganov commented on 2024-06-12
ngxson move param parser to common
679f5137
ngxson better error handling
a2a5f1bf
ngxson clean up a bit
b22c8459
ggerganov
ggerganov commented on 2024-06-12
ngxson add print_usage
c59bfa63
ngxson shorten help msg
334dbaed
christianazinn
ngxson
calvin-laurenson
ngxson
ggerganov
ggerganov approved these changes on 2024-06-13
ngxson beautify help msg
25fb0a6e
ngxson escape prompt by default
ca86d4fd
ngxson Merge branch 'master' into xsn/control-vector-generator
2f055584
ngxson change compile target to llama-cvector-generator
64cad20c
ngxson
ngxson commented on 2024-06-13
ngxson typo
91f7dbfd
ngxson disable GPU for PCA
f99be2c3
ngxson ngxson changed the title Add `control-vector-generator` example Add `cvector-generator` example 1 year ago
ngxson code style
6d2464ae
slaren
slaren approved these changes on 2024-06-14
ngxson ngxson added merge ready
ngxson ngxson merged 0c7b3595 into master 1 year ago
person4268

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone