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