Repository navigation
feat: add experimental GPU instance fingerprint collection - #100
Draft
functionstackx wants to merge 3 commits into
Draft
functionstackx wants to merge 3 commits into
functionstackx wants to merge 3 commits into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Add
cmax gpu-fingerprint, an experimental, opt-in collector for numericalGPU instance signatures. The P3 atomic-arrival-order kernel is adapted from
divagr18/gpu-instance-fingerprint,
with the upstream MIT notice retained in the distributed module.
--acknowledge-gpu-workand the existing host-role guard before work.Run on one selected CUDA-visible device inside the operator's allocation.
dispatch, automatic dependency installation, network upload, or machine
configuration changes.
JSON file; reject existing paths and remove incomplete results.
settings, replicate index and per-epoch rank vectors. Do not collect UUIDs,
serials, hostnames or SM IDs.
a test/development dependency; CuPy remains optional and is imported only by
the explicitly started collector.
Scope and limits
This is a collection prototype, not an identity verifier. It does not include
the P1/P2 channels, passive
torch.index_add_experiment, enrollment database,classifier, match threshold or fleet score.
The kernel and workload sequence differ from upstream, so this implementation
has a separate protocol ID. Upstream's reported accuracy does not qualify this
code. The upstream restart data describes container restarts, not physical
host reboot validation. A finite forgery sweep is not proof against software
replay or hostile-provider output substitution.
The draft must remain experimental until hardware testing measures repeatability,
same-model separation and false accepts/rejects under held-out sessions, load,
driver changes and separately tested restart/reboot conditions.
Validation
host-role refusal, explicit acknowledgment, worker timeout/interruption,
output permissions, overwrite/symlink rejection and missing CuPy.
cmax/gpu_fingerprint.pywith its MIT notice.git diff --checkpassed.separate from CI status.
compiled or executed on GPU hardware; no accuracy or stability claim is made.
Example
# Inside an authorized GPU allocation; install the CuPy build for your CUDA version. python -m pip install cupy-cuda12x cmax gpu-fingerprint --acknowledge-gpu-work \ --device 0 --replicate 0 --output gpu-a-r0.jsonFingerprint files can identify hardware even without UUIDs. Keep them private;
do not attach raw signatures to this public PR.