Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
1fb92886
Unverified
Commit
1fb92886
authored
Nov 01, 2023
by
Bruce MacDonald
Committed by
GitHub
Nov 01, 2023
Browse files
notify that the ollama api is available after linux install (#954)
parent
01a03caa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
scripts/install.sh
scripts/install.sh
+5
-1
No files found.
scripts/install.sh
View file @
1fb92886
...
...
@@ -63,7 +63,10 @@ status "Installing ollama to $BINDIR..."
$SUDO
install
-o0
-g0
-m755
-d
$BINDIR
$SUDO
install
-o0
-g0
-m755
$TEMP_DIR
/ollama
$BINDIR
/ollama
install_success
()
{
status
'Install complete. Run "ollama" from the command line.'
;
}
install_success
()
{
status
'The Ollama API is now available at 0.0.0.0:11434.'
status
'Install complete. Run "ollama" from the command line.'
}
trap
install_success EXIT
# Everything from this point onwards is optional.
...
...
@@ -130,6 +133,7 @@ if check_gpu nvidia-smi; then
fi
if
!
check_gpu lspci
&&
!
check_gpu lshw
;
then
install_success
warning
"No NVIDIA GPU detected. Ollama will run in CPU-only mode."
exit
0
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment