shaofanqi
shaofanqi
please help. 4月 23 17:39:17 ollama[2069]: time=2025-04-23T17:39:17.821+08:00 level=DEBUG source=gpu.go:406 msg="updating system memory data" before.total="251.5 GiB" before.free="246.1 GiB" before.free_swap="2.0 GiB" now.total="251.5 GiB" now.free="246.1 GiB" now.free_swap="2.0 GiB" 4月 23 17:39:17 ollama[2069]: initializing...
> ``` > 4月 23 17:39:18 ollama[2069]: time=2025-04-23T17:39:18.287+08:00 level=INFO source=runner.go:937 msg=system info="CPU : LLAMAFILE = 1 | AARCH64_REPACK = 1 | CPU : LLAMAFILE = 1 | AARCH64_REPACK = 1...
sudo lsof -c ollama lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/128/gvfs Output information may be incomplete. lsof: WARNING: can't stat() fuse.portal file system /run/user/128/doc Output information may be incomplete....
> > I use /set parameter num_ctx 131072 this noon and ollama run at cpu and gpu mode > > How do you know this? use ollama ps, it shows...
> `ollama ps` is what ollama expects the split to be, based on being able load a GPU backend. But if the runner can't find a backend, it will fall...
> `ollama ps` is what ollama expects the split to be, based on being able load a GPU backend. But if the runner can't find a backend, it will fall...
已有示例:hf-embedding rag = LightRAG( working_dir=WORKING_DIR, llm_model_func=llm_model_func, embedding_func=EmbeddingFunc( embedding_dim=1024, max_token_size=2000, func=lambda texts: hf_embedding( texts, tokenizer=AutoTokenizer.from_pretrained( r'/to/your/local/path' ), embed_model=AutoModel.from_pretrained( r'/to/your/local/path' ), ), ), )
> 2080ti需要把optimize_rule里的KLinearMarlin改为KLinearTorch > > 我双路EPYC 7601 + 512G DDR4 2133 + 两张2080ti 用这个库跑Q4速度2tok/s,llama.cpp是0.6 tok/s,提升三倍多。llama.cpp跑1.58bit是1.2tok/s 您好!我的2080ti出现了RuntimeError: FlashAttention only supports Ampere GPUs or newer.,在运行中使用了--no_flash_atten true 也不行呀
> RuntimeError: FlashAttention only supports Ampere GPUs or newer 还得关闭 FlashAttention 我也是,请问怎么关闭flashAttention呀
glm3的apiserver改了一下。https://github.com/shaofanqi/CHATGLM4_Server