Added link to AMD Support label

This commit is contained in:
jeffser 2024-10-14 16:28:13 -06:00
parent 27126736a4
commit 61f9e187bd
2 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,7 @@ def log_output(pipe):
window.show_toast(_("Model request too large for system"), window.main_overlay)
elif 'msg="amdgpu detected, but no compatible rocm library found.' in line:
if bool(os.getenv("FLATPAK_ID")):
window.ollama_information_label.set_label(_("AMD GPU detected but <a href='appstream://com.jeffser.Alpaca.Plugins.AMD'>the extension</a> is missing, Ollama will use CPU"))
window.ollama_information_label.set_label(_("AMD GPU detected but <a href='https://github.com/Jeffser/Alpaca/wiki/AMD-Support'>the extension</a> is missing, Ollama will use CPU"))
else:
window.ollama_information_label.set_label(_("AMD GPU detected but ROCm is missing, Ollama will use CPU"))
window.ollama_information_label.set_css_classes(['dim-label', 'error'])

View File

@ -475,6 +475,7 @@
<child>
<object class="GtkLabel" id="ollama_information_label">
<property name="wrap">true</property>
<property name="use-markup">true</property>
<property name="label" translatable="yes">Integrated Ollama instance is not running</property>
<style>
<class name="dim-label"/>