Skip to content

u/KeithHanson

In this archive from Mar 2012 to Feb 2026

4
posts
46
comments
0
media
115
score
1 saved before deletion

Ok. After tinkering all day, I’m convinced there’s no good way to do this without rewriting that completely. It makes me just want to put a thin wrapper on an opencode api server though.

There’s so much gunk in here to unpack. I’m debating on just slinging a thing I know would do the equivalent of this (probably more time than I’m anticipating) or trying this jinja template hack.

I love what this project is trying to do, but the over reliance on mega sota model behavior is brutal - for tokens if you’re paying and for local models to follow if you’re hosting.

FWIW - I had great results with tool calling using a headless lmstudio hosted gpt-oss-20B model, with 20k context 100% loaded into the gpu (4060TI Super with 16GB).

2 points

u/blamestross - This is where we can begin hacking if we want some control over this. I am considering forking and modifying here: https://github.com/openclaw/openclaw/blob/main/src/agents/system-prompt.ts#L367

Ideally we just do a big gathering of context variables and interpolate them into a template controlled in the workspace. Seems like a small change? We'd want all this logic I'm sure (I guess... opinions abound about an appropriate way to handle this) to populate the potentially needed variables, but it would be great to have a template for each case (full prompt, minimal, and none), then us local LLM folk could customize it how we need to and still provide most of the original functionality when required.

3 points

Actually, docker would fully protect you from this? And most any malicious code I think.

A .exe isn't going to run in a Linux container. And python files won't see your browser data of your host machine.

I struggle to think of a way that any of the host's sensitive data could be stolen from within a container short of some major docker vulnerabilities, right?

2 points

It's not that a node has been hacked, but that a node has malicious code in it.

In this case, the author of the malicious plugin preyed on the fact that nearly all of us in the community install things without reading the source.

Even for myself, a professional developer, rarely will I read the source unless it doesn't work as intended and I'm debugging.

Unfortunately for all of us, short of some kind of scanner for common ways to obfuscate code (which is a red flag), this is extremely difficult to defend against, even for savvy professionals

The fact that this plugin buried the malicious code in a normal looking nonexistent python lib version from custom sources... It's a miracle OP even discovered this. That is a level of obfuscation that is impressive.

And I'm not even sure how one defends against it in the future. :/

10 points

Not for free. You are paid for the job. This only happens if you are an alpha tester in our discord, then go sign up on our website, then enter your supplier_id.

If you continue your investigation, your concerns will be put to rest here: https://github.com/FUTRlabs/ComfyUI-Magic/blob/9f637969fd1c22d3f9af7aa7de9563b1af4dc40c/magic#L113C1-L113C1

That line checks the env var of the container, and if supplier_id is not set, starts it up with python.

If you do supply a supplier_id, heartbeat.js receives jobs from our queue and pays you for the work, 70% split to you and 30% to the company.

1 points

🤔 have never used vast, but if you have access to a root shell on a machine there, it's mostly the same I imagine.

Make sure gpu is available (I'm assuming so), install docker and nvidia container toolkit, and follow the GitHub readme from that point.

If it's more like runpod, you'd probably need to adjust the container for the runpod-isms (or in your case, vast.ai-isms :P)

2 points

For the price, I really don't think you can beat it. If you're willing to spend more, I'd would try an Arc Intel card, but I have no experience there. I just know that for $350 or so, you can get the top of the line and since you don't care about gaming you're set ( gaming with them, especially in Linux, did not seem like fun yet ).

Just know that while it can load damn near any model you want, with headroom to spare, the iterations per second is quite low.

I just upgraded to a 4060 ti 16GB and got a massive speed up. If you're fine with the sluggishness, and willing to power it properly and build/buy cooling, it's awesome :)

The last warning is that it is locked to CUDA 11.3 I think? Old enough that I couldn't use every custom_node I wanted to since they needed the latest PyTorch.

1 points

Overheating? Watch your card temps.

Also check your ram. Just went through three months of weird hair pulling random problems, then ran memtest86, and lo and behold, over 1000+ errors 😱

Finally, updated drivers?

2 points

Fantastic - I really appreciate you explaining all of that and your thought process around your decisions.

I likely will do the work to get a diffuser node working (I hope :D) just so I can play with those models without much fuss, and once deem them as "gotta have", will learn how to package them the preferred way :)

1 points

Would love to see the workflow if you can share! 😁 Would also love to save myself the teeth gnashing and learning you've done when I get to implementing this in my own workflows haha!

Oh, and yes, the code seems to rely on ratios more than exact numbers.

Size is indeed, iiuc, the size of the bounding box, though.

2 points

Thanks for explaining that! Totally makes sense.

I've used those loaders but did not know thats what it is doing under the hood.

My questions weren't so much that you should or shouldn't include it, BUT I am confused by the support/lack thereof for it via any method (core or custom node) and what seems like a format that is widely used (HF and Civitai).

I think, if you don't mind sharing insight, my naive question is in general - why convert? Why not create a node that effectively does what's on the model card (the pasteable script on them all) but with noodles? :D

That's an honest question, btw - I'm too new to understand some of the nuance I'm sure exists between exporting your work in various formats, but I want to know and maybe help 😅

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.