Exploit databaseDownload repository ZIP
GH-3e4507aa2dfab678631e56a68e29c690
gouldnicholas/cve-2026-7669-poc
Sources for CVE-2026-7669
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files22
gouldnicholas/cve-2026-7669-pocRevision 1cb1dd334443
- ↑..Parent directory
- diffusion/
- bench_awq_dequantize.py
- bench_cast.py
- bench_clamp_position.py
- bench_concat_mla.py
- bench_custom_all_reduce.py
- bench_fused_qknorm_rope.py
- bench_hadamard.py
- bench_hicache.py
- bench_norm.py
- bench_nvfp4_blockwise_moe.py
- bench_nvfp4_quant.py
- bench_nvfp4_scaled_mm.py
- bench_per_tensor_quant_fp8.py
- bench_per_token_group_quant_8bit.py
- bench_qknorm.py
- bench_qknorm_across_heads.py
- bench_renorm.py
- bench_resolve_future_token_ids.py
- bench_rope.py
- bench_store_cache.py
- utils.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
sglang_source/python/sglang/jit_kernel/benchmark/utils.py
Python · 1,490 bytes"""Common utilities for jit_kernel benchmark files."""
from typing import Callable, List, Sequence, Tuple
import torch
import triton.testing
from sglang.utils import is_in_ci
# Common constants
DEFAULT_DTYPE = torch.bfloat16
DEFAULT_DEVICE = "cuda"
DEFAULT_QUANTILES = [0.5, 0.2, 0.8]
def get_benchmark_range(full_range: List, ci_range: List) -> List:
"""Return appropriate benchmark range based on CI environment."""
return ci_range if is_in_ci() else full_range
def run_benchmark(
fn: Callable,
quantiles: Sequence[float] = (),
scale: float = 1.0,
) -> Tuple[float, float, float]:
"""Execute benchmark using CUDA graph and return times in microseconds.
Args:
fn: Function to benchmark
quantiles: Quantiles for timing measurements [median, min, max]
scale: Scale the result down (usually num_layers).
Returns:
Tuple of (median_us, max_us, min_us)
"""
quantiles = list(quantiles or DEFAULT_QUANTILES)
ms, min_ms, max_ms = triton.testing.do_bench_cudagraph(fn, quantiles=quantiles)
return 1000 * ms / scale, 1000 * max_ms / scale, 1000 * min_ms / scale
def run_benchmark_no_cudagraph(
fn: Callable,
quantiles: Sequence[float] = (),
scale: float = 1.0,
) -> Tuple[float, float, float]:
quantiles = list(quantiles or DEFAULT_QUANTILES)
ms, min_ms, max_ms = triton.testing.do_bench(fn, quantiles=quantiles)
return 1000 * ms / scale, 1000 * max_ms / scale, 1000 * min_ms / scale