问题是什么?
$ curl -fsSL https://ollama.com/install.sh | sh
>>> Downloading ollama...
######################################################################## 100.0%#=#=# ######################################################################## 100.0%
>>> Installing ollama to /usr/local/bin...
>>> Adding ollama user to render group...
>>> Adding ollama user to video group...
>>> Adding current user to ollama group...
>>> Creating ollama systemd service...
>>> Enabling and starting ollama service...
>>> Installing NVIDIA repository...
curl: (22) The requested URL returned error: 404
你期望看到什么?
ollama已安装并运行
重现步骤
- 创建一个类型为
g5g.xlarge
的AWS示例 - 尝试安装ollama
是否最近有更改引入了这个问题?
- 无响应*
OS
Linux
架构
arm64
平台
- 无响应*
Ollama版本
- 无响应*
GPU
Nvidia
GPU信息
$ lspci -d '10de:'
00:1f.0 3D controller: NVIDIA Corporation TU104GL [T4G] (rev a1)
CPU
其他
其他软件
$ lscpu
Architecture: aarch64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: ARM
Model name: Neoverse-N1
Model: 1
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Stepping: r3p1
BogoMIPS: 243.75
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimd
dp ssbs
[...]
3条答案
按热度按时间sxissh061#
有两个问题:
ollama/scripts/install.sh
第225行 7ed3e94
| | curl -fsSL -o $TEMP_DIR/cuda-keyring.deb https://developer.download.nvidia.com/compute/cuda/repos/$1$2/$(uname -m)/cuda-keyring_1.1-1_all.deb |
uname -m
返回aarch64
,但根据 nvidia 文档,这里只有arm64
。nvidia 文档
pcrecxhr2#
使用Ubuntu 20.04并手动修复问题1,会产生错误"E:无法找到cuda-drivers软件包"。
t3psigkw3#
这个问题是否已经解决?我得到的答案是一样的: