Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: ollama-0.1.32 #50133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iFoundSilentHouse
Copy link
Contributor

@iFoundSilentHouse iFoundSilentHouse commented Apr 30, 2024

I wanted to test ollama myself so reworked @ezag PR: #48199
Now it's fetching files the right way and updated to 0.1.32. I'm fine with @ezag maintaining it. Just wanted to share my progress

  • I tested the changes in this PR: yes

New package

  • This new package conforms to the package requirements: YES

  • I built this PR locally for my native architecture, (x86-64-glibc)

  • I built this PR locally for these architectures:

    • aarch64-musl

About archs: The only archs supported by upstream are x86_64 and arm64 so others were disabled
About git init line: go generate script has git submodule command so build doesn't work without .git folder.

Closes #50094
@ezag , thnx. @Bnyro , I used your review messages. Thnx

@ayoubelmhamdi
Copy link

ayoubelmhamdi commented May 12, 2024

what's about this problem:

exec chpst -u ollama:ollama ollama serve 2>&1

2024-05-12T13:03:36.79374 daemon.notice: May 12 14:03:36 ollama: chpst: fatal: unknown user/group: ollama:ollama

in ollama.sh script:

configure_systemd() {
    if ! id ollama >/dev/null 2>&1; then
        status "Creating ollama user..."
        sudo useradd -r -s /bin/false -U -m -d /usr/share/ollama ollama
    fi
    if getent group render >/dev/null 2>&1; then
        sudo usermod -a -G render ollama
    fi
    if getent group video >/dev/null 2>&1; then
        status "Adding ollama user to video group..."
        sudo usermod -a -G video ollama
    fi

    status "Adding current user to ollama group..."
    sudo usermod -a -G ollama $(whoami)
    # ....
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-package This PR adds a new package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package request: ollama
3 participants