Commit Graph

430 Commits (7ca416aa137819cff420a349a5ec3904bf057198)

Author SHA1 Message Date
Meng Zhang bd5fd0592a
fix: tabby agent shouldn't ping a url with trailing slash (#173)
* fix: tabby agent shouldn't ping a url with trailing slash

* remove status 200 check
2023-05-30 23:36:54 -07:00
Meng Zhang 5c0c1463de
chore: set concurrency in workflow (#174) 2023-05-30 23:36:34 -07:00
Meng Zhang b8d67770ee
fix: cors in /, stop words removal (#171) 2023-05-30 17:12:10 -07:00
Meng Zhang f3b37b253b
feat: add events logger (#170)
* add common events

* log events in serve

* formatting

* extract serde_conv

* update

* update

* fix logging

* update
2023-05-30 15:44:29 -07:00
Meng Zhang d8cee4adac
chore: extract tabby-common (#169)
* chore: extract tabby-common

* simplify
2023-05-29 23:39:02 -07:00
Zhiming Ma 781e6a7db3
Bump VSCode Extension version to 0.0.6. (#168) 2023-05-29 23:31:39 -07:00
Zhiming Ma f516b8024c
Update github actions docker.rust.yml to ignore clients changes. (#167) 2023-05-29 20:37:02 -07:00
Meng Zhang 8956056120
fix: support local model path (#165) 2023-05-29 17:40:16 -07:00
Meng Zhang 418558c05d chore: cargo fmt 2023-05-29 17:00:23 -07:00
Meng Zhang 0d11b0e832
Make language field optional in rust implementation (#164)
* remove download_model.py as we have tabby serve now

* Make language field optional
2023-05-29 16:58:02 -07:00
Zhiming Ma a9d74f7a35
Agent: Add completion cache. (#158) 2023-05-28 19:09:44 -07:00
Meng Zhang 48796ecd77
feat: add `tabby download` command (#157)
* simplify fmt-display

* cleanup

* move tabby-admin to reduce nest

* add model downloader

* get rid of model-type

* improve commands

* fix fmt
2023-05-28 14:36:11 -07:00
Meng Zhang 80d1dd1ca6
Add admin panel (behand --experimental-admin-panel) (#156)
* add admin

* add feature:admin_panel

* update

* add dist directory

* update
2023-05-28 01:17:32 -07:00
Meng Zhang b8309d98cc
Switch to sccache (#154)
* fix fmt

* fix

* fix test

* fix clippy

* switch to sc cache

* fix

* update

* update

* update

* fix

* add test

* remove clippy

* update

* disable incremental

* update

* simply
2023-05-27 16:20:17 -07:00
Meng Zhang 0000312460
Add download_model.py. Adjust ctranslate2 backend model structure (#153)
* adjust

* update

* update
2023-05-27 14:51:12 -07:00
Meng Zhang 734957d1de
build mac binary in ci (#152)
* build mac binary in ci

* update

* update

* turn on verbose

* fix cross compile

* update

* update

* update

* update

* update

* update

* update
2023-05-27 14:31:27 -07:00
Meng Zhang 552711a560
Support causal lm (decoder only model) (#151)
* support

* support causal lm
2023-05-27 01:26:33 -07:00
Meng Zhang 72ed30e9ff
Build link shared in docker for ctranslate2 (#150)
* Build link shared in docker

* update

* update
2023-05-27 00:05:56 -07:00
Meng Zhang 06cf34a007
support static linking of ctranslate2 (#148)
* support static linking of ctranslate2

* update

* remove submodule rust-cxx-cmake-bridge

* support alwayslink with whole-archive

* update

* move export_libs

* update docker config

* update ctranslate2

* remove

* update

* update build.rs

* parse external libs

* cleanup

* add cargo fmt
2023-05-26 21:34:31 -07:00
Meng Zhang 3788710882 update Dockerfile.rust 2023-05-26 11:24:18 -07:00
Meng Zhang 135a54b43c
Update Dockerfile.rust 2023-05-26 00:50:03 -07:00
Meng Zhang 7b10340e67 feat: add --port to serve command 2023-05-26 00:32:11 -07:00
Meng Zhang c296b83de9 chore: remove unused lock 2023-05-26 00:06:10 -07:00
Meng Zhang 364cbf8ee0 update Dockerfile.rust 2023-05-25 23:33:03 -07:00
Meng Zhang 8dfe49ec6c
feat: support cuda devices in rust tabby (#149) 2023-05-25 23:23:07 -07:00
Meng Zhang 484e754bc4
Update docker.rust.yml 2023-05-25 20:56:44 -07:00
Meng Zhang ed0b2af837 Update docker.rust.yml 2023-05-25 20:00:12 -07:00
Meng Zhang f5d8bc23c1 fix: checkout submodules in rust ci 2023-05-25 18:53:55 -07:00
Meng Zhang c937a5056a fix docker build 2023-05-25 18:25:34 -07:00
Meng Zhang 0acc975618
Support linux ctranslate2 cuda build (#147)
* Support linux build

* add <memory> to fix build error in linux

* add Dockerfile.tabby

* update

* update

* add rust docker image pipeline

* add docker.rust.yml
2023-05-25 18:18:22 -07:00
Meng Zhang 80588ddd22 fix: remove wrongly added submodule 2023-05-25 15:08:34 -07:00
Meng Zhang a2476af373
add ctranslate2-bindings / tabby rust packages (#146)
* add ctranslate2-bindings

* add fixme for linux build

* turn off shared lib

* add tabby-cli
2023-05-25 14:05:28 -07:00
Zhiming Ma c08f5acf26
VSCode extension: import agent lib. (#144) 2023-05-24 09:21:38 -07:00
Zhiming Ma ea0252c17d
Refactor to clarify agent interface. (#142)
* Refactor to clarify agent interface.

* Refactor stdio and extract types.

* Fix notification type.
2023-05-23 18:50:57 -07:00
Zhiming Ma eb67371cce
Move vim plugin node scripts to agent lib. (#141)
* Move vim plugin node scripts to agent lib.

* Fix gitignore.
2023-05-22 09:34:56 -07:00
Zhiming Ma 9c3a23ea51
Vim plugin: only trigger completion request when text changed. (#139) 2023-05-18 08:48:13 -07:00
Zhiming Ma 2b34d177ba
Vim plugin readability refactor. (#132) 2023-05-15 09:42:16 -07:00
vodkaslime 666d37ff52
small fix for completion cache (#130) 2023-05-12 08:10:57 -07:00
Zhiming Ma 75c82fa7c6
VSCode extensions: add completion cache. (#128) 2023-05-11 07:55:34 -07:00
Meng Zhang c68a00bd24
Update Events.md 2023-05-10 20:23:43 -07:00
Meng Zhang b12bc51068
Update README.md 2023-05-04 17:36:01 +08:00
Meng Zhang d452488c4b
Remove FLAGS_enable_meilisearch and FLAGS_rewrite_prompt_with_search_snippet (#122) 2023-05-01 15:06:06 +08:00
Zhiming Ma 5710994bca
Bump VSCode Extension version to 0.0.5. (#120) 2023-04-26 11:29:17 +08:00
Zhiming Ma 788911c31e
Update README.md. Add VSCode extension link to open-vsx.org. (#119) 2023-04-26 10:56:19 +08:00
ADLIBS 1b96c18ab8
update huggingface_gptneox_convert.py (#112)
* update huggingface_gptneox_convert.py

* fix format

* fix pre-commit
2023-04-23 21:36:46 +08:00
Zhiming Ma 300fe8c2b0
VIM plugin: Improve commands, and help document. (#113)
* VIM plugin: Add help and improve commands.

* Improve help command and command completion.
2023-04-21 13:06:16 +08:00
Zhiming Ma 3dedd49afc
Fix vim plugin: cancel pending completion request when make a new completion request. (#114) 2023-04-21 13:05:52 +08:00
Zhiming Ma b8730685e0
Improve VSCode extension configuration and validation. (#111) 2023-04-20 08:23:30 +08:00
Meng Zhang b9c7e11486
Rename to EditorExtensions 2023-04-19 17:09:06 +08:00
Zhiming Ma 6e3a982178
Add docs/internal/Clients.md. (#108)
* Add docs/internal/Clients.md.

* Remove docs/internal/clients link in README.md.
2023-04-19 17:07:47 +08:00