frob
e66c29261a
Better error suppresion when getting terminal colours ( #7739 )
...
Co-authored-by: Richard Lyons <frob@cloudstaff.com>
2024-11-19 08:33:52 -08:00
frob
5c18e66384
Notify the user if systemd is not running ( #6693 )
...
Co-authored-by: Richard Lyons <frob@cloudstaff.com>
2024-11-18 15:02:41 -08:00
Daniel Hiltgen
4759d879f2
Install support for jetpacks ( #7632 )
...
Follow up to #7217 - merge after release
2024-11-15 16:47:54 -08:00
王卿
c7c845ec52
Update install.sh:Replace "command -v" with encapsulated functionality ( #6035 )
...
Replace "command -v" with encapsulated functionality
2024-09-05 09:49:48 -07:00
Erkin Alp Güney
7d89e48f5c
install.sh: update instructions to use WSL2 ( #6450 )
2024-09-04 09:34:53 -04:00
Daniel Hiltgen
a017cf2fea
Split rocm back out of bundle ( #6432 )
...
We're over budget for github's maximum release artifact size with rocm + 2 cuda
versions. This splits rocm back out as a discrete artifact, but keeps the layout so it can
be extracted into the same location as the main bundle.
2024-08-20 07:26:38 -07:00
Daniel Hiltgen
88bb9e3328
Adjust layout to bin+lib/ollama
2024-08-19 09:38:53 -07:00
Daniel Hiltgen
74d45f0102
Refactor linux packaging
...
This adjusts linux to follow a similar model to windows with a discrete archive
(zip/tgz) to cary the primary executable, and dependent libraries. Runners are
still carried as payloads inside the main binary
Darwin retain the payload model where the go binary is fully self contained.
2024-08-19 09:38:53 -07:00
Daniel Hiltgen
df3802a65f
Adjust arm cuda repo paths
...
Ubuntu distros fail to install cuda drivers since aarch64 isn't valid
2024-08-01 17:22:25 -07:00
Daniel Hiltgen
ce3c93b08f
Report better error on cuda unsupported os/arch
...
If we detect an NVIDIA GPU, but nvidia doesn't support the os/arch,
this will report a better error for the user and point them to docs
to self-install the drivers if possible.
2024-07-24 17:09:20 -07:00
Daniel Hiltgen
1a1c99e334
Bump latest fedora cuda repo to 39
2024-06-18 17:13:54 -07:00
jayson-cloude
157f09acdf
fix: "Skip searching for network devices"
...
On an Ubuntu 24.04 computer with vmware installed, the sudo lshw command will get stuck. "Network interfaces" is always displayed
2024-06-11 16:11:35 +08:00
Jeffrey Morgan
1f5008544b
Update install.sh
2024-05-28 15:01:22 -07:00
Jeffrey Morgan
45cbfc5aee
fix wsl2 status check for nvidia cards ( #4689 )
2024-05-28 14:49:46 -07:00
Jeffrey Morgan
6d423b383b
Improve install experience on WSL2 and Linux ( #4653 )
2024-05-28 14:41:50 -07:00
Jeffrey Morgan
b7d316d98d
fix nvidia detection in install script ( #4683 )
2024-05-28 09:59:36 -07:00
Jeffrey Morgan
c79f8c9c39
Ensure nvidia
and nvidia_uvm
kernel modules are loaded in install.sh
script and at startup ( #4652 )
...
* ensure kernel modules are loaded in `install.sh` script and at startup
* indentation
* use `SUDO` variable
* restart if nouveau is detected
* consistent success message for AMD
2024-05-26 14:57:17 -07:00
Jeffrey Morgan
485016bfbb
Update install.sh
2024-05-26 11:46:00 -07:00
Daniel Hiltgen
e592e8fccb
Support Fedoras standard ROCm location
2024-05-01 15:47:12 -07:00
Daniel Hiltgen
6459377ae0
Add ROCm support to linux install script ( #2966 )
2024-03-14 18:00:16 -07:00
Daniel Hiltgen
74468513bd
Add ollama user to video group
...
On OpenSUSE, ollama needs to be a member of the video group
to access the GPU
2024-02-29 08:50:10 -08:00
Josh
f983ef7f5f
Update install.sh success message
2024-02-21 18:30:01 -05:00
Jeffrey Morgan
1c8435ffa9
Update domain name references in docs and install script ( #2435 )
2024-02-09 15:19:30 -08:00
Michael Yang
d9bfb2f08f
install: pin fedora to max 37
...
repos for fedora 38 and newer do not exist as of this commit
```
$ dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/fedora38/x86_64/cuda-fedora38.repo
Adding repo from: https://developer.download.nvidia.com/compute/cuda/repos/fedora38/x86_64/cuda-fedora38.repo
Status code: 404 for https://developer.download.nvidia.com/compute/cuda/repos/fedora38/x86_64/cuda-fedora38.repo (IP: 152.195.19.142)
Error: Configuration of repo failed
```
2024-01-16 11:45:21 -08:00
Daniel Hiltgen
8bed487aba
Merge pull request #1778 from dhiltgen/wsl1
...
Fail fast on WSL1 while allowing on WSL2
2024-01-03 16:18:41 -08:00
Daniel Hiltgen
2fcd41ef81
Fail fast on WSL1 while allowing on WSL2
...
This prevents users from accidentally installing on WSL1 with instructions
guiding how to upgrade their WSL instance to version 2. Once running WSL2
if you have an NVIDIA card, you can follow their instructions to set up
GPU passthrough and run models on the GPU. This is not possible on WSL1.
2024-01-03 16:02:32 -08:00
Daniel Hiltgen
2588cb2daa
Add ollama user to render group for Radeon support
...
For the ROCm libraries to access the driver, we need to add the ollama user
to the render group.
2024-01-03 12:56:31 -08:00
Michael Yang
95cb38ae47
install: fix rocky kernel packages
2023-12-04 11:10:42 -08:00
jeremiahbuckley
39be7fdb98
fix rhel cuda install ( #1321 )
...
Co-authored-by: Cloud User <azureuser@testgpu2.hqzwom21okjenksna4y3c4ymjd.phxx.internal.cloudapp.net>
2023-11-29 14:55:15 -05:00
Jeffrey Morgan
a185b29719
fix install script error on linux
2023-11-17 18:00:41 -05:00
Michael Yang
32add8577d
placeholder environment variables
2023-11-16 16:57:39 -08:00
yanndegat
75295b9528
install: fix enable contrib on debian 12 ( #1151 )
...
On debian 12, sources definitions have moved from
/etc/apt/sources.list to /etc/apt/sources.list.d/debian.sources
2023-11-16 15:53:06 -05:00
thealhu
1359d6cf3b
Fix sudo variable in install.sh ( #1034 )
...
It was forgotten to replace sudo at one place with the variable for sudo.
2023-11-07 09:59:57 -08:00
Bruce MacDonald
1fb9288661
notify that the ollama api is available after linux install ( #954 )
2023-11-01 11:28:26 -04:00
Michael Yang
92119de9d8
update linux.md
2023-10-25 14:57:50 -07:00
Bruce MacDonald
c039432b5c
add current user to ollama group on install ( #772 )
2023-10-23 17:06:31 -04:00
Victor Vieux
6481b7f34c
Update install.sh, avoid ARCH: unbound variable
2023-10-16 14:40:24 -07:00
Michael Yang
c0b1bf7537
Merge pull request #606 from jmorganca/mxyng/install.sh-2
...
ordered list of install locations
2023-09-29 11:30:46 -07:00
Bruce MacDonald
958a5a8184
revert fedora cuda version check
2023-09-27 15:12:29 -04:00
Bruce MacDonald
a2b210130f
fedora install fixes ( #609 )
2023-09-27 11:43:47 -04:00
Michael Yang
29c056ea39
ordered list of install locations
2023-09-26 09:38:11 -07:00
Michael Yang
9fc3bba9cf
do no unload nouveau driver
2023-09-26 09:36:54 -07:00
Michael Yang
6e6b655956
update install.sh
2023-09-25 18:09:44 -07:00
Michael Yang
5e388f931e
check cuda installed before installing
2023-09-25 17:56:43 -07:00
Michael Yang
d5ad41dd7b
fix path for wsl user
2023-09-25 17:56:25 -07:00
Michael Yang
d294a11bc9
start service on exit instead of immediately
2023-09-25 17:54:02 -07:00
Michael Yang
1b9dcab3ab
ignore systemctl is-system-running exit code
2023-09-25 15:47:45 -07:00
Michael Yang
b934bf23e6
exit on unknown distro ( #594 )
2023-09-25 15:30:58 -07:00
Michael Yang
0c5f47177c
update install.sh
2023-09-25 14:01:44 -07:00
Michael Yang
d0854bf1e6
fix dkms on debian
2023-09-25 12:57:25 -07:00