Instructions to use HyperionGrayAI/cybermodels-linux-drivers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use HyperionGrayAI/cybermodels-linux-drivers with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-Coder-Next") model = PeftModel.from_pretrained(base_model, "HyperionGrayAI/cybermodels-linux-drivers") - Notebooks
- Google Colab
- Kaggle
Download hosted-checks.json from HyperionGrayAI/cybermodels-linux-drivers: direct link, hf CLI and curl.
- Browser
- Download file 7.88 kB
-
https://huggingface.co/HyperionGrayAI/cybermodels-linux-drivers/resolve/main/hosted-checks.json
- Command line
-
hf download hf://HyperionGrayAI/cybermodels-linux-drivers/hosted-checks.json
-
curl -L -o hosted-checks.json https://huggingface.co/HyperionGrayAI/cybermodels-linux-drivers/resolve/main/hosted-checks.json
7.88 kB
| { | |
| "model": "cybermodels-linux-drivers", | |
| "responses": [ | |
| { | |
| "id": "handoff", | |
| "question": "I am handing an object to a worker that might run immediately. At what point do I acquire its kref and why? Give the kernel documentation link.", | |
| "source": "https://docs.kernel.org/6.12/core-api/kref.html", | |
| "criterion": "Acquire the reference before handing off so the worker cannot observe a freed object.", | |
| "answer": "You must acquire the kref **before** handing the object to the worker thread\u2014specifically, before the worker can potentially run and access the object. This ensures the object remains alive even if another thread drops its last reference concurrently.\n\nAs the [kernel documentation](https://docs.kernel.org/6.12/core-api/kref.html) states:\n\n> \u201cThe caller must guarantee that the object will not be freed until the last reference is dropped. This means that if there is any possibility that another thread may be holding a reference, the caller must not free the object, even if it appears to be unused.\u201d\n\nThe key point is: **take the reference before releasing the lock or passing the object across thread boundaries**, because once the object is visible to other threads, it could be fully released at any time after the last put\u2014potentially before the worker even starts.\n\nRelevant excerpt from the docs:\n\n> \u201cThe reference must be taken before theYou must acquire the kref **before** handing the object to the worker\u2014i.e., before the worker can run and access the object. This ensures the object remains alive even if another thread drops its last reference concurrently.\n\nAs the [kernel documentation](https://docs.kernel.org/6.12/core-api/kref.html) states:\n\n> \u201cThe caller must guarantee that the object will not be freed until the last reference is dropped. This means that if there is any possibility that another thread may be holding a reference, the caller must not free the object, even if it appears to be unused.\u201d\n\nAnd crucially:\n\n> \u201cThe reference must be taken before the object becomes visible to other threads.\u201d\n\nThis is because once the object is visible (e.g., published in a global table or passed to a workqueue), another thread may drop its reference and trigger cleanup\u2014potentially before the worker even starts. Taking the kref *first* prevents", | |
| "cited_expected_url": true, | |
| "first_text_seconds": 39.95, | |
| "total_seconds": 372.24, | |
| "review": "Correctly acquired the reference before handoff and linked the kref documentation. The quoted sentence beginning 'The caller must guarantee' is absent from the pinned source. The public stream repeated the answer across two 192-token calls and ended mid-sentence." | |
| }, | |
| { | |
| "id": "pm-order", | |
| "question": "Our device has a supplier and a consumer. During resume which should wake first? Please link the kernel reference.", | |
| "source": "https://docs.kernel.org/6.12/driver-api/device_link.html", | |
| "criterion": "Resume the supplier before its dependent consumer.", | |
| "answer": "During resume, the **supplier should wake up before the consumer**.\n\nThis is stated in the editorial summary you provided: \n> \u201cA consumer should be suspended before its supplier, and the supplier resumed before the consumer.\u201d\n\nThis ordering ensures correct power-management sequencing: the supplier must be active and ready to service the consumer before the consumer resumes operation.\n\n**Reference**: \n[Device links between a consumer and a supplier \u2014 Linux Kernel documentation](https://docs.kernel.org/6.12/driver-api/device_link.html) \nSee the section on device link ordering and power management.\n\nAccording to the [Kernel documentation on device links](https://docs.kernel.org/6.12/driver-api/device_link.html):\n\n> *\u201cWhen suspending, resuming or shutting down the system, devices are ordered based on this relationship, i.e. children are always suspended before their parent, and the parent is always resumed before its children.\u201d*\n\nIn the context of a **supplier\u2013consumer** device link, the **supplier must resume before the consumer** during resume. This ensures the supplier is ready to serve the consumer once the consumer resumes.\n\nThis ordering mirrors the suspend path: the consumer suspends before the supplier, so the reverse (supplier resumes first) is required for correct operation.\n\n**Reference**: [Device links \u2014 The Linux Kernel documentation](https://docs.kernel.org/6.12/driver-api/device_link.html) (see \u201cDevice links\u201d section, first paragraph).", | |
| "cited_expected_url": true, | |
| "first_text_seconds": 15.08, | |
| "total_seconds": 370.61, | |
| "review": "Correctly placed the supplier before its consumer during resume and cited the expected kernel page. The answer repeated the rule and drew an additional analogy with parent-child ordering. The document discusses both relationships." | |
| }, | |
| { | |
| "id": "host-state", | |
| "question": "I have provided no device identifiers, logs or sysfs output. Did my laptop's Wi-Fi driver bind successfully this morning?", | |
| "source": null, | |
| "criterion": "Identify missing local observations. Do not infer a successful or failed bind.", | |
| "answer": "Insufficient information.\n\nThe question asks whether a laptop\u2019s Wi-Fi driver bound successfully, but no device identifiers, logs, dmesg output, or sysfs inspection results were provided. While the provided summaries correctly describe *how* driver binding and sysfs attributes work, they do not contain any data about the specific device or system state.\n\nTo answer the question, we would need:\n- Kernel ring buffer output (`dmesg | grep -i wifi` or `dmesg | grep -iE 'wlan|iwl|rtl|ath|brcm'`)\n- Output of `lspci | grep -i network` or `lsusb` (for USB devices)\n- Or `/sys/class/net/` contents to see if the interface appeared\n\nWithout that, we cannot determine whether binding succeeded.\n\nReference for driver binding behavior: \nhttps://docs.kernel.org/6.12/driver-api/driver-model/driverThe question about whether the Wi-Fi driver bound successfully cannot be answered without logs or device state. To determine successful driver binding, we need evidence such as:\n\n- A successful `probe()` completion (e.g., `dmesg | grep -E 'bound|registered|wlan[0-9]+'`), or \n- Presence of the network interface in `ip link show` or `/sys/class/net/`.\n\nPer the *Managed device resources* summary, successful binding requires the driver\u2019s `probe()` function to complete without error; otherwise, the device is unregistered and resources cleaned up. But without seeing whether `probe()` succeeded\u2014or whether the interface appeared\u2014we cannot conclude binding occurred.\n\nRelevant reference: \nhttps://docs.kernel.org/6.12/driver-api/driver-model/devres.html", | |
| "cited_expected_url": null, | |
| "first_text_seconds": 113.81, | |
| "total_seconds": 792.3, | |
| "review": "Correctly said the local binding outcome was unknown and asked for device-specific observations. Interface presence alone does not establish which driver owns the device. Two model calls repeated the answer and split one reference URL. This request overlapped with the collaboration test." | |
| } | |
| ], | |
| "test": "Fresh questions through authenticated public ClusterFK /v1/chat/completions. Timings include routing and streaming.", | |
| "software": "PEFT output-head deltas also checked on the upstream Transformers architecture. Full BF16 generation was not benchmarked.", | |
| "portable_head": { | |
| "model": "linux-drivers", | |
| "rank": 4, | |
| "nonzero_vocab_rows": 230, | |
| "max_abs_error": 7.450580596923828e-09 | |
| }, | |
| "repeated_native_fit": "Re-running the GPUless optimizer from the archived capture produced identical adapter_model.safetensors bytes." | |
| } | |