Burn is a next generation tensor library and Deep Learning Framework that doesn't compromise on flexibility, efficiency and portability.
This report presents the forensic synthetic code analysis of tracel-ai/burn, a Rust project with 15,578 GitHub stars. SynthScan v2.0 examined 379,257 lines of code across 1899 source files, recording 1586 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 4.6 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1586 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cargo.toml | 221 | burn-train = { path = "crates/burn-train", version = "0.22.0-pre.1", default-features = false } | COMMENT |
| LOW | deny.toml | 21 | # output a note when they are encountered. | COMMENT |
| LOW | deny.toml | 41 | # The default lint level for `default` features for external crates that are not | COMMENT |
| LOW | crates/burn-pack/src/lib.rs | 1 | #![cfg_attr(not(feature = "std"), no_std)] | COMMENT |
| LOW | crates/burn-pack/src/lib.rs | 21 | //! let raw: Vec<u8> = [1.0f32, 2.0, 3.0, 4.0] | COMMENT |
| LOW | crates/burn-pack/src/lib.rs | 41 | //! assert_eq!(reader.metadata()["producer"], "burn-pack docs"); | COMMENT |
| LOW | crates/burn-pack/src/lib.rs | 61 | //! ├──────────────────────────────────────────────────────────────┤ | COMMENT |
| LOW | crates/burn-pack/src/lib.rs | 81 | //! ## Why 256-byte alignment | COMMENT |
| LOW | crates/burn-pack/src/base.rs | 21 | COMMENT | |
| LOW | crates/burn-pack/src/base.rs | 41 | /// - 256-byte: GGUF, MLX, ncnn, MNN, TNN, vLLM-AWQ, Marlin (15+ formats) | COMMENT |
| LOW | crates/burn-pack/src/base.rs | 61 | } | COMMENT |
| LOW | crates/burn-pack/src/base.rs | 281 | } | COMMENT |
| LOW | crates/burn-pack/src/writer.rs | 21 | /// | COMMENT |
| LOW | crates/burn-pack/src/tensor.rs | 1 | //! Tensor-library-agnostic tensor entry for the burnpack format. | COMMENT |
| LOW | crates/burn-rl/src/transition_buffer/base.rs | 21 | /// A batch of transitions. | COMMENT |
| LOW | crates/burn-rl/src/transition_buffer/slice_access.rs | 1 | use burn_core::prelude::*; | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 21 | /// | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 41 | /// // CUDA device at hardware index 1. | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 61 | /// | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 101 | // Manually implement both `eq` and `ne` to add documentation on equality. | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 121 | COMMENT | |
| LOW | crates/burn-tensor/src/device.rs | 161 | } | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 241 | /// of all discrete GPUs found on the system. | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 341 | /// Connects to a burn-remote WebSocket server at the given address. `index` selects which of | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 421 | ); | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 461 | #[cfg(feature = "metal")] | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 481 | /// | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 501 | /// Enables gradient checkpointing on the autodiff device. | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 561 | /// Flush the device's pending operations, handing them off for execution without waiting | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 581 | /// | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 641 | { | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 661 | /// tensor is created on the device. The first tensor operation will lock the device | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 701 | /// | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 841 | /// Variants combine into a [`DeviceFilter`] with the `|` operator, so a single | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 861 | Flex, | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 941 | /// | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 1001 | fn from(value: (FloatDType, IntDType)) -> Self { | COMMENT |
| LOW | crates/burn-tensor/src/device.rs | 1041 | COMMENT | |
| LOW | crates/burn-tensor/src/lib.rs | 1 | #![cfg_attr(not(feature = "std"), no_std)] | COMMENT |
| LOW | crates/burn-tensor/src/lib.rs | 21 | //! ``` | COMMENT |
| LOW | crates/burn-tensor/src/server.rs | 1 | //! Remote-execution server entry points. | COMMENT |
| LOW | crates/burn-tensor/src/bridge/kind.rs | 21 | COMMENT | |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 21 | /// This is a low-level function used internally by the library to call different backend functions | COMMENT |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 41 | /// # Returns | COMMENT |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 61 | /// * `dtype` - The target data type. | COMMENT |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 81 | /// * `shape` - The shape of the tensor. | COMMENT |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 101 | /// # Arguments | COMMENT |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 121 | COMMENT | |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 141 | fn reshape(tensor: BridgeTensor, shape: Shape) -> BridgeTensor; | COMMENT |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 161 | /// | COMMENT |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 181 | /// # Arguments | COMMENT |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 201 | /// | COMMENT |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 221 | /// | COMMENT |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 241 | /// | COMMENT |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 261 | /// * `tensor` - The tensor to assign elements to. | COMMENT |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 281 | /// function, which is more high-level and designed for public use. | COMMENT |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 301 | /// corresponding element of the left hand side tensor if the corresponding element of the mask | COMMENT |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 321 | /// * `value` - The value to fill elements with when the corresponding element of the mask is true. | COMMENT |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 341 | /// # Arguments | COMMENT |
| LOW | crates/burn-tensor/src/bridge/ops/base.rs | 361 | COMMENT | |
| 1374 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | crates/burn-pack/src/lib.rs | 56 | //! ┌──────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/burn-pack/src/lib.rs | 61 | //! ├──────────────────────────────────────────────────────────────┤ | COMMENT |
| MEDIUM⚡ | crates/burn-pack/src/lib.rs | 69 | //! ├──────────────────────────────────────────────────────────────┤ | COMMENT |
| MEDIUM⚡ | crates/burn-pack/src/lib.rs | 72 | //! ├──────────────────────────────────────────────────────────────┤ | COMMENT |
| MEDIUM⚡ | crates/burn-pack/src/lib.rs | 78 | //! └──────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM | examples/custom-image-dataset/src/model.rs | 13 | // ┌────────────────────┐ | COMMENT |
| MEDIUM | examples/custom-image-dataset/src/model.rs | 23 | // └────────────────────┘ | COMMENT |
| MEDIUM | .github/workflows/stale-pr.yml | 19 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/dependencies.yml | 29 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/dependencies.yml | 34 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/dependencies.yml | 39 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/dependencies.yml | 45 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/dependencies.yml | 52 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 72 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 78 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 81 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 89 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 92 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 108 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 114 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 117 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 143 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 152 | # # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 160 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 163 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 168 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 213 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 219 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 222 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 267 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 273 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/test.yml | 276 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/test.yml | 243 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/test.yml | 249 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/vulnerabilities.yml | 23 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/vulnerabilities.yml | 29 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/vulnerabilities.yml | 32 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/vulnerabilities.yml | 40 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/vulnerabilities.yml | 50 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/vulnerabilities.yml | 56 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/vulnerabilities.yml | 59 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/vulnerabilities.yml | 72 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/vulnerabilities.yml | 78 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/vulnerabilities.yml | 81 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/vulnerabilities.yml | 94 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/vulnerabilities.yml | 100 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/vulnerabilities.yml | 103 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/vulnerabilities.yml | 116 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/vulnerabilities.yml | 122 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/vulnerabilities.yml | 125 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/test-gpu.yml | 78 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/test-gpu.yml | 84 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/test-gpu.yml | 116 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/test-gpu.yml | 122 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/test-gpu.yml | 154 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/test-gpu.yml | 160 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/valgrind.yml | 26 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/valgrind.yml | 29 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | .github/workflows/valgrind.yml | 33 | # -------------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …es/burn-cubecl-fusion/src/optim/reduce/optimization.rs | 282 | self.info.trace_read_fallback.resources.outputs.len() | CODE |
| CRITICAL | …ecl-fusion/src/optim/reduce_broadcasted/fuser/block.rs | 101 | self.fuser.fuser.fuser.fuser.num_multi_block_local_inputs() > 0; | CODE |
| CRITICAL | crates/burn-nn/src/modules/rnn/gru.rs | 337 | let bias = self.forward.update_gate.input_transform.bias.is_some(); | CODE |
| CRITICAL | crates/burn-nn/src/modules/rnn/lstm.rs | 358 | let bias = self.forward.input_gate.input_transform.bias.is_some(); | CODE |
| CRITICAL | crates/burn-nn/src/modules/rnn/basic.rs | 274 | let [d_input, _] = self.forward.gate.input_transform.weight.shape().dims(); | CODE |
| CRITICAL | crates/burn-nn/src/modules/rnn/basic.rs | 275 | let bias = self.forward.gate.input_transform.bias.is_some(); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/burn-store/src/keyremapper.rs | 232 | // Step 1: Collect all paths and find all index positions | COMMENT |
| LOW | crates/burn-ndarray/src/ops/conv.rs | 161 | // NOTE: This function call is duplicated twice so that the compiler can perform auto-ve | COMMENT |
| LOW | crates/burn-ndarray/src/ops/conv.rs | 394 | // NOTE: This function call is duplicated twice so that the compiler can perform aut | COMMENT |
| LOW⚡ | crates/burn-train/src/metric/vision/lpips/weights.rs | 86 | // Step 1: Load backbone ImageNet weights | COMMENT |
| LOW⚡ | crates/burn-train/src/metric/vision/lpips/weights.rs | 96 | // Step 2: Load LPIPS linear layer weights | COMMENT |
| LOW⚡ | crates/burn-train/src/metric/vision/dists/weights.rs | 60 | // Step 1: Download and load VGG16 ImageNet backbone weights | COMMENT |
| LOW⚡ | crates/burn-train/src/metric/vision/dists/weights.rs | 68 | // Step 2: Download DISTS alpha/beta weights | COMMENT |
| LOW | crates/burn-flex/src/ops/attention.rs | 509 | // Step 1: Score matmul via gemm | COMMENT |
| LOW | crates/burn-flex/src/ops/attention.rs | 536 | // Step 2: Apply scale/softcap/mask/bias, online softmax, rescale output | COMMENT |
| LOW | crates/burn-flex/src/ops/attention.rs | 609 | // Step 3: Value matmul via gemm | COMMENT |
| LOW⚡ | crates/burn-optim/src/optim/muon.rs | 305 | // Step 1: Transpose if tall matrix (more rows than columns) | COMMENT |
| LOW⚡ | crates/burn-optim/src/optim/muon.rs | 312 | // Step 2: Normalize by Frobenius norm | COMMENT |
| LOW⚡ | crates/burn-optim/src/optim/muon.rs | 392 | // Step 1: Apply momentum | COMMENT |
| LOW⚡ | crates/burn-optim/src/optim/muon.rs | 396 | // Step 2: Orthogonalize via Newton-Schulz | COMMENT |
| LOW⚡ | crates/burn-optim/src/optim/muon.rs | 399 | // Step 3: Adjust learning rate based on parameter shape | COMMENT |
| LOW⚡ | crates/burn-optim/src/optim/muon.rs | 402 | // Step 4: Apply weight decay (using ORIGINAL lr, not adjusted) | COMMENT |
| LOW⚡ | crates/burn-optim/src/optim/muon.rs | 411 | // Step 5: Update parameter (using ADJUSTED lr) | COMMENT |
| LOW | crates/burn-optim/src/optim/muon.rs | 324 | // Step 3: Newton-Schulz iteration | COMMENT |
| LOW | crates/burn-optim/src/optim/muon.rs | 341 | // Step 4: Restore transpose if it was a tall matrix | COMMENT |
| LOW | burn-book/src/onnx-import.md | 89 | ### Step 1: Update `Cargo.toml` | COMMENT |
| LOW | burn-book/src/onnx-import.md | 101 | ### Step 2: Update `build.rs` | COMMENT |
| LOW | burn-book/src/onnx-import.md | 118 | ### Step 3: Modify `mod.rs` | COMMENT |
| LOW | burn-book/src/onnx-import.md | 128 | ### Step 4: Use the Imported Model | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/burn-store/src/keyremapper.rs | 232 | // Step 1: Collect all paths and find all index positions | COMMENT |
| LOW⚡ | crates/burn-train/src/metric/vision/lpips/weights.rs | 86 | // Step 1: Load backbone ImageNet weights | COMMENT |
| LOW⚡ | crates/burn-train/src/metric/vision/lpips/weights.rs | 96 | // Step 2: Load LPIPS linear layer weights | COMMENT |
| LOW⚡ | crates/burn-train/src/metric/vision/dists/weights.rs | 60 | // Step 1: Download and load VGG16 ImageNet backbone weights | COMMENT |
| LOW⚡ | crates/burn-train/src/metric/vision/dists/weights.rs | 68 | // Step 2: Download DISTS alpha/beta weights | COMMENT |
| LOW | crates/burn-flex/src/ops/attention.rs | 509 | // Step 1: Score matmul via gemm | COMMENT |
| LOW | crates/burn-flex/src/ops/attention.rs | 536 | // Step 2: Apply scale/softcap/mask/bias, online softmax, rescale output | COMMENT |
| LOW | crates/burn-flex/src/ops/attention.rs | 609 | // Step 3: Value matmul via gemm | COMMENT |
| LOW⚡ | crates/burn-optim/src/optim/muon.rs | 305 | // Step 1: Transpose if tall matrix (more rows than columns) | COMMENT |
| LOW⚡ | crates/burn-optim/src/optim/muon.rs | 312 | // Step 2: Normalize by Frobenius norm | COMMENT |
| LOW⚡ | crates/burn-optim/src/optim/muon.rs | 392 | // Step 1: Apply momentum | COMMENT |
| LOW⚡ | crates/burn-optim/src/optim/muon.rs | 396 | // Step 2: Orthogonalize via Newton-Schulz | COMMENT |
| LOW⚡ | crates/burn-optim/src/optim/muon.rs | 399 | // Step 3: Adjust learning rate based on parameter shape | COMMENT |
| LOW⚡ | crates/burn-optim/src/optim/muon.rs | 402 | // Step 4: Apply weight decay (using ORIGINAL lr, not adjusted) | COMMENT |
| LOW⚡ | crates/burn-optim/src/optim/muon.rs | 411 | // Step 5: Update parameter (using ADJUSTED lr) | COMMENT |
| LOW | crates/burn-optim/src/optim/muon.rs | 324 | // Step 3: Newton-Schulz iteration | COMMENT |
| LOW | crates/burn-optim/src/optim/muon.rs | 341 | // Step 4: Restore transpose if it was a tall matrix | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …h-tests/tests/non_contiguous_indexes/export_weights.py | 12 | # Create a list to store the layers | COMMENT |
| MEDIUM | crates/burn-store/benches/download_resnet18.py | 26 | # Create a temporary directory for the model | COMMENT |
| MEDIUM | crates/burn-store/benches/generate_unified_models.py | 39 | # Create a model with 20 layers matching the Rust LargeModel | COMMENT |
| MEDIUM | crates/burn-store/benches/generate_unified_models.py | 130 | # Create the large model | COMMENT |
| MEDIUM | …src/pytorch/tests/reader/create_legacy_with_offsets.py | 12 | # Create a state dict with tensors that share storage | COMMENT |
| MEDIUM | …src/pytorch/tests/reader/create_legacy_with_offsets.py | 16 | # Create a base tensor with known pattern | COMMENT |
| MEDIUM | …s/burn-store/src/pytorch/tests/reader/simple_legacy.py | 9 | # Create a simple state dict | COMMENT |
| MEDIUM | …rn-store/src/pytorch/tests/reader/create_tar_format.py | 265 | # Create the three main entries | COMMENT |
| MEDIUM | crates/burn-dataset/src/source/huggingface/importer.py | 48 | # Create the database connection descriptor (sqlite) | COMMENT |
| MEDIUM | crates/burn-backend-tests/tests/autodiff/sign.rs | 6 | // >>> # Create a tensor with requires_grad=True | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/burn-dispatch/src/backend.rs | 138 | /// Essentially, [`Dispatch`] is the single entry point for executing tensor operations | COMMENT |
| MEDIUM | crates/burn/src/lib.rs | 34 | //! Burn strives to be as fast as possible on as many hardwares as possible, with robust implementations. | COMMENT |
| MEDIUM | crates/burn/src/lib.rs | 68 | //! the model to learn representations that are more robust to reduced precision. | COMMENT |
| MEDIUM | crates/burn-backend/src/backend/ops/modules/unfold.rs | 11 | /// The idea behind using convolution for unfolding is to leverage the sliding window mechanism of | COMMENT |
| MEDIUM | crates/burn-fusion/src/stream/execution/tests.rs | 3 | //! The primary focus is on validating the seamless interaction between these three components to | COMMENT |
| MEDIUM | crates/burn-nn/src/loss/lp_loss.rs | 28 | /// - `p = 1.0`: L1 loss (MAE with mean reduction) - robust to outliers | COMMENT |
| MEDIUM | crates/burn-nn/src/loss/lp_loss.rs | 31 | /// - `0 < p < 1`: More robust to outliers than L1 (quasi-norm) | COMMENT |
| MEDIUM | crates/burn-nn/src/loss/lp_loss.rs | 309 | // L0.5 quasi-norm: more robust to outliers than L1 | COMMENT |
| MEDIUM | crates/burn-nn/src/modules/rope_encoding.rs | 110 | // Essentially a cache of pre-computed RoPE values. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …urn-store/pytorch-tests/tests/conv1d/export_weights.py | 5 | CODE | |
| LOW | …rch-tests/tests/missing_module_field/export_weights.py | 5 | CODE | |
| LOW | …urn-store/pytorch-tests/tests/conv2d/export_weights.py | 5 | CODE | |
| LOW | …-store/pytorch-tests/tests/embedding/export_weights.py | 5 | CODE | |
| LOW | …store/pytorch-tests/tests/layer_norm/export_weights.py | 5 | CODE | |
| LOW | …re/pytorch-tests/tests/top_level_key/export_weights.py | 5 | CODE | |
| LOW | …-store/pytorch-tests/tests/key_remap/export_weights.py | 5 | CODE | |
| LOW | …pytorch-tests/tests/conv_transpose2d/export_weights.py | 5 | CODE | |
| LOW | …pytorch-tests/tests/conv_transpose1d/export_weights.py | 5 | CODE | |
| LOW | …store/pytorch-tests/tests/group_norm/export_weights.py | 5 | CODE | |
| LOW | …rn-store/pytorch-tests/tests/boolean/export_weights.py | 5 | CODE | |
| LOW | …rn-store/pytorch-tests/tests/integer/export_weights.py | 5 | CODE | |
| LOW | …h-tests/tests/non_contiguous_indexes/export_weights.py | 5 | CODE | |
| LOW | …store/pytorch-tests/tests/batch_norm/export_weights.py | 5 | CODE | |
| LOW | …urn-store/pytorch-tests/tests/buffer/export_weights.py | 5 | CODE | |
| LOW | crates/burn-store/benches/download_resnet18.py | 15 | CODE | |
| LOW | crates/burn-store/benches/generate_unified_models.py | 22 | CODE | |
| LOW | …rn-store/src/pytorch/tests/reader/create_tar_format.py | 19 | CODE | |
| LOW | crates/burn-store/src/pytorch/tests/reader/test_data.py | 11 | CODE | |
| LOW | crates/burn-store/src/pytorch/tests/reader/test_data.py | 12 | CODE | |
| LOW | …les/import-model-weights/weights/mnist_train_export.py | 6 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …rn-store/src/pytorch/tests/reader/create_tar_format.py | 80 | def create_storages_blob_manual(tensors: list) -> bytes: | CODE |
| LOW | …rn-store/src/pytorch/tests/reader/create_tar_format.py | 130 | def create_main_pickle_manual(tensors_info: list) -> bytes: | CODE |
| LOW | …rc/pytorch/tests/store/test_data/generate_enum_test.py | 50 | def generate_enum_variant_mismatch_test(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/custom-image-dataset/src/training.rs | 97 | // NOTE: we use the CIFAR-10 test set as validation for demonstration purposes | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/burn-store/benches/download_resnet18.py | 32 | # Check if already downloaded | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/burn-store/benches/download_resnet18.py | 66 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …les/import-model-weights/weights/mnist_train_export.py | 44 | CODE |