DEV Community

Cover image for How to Run DeepSeek R1 Locally on Your Android Device

How to Run DeepSeek R1 Locally on Your Android Device

Majdi Saibi on January 25, 2025

Introduction The AI revolution is no longer confined to high-end servers or cloud platforms. With models like DeepSeek R1—a state-of-the...
Collapse
 
venkatmidhunmareedu profile image
M V Midhun

Hey when I tried this command :
go generate ./...
I get this error:

make: *** No targets specified and no makefile found. Stop.
llama/llama.go:3: running "make": exit status 2

Please help.

Collapse
 
klausgreiner profile image
Klaus Greiner Fiorini

read development.md inside the folder ollama
u probably need to run
make -j 5

Collapse
 
venkatmidhunmareedu profile image
M V Midhun

Image description

It got stuck here 🥲

Thread Thread
 
karthik_murali_206cbb209b profile image
Karthik Murali

i also stuck here

Thread Thread
 
majdisaibi profile image
Majdi Saibi

Hey 😊
Can you try

go generate ./..

(just 3 dots after the /)
I guess I made a typo 😅

Collapse
 
majdisaibi profile image
Majdi Saibi

Hey 😊
Can you try

go generate ./..

(just 3 dots after the /)
I guess I made a typo 😅

Collapse
 
venkatmidhunmareedu profile image
M V Midhun

Hey I found a solution to install ollama easily in termux.

I found it on reddit. Here is the link :-
reddit.com/r/LocalLLaMA/s/itc8nSYDEj

Thread Thread
 
majdisaibi profile image
Majdi Saibi

Glad to hear that. Thanks for sharing the link.

Collapse
 
dev-shivamverma profile image
shivam

I want to tinker a little bit. I want the model to save context and memory about me in every season in a json and use that as input in every chat to customize the responses! How can I do that!
Can you give an idea?? 💡

Collapse
 
noceb0 profile image
Nameless Nocebo

So now it's just saying permission denied, is everyone who didn't manage to install on time fucked? I don't get it

Image description

Collapse
 
fibonacci_20 profile image
Lara F

How fast is deepseek-r1-1.5b running for you on pixel phones? it's super slow for me...

Collapse
 
ninjatheory profile image
Jinnah

Which model of pixel do you own? I'm also thinking of running it on my Redmagic 8s pro Snapdragon 888 gen 2 with 16gb ram can boost the ram to 26gb if needed.

Collapse
 
fibonacci_20 profile image
Lara F

I'm trying it on Pixel 9 Pro

Thread Thread
 
ninjatheory profile image
Jinnah

if you can pick up a Redmagic 8s pro even 9 pros they cost less than half of top-end phones like S24 Ultra iPhone etc they are way more powerful. Also, your pixel Google tensor isn't that Samsung Exynos CPU just renamed to Google Tensor as they are good CPUs they are more optimised for real-world use i.e longer better battery life but when it comes to raw power speed they don't really excel. Your other option is to root your Pixel then you will have full system access it could run faster in theory!

Collapse
 
ninjatheory profile image
Jinnah

Snapdragon 888 Tab S8 Ultra 256GB 12GB RAM Will this be okay to run deepseek with Termux ??