RUN LLMs Locally On ANDROID: LlaMa3, Gemma & More

Поділитися
Вставка
  • Опубліковано 15 тра 2024
  • RM LLMs Locally On Android device using Ollama. Ollama is simple tool that allows running open source models like llama3, Gemma, tinyllama & more.
    Downloads
    Termux - github.com/termux/termux-app
    Ollama Snippet - gitlab.com/-/snippets/3682973
    Command List
    termux-setup-storage
    termux-change-repo
    pkg upgrade
    pkg install git cmake golang
    Setup Ollama
    git clone --depth 1 github.com/ollama/ollama.git
    cd ollama
    go generate ./...
    go build .
    ./ollama serve &
    Watch MORE Tech Videos
    Dual boot ubuntu 24.04 LTS And Windows 11 - • How to Dual Boot Ubunt...
    RASPBERRY Pi 5 - How to SetUp PLEX Media Server in 10 Minutes (2024) - • RASPBERRY Pi 5 - How t...
    Raspberry Pi 5 - How To Build POWERFUL Home Server in 10 Minutes With CasaOS (2024) - • Raspberry Pi 5 - How T...
    Install Kali Linux On M1 / M2 / M3 Macs Using UTM in 5 MINUTES (NEW METHOD) - • Install Kali Linux On ...
    KDE Plasma 6 is Brilliant - TOP 6 NEW FEATURES - • KDE Plasma 6 is Brilli...
    Install UBUNTU 23.10 On M1 M2 Macs NATIVELY || RUN New Ubuntu On Bare Metal On Apple silicon MAC - • Install UBUNTU 23.10 O...
    FEDORA ASAHI REMIX + HYPRLAND Setup For M1 & M2 Macs 🔥 • FEDORA ASAHI REMIX + H...
    Dual Boot popOS & windows 11 - • How to Dual Boot Pop O...
    ~ Buy Me A Coffee - buymeacoffee.com/kskroyal
    ~ Connect On Instagram - @KSKROYALTECH
    ~ For Business Enquires ONLY - business.ksktech@yahoo.com
    ~ My Website - kskroyal.com/
    © KSK ROYAL
    MereSai
  • Наука та технологія

КОМЕНТАРІ • 42

  • @GhostCoder83
    @GhostCoder83 Місяць тому

    Very helpful good work 👍

  • @johnkintree763
    @johnkintree763 25 днів тому

    Excellent.

  • @dennissit1770
    @dennissit1770 Місяць тому +3

    I have this error when I run ./ollama run tinyllama on my phone "Error: [0] server cpu not listed in available servers map[] ?" How can I fix this? Thanks

    • @kskroyaltech
      @kskroyaltech  Місяць тому +1

      Did u delete GO directory by any chance ?

  • @galavant_amli
    @galavant_amli 7 годин тому

    Bhai With ls command, there is no green ollama showing.
    What to do now.

  • @ericdanielski4802
    @ericdanielski4802 Місяць тому

    Nice video.

  • @bit-worm
    @bit-worm 27 днів тому

    when i run "ollama run dolphin-llama3" on termux and i get the error " Error: [0] server cpu not listed in available server map[]" how do i fix it

  • @laberbla6466
    @laberbla6466 9 днів тому

    local llms will be the shit one day... imagine an ai assistant with voice and stuff offline on your phone which you can fully trust. What a dream.

  • @raceup
    @raceup 17 днів тому

    getting the "server cpu not listed in available server map" literally scorched the internet
    but coudnt find anything for termux

  • @vaibhavG69
    @vaibhavG69 18 днів тому

    These ollama models are only using cpu it wont use gpu do u have any solutions for that ?

  • @DeonBands
    @DeonBands Місяць тому

    Thank you for this, would ollama then serve on android localhost, if so can I build android app to use server?

    • @kskroyaltech
      @kskroyaltech  Місяць тому +1

      But it may throw an error. It wont work the way like computer.

    • @DeonBands
      @DeonBands Місяць тому

      @@kskroyaltech ua-cam.com/video/jRZy8pJ-SQg/v-deo.html

  • @mikew2883
    @mikew2883 Місяць тому

    Very cool! 👍 Is there a way to run the Ollama Web UI with it?

    • @kskroyaltech
      @kskroyaltech  Місяць тому

      its not working the way it does on computer.

    • @gronerth
      @gronerth 15 годин тому

      I use open webuI on a pc connected remotely with ollama on an android, but it is extremely slow, even using s10.
      i use userland with ubuntus.(llama3:8b hello take 10min), (tinydolphin hello take 3 min).
      i use it "curl -fsSL ollama.com/install.sh | sh". i dont know if in this way i take slow program.

  • @abdallahabdoulouafi1260
    @abdallahabdoulouafi1260 29 днів тому +1

    hey bro when i run the command ./ollama serve &
    It says ./ollama: No such file or directory
    Can you figure out what is the problem

  • @furkanyasar-jr4qg
    @furkanyasar-jr4qg 19 днів тому

    Hello mate, what is the application you use to manage your phone from the computer? 1:16

    • @kskroyaltech
      @kskroyaltech  19 днів тому

      I didnt use any application, I used USB OTG to connect bluetooth mouse and keyboard.

    • @furkanyasar-jr4qg
      @furkanyasar-jr4qg 19 днів тому

      @@kskroyaltech okey tnk

  • @ignitez3027
    @ignitez3027 2 дні тому

    bro how do you make UA-cam videos, especially the voice?

  • @dhwany3gamer490
    @dhwany3gamer490 Місяць тому

    how are your mouse and keyboard connected to phone

    • @kskroyaltech
      @kskroyaltech  Місяць тому

      I am using Wireless Bluetooth Mouse and Keyboard connected through USB C port on phone.

  • @adrianmares269
    @adrianmares269 Місяць тому +1

    I have a very similar speed even on my laptop 😅

  • @webslime_ceo
    @webslime_ceo Місяць тому

    Hi, can you please make a video with the installation of gentoo dualboot? preferably with a kde graphical shell. I will be very grateful and I think this will help expand the gento community.

    • @kskroyaltech
      @kskroyaltech  Місяць тому +1

      Will try man.

    • @webslime_ceo
      @webslime_ceo Місяць тому

      @@kskroyaltech When are you going to do this?

  • @Dats4794
    @Dats4794 22 дні тому +1

    How to run ollama again? Cause it says "No such file or directory"

    • @kskroyaltech
      @kskroyaltech  19 днів тому

      make sure you are inside the ollama directory on termux and run ./ollama pull phi

    • @NikhilKumar-im7hg
      @NikhilKumar-im7hg 3 дні тому +1

      It still doesn’t run ollama model. Again the error is “no such file or directory”. The error is also valid bcoz when I run ls command it doesn’t show any ollama folder. How can we find the above git cloned ollama folder? Please help.

    • @NikhilKumar-im7hg
      @NikhilKumar-im7hg 3 дні тому

      Waiting for ur reply 😊

    • @staticlee4287
      @staticlee4287 2 дні тому

      I’m having the same problem

    • @NikhilKumar-im7hg
      @NikhilKumar-im7hg 2 дні тому

      Layla app has the icon of animated caterpillar.

  • @Dats4794
    @Dats4794 22 дні тому

    I still get an error "error: could not connect to ollama app, is it running?"

    • @YakrifZee
      @YakrifZee 22 дні тому

      Run this command:
      ollama serve

    • @Dats4794
      @Dats4794 22 дні тому

      ​@@YakrifZee already did 😢

    • @kskroyaltech
      @kskroyaltech  19 днів тому

      make sure you are inside the ollama directory on termux and run ./ollama pull phi

  • @shenzhenfps
    @shenzhenfps Місяць тому

    Hey, I need help fro VMware please contact me