#How to add more RAM to the Pod

1 messages · Page 1 of 1 (latest)

stray glacier
#

Hi! Is there a way to set RAM manually? I mean, the current options is limited for example max 283gb RAM. But I need 1TB. How do I add more RAM?

Thank you.

fluid juniperBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

half rapids
#

use clusters with more GPUs

#

or cpu pods, with larger ram

stray glacier
half rapids
#

they have larger vram because they have more gpu's yes

#

(in one cluster)

#

btw clusters are expensive tho

#

nvm you can go here (look below in my screenshot) and increase more gpus and still get 1tb of ram

#

These setups allows you to get 1tb of ram

#

these are in pods

stray glacier
# half rapids These setups allows you to get 1tb of ram

Ah okayy, finally understand the parameter for it. Thank you so much..

So.... with about $7/hour, I can try use kimi k2 for my self? hahahaha. And try the quantized version with so much cheaper price? :D:D

Anyway thank youu

half rapids
#

Hmm or use the amd ones

#

Try apis if you don't wanna self host just for your self (if it's cheaper that way why not)

stray glacier
half rapids
#

Ye openrtr tgther ai

#

Unless you need high throughput, that is effecient on cloud gpus

stray glacier
# half rapids Unless you need high throughput, that is effecient on cloud gpus

I see... I thought of using Runpod because of hit rate limit on free one. and if paying, I wonder if assumed 1 hour on OpenRouter kimi usage can be cheaper than I use runpod vs speed. Basically it gets back to price value.. If runpod is cheaper for 1 hour full usage then it's really worth it ( based on my tests a couple of days and for my use cases ).

What do you think?

#

If you said openrouter will be cheaper then I won't bother trying since it's also kind of a work to make the template first for gguf one. << Never try this, I also want to know if gguf one (from unsloth) is enough for roocode usage.

half rapids
#

Hmm depends on what you use

#

How much tokens estimate

#

Most likely if you're alone, using the full kimi k2 it's more Exp in runpod or wherever it is, paying more than. .8 per hr

stray glacier
# half rapids How much tokens estimate

wow... This is really a hard question hahaahah. Honestly I don't know, but I assume it is actually so much because when I try using gemini pro, it's taking maybe about 80M token within 3 hours, so it's around 28M token per hour or more depending on the task.

I see that are cases that is not using much token, but there is using so much token that I'm not even except it is possible.

#

Based on your comment, I think it's wise for me to just try using runpod for full 1 hour paying to see how much it is ( I don't want to do this at first ). hahahah. But still, on OpenRouter, total token matter so much when runpod is no, that's also some things to consider. If we're using maximum token fully 1 hour, of course runpod will be cheaper right?
I need maybe 50t/s since when I use roocode, I got that speed ( based on what chutes provider said on openrouter )

half rapids
#

Just multiply (the price per hour + cost of your storage/hr) with your usage

stray glacier
half rapids
#

Oh gemini cli? Maybe it's agentic use

#

It explores many files, thinking

#

Tool calling

#

Not sure if kimi k2 can support cli like use

#

If it's not fine tuned for it

stray glacier
# half rapids Not sure if kimi k2 can support cli like use

No no.. after I got billed about $35 within 4 days, I try roocode instantly, and try for the free, and honestly it's good. But about these 2 days, somehow I get limited so much ( maybe the chutes doing the limiting, since openrouter says 1000 request / day, so it should be okay but no ).

That's why, if I must pay, I think I want it to be no restriction and of course low cost since it's all for my personal research.

half rapids
#

ahh ic

#

How much are you willing to pay?

#

my friend said he managed to run it in 4x or 5x mi300x (its low stock currently) with 4k context 50t/s, usually you'd want a higher context tho
if you're okay with ram offloading ig it fits with other gpus

stray glacier
# half rapids How much are you willing to pay?

This is also hard to say since this is relative type question. Like if it's 50t/s, I feel this already pretty pretty good, I'm okay with paying $1.5/hour ( Note: I'm not like a crazy person that turns this on 24 hours HAHAHA. I use it when I'm only on computer too.. So maximum is 3 hours a day ). If 50t/s with 64K token, I already feel that's enough. Even if it's 30t/s, I also already okay.

So let say I can even get it on much much lower rate, I also okay with 15t/s 🤣. Sorry to be like a cheapskate, but I'm not rich enough to burn money.

Is it too much to ask?

half rapids
#

woah

#

1.5$ an hour?

elfin tiger
stray glacier
half rapids
#

so to run kimi you need around 1tb+ of mixed ram and vram?

#

is t hat correct

elfin tiger
#

If you load a full 64K prompt at 50t/s pp it would take 21 mins

#

But currently testing how fast it is on nvidia, the 50 was on AMD

stray glacier
half rapids
#

i guess $1.5 nots going to run it (the full one)

half rapids
#

alright lets see

stray glacier
elfin tiger
#

I doubt those will be coherent

#

You'd be better off with a smaller model

#

Just link to the 00001-of and it gets it

stray glacier
half rapids
#

iQ1_S would run on 4x a5000 ig

half rapids
elfin tiger
#

1-bit tends to be incoherent

half rapids
#

i see

elfin tiger
#

Wouldn't be surprised if a good 100B beats it in 4-bit

half rapids
#

search for agentic coding models in reddit lol

elfin tiger
#

Hope my 32K context fits

half rapids
elfin tiger
elfin tiger
half rapids
#

welp

stray glacier
elfin tiger
#

I am testing it with Q4 though

elfin tiger
#

I wanna see what the speed is on a beefy nvidia

half rapids
#

like to llama or qwen

#

or qwen models

elfin tiger
half rapids
#

idk honestly

half rapids
elfin tiger
#

For code GLM / Devstral maybe?

half rapids
#

is glm new, its not on artificial analysis yet hhh

stray glacier
# half rapids try deepseek distilled models

Already try... It's not good enough. So far already try many kinds of DeepSeek & R1, Devstral, Kimi, Qwen. And nothing beats Kimi K2 so far... It's really really far ahead of the others. I think I only feels performance like that on Gemini Pro 2.5, never try claude though ( Of course gemini better, but kimi cheaper and can be free with rate limited 😄 ).

half rapids
#

devstral seems interesting

stray glacier
#

Already try it too :D:D

half rapids
#

💀 i guess dont compare gemini pro here

#

its like comparing with o3 too

elfin tiger
#

You wont be able to beat Kimi (Maybe full sized deepseek gets close) but the smaller ones are way cheaper

stray glacier
#

Btw, @half rapids you tell me about 4x A5000 << A5000 is the prev generation, is it still great though on performance? If yes, it's quite cheap @_@...

stray glacier
half rapids
#

np

elfin tiger
#

Like if I find the Mi300x to slow for kimi an A5000 certainly will be slow

#

I do have to test the Mi300x again after AMD's PR lands

stray glacier
#

I see...........

stray glacier
elfin tiger
#

50 tokens per second prompt processing

#

Token generation speed was good with 30t/s

#

But the 50t/s pp is very slow

#

Feels like a beefy CPU

#

But its just a massive model

#

During generation its a 32B, but during processing its the full 1T

half rapids
elfin tiger
#

Yup

half rapids
#

hows the download

#

on b200s

stray glacier
elfin tiger
half rapids
#

nice, last file

elfin tiger
#

Expensive benchmark though, I really hope this 32K fits

#

Not gonna download it a second time, its $10 for the download in this config

half rapids
#

🤣

#

damn

#

ima try roo code next week

stray glacier
elfin tiger
#

I am using 4xB200 because I want to speed test the best case scenario

#

Its $23 an hour

stray glacier
# half rapids ima try roo code next week

So far if there's no problem from OpenRouter, RooCode + Kimi K2 is really really really really more than enough. << But I always use Test Driven Development to make sure the development is high quality. This is maybe why the token usage is so much. lol

stray glacier
half rapids
#

i dont get it how test driven development makes more token usage

#

i see, openrouter has one provider for kimi k2 that's free right?

#

or not

elfin tiger
#

Best case scenario, 3 times faster than MI300x

half rapids
stray glacier
# half rapids i dont get it how test driven development makes more token usage

Because it needs to start from zero code, and dummy test. then next it will test it, and it failing.

After that, it will create 1 basic test. Then test it again << fail again. Then code as simple as possible to passed that test. Then test it again << if fail, fix it again till working, if works. It goes to next cycle.

half rapids
#

i see, aslong the code works right

stray glacier
#

Basically, I'm not letting the model to do complex coding before it's time, so it won't need to have super high intelligence.

stray glacier
elfin tiger
half rapids
#

oh rlly

#

ah i see it

stray glacier
elfin tiger
#

Its a big model

half rapids
#

2x~ more exp on b200's

elfin tiger
#

I don't know why I cap out at 30t/s on all of them

stray glacier
elfin tiger
#

Interesting the PP sped up a bit

half rapids
elfin tiger
half rapids
#

did you use same cache? or maybe its just batching

elfin tiger
#

For batching you gonna be using stuff like vllm not koboldcpp

half rapids
#

oh

#

wonder if vllm's gonna achieve better perf

elfin tiger
#

Probably, this isn't exactly what llamacpp/koboldcpp was designed to do lol

#

But it did work, so thats something 😄

#

And on the B200 at 32K single user it was usable for me

#

2 mins to build the cache

stray glacier
#

Hmm. If I want to try using vLLM + gguf model, I need to make custom docker right? Because I need to add to script to download the model first, then run the starting command with loading that downloaded model. Am I right?

elfin tiger
#

vLLM isn't that good at gguf

half rapids
#

idk

stray glacier
elfin tiger
#

For gguf you can use the koboldcpp template

half rapids
elfin tiger
#

Extremely easy to use just don't expect kimi to be economical

stray glacier
elfin tiger
stray glacier
elfin tiger
#

Comes with an optional bundled UI and a super easy runpod template

stray glacier
# elfin tiger

Yeah, I already read this.. That's a good point, I haven't check the kimi gguf download file, is it 1 file or multiple files. lol

elfin tiger
#

HF's upload limit is 50GB

stray glacier
#

I see......

stray glacier
elfin tiger
#

KoboldCpp you give the first link and it automatically finds the others if you use a split

#

Has built in download acceleration, no manual steps once deployed

#

And we have official support for runpod

half rapids
#

i see

half rapids
elfin tiger
#

😄

stray glacier
#

HAHAHAHAAH. nice..

#

So, I can download the model from the UI? Or I need to use SSH? And... Is it already supporting OpenAI Compatible API?

#

Provides many compatible APIs endpoints for many popular webservices (KoboldCppApi OpenAiApi OllamaApi A1111ForgeApi ComfyUiApi WhisperTranscribeApi XttsApi OpenAiSpeechApi) << oh this right?

elfin tiger
#

You edit these to pick a model

#

In the args you can define the max context size (or reduce the layers for a partial cpu/gpu)

#

And of course if you don't need them you can delete the image generation one, etc

stray glacier
elfin tiger
stray glacier
#

Or that's already all?

elfin tiger
#

The defaults are quite complete though

stray glacier
elfin tiger
#

All of them are there except for KCPP_MMPROJ

stray glacier
elfin tiger
#

Should be a breeze to setup for GGUF as long as what your doing fits the specs

stray glacier
elfin tiger
#

The full link of part 1

stray glacier
#

Sorry for asking more:
so, do I need to use --usecuda ? since the doc said "if you're on windows" when on runpod we're using linux.

Is this pod already accept "--flashattention" ?

stray glacier
elfin tiger
#

If you don't intend to put everything on the GPU you also need to customize --gpulayers but I don't know the optimal partial offload for this modell

#

--usecuda you need yes, it forces nvidia GPU mode

#

--flashattention should be specified in KCPP_ARGS already

stray glacier
#

Okay2, Thanks!!!

elfin tiger
#

It can currently only see the vram of one GPU when it picks them

#

It will put to few

#

-1 is meant for home users

stray glacier
#

I see.. Okay... let say if I have 10 VRAM in total, and the model is 40GB.

How do I know max GPU offload value so I know how much I need to put the value? << I never know how to calculate this.

stray glacier
elfin tiger
#

We usually trial and error

#

Lets say it has 40 layers to keep it simple

#

Your 4 times over

#

So then its around 10 layers

#

MoE's are a bit of a special case

#

Unsloth recommends keeping it 99 but using override tensors

#

--overridetensors ".ffn_.*_exps.=CPU" is one they say you can try

#

For us -ot is --overridetensors

stray glacier
#

Oh wow... Okay2. Will read that first too...

elfin tiger
#

That puts specific ones on the GPU so its more performant

#

Thing is on runpod because ram and vram are tied its not always a good idea

#

The MoE's consume a lot of ram usually, non MoE's only consume the ram for stuff thats not on the GPU

stray glacier
#

Okay, I think I will need some trial and error a little. At least I will post how the result in here and is it good enough to run roocode :D.

half rapids
#

Because the pricing mostly depends on the multiple of gpu so..

elfin tiger
#

Roo code switches prompts all the time, ton of reprocessing

#

Gonna have long delays, tunnnel timeouts if you don't edit the template so you can connect to port 5001 over TCP

#

And I think in general unless you hyper optimize it it will be more expensive than API providers

#

A model this large single user just isn't economical

#

For the smaller ones like GLM / Devstral runpod + koboldcpp works very well

#

Same if you use a 100B