That’s likely a policy issue. The nature of most sandbox solutions out there is the need to declare what is allowed in your in your config - implicit deny. What’s nice about OpenShell is that it uses the OS’s native access control tools to restrict what and where the agent can read/write/execute. The more general-purpose your agent is, the more tedious the work to set it up will be.
If you’re just looking for HITL for destructive actions then the solution is to use an agent framework to gate tool calls matching a pre-constructed list of restricted actions. I would consider using something like LangGraph directly inside the agent harness.
As part of your research, have you looked into where all of these negative behaviors saturate at? Because I’ve found it to be nearly all online and tied to some form of social media (and I live in a red state). Outside of the internet, the most cognitive dissonance I’ve encountered is on the news, but most people I know have cut cable.
I’m just saying, maybe the answer is more of life and real experiences and less digital socialization.
I’m gonna go out on a limb and say the same person who is asking how to find Mythos-style vulnerabilities using a local LLM instead of just running a vulnerability scanner.
The honest answer is even if you run a local model for your testing, if you were targeted by a frontier lab's agent, you'd still probably be fucked. An agent that you run isn't going to catch anything that a vulnerability scanner won't, so I would just start there and save the compute for something where reasoning will be an advantage for the application.
This isn't the greatest idea to run on production infrastructure. Ablating refusal vectors affects other features of your model as well, dulls their reasoning as a result. If you're giving an agent the access it needs to breach, you're playing with fire using a an abliterated model.
This is not accurate. The tech is costing less to run as more research goes into transformer language models. Compute requirements haven't increased linearly, and they certainly haven't increased exponentially - even training a larger model while maintaining the exact same model architecture results in a linear increase in compute as parameter count grows.
We have quantization, speculative decoding, GQA and MQA, MLA, FlashAttention, MoE, and these are just the model optimizations on inference that frontier labs have either already adopted or have begun the adoption of. At the same time there are also techniques at the serving layer that improve GPU utilization, and techniques at the training level that reduce required compute.
For a dense transformer, directly from Kaplan et al.'s scaling work, a single forward pass costs about 2N FLOPs per token (where N is the parameter count). So summing across all the weight matrices gives us roughly 2N. Double the parameters, double the FLOPs per token. Attention cost grows quadratically in sequence length. All the modern advances listed above work to improve these numbers, and we're still early in the game.
It's not that simple. A looped transformer isn't just another capability increase like MoE. These models have drawbacks, and the empirical data shows that adding parameters beats adding loops at the same compute. Looped transformers may have better reasoning potential, but that comes at the cost of memorization capability and slower recall. They also exhbit slower response latency due to their recurrent nature, and have issues with training instability.
Not saying that looped transformers don't have great potential, but there are still glaring engineering problems that research needs to iterate or architect around before they start matching frontier capability.
Google is already doing this with their TPUs, Amazon has Inferentia and Tranium, and Groq has LPU's. ASIC have been part of the enterprise inference serving market for a while now. The tradeoff is they're purpose built for efficiently running specific transformer architectures, so a chip that's optimized for a 7B dense model won't be very efficient running a 400B MoE model w/ sparse routing. Context length is another variable - a chip that assumes shorter windows likely won't have the memory bandwidth or KV-cache handling for long-context efficiency. Precision (quantization) also matters. So it's not something we'll likely see any time soon for the consumer market. At least not until AI reaches a point of standardization, enough to produce an ASIC that supports a wide variety of sizes and families without having too much architecture variability to account for.
When I was still using Facebook there was a guy I knew that detailed cars. Really handy but not too bright with book-learnin’. Every time he’d finish a car he’d post a picture with “WALLAH” and I wasn’t sure if people who saw his post just didn’t have the heart to tell him he’s been spelling it wrong for years or they just didn’t know how it’s spelled either. I just let it be.
It has less to do with topics and more with model architecture. Typically you’ll see weight matrices converted to a lower precision and activations kept at full precision to be quantized dynamically during inference, just before computation happens. So you’re not just lowering performance of every piece of the model and as a result you still retain accuracy enough for a performant model.
Don’t worry - these are all things that open up for learning after getting access to hardware with larger vRAM capacity than most consumer GPU options out there. I will warn you, NVidia isn’t great with supporting their lesser-used GPUs like the GB10. You’ll need to use community supported ports of vLLM and a container when running PyTorch, and you’ll learn what works and what doesn’t as you go. I’ve never hit a wall where there wasn’t a workaround, but it’s super frustrating when you’re just starting to dig into running stuff on the spark. Stick with it and after a month of solid use it won’t be a hassle any longer. It’s also not the quickest with inference and lacks the memory bandwidth required for any kind of pretraining of transformers or even preference learning or reinforcement learning. It’s technically possible but not practical considering the time you’d be tying up all system resources means your spark isn’t useable during the process. Your only option is LoRA.
No you’re right. It only supports certain families of open weights. The weights alone make it incompatible with bedrock serverless inference because it can’t be cold-started with 1.6TB of weights. You’d instead be using Sagemaker Hyperpod and EKS, making the setup way more involved than serverless, and to make matters even more complicated, you need reserved capacity for the ml.p6-b300.48xlarge.
Thanks for questioning my response, I’ve used bedrocks serverless w/ custom models in the past but never with large, frontier-level models like Kimi-k3.
Run inference or fine-tune LoRA adapters. That's pretty much all you can reasonably do on the Spark. You can't pretrain anything significant, even like a 100M parameter pretrain using chinchilla-level token-count of a training corpus, you'll tie them up for a month of solid wall time. I wish these systems were more capable.
I’m confused why you’re using MCP for orchestration between two agents. This could be done with an agentic loop that orchestrates tasks between Claude and your local-running LLM.
Claude Models know what they are. They’re also trained on a constitution.
That’s likely a policy issue. The nature of most sandbox solutions out there is the need to declare what is allowed in your in your config - implicit deny. What’s nice about OpenShell is that it uses the OS’s native access control tools to restrict what and where the agent can read/write/execute. The more general-purpose your agent is, the more tedious the work to set it up will be.
If you’re just looking for HITL for destructive actions then the solution is to use an agent framework to gate tool calls matching a pre-constructed list of restricted actions. I would consider using something like LangGraph directly inside the agent harness.
I use NVidia OpenShell - it’s the best open source sandbox solution out there at present time.
As part of your research, have you looked into where all of these negative behaviors saturate at? Because I’ve found it to be nearly all online and tied to some form of social media (and I live in a red state). Outside of the internet, the most cognitive dissonance I’ve encountered is on the news, but most people I know have cut cable.
I’m just saying, maybe the answer is more of life and real experiences and less digital socialization.
I’m gonna go out on a limb and say the same person who is asking how to find Mythos-style vulnerabilities using a local LLM instead of just running a vulnerability scanner.
OP was asking how to test their own infra. So I’m assuming he’s trying to test what he’s running in production.
I could understand doing this in a dev environment, but I don’t want anything to break in prod.
The honest answer is even if you run a local model for your testing, if you were targeted by a frontier lab's agent, you'd still probably be fucked. An agent that you run isn't going to catch anything that a vulnerability scanner won't, so I would just start there and save the compute for something where reasoning will be an advantage for the application.
I second this. Qwen will do the trick and doesn't have the crazy harsh refusal training like the big labs do.
This isn't the greatest idea to run on production infrastructure. Ablating refusal vectors affects other features of your model as well, dulls their reasoning as a result. If you're giving an agent the access it needs to breach, you're playing with fire using a an abliterated model.
This is not accurate. The tech is costing less to run as more research goes into transformer language models. Compute requirements haven't increased linearly, and they certainly haven't increased exponentially - even training a larger model while maintaining the exact same model architecture results in a linear increase in compute as parameter count grows.
We have quantization, speculative decoding, GQA and MQA, MLA, FlashAttention, MoE, and these are just the model optimizations on inference that frontier labs have either already adopted or have begun the adoption of. At the same time there are also techniques at the serving layer that improve GPU utilization, and techniques at the training level that reduce required compute.
For a dense transformer, directly from Kaplan et al.'s scaling work, a single forward pass costs about 2N FLOPs per token (where N is the parameter count). So summing across all the weight matrices gives us roughly 2N. Double the parameters, double the FLOPs per token. Attention cost grows quadratically in sequence length. All the modern advances listed above work to improve these numbers, and we're still early in the game.
It's not that simple. A looped transformer isn't just another capability increase like MoE. These models have drawbacks, and the empirical data shows that adding parameters beats adding loops at the same compute. Looped transformers may have better reasoning potential, but that comes at the cost of memorization capability and slower recall. They also exhbit slower response latency due to their recurrent nature, and have issues with training instability.
Not saying that looped transformers don't have great potential, but there are still glaring engineering problems that research needs to iterate or architect around before they start matching frontier capability.
Google is already doing this with their TPUs, Amazon has Inferentia and Tranium, and Groq has LPU's. ASIC have been part of the enterprise inference serving market for a while now. The tradeoff is they're purpose built for efficiently running specific transformer architectures, so a chip that's optimized for a 7B dense model won't be very efficient running a 400B MoE model w/ sparse routing. Context length is another variable - a chip that assumes shorter windows likely won't have the memory bandwidth or KV-cache handling for long-context efficiency. Precision (quantization) also matters. So it's not something we'll likely see any time soon for the consumer market. At least not until AI reaches a point of standardization, enough to produce an ASIC that supports a wide variety of sizes and families without having too much architecture variability to account for.
When I was still using Facebook there was a guy I knew that detailed cars. Really handy but not too bright with book-learnin’. Every time he’d finish a car he’d post a picture with “WALLAH” and I wasn’t sure if people who saw his post just didn’t have the heart to tell him he’s been spelling it wrong for years or they just didn’t know how it’s spelled either. I just let it be.
It’s walla
Just keep going. It’s okay to have doubts, it’s not okay to stop trying.
I’m 39 and make ~$210k a year.
It has less to do with topics and more with model architecture. Typically you’ll see weight matrices converted to a lower precision and activations kept at full precision to be quantized dynamically during inference, just before computation happens. So you’re not just lowering performance of every piece of the model and as a result you still retain accuracy enough for a performant model.
Don’t worry - these are all things that open up for learning after getting access to hardware with larger vRAM capacity than most consumer GPU options out there. I will warn you, NVidia isn’t great with supporting their lesser-used GPUs like the GB10. You’ll need to use community supported ports of vLLM and a container when running PyTorch, and you’ll learn what works and what doesn’t as you go. I’ve never hit a wall where there wasn’t a workaround, but it’s super frustrating when you’re just starting to dig into running stuff on the spark. Stick with it and after a month of solid use it won’t be a hassle any longer. It’s also not the quickest with inference and lacks the memory bandwidth required for any kind of pretraining of transformers or even preference learning or reinforcement learning. It’s technically possible but not practical considering the time you’d be tying up all system resources means your spark isn’t useable during the process. Your only option is LoRA.
No you’re right. It only supports certain families of open weights. The weights alone make it incompatible with bedrock serverless inference because it can’t be cold-started with 1.6TB of weights. You’d instead be using Sagemaker Hyperpod and EKS, making the setup way more involved than serverless, and to make matters even more complicated, you need reserved capacity for the ml.p6-b300.48xlarge.
Thanks for questioning my response, I’ve used bedrocks serverless w/ custom models in the past but never with large, frontier-level models like Kimi-k3.
Run inference or fine-tune LoRA adapters. That's pretty much all you can reasonably do on the Spark. You can't pretrain anything significant, even like a 100M parameter pretrain using chinchilla-level token-count of a training corpus, you'll tie them up for a month of solid wall time. I wish these systems were more capable.
https://aws.amazon.com/bedrock/custom-model-import/
The only real downside I've found is a 128K context window limitation.
I use unsloth for all my fine tune runs. Badass application.
Andrew Ng with the assist, what an OG. Love that dude.
I’m confused why you’re using MCP for orchestration between two agents. This could be done with an agentic loop that orchestrates tasks between Claude and your local-running LLM.