ollama 在安装NVIDIA仓库时出现404错误,

n3ipq98p  于 2个月前  发布在  其他
关注(0)|答案(3)|浏览(49)

问题是什么?

$ 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
[...]
sxissh06

sxissh061#

有两个问题:

  1. 这里
    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
  2. 根据 nvidia 文档,ubuntu 22.04 没有 arm64 版本。
    nvidia 文档
pcrecxhr

pcrecxhr2#

使用Ubuntu 20.04并手动修复问题1,会产生错误"E:无法找到cuda-drivers软件包"。

t3psigkw

t3psigkw3#

这个问题是否已经解决?我得到的答案是一样的:

Get:20 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64  Packages [22.9 kB]
Fetched 27.1 kB in 3s (9,182 B/s)
Reading package lists... Done
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package cuda-drivers

user@beausoleil:~$ lspci
00:02.0 PCI bridge: NVIDIA Corporation Device 0faf (rev a1)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

相关问题