把 Ollama 自带的 OpenAI 兼容端点直接拿来接入 Claude Code、RAG 服务或者自研应用,总会遇到各种“不够像原版”的坑:参数缺失、工具调用对不上、上下文控制不够细……Ollama2OpenAI 就是为了解决这些痛点而来,用一层轻量网关把本地模型彻底转换成 OpenAI / Anthropic 服务器。 为什么需要它 渠道差异…
With this method you don't need to configure Environment Virables as they are only effective in this run ANTHROPIC_AUTH_TOKEN=sk-1234 \ ANTHROPIC_BASE_URL=http://127.0.0.1:224…
Github 上面有成熟的脚本,项目地址为:https://github.com/ivanhao/pvetools 在通外网的情况下,可以一键安装运行 apt update && apt -y install git && git clone https://github.com/ivanhao/pvetools.g…
背景 捡垃圾搭了一台基于 PVE 8.4 + i5-12450H 白牌主板 的服务器,使用中发现机箱风扇完全没有工作(显卡是魔改的散热也用的机箱散热端口,结果0转速疯狂过热死机),排查发现系统无法读取风扇信息。 系统版本:Proxmox VE 8.4(内核 6.8.12-9-pve) 主板:白牌板载 B660 + i5-12450H root@pv…
请不要下载18.X GRID驱动,下17.X,18.X试过了各种方法都无法正常授权。博主能力有限,根据fastapi-dls说明,18.x需要配合gridd-unlock-patcher对系统内文件进行patch,但博主怎么按照对应仓库指南配置也解决不了18.x授权问题,总是不成功。改为安装17.x的驱动(下下来是550版本)不需要gridd-un…
Original link: https://mlapi.medium.com/how-to-run-ollama-on-specific-gpu-s-8e1369d75c34 Author: mlapi In this tutorial we will see how to specify any GPU for ollama or multip…
注意:Ollama官方容器不支持Jetson的GPU,需使用Step3的容器 Step1: check version cat /etc/nv_tegra_release Typical output: # R36 (release), REVISION: 4.0, GCID: 37976356, BOARD: t23x # DATE: 2025-…
How do I configure Ollama server? Ollama server can be configured with environment variables. Setting environment variables on Mac If Ollama is run as a macOS application, env…
最新版代码更新到https://github.com/MotorBottle/HtmlUSBVideoViewer <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8" /> <title>USB / UVC 采集…
https://www.linkedin.com/pulse/simplify-cloud-security-how-set-up-ssh-keys-google-vm-sreerag-u ssh-keygen -t rsa cat ~/.ssh/id_rsa.pub # or use custom key name ssh-keygen -t r…