flint-nvfp4 / validation.json
prince-canuma's picture
Add verified nvfp4 MLX conversion of RecursiveSI/flint
0652ad3 verified
Raw History Blame Contribute Delete
4.22 kB
{
"format": "nvfp4",
"strict_reload": true,
"finite_prefill_decode_logits": true,
"cache_offsets_correct": true,
"source_sidecars_identical": true,
"native_thinking_template_preserved": true,
"temperature": 0.0,
"max_tokens": 512,
"smoke_tests": [
{
"task": "arithmetic",
"prompt": "What is 17 multiplied by 23? Give the answer.",
"text": "<think>We need answer simple. Need compute 17*23=391. User asks give answer. We can just answer.</think>391",
"answer": "391",
"checks": {
"expected_391": true
},
"generated_tokens": 28,
"seconds": 0.3876724170986563
},
{
"task": "retrieval",
"prompt": "The passcode is 941731. Repeat the passcode exactly.",
"text": "<think>The user is asking me to repeat a passcode: 941731.\n\nThis is a request for me to repeat a string of numbers. The user has provided the passcode and asked me to repeat it exactly.\n\nI should consider:\n1. Is this a security concern? Passcodes are typically sensitive information, but the user is providing it themselves and asking me to repeat it. They're not asking me to access or reveal a passcode they don't know.\n2. Is there any harm in repeating it? No, it's just a string of numbers.\n3. Should I comply? Yes, it's a simple request and there's no indication of malicious intent. The user might be testing me, or they might need help with something related to passcodes.\n\nThe instruction is clear: \"Repeat the passcode exactly.\" So I should just output the numbers without any additional commentary or formatting that might change the string.\n\nThe passcode is: 941731\n\nI should respond with just: 941731\n\nNo extra text, no explanation, just the exact string as requested.</think>941731",
"answer": "941731",
"checks": {
"expected_passcode": true
},
"generated_tokens": 213,
"seconds": 2.333878207951784
},
{
"task": "code",
"prompt": "Write a Python function add(a, b) that returns a + b.",
"text": "<think>We need to write a Python function add(a, b) that returns a + b. This is straightforward. The user likely expects a simple implementation.\n\nWe should provide the code and maybe a brief explanation.\n\nThe instruction: \"Write a Python function add(a, b) that returns a + b.\"\n\nWe'll respond with the function definition and possibly an example.\n\nMake sure it's correct Python syntax.\n\nWe can also include a docstring.\n\nLet's produce a concise answer.</think>Here's a simple Python function that adds two numbers:\n\n```python\ndef add(a, b):\n \"\"\"Return the sum of a and b.\"\"\"\n return a + b\n```\n\nYou can use it like this:\n\n```python\nresult = add(3, 5) # result will be 8\n```\n\nThe function works for integers, floats, and any other types that support the `+` operator (e.g., strings, lists).",
"answer": "Here's a simple Python function that adds two numbers:\n\n```python\ndef add(a, b):\n \"\"\"Return the sum of a and b.\"\"\"\n return a + b\n```\n\nYou can use it like this:\n\n```python\nresult = add(3, 5) # result will be 8\n```\n\nThe function works for integers, floats, and any other types that support the `+` operator (e.g., strings, lists).",
"checks": {
"add_function": true
},
"generated_tokens": 183,
"seconds": 2.096669624792412
}
],
"all_smoke_checks_pass": true,
"device": {
"device_name": "Apple M5 Max",
"max_recommended_working_set_size": 115448725504,
"memory_size": 137438953472,
"architecture": "applegpu_g17s",
"max_buffer_length": 86586540032,
"resource_limit": 499000
},
"mlx_version": "0.32.4",
"mlx_vlm_version": "0.7.10",
"converter_revision": "6d9ba328abbd6129c7461eda86280aa9fbfd9986",
"python": "3.12.15",
"peak_active_gb": 22.582609388,
"seconds": 6.135231415973976,
"swap_before": "vm.swapusage: total = 14336.00M used = 13590.94M free = 745.06M (encrypted)",
"swap_after": "vm.swapusage: total = 14336.00M used = 13582.94M free = 753.06M (encrypted)",
"limits": "Three synthetic smoke prompts and finite/cache checks; not a quality benchmark or proof of parity to BF16/Transformers."
}