-
About
- Self-hosted AI coding assistant
-
macos
brew install tabbyml/tabby/tabby
# Start server with StarCoder-1B
tabby serve --device metal --model TabbyML/StarCoder-1B
- LinuxOS
- Run Tabby in 1 Minute https://github.com/TabbyML/tabby
- The easiest way to start a Tabby server is by using the following Docker command:
- Run Tabby in 1 Minute https://github.com/TabbyML/tabby
docker run -it \
--gpus all -p 8080:8080 -v $HOME/.tabby:/data \
tabbyml/tabby \
serve --model TabbyML/StarCoder-1B --device cuda
- Stability AI, 코딩용 LLM 모델 Stable Code 3B 공개 | GeekNews
- stable-code-3b
- 모델을 먼저 세팅해주고 해야 된다.
docker run -it \
--gpus all -p 8080:8080 -v $HOME/.tabby:/data \
tabbyml/tabby \
serve --model TabbyML/Mistral-7B --device cuda
docker run -it \
--gpus all -p 8080:8080 -v $HOME/.tabby:/data \
tabbyml/tabby \
serve --model TabbyML/StarCoder-3B --device cuda
- 모델 바꿔주기 좋네
docker run -it \
–gpus all -p 8080:8080 \
-e TABBY_DISABLE_USAGE_COLLECTION=1 \
-v $HOME/.tabby:/data \
tabbyml/tabby \
serve –model TabbyML/CodeLlama-7B –device cuda
$ cargo fmt && cargo check
- inlayhint 색깔 hex color (LunarVim Inlayhint Color Settings)
// 요즘 쓰는 색 240106
:hi Comment guifg=#35638f guibg=#420517
// 배경은 어두운 빨간색 / 글씨는 약간 밝은 색
:hi Comment guifg=#8aaecf guibg=#4e1a1a
-
install https://www.lunarvim.org/
-
.config/lvim 세팅
https://github.com/adibhanna/lvim-config
https://github.com/NTBBloodbath/zig-tools.nvim
-
Apply jk as esc
- /lua/user/keymaps.lua
-
lvim.keys.insert_mode["jk"] = "<Esc>"
-
Apply Relative Number
- /lua/user/option.lua
-
local options = { relativenumber = true, -- set relative numbered lines }
-
Apply colorscheme
-
- /lua/user/option.lua
-
-- lvim.colorscheme = "tokyonight-moon" -- lvim.colorscheme = "gruvbox-material" lvim.colorscheme = "habamax"
-
-
Rust fmt Setting()
-
The perfect Neovim setup for Rust. https://youtu.be/mh_EJhH49Ms
- /lua/user/plugins.lua
-- cargo fmt { "rust-lang/rust.vim", ft = "rust", init = function () vim.g.rustfmt_autosave = 1 end },
-
zig-tools (lsp) will be applied.
- todo!()