alt.freeweights.text / Hy-Memory-30B-A3B-8bit
From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.textSubject:

Hy-Memory-30B-A3B-8bit

Date: 2026-11-15Commit: fe36f0bSigned: 2DC28CC7B26A283B ✓

Text generation model with 30.1B parameters. Safetensors weights, 32.0 GB in all. Published by mlx-community under Apache-2.0.

30.1B params32.0GBHy-Memory-30B-A3B-8bitsafetensorspermissive
FactsParams30.1BSize32.0 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get mlx-community/Hy-Memory-30B-A3B-8bit
# manifest sha256 11eb435fa471… · 32.0 GB · 14 files
$ fw verify ./Hy-Memory-30B-A3B-8bit mlx-community/Hy-Memory-30B-A3B-8bit
From sourceHosted (signed)mlx-community/Hy-Memory-30B-A3B-8bitLast check: 2026-11-15 05:18 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of Hy-Memory-30B-A3B.

Runs withAIBrixBentoMLCTranslate2ExLlamaV2ExLlamaV3exofastllmFlashInfergpu-unlockKTransformersLitServeLMCacheLMDeployLocalAImistral.rsMLC LLMMooncakeSGLangText Generation WebUItinygradTransformersTriton Inference ServervLLMXinferenceFine-tune withAccelerateAlignment HandbookAxolotlColossal-AIDeepSpeedEasyR1FlashAttentionH2O LLM StudioJAXKerasLiger KernelLitGPTLLaMA-FactoryMegatron-LMms-swiftnanotronOLMo-coreOpenRLHFOumiPEFTPyTorch Lightningsd-scriptsSimpleTunerTorchTitantorchtuneTransformer EngineTRLUnslothverlConvert withAQLMAutoRoundCore ML ToolsExecuTorchGPTQModelLLM CompressormergekitNeural CompressorOliveONNXOptimum QuantoOptimumsafetensorsTensorRT Model OptimizertorchaoEvaluate withAutoevalsDeepEvalEvaluateHELMLightEvallm-evaluation-harnessOpenCompassOpikRagassimple-evalsSWE-benchTruLensWeaveScan withAgentDojoAI Fairness 360DeepTeamDetoxifyFairlearngarakGiskardGuardrailsMCP ScannerModelScanNeMo GuardrailspicklescanpromptfooWorks withAgent Development KitAG2Google AI Edge GalleryAiderany-llmAnythingLLMBAMLbrowser-useCAMELHugging Face Chat UIChatboxCherry StudioClineCodex CLICogneeCrewAIDeerFlowDSPyEnchantedGemini CLIGitHub MCP ServergooseGPT ResearcherGradioGraphitiGuidanceHollamaInstructorKilo CodeLangflowLangGraphLiteLLMLlamaIndexLLMLocalAGILoLLMs WebUIMCP Python SDKMem0MetaGPTNextChatOllama JavaScriptOllama PythonOpenAI Agents SDKopencodeOpenHandsotermOutlinesPage AssistPlaywright MCPPortkey AI GatewayPrivateGPTQwen CodeRWKV RunnerSemantic KernelsmolagentsStrands AgentsVaneXGrammar

Overview

Size
32.0 GB
Weights
32.0 GB (safetensors)
Parameters
30.1B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
14, each with a sha256
Publisher
mlx-community
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Base model: tencent/Hy-Memory-30B-A3B

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 05:18 UTCpassed

Model card

From the publisher at commit fe36f0b. Shown as plain text with links; images open at the publisher.

mlx-community/Hy-Memory-30B-A3B-8bit#

This model mlx-community/Hy-Memory-30B-A3B-8bit was converted to MLX format from tencent/Hy-Memory-30B-A3B (revision 64a460a9) using mlx-lm 0.31.3 (mlx 0.31.2).

Hy-Memory-30B-A3B is Tencent Hunyuan's mixture-of-experts model (about 30B parameters in total, about 3B active per token: 48 layers, 128 routed experts with 8 active plus one shared expert). Its specialty seems to be a long-term memory writer: it is trained to run the write path of external memory frameworks (Mem0, MemOS, Hy-Memory), deciding what to retain, how precisely to represent it and how new evidence updates the memory bank. See the original model card and arXiv 2610.22196.

Quantization#

Methodaffine, group size 64, 8-bit
Bits per weight8.503
Kept in full precisionthe MoE router (mlp.router.gate, bfloat16) and its expert-score correction bias (mlp.router.expert_bias, float32); norms
Size30 GB

The router decides which 8 of the 128 experts run for each token. Its correction bias deliberately tightens the selection margins, so the router is not quantized.

The model class is bundled#

mlx-lm has no hy_v3 model module (an upstream pull request, ml-explore/mlx-lm#1211, was closed unmerged). This repository therefore ships the model class as hy_v3.py, and config.json points to it with "model_file": "hy_v3.py"; mlx_lm.load imports that file. Loading this model runs that Python file, as with any model_file checkpoint.

hy_v3.py is AbstractCore's abstractcore/providers/mlx_hy_v3.py, written from transformers' HYV3ForCausalLM: router logits in float32, sigmoid scores, the correction bias used only to choose the experts (the combine weights are the unbiased scores, normalised and multiplied by router_scaling_factor), the shared expert added in float32. The released checkpoint's experts are 768 wide (expert_hidden_dim), although moe_intermediate_size in config.json says 1536; the class uses expert_hidden_dim. Tensor names follow the mlx-lm MoE convention (mlp.switch_mlp.*, mlp.router.gate, mlp.router.expert_bias, mlp.shared_mlp.*), as in mlx-community/Hy3-preview-*.

Measured against transformers 5.8.0 on the bfloat16 weights (before quantization), on a 100-token prompt: the five most likely next tokens are the same and in the same order, the correlation of the last-position logits is 0.9965, the most likely token agrees at 96 of 100 positions, and the 32-token greedy continuation decodes to the same text. On a small random HY V3 model in float32 the class matches transformers to within 4e-6.

Use with mlx-lm#

pip install mlx-lm
python -m mlx_lm generate --model mlx-community/Hy-Memory-30B-A3B-8bit \
  --system-prompt 'Extract explicit user facts and preferences from the conversation. Return only a JSON object with a "memories" list of strings.' \
  --prompt "My name is Alex. I live in Seattle and I'm vegetarian." \
  --max-tokens 512 --temp 0.0

The chat template has one reasoning variable, reasoning_effort: no_think (the default), low or high. With low or high the model writes its reasoning first and closes it with </think>:

python -m mlx_lm generate --model mlx-community/Hy-Memory-30B-A3B-8bit \
  --chat-template-config '{"reasoning_effort": "high"}' \
  --prompt 'Memory bank: ["Alex lives in Seattle"]. New message: "I moved to Portland." Which memory changes, and to what?'
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/Hy-Memory-30B-A3B-8bit")
messages = [
    {"role": "system", "content": 'Extract explicit user facts. Return only a JSON object with a "memories" list of strings.'},
    {"role": "user", "content": "My name is Alex. I live in Seattle and I'm vegetarian."},
]
prompt = tokenizer.apply_chat_template(
    messages, add_generation_prompt=True, tokenize=False, reasoning_effort="no_think"
)
print(generate(model, tokenizer, prompt=prompt, max_tokens=512))

For memory extraction the original card uses no reasoning and temperature 0.0; for general sampling, temperature 0.7 and top-p 1.0.

Tool calls follow the template: <tool_calls><tool_call>name<tool_sep><arg_key>key</arg_key><arg_value>value</arg_value></tool_call></tool_calls>.

Use with AbstractCore#

from abstractcore import create_llm

llm = create_llm("mlx", model="mlx-community/Hy-Memory-30B-A3B-8bit")
resp = llm.generate("My name is Alex and I'm vegetarian.",
                    system_prompt='Return only a JSON object with a "memories" list of strings.',
                    thinking=False, temperature=0.0)

thinking=False sends reasoning_effort=no_think, thinking=True or "high" sends high, and "low" sends low; the reasoning is returned separately from the answer, and tool calls are parsed.

License#

Apache-2.0, as the base model.

Files

14 files · 32.0 GBWeights 32.0 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 14 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md5.27 KB669e8335c16a51a208a98d3ada16471c71801631940da52c682b4ab0b731fb20
chat_template.jinja11.3 KB8759492d33deb19b2f58855f62d3e431276da89d698b2800d1e353fbb12d5320
config.json2.48 KB1d75909380ce2af6aa0de19e89829caca2e71e8bd5a4b4a60f73d15eb8eae7e1
hy_v3.py20.1 KBff2d20ef0535e4dd3dda254770097625cc81843e9e2d2167656dd7c1075038a6
model-00001-of-00006.safetensors5.23 GB94511c55a1e6633f9097cdc1cfde0d60910f9ab28e057cede80333b2a44c20f1
model-00002-of-00006.safetensors5.34 GB2facf56c2cb6576c314961d2f0cb1fc53ce8085c8f62f22969223b5f1d9a15e4
model-00003-of-00006.safetensors5.34 GB83d65c4f44ad753aa4d0c8bfacfe30a2d8170722aff00656eecdc5791466bab0
model-00004-of-00006.safetensors5.34 GB40fc183901e2e4bc4f3633a73bb6dd032183204301f55ec36e8730687eadf1da
model-00005-of-00006.safetensors5.34 GB22df373a371a858f449bea920bd70294aecc8b36b5816b8a799453af7b0de36e
model-00006-of-00006.safetensors5.37 GB090ad39f5d78be2b58c10405faddcd494b0a6837ae8a9a11dc4963d33ceca95c
model.safetensors.index.json156 KB229fc295481bc06d49e11a2408f4abf34ea6ada4c944cdf7683d7c6d2db3be09
tokenizer.json9.53 MBad96ef9f641b79bb63807bea87cecf1dd0534325b463dad44cccbb3d0c571db7
tokenizer_config.json346 B9184ad9ed535c6030bebefc9fa5b59ba59ab28a2c6c5a1da638a952d02d32818
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
fe36f0ba31 pinned now2026-11-15 05:18 UTC14 files · 32.0 GB

Use it

$ fw get mlx-community/Hy-Memory-30B-A3B-8bit
# manifest sha256 11eb435fa471… · 32.0 GB · 14 files
$ fw verify ./Hy-Memory-30B-A3B-8bit mlx-community/Hy-Memory-30B-A3B-8bit
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/mlx-community/Hy-Memory-30B-A3B-8bit.json --dir ./Hy-Memory-30B-A3B-8bit $ python3 fw.py verify ./Hy-Memory-30B-A3B-8bit ./mlx-community__Hy-Memory-30B-A3B-8bit.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/Hy-Memory-30B-A3B-8bit --revision fe36f0ba3190ae05283429fe69e29b13eedec98f --local-dir ./Hy-Memory-30B-A3B-8bit
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("mlx-community/Hy-Memory-30B-A3B-8bit", revision="fe36f0ba3190ae05283429fe69e29b13eedec98f") model = AutoModelForCausalLM.from_pretrained("mlx-community/Hy-Memory-30B-A3B-8bit", revision="fe36f0ba3190ae05283429fe69e29b13eedec98f", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve mlx-community/Hy-Memory-30B-A3B-8bit --revision fe36f0ba3190ae05283429fe69e29b13eedec98f

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
669e8335c16a51a208a98d3ada16471c71801631940da52c682b4ab0b731fb20
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.textSubject: Hy-Memory-30B-A3B-8bitDate: 2026-11-15Commit: fe36f0bSigned: 2DC28CC7B26A283B ✓
Upstream
mlx-community/Hy-Memory-30B-A3B-8bit
Pinned commit
fe36f0ba3190ae05283429fe69e29b13eedec98f
Manifest
Hy-Memory-30B-A3B-8bit.json · .minisig
Manifest sha256
11eb435fa471ea66f6b27d87d61d9d1e4f8638293cd5ed7c4706afcfd58c8e2f
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:18 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/mlx-community/Hy-Memory-30B-A3B-8bit.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/Hy-Memory-30B-A3B-8bit.json.minisig $ minisign -Vm Hy-Memory-30B-A3B-8bit.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

tencent/Hy-Memory-30B-A3B · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/Hy-Memory-30B-A3B-8bit
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Hy-Memory-30B-A3B-8bit.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B