2711 matches across 20 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/test_fp32_norms.py | 53 | def test_suffix_matches_multiple_norm_families(): |
| LOW | tests/test_fp32_norms.py | 60 | def test_suffix_does_not_match_non_norm_modules(): |
| LOW | tests/test_fp32_norms.py | 67 | def test_explicit_classname_matches_custom_norm(): |
| LOW | tests/test_fp32_norms.py | 71 | def test_fully_qualified_pattern_matches_exact_path(): |
| LOW | tests/test_fp32_norms.py | 77 | def test_mixed_patterns_suffix_and_qualified(): |
| LOW | tests/test_fp32_norms.py | 107 | def test_meta_device_is_supported(monkeypatch): |
| LOW | tests/test_fp32_norms.py | 128 | def test_passthrough_fully_shard_kwargs_are_used(monkeypatch): |
| LOW | tests/test_fp32_norms.py | 159 | def test_no_matches_warns_and_returns_zero(caplog): |
| LOW | tests/test_fp32_norms.py | 177 | def test_explicit_classes_override_defaults(monkeypatch): |
| LOW | tests/test_utils_tee.py | 25 | def test_file_only_stream_writes_after_prepare(monkeypatch): |
| LOW | tests/test_utils_tee.py | 50 | def test_stdout_is_mirrored_after_prepare(capsys, monkeypatch): |
| LOW | tests/test_utils_tee.py | 72 | def test_truncate_vs_append_behavior(monkeypatch): |
| LOW | tests/conftest.py | 226 | # def download_fozzie_alpaca_dpo_dataset(): |
| LOW | tests/conftest.py | 128 | def download_tiny_llama_model(): |
| LOW | tests/conftest.py | 133 | def download_tiny_mistral_model(): |
| LOW | tests/conftest.py | 138 | def download_tiny_mixtral_model(): |
| LOW | tests/conftest.py | 148 | def download_tiny_falcon_model(): |
| LOW | tests/conftest.py | 202 | def download_argilla_distilabel_intel_orca_dpo_dataset(): |
| LOW | tests/conftest.py | 210 | def download_argilla_ultrafeedback_binarized_preferences_cleaned_dataset(): |
| LOW | tests/conftest.py | 218 | def download_argilla_ultrafeedback_binarized_preferences_cleaned_kto_dataset(): |
| LOW | tests/conftest.py | 240 | # def dataset_fozzie_alpaca_dpo_dataset( |
| LOW | tests/conftest.py | 257 | def download_arcee_ai_distilabel_intel_orca_dpo_pairs_dataset(): |
| LOW | tests/conftest.py | 265 | def download_argilla_dpo_pairs_dataset(): |
| LOW | tests/conftest.py | 273 | def download_tiny_shakespeare_dataset(): |
| LOW | tests/conftest.py | 279 | def download_evolkit_kd_sample_dataset(): |
| LOW | tests/conftest.py | 287 | def download_deepseek_model_fixture(): |
| LOW | tests/conftest.py | 292 | def download_huggyllama_model_fixture(): |
| LOW | tests/conftest.py | 56 | def retry_on_request_exceptions(max_retries=3, delay=1): |
| LOW | tests/conftest.py | 80 | def snapshot_download_w_retry(*args, **kwargs): |
| LOW | tests/conftest.py | 96 | def download_ds_fixture_bundle(): |
| LOW | tests/conftest.py | 168 | def download_tatsu_lab_alpaca_dataset(): |
| LOW | tests/conftest.py | 453 | def tokenizer_huggyllama_w_special_tokens( |
| LOW | tests/conftest.py | 581 | def dataset_winglian_tiny_shakespeare( |
| LOW | tests/conftest.py | 605 | def dataset_argilla_ultrafeedback_binarized_preferences_cleaned( |
| LOW | tests/test_tokenizers.py | 44 | def test_special_tokens_modules_to_save(self): |
| LOW | tests/test_tokenizers.py | 79 | def test_add_additional_special_tokens(self): |
| LOW | tests/test_tokenizers.py | 96 | def test_added_tokens_overrides(self, temp_dir): |
| LOW | tests/test_tokenizers.py | 147 | def test_added_tokens_overrides_with_toolargeid(self, temp_dir): |
| LOW | tests/test_ebft_kernels.py | 289 | def test_single_sample_returns_zeros(self): |
| LOW | tests/test_triton_kernels.py | 34 | def _ref_selective_log_softmax(logits, index): |
| LOW | tests/test_triton_kernels.py | 157 | def test_many_rows_beyond_max_grid(self): |
| LOW | tests/test_triton_kernels.py | 166 | def test_entropy_non_negative(self): |
| LOW | tests/test_triton_kernels.py | 379 | def test_negative_indices_no_crash(self): |
| LOW | tests/test_triton_kernels.py | 62 | def test_correctness_various_shapes(self, B, L): |
| LOW | tests/test_triton_kernels.py | 91 | def test_uniform_distribution(self): |
| LOW | tests/test_triton_kernels.py | 191 | def test_correctness_various_shapes(self, B, L, K): |
| LOW | tests/test_triton_kernels.py | 270 | def test_output_always_nonpositive(self): |
| LOW | tests/test_triton_kernels.py | 280 | def test_many_rows_beyond_max_grid(self): |
| LOW | tests/test_triton_kernels.py | 306 | def test_gradient_matches_reference(self, B, L, V, K): |
| LOW | tests/test_triton_kernels.py | 395 | def test_index_exceeds_vocab_no_crash(self): |
| LOW | tests/test_triton_kernels.py | 415 | def test_mixed_valid_invalid_multi_index(self): |
| LOW | tests/test_triton_kernels.py | 438 | def test_oob_backward_no_crash(self): |
| LOW | tests/test_triton_kernels.py | 454 | def test_oob_backward_valid_rows_correct(self): |
| LOW | tests/test_revision_parameter.py | 18 | def test_load_tokenizer_passes_revision( |
| LOW | tests/test_revision_parameter.py | 43 | def test_load_tokenizer_omits_revision_when_unset( |
| LOW | tests/test_revision_parameter.py | 65 | def test_modify_tokenizer_files_passes_revision( |
| LOW | tests/test_revision_parameter.py | 81 | def test_modify_tokenizer_files_defaults_revision_to_main( |
| LOW | tests/test_revision_parameter.py | 95 | def test_load_processor_passes_revision(self, mock_auto_processor): |
| LOW | tests/test_revision_parameter.py | 117 | def test_load_processor_omits_revision_when_unset(self, mock_auto_processor): |
| LOW | tests/test_revision_parameter.py | 138 | def test_load_processor_forwards_processor_kwargs(self, mock_auto_processor): |
| 1515 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/test_ebft_kernels.py | 22 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_ebft_kernels.py | 24 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_ebft_kernels.py | 98 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_ebft_kernels.py | 100 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_ebft_kernels.py | 164 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_ebft_kernels.py | 166 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_ebft_kernels.py | 237 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_ebft_kernels.py | 239 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_triton_kernels.py | 23 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_triton_kernels.py | 25 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_triton_kernels.py | 174 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_triton_kernels.py | 176 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_triton_kernels.py | 371 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_triton_kernels.py | 373 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_triton_kernels.py | 46 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_triton_kernels.py | 48 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_triton_kernels.py | 291 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_triton_kernels.py | 293 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_http_weight_sync.py | 17 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_http_weight_sync.py | 19 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_http_weight_sync.py | 61 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_http_weight_sync.py | 63 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_http_weight_sync.py | 111 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/test_http_weight_sync.py | 113 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/integrations/test_gemma4_moe.py | 173 | # ============================================================================ |
| MEDIUM | tests/integrations/test_gemma4_moe.py | 175 | # ============================================================================ |
| MEDIUM | tests/integrations/test_gemma4_moe.py | 444 | # ============================================================================ |
| MEDIUM | tests/integrations/test_gemma4_moe.py | 446 | # ============================================================================ |
| MEDIUM | tests/integrations/test_gemma4_moe.py | 22 | # ============================================================================ |
| MEDIUM | tests/integrations/test_gemma4_moe.py | 24 | # ============================================================================ |
| MEDIUM | tests/integrations/test_gemma4_moe.py | 118 | # ============================================================================ |
| MEDIUM | tests/integrations/test_gemma4_moe.py | 120 | # ============================================================================ |
| MEDIUM | tests/integrations/test_gemma4_moe.py | 498 | # ============================================================================ |
| MEDIUM | tests/integrations/test_gemma4_moe.py | 500 | # ============================================================================ |
| MEDIUM | tests/integrations/test_scattermoe_lora_kernels.py | 45 | # ─── Helpers ───────────────────────────────────────────────────────────────── |
| MEDIUM | tests/integrations/test_scattermoe_lora_kernels.py | 121 | # ─── Model shape configs ──────────────────────────────────────────────────── |
| MEDIUM | tests/integrations/test_scattermoe_lora_kernels.py | 139 | # ─── Forward tests ────────────────────────────────────────────────────────── |
| MEDIUM | tests/integrations/test_scattermoe_lora_kernels.py | 186 | # ─── Backward dX tests ────────────────────────────────────────────────────── |
| MEDIUM | tests/integrations/test_scattermoe_lora_kernels.py | 220 | # ─── Backward LoRA gradient tests ─────────────────────────────────────────── |
| MEDIUM | tests/integrations/test_scattermoe_lora_kernels.py | 291 | # ─── Full autograd tests ──────────────────────────────────────────────────── |
| MEDIUM | tests/integrations/test_scattermoe_lora.py | 24 | # ============================================================================ |
| MEDIUM | tests/integrations/test_scattermoe_lora.py | 26 | # ============================================================================ |
| MEDIUM | tests/integrations/test_scattermoe_lora.py | 254 | # ============================================================================ |
| MEDIUM | tests/integrations/test_scattermoe_lora.py | 256 | # ============================================================================ |
| MEDIUM | tests/integrations/test_scattermoe_lora.py | 288 | # ============================================================================ |
| MEDIUM | tests/integrations/test_scattermoe_lora.py | 290 | # ============================================================================ |
| MEDIUM | tests/integrations/test_scattermoe_lora.py | 634 | # ============================================================================ |
| MEDIUM | tests/integrations/test_scattermoe_lora.py | 636 | # ============================================================================ |
| MEDIUM | tests/integrations/test_scattermoe_lora.py | 186 | # ============================================================================ |
| MEDIUM | tests/integrations/test_scattermoe_lora.py | 188 | # ============================================================================ |
| MEDIUM | tests/integrations/test_scattermoe_lora.py | 328 | # ============================================================================ |
| MEDIUM | tests/integrations/test_scattermoe_lora.py | 330 | # ============================================================================ |
| MEDIUM | …sts/integrations/test_scattermoe_autotune_telemetry.py | 11 | # --------------------------------------------------------------------------- |
| MEDIUM | …sts/integrations/test_scattermoe_autotune_telemetry.py | 13 | # --------------------------------------------------------------------------- |
| MEDIUM | …sts/integrations/test_scattermoe_autotune_telemetry.py | 65 | # ========================================================================= |
| MEDIUM | …sts/integrations/test_scattermoe_autotune_telemetry.py | 67 | # ========================================================================= |
| MEDIUM | …sts/integrations/test_scattermoe_autotune_telemetry.py | 190 | # ========================================================================= |
| MEDIUM | …sts/integrations/test_scattermoe_autotune_telemetry.py | 192 | # ========================================================================= |
| MEDIUM | …sts/integrations/test_scattermoe_autotune_telemetry.py | 364 | # ========================================================================= |
| MEDIUM | …sts/integrations/test_scattermoe_autotune_telemetry.py | 366 | # ========================================================================= |
| 281 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .runpod/src/utils.py | 40 | |
| LOW | .runpod/src/utils.py | 59 | |
| LOW | tests/core/test_async_grpo.py | 275 | |
| LOW | tests/utils/callbacks/test_dynamic_checkpoint.py | 178 | |
| LOW | tests/utils/callbacks/test_dynamic_checkpoint.py | 215 | |
| LOW | tests/utils/callbacks/test_dynamic_checkpoint.py | 255 | |
| LOW | tests/utils/callbacks/test_dynamic_checkpoint.py | 301 | |
| LOW | …ts/integrations/kernels/scattermoe_lora/bench_mxfp4.py | 331 | |
| LOW | tests/e2e/multigpu/solo/test_grpo.py | 25 | |
| LOW | tests/prompt_strategies/test_chat_templates_advanced.py | 728 | |
| LOW | tests/prompt_strategies/test_chat_templates_advanced.py | 1409 | |
| LOW | docs/scripts/generate_examples_docs.py | 94 | |
| LOW | docs/scripts/generate_examples_docs.py | 215 | |
| LOW | docs/scripts/generate_examples_docs.py | 286 | |
| LOW | docs/scripts/generate_examples_docs.py | 107 | |
| LOW | docs/scripts/generate_config_docs.py | 50 | |
| LOW | docs/scripts/generate_config_docs.py | 126 | |
| LOW | docs/scripts/generate_config_docs.py | 263 | |
| LOW | docs/scripts/generate_config_docs.py | 438 | |
| LOW | docs/scripts/generate_config_docs.py | 591 | |
| LOW | scripts/analyze_profile.py | 338 | |
| LOW | scripts/analyze_profile.py | 565 | |
| LOW | scripts/analyze_profile.py | 651 | |
| LOW | scripts/analyze_profile.py | 774 | |
| LOW | scripts/analyze_profile.py | 888 | |
| LOW | scripts/analyze_profile.py | 975 | |
| LOW | scripts/analyze_profile.py | 1079 | |
| LOW | scripts/analyze_profile.py | 1338 | |
| LOW | src/axolotl/processing_strategies.py | 378 | |
| LOW | src/axolotl/processing_strategies.py | 493 | |
| LOW | src/axolotl/processing_strategies.py | 174 | |
| LOW | src/axolotl/prompters.py | 48 | |
| LOW | src/axolotl/train.py | 254 | |
| LOW | src/axolotl/train.py | 391 | |
| LOW | src/axolotl/kernels/autotune_telemetry.py | 46 | |
| LOW | src/axolotl/core/chat/messages.py | 134 | |
| LOW | src/axolotl/core/builders/rl.py | 39 | |
| LOW | src/axolotl/core/builders/rl.py | 101 | |
| LOW | src/axolotl/core/builders/causal.py | 452 | |
| LOW | src/axolotl/core/builders/base.py | 289 | |
| LOW | src/axolotl/core/builders/base.py | 290 | |
| LOW | src/axolotl/core/trainers/utils.py | 4 | |
| LOW | src/axolotl/core/trainers/utils.py | 20 | |
| LOW | …olotl/core/trainers/mixins/activation_checkpointing.py | 73 | |
| LOW | src/axolotl/core/trainers/mixins/layer_offloading.py | 24 | |
| LOW | src/axolotl/core/trainers/mixins/optimizer.py | 22 | |
| LOW | src/axolotl/core/trainers/mixins/optimizer.py | 107 | |
| LOW | src/axolotl/core/trainers/mixins/scheduler.py | 27 | |
| LOW | src/axolotl/core/trainers/ebft/__init__.py | 79 | |
| LOW | src/axolotl/core/trainers/ebft/trainer.py | 144 | |
| LOW | src/axolotl/core/trainers/ebft/trainer.py | 186 | |
| LOW | src/axolotl/core/trainers/ebft/trainer.py | 429 | |
| LOW | src/axolotl/core/trainers/ebft/strided.py | 252 | |
| LOW | src/axolotl/core/trainers/ebft/strided.py | 334 | |
| LOW | src/axolotl/core/trainers/ebft/strided.py | 562 | |
| LOW | src/axolotl/core/trainers/ebft/strided.py | 859 | |
| LOW | src/axolotl/core/trainers/grpo/async_trainer.py | 526 | |
| LOW | src/axolotl/core/trainers/grpo/async_trainer.py | 692 | |
| LOW | src/axolotl/core/trainers/grpo/async_trainer.py | 970 | |
| LOW | src/axolotl/core/trainers/grpo/async_trainer.py | 1205 | |
| 148 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/test_fp32_norms.py | 3 | |
| LOW | tests/test_no_legacy_attn_reads.py | 8 | |
| LOW | tests/test_attn_implementation.py | 42 | |
| LOW | tests/utils/test_cuda13.py | 3 | |
| LOW | tests/integrations/test_gemma4_moe.py | 451 | |
| LOW | …rnels/scattermoe_lora/test_scattermoe_lora_m_bucket.py | 22 | |
| LOW | tests/integrations/kernels/scattermoe_lora/conftest.py | 19 | |
| LOW | …/scattermoe_lora/test_scattermoe_lora_int64_indices.py | 33 | |
| LOW | …ts/integrations/kernels/scattermoe_lora/bench_mxfp4.py | 25 | |
| LOW | …grations/kernels/scattermoe_lora/bench_int64_kernel.py | 26 | |
| LOW | …termoe_lora/test_parallel_experts_large_batch_repro.py | 32 | |
| LOW | tests/e2e/multigpu/test_fsdp2_fp32_norms.py | 11 | |
| LOW | tests/e2e/multigpu/_fp32_norms_dtype_capture.py | 9 | |
| LOW | tests/prompt_strategies/test_chat_templates_mistral.py | 9 | |
| LOW | src/axolotl/train.py | 3 | |
| LOW | src/axolotl/train.py | 46 | |
| LOW | src/axolotl/train.py | 46 | |
| LOW | src/axolotl/core/training_args.py | 5 | |
| LOW | src/axolotl/core/builders/__init__.py | 3 | |
| LOW | src/axolotl/core/builders/__init__.py | 4 | |
| LOW | src/axolotl/core/trainers/__init__.py | 7 | |
| LOW | src/axolotl/core/trainers/base.py | 3 | |
| LOW | src/axolotl/core/trainers/mixins/__init__.py | 5 | |
| LOW | src/axolotl/core/trainers/mixins/__init__.py | 6 | |
| LOW | src/axolotl/core/trainers/mixins/__init__.py | 7 | |
| LOW | src/axolotl/core/trainers/mixins/__init__.py | 8 | |
| LOW | src/axolotl/core/trainers/mixins/__init__.py | 9 | |
| LOW | src/axolotl/core/trainers/mixins/__init__.py | 10 | |
| LOW | src/axolotl/core/trainers/mixins/__init__.py | 11 | |
| LOW | src/axolotl/core/trainers/mixins/__init__.py | 12 | |
| LOW | src/axolotl/core/trainers/ebft/strided.py | 24 | |
| LOW | src/axolotl/core/trainers/ebft/strided.py | 24 | |
| LOW | src/axolotl/core/trainers/ebft/strided.py | 24 | |
| LOW | src/axolotl/core/trainers/ebft/strided.py | 24 | |
| LOW | src/axolotl/core/trainers/grpo/fast_async_trainer.py | 24 | |
| LOW | src/axolotl/core/trainers/grpo/trainer.py | 54 | |
| LOW | src/axolotl/utils/tee.py | 6 | |
| LOW | src/axolotl/utils/cuda13.py | 3 | |
| LOW | src/axolotl/utils/fp32_norms.py | 3 | |
| LOW | src/axolotl/utils/ctx_managers/__init__.py | 5 | |
| LOW | src/axolotl/utils/callbacks/swanlab.py | 3 | |
| LOW | src/axolotl/utils/callbacks/__init__.py | 3 | |
| LOW | src/axolotl/utils/callbacks/comet_.py | 12 | |
| LOW | src/axolotl/utils/callbacks/lisa.py | 18 | |
| LOW | src/axolotl/utils/callbacks/mlflow_.py | 15 | |
| LOW | src/axolotl/utils/callbacks/trackio_.py | 13 | |
| LOW | src/axolotl/utils/optimizers/qgalore.py | 3 | |
| LOW | src/axolotl/utils/optimizers/adopt.py | 16 | |
| LOW | src/axolotl/utils/optimizers/adopt.py | 16 | |
| LOW | src/axolotl/utils/optimizers/adopt.py | 16 | |
| LOW | src/axolotl/utils/optimizers/adopt.py | 16 | |
| LOW | src/axolotl/utils/optimizers/adopt.py | 16 | |
| LOW | src/axolotl/utils/optimizers/adopt.py | 16 | |
| LOW | src/axolotl/utils/optimizers/adopt.py | 16 | |
| LOW | src/axolotl/utils/schemas/validation.py | 1614 | |
| LOW | src/axolotl/utils/chat_templates/__init__.py | 6 | |
| LOW | src/axolotl/utils/chat_templates/__init__.py | 6 | |
| LOW | src/axolotl/utils/chat_templates/__init__.py | 6 | |
| LOW | src/axolotl/utils/chat_templates/__init__.py | 6 | |
| LOW | src/axolotl/utils/chat_templates/__init__.py | 6 | |
| 126 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | examples/swanlab/dpo-swanlab-full-featured.yml | 13 | # export SWANLAB_API_KEY=your-api-key |
| HIGH | examples/swanlab/dpo-swanlab-full-featured.yml | 145 | # export SWANLAB_API_KEY=your-api-key |
| HIGH | examples/swanlab/dpo-swanlab-full-featured.yml | 147 | # swanlab_api_key: your-api-key |
| HIGH | examples/swanlab/lora-swanlab-profiling.yml | 12 | # export SWANLAB_API_KEY=your-api-key |
| HIGH | examples/swanlab/lora-swanlab-profiling.yml | 92 | # export SWANLAB_API_KEY=your-api-key |
| HIGH | examples/swanlab/lora-swanlab-profiling.yml | 94 | # swanlab_api_key: your-api-key |
| HIGH | examples/swanlab/README.md | 22 | export SWANLAB_API_KEY=your-api-key |
| HIGH | examples/swanlab/README.md | 43 | export SWANLAB_API_KEY=your-api-key |
| HIGH | examples/swanlab/README.md | 66 | export SWANLAB_API_KEY=your-api-key |
| HIGH | examples/swanlab/README.md | 149 | export SWANLAB_API_KEY=your-api-key |
| HIGH | examples/swanlab/README.md | 156 | swanlab_api_key: your-api-key |
| HIGH | examples/swanlab/custom_trainer_profiling.py | 247 | export SWANLAB_API_KEY=your-api-key |
| HIGH | examples/swanlab/dpo-swanlab-completions.yml | 12 | # export SWANLAB_API_KEY=your-api-key |
| HIGH | examples/swanlab/dpo-swanlab-completions.yml | 104 | # export SWANLAB_API_KEY=your-api-key |
| HIGH | examples/swanlab/dpo-swanlab-completions.yml | 106 | # swanlab_api_key: your-api-key |
| HIGH | src/axolotl/integrations/swanlab/plugins.py | 88 | " export SWANLAB_API_KEY=your-api-key\n" |
| HIGH | src/axolotl/integrations/swanlab/plugins.py | 89 | " 2. Add 'swanlab_api_key: your-api-key' to config (less secure)\n" |
| HIGH | src/axolotl/integrations/swanlab/README.md | 46 | swanlab_api_key: YOUR_API_KEY # Optional: can also use env var SWANLAB_API_KEY |
| HIGH | src/axolotl/integrations/swanlab/README.md | 53 | export SWANLAB_API_KEY=your-api-key-here |
| HIGH | src/axolotl/integrations/swanlab/README.md | 841 | 1. Set environment variable: `export SWANLAB_API_KEY=your-api-key` |
| HIGH | src/axolotl/integrations/swanlab/README.md | 842 | 2. Add to config (less secure): `swanlab_api_key: your-api-key` |
| HIGH | src/axolotl/integrations/swanlab/README.md | 938 | export SWANLAB_API_KEY=your-api-key-here |
| HIGH | src/axolotl/integrations/swanlab/README.md | 949 | swanlab_api_key: your-api-key-here |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/core/test_builders.py | 604 | except Exception: |
| MEDIUM | tests/integrations/test_gemma4_moe.py | 449 | def _can_import_sonicmoe(): |
| LOW | tests/integrations/test_gemma4_moe.py | 454 | except Exception: |
| LOW | …ts/integrations/kernels/scattermoe_lora/bench_mxfp4.py | 65 | except Exception: |
| MEDIUM | …ts/integrations/kernels/scattermoe_lora/bench_mxfp4.py | 56 | def gpu_name() -> str: |
| LOW | …grations/kernels/scattermoe_lora/bench_int64_kernel.py | 59 | except Exception: |
| MEDIUM | …grations/kernels/scattermoe_lora/bench_int64_kernel.py | 51 | def gpu_name() -> str: |
| MEDIUM | tests/e2e/integrations/test_scattermoe_lora_kernels.py | 42 | def wrapper(*args, **kwargs): |
| LOW | tests/e2e/integrations/test_scattermoe_lora_kernels.py | 45 | except Exception as exc: # pylint: disable=broad-except |
| LOW | docs/scripts/generate_config_docs.py | 503 | except Exception: |
| LOW | docs/scripts/generate_config_docs.py | 607 | except Exception as e: |
| LOW | examples/orpheus/README.md | 79 | except Exception as e: |
| LOW | examples/orpheus/README.md | 240 | except Exception as e: |
| LOW | scripts/analyze_profile.py | 1388 | except Exception: |
| LOW | src/axolotl/train.py | 91 | except Exception: # pylint: disable=broad-exception-caught |
| LOW | src/axolotl/kernels/autotune_telemetry.py | 42 | except Exception: # pylint: disable=broad-exception-caught |
| LOW | src/axolotl/core/trainers/ebft/trainer.py | 501 | except Exception as e: |
| LOW | src/axolotl/core/trainers/grpo/async_trainer.py | 1177 | except Exception as exc: |
| LOW | src/axolotl/core/trainers/grpo/fast_async_trainer.py | 207 | except Exception: |
| LOW | src/axolotl/core/trainers/grpo/fast_async_trainer.py | 336 | except Exception: |
| LOW | src/axolotl/core/trainers/grpo/fast_async_trainer.py | 340 | except Exception: |
| LOW | src/axolotl/core/trainers/grpo/fast_async_trainer.py | 444 | except Exception: |
| LOW | src/axolotl/utils/tee.py | 41 | except Exception: |
| LOW | src/axolotl/utils/tee.py | 70 | except Exception: |
| LOW | src/axolotl/utils/tee.py | 162 | except Exception: |
| LOW | src/axolotl/utils/config/__init__.py | 48 | except Exception: |
| MEDIUM | src/axolotl/utils/config/__init__.py | 36 | def get_device(): |
| LOW | src/axolotl/utils/callbacks/generation.py | 38 | except Exception as e: |
| LOW | src/axolotl/utils/callbacks/swanlab.py | 90 | except Exception as err: |
| LOW | src/axolotl/utils/callbacks/swanlab.py | 124 | except Exception as err: |
| LOW | src/axolotl/utils/callbacks/__init__.py | 374 | except Exception as exc: |
| LOW | src/axolotl/utils/callbacks/__init__.py | 435 | except Exception: |
| LOW | src/axolotl/utils/callbacks/opentelemetry.py | 72 | except Exception as e: |
| LOW | src/axolotl/utils/callbacks/opentelemetry.py | 132 | except Exception as e: |
| LOW | src/axolotl/utils/callbacks/opentelemetry.py | 221 | except Exception as e: |
| LOW | src/axolotl/utils/schemas/config.py | 1799 | except Exception: # pylint: disable=broad-exception-caught |
| LOW | src/axolotl/utils/data/shared.py | 503 | except Exception: |
| LOW | src/axolotl/utils/generation/sft.py | 128 | except Exception as e: |
| LOW | src/axolotl/utils/generation/sft.py | 132 | except Exception as e: |
| LOW | src/axolotl/cli/config.py | 158 | except Exception as err: |
| LOW | src/axolotl/cli/preprocess.py | 88 | except Exception: # nosec B110 |
| MEDIUM | src/axolotl/cli/utils/fetch.py | 66 | print(f"Error downloading {file_path}: {str(request_error)}") |
| MEDIUM | src/axolotl/cli/utils/fetch.py | 133 | print(f"Error processing {file_path}: {str(request_error)}") |
| LOW | src/axolotl/cli/utils/diffusion.py | 116 | except Exception: |
| LOW | src/axolotl/cli/utils/diffusion.py | 127 | except Exception: |
| LOW | src/axolotl/cli/utils/lora_merge.py | 52 | except Exception: |
| LOW | src/axolotl/cli/utils/lora_merge.py | 78 | except Exception: # noqa: BLE001 |
| MEDIUM | src/axolotl/integrations/base.py | 418 | print(f"Error: {exc}") |
| LOW | src/axolotl/integrations/base.py | 746 | except Exception: |
| LOW | src/axolotl/integrations/nemo_gym/plugin.py | 88 | except Exception as exc: |
| LOW | src/axolotl/integrations/nemo_gym/plugin.py | 218 | except Exception as exc: |
| LOW | src/axolotl/integrations/nemo_gym/plugin.py | 575 | except Exception: |
| LOW | src/axolotl/integrations/nemo_gym/plugin.py | 662 | except Exception as exc: |
| LOW | src/axolotl/integrations/nemo_gym/rewards.py | 104 | except Exception as exc: |
| LOW | src/axolotl/integrations/nemo_gym/rewards.py | 168 | except Exception as exc: |
| LOW | src/axolotl/integrations/nemo_gym/data_producer.py | 141 | except Exception: |
| LOW | src/axolotl/integrations/nemo_gym/data_producer.py | 249 | except Exception as exc: # never let metric logging break training |
| LOW | src/axolotl/integrations/kernels/autotune_callback.py | 31 | except Exception: # pylint: disable=broad-exception-caught |
| LOW | src/axolotl/integrations/kernels/autotune_callback.py | 49 | except Exception: # pylint: disable=broad-exception-caught |
| LOW | src/axolotl/integrations/kd/collator_online_teacher.py | 253 | except Exception as e: # Catch other potential errors during processing |
| 45 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .axolotl-complete.bash | 18 | # Check if previous word is in our list |
| LOW | tests/e2e/integrations/test_scattermoe_lora_kernels.py | 809 | # Set weights to match test data |
| LOW | tests/e2e/patched/test_peft_embeddings.py | 59 | # Check if the embeddings are upcast correctly |
| LOW | tests/prompt_strategies/test_chat_templates_advanced.py | 644 | # Check if system message is not present in input_ids |
| LOW | tests/prompt_strategies/test_chat_templates_advanced.py | 715 | # Check if responses are labeled correctly based on role |
| LOW | docs/scripts/generate_examples_docs.py | 123 | # Check if target is outside examples_dir |
| LOW | docs/scripts/generate_examples_docs.py | 153 | # Check if this exact path is in allowlist |
| LOW | docs/scripts/generate_examples_docs.py | 243 | # Check if this is a parent page that has sub-pages |
| LOW | docs/scripts/generate_config_docs.py | 180 | # Check if this type itself is a Pydantic model |
| LOW | docs/scripts/generate_config_docs.py | 395 | # Check if this starts a new group (blank line before or significant gap) |
| LOW | docs/scripts/generate_config_docs.py | 674 | # Check if this field has nested models |
| LOW | scripts/cloud-entrypoint.sh | 29 | # Check if the word looks like the start of a key |
| LOW | scripts/cloud-entrypoint.sh | 72 | # Check if JUPYTER_PASSWORD is set and not empty |
| LOW | scripts/cloud-entrypoint.sh | 74 | # Set JUPYTER_TOKEN to the value of JUPYTER_PASSWORD |
| LOW | scripts/analyze_profile.py | 1110 | # Check if this small block is surrounded by inactive |
| LOW | scripts/cloud-entrypoint-term.sh | 25 | # Check if the word looks like the start of a key |
| LOW | scripts/cloud-entrypoint-term.sh | 63 | # Check if JUPYTER_PASSWORD is set and not empty |
| LOW | scripts/cloud-entrypoint-term.sh | 65 | # Set JUPYTER_TOKEN to the value of JUPYTER_PASSWORD |
| LOW | src/axolotl/train.py | 506 | # Check if the `token_ids_to_fix` kwarg exists in the fix_untrained_tokens args |
| LOW | src/axolotl/core/trainers/ebft/strided.py | 408 | # Check if we can share weights (PEFT model on single GPU) |
| LOW | src/axolotl/core/trainers/grpo/async_trainer.py | 1274 | # Check if model has FP8 weights |
| LOW | src/axolotl/utils/tee.py | 157 | # Close the file handle if open |
| LOW | src/axolotl/utils/freeze.py | 39 | # Check if any path component matches a vision/audio prefix |
| LOW | src/axolotl/utils/trainer.py | 48 | # Check if the tensor is 2D. If not, unsqueeze it to make it 2D |
| LOW | src/axolotl/utils/trainer.py | 230 | # Check if single example or batched by looking at the first element |
| LOW | src/axolotl/utils/trainer.py | 276 | # Check if single example or batch |
| LOW | src/axolotl/utils/callbacks/swanlab.py | 48 | # Check if SwanLab run is initialized |
| LOW | src/axolotl/utils/callbacks/swanlab.py | 163 | # Check if SwanLab is initialized |
| LOW | src/axolotl/utils/callbacks/lisa.py | 59 | # Check if it's time to switch active layers, including at step 0 |
| LOW | src/axolotl/utils/schemas/datasets.py | 210 | # Set chat_template to tokenizer_default if not set |
| LOW | src/axolotl/utils/samplers/multipack.py | 237 | # Assign bins to ranks - each rank gets every n-th bin |
| LOW | src/axolotl/utils/data/shared.py | 120 | # Check if it's a HuggingFace dataset |
| LOW | src/axolotl/utils/data/shared.py | 123 | # Check if it's a cloud storage path and get appropriate filesystem |
| LOW | src/axolotl/utils/data/streaming.py | 209 | # Set this to 1 so downstream data_loader doesn't try to increase the batch size |
| LOW | src/axolotl/utils/mistral/mistral_tokenizer.py | 62 | # Check if MistralRequestValidator has a _mode attribute. |
| LOW | src/axolotl/cli/config.py | 115 | # Check if the config is a valid HTTPS URL to a .yml or .yaml file |
| LOW | src/axolotl/cli/checks.py | 42 | # Verify if token is valid |
| LOW | src/axolotl/cli/utils/fetch.py | 35 | # Check if file exists and needs updating |
| LOW | src/axolotl/cli/utils/train.py | 27 | # Check if rdzv_endpoint is present |
| LOW | src/axolotl/cli/utils/train.py | 31 | # Check if rdzv_backend is already provided |
| LOW | src/axolotl/cli/utils/train.py | 36 | # Check if rdzv_id is already provided |
| LOW | src/axolotl/integrations/nemo_gym/server.py | 93 | # Check if already running |
| LOW | …ions/kernels/libs/scattermoe_lora/selective_dequant.py | 260 | # Check if the parameter is BnB-quantized via parametrize |
| LOW | src/axolotl/integrations/cut_cross_entropy/__init__.py | 61 | # Check if cut_cross_entropy is installed |
| LOW | src/axolotl/integrations/cut_cross_entropy/__init__.py | 74 | # Check if Axolotl's cce fork is installed |
| LOW | src/axolotl/integrations/swanlab/plugins.py | 50 | # Check if SwanLab is enabled |
| LOW | src/axolotl/integrations/swanlab/plugins.py | 446 | # Check if Lark webhook URL is configured |
| LOW | src/axolotl/integrations/swanlab/plugins.py | 503 | # Check if completion logging is enabled |
| LOW | src/axolotl/integrations/swanlab/plugins.py | 509 | # Check if trainer is an RLHF trainer |
| LOW | src/axolotl/integrations/swanlab/profiling.py | 40 | # Check if SwanLab is enabled and initialized |
| LOW | src/axolotl/integrations/swanlab/profiling.py | 184 | # Check if should log based on config |
| LOW | src/axolotl/integrations/swanlab/profiling.py | 186 | # Check if SwanLab is enabled |
| LOW | src/axolotl/scripts/vllm_worker_ext.py | 67 | # Check if this is a simple direct param (exists as-is) |
| LOW | src/axolotl/telemetry/callbacks.py | 102 | # Check if we should report metrics |
| LOW | src/axolotl/telemetry/errors.py | 50 | # Check if this line contains a file path |
| LOW | src/axolotl/loaders/utils.py | 77 | # Check if image_size is not set and load image size from model config if available |
| LOW | src/axolotl/monkeypatch/deepspeed_utils.py | 33 | # Check if already patched |
| LOW | src/axolotl/monkeypatch/lora_kernels.py | 244 | # Check if already patched |
| LOW | src/axolotl/monkeypatch/attention/xformers.py | 45 | # Check if we have sliding window attention |
| LOW | …/axolotl/monkeypatch/transformers/trainer_loss_calc.py | 49 | # Check if already patched |
| 9 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/e2e/multigpu/test_fsdp2.py | 0 | verify that training completed successfully — artifacts, no-nan, loss stayed in qwen2-pretraining scale (tiny-qwen2-129m |
| HIGH | tests/e2e/multigpu/test_dist_muon_fsdp2.py | 0 | verify that training completed successfully — artifacts, no-nan, loss stayed in qwen2-pretraining scale (tiny-qwen2-129m |
| HIGH | tests/e2e/multigpu/test_fsdp1.py | 0 | verify that training completed successfully — artifacts, no-nan, loss stayed in qwen2-pretraining scale (tiny-qwen2-129m |
| HIGH | src/axolotl/utils/collators/batching.py | 0 | collator for multipack specific to the using the batchsampler |
| HIGH | src/axolotl/utils/collators/batching.py | 0 | collator for multipack specific to the using the batchsampler |
| HIGH | src/axolotl/utils/collators/batching.py | 0 | collator for multipack specific to the using the batchsampler |
| HIGH | src/axolotl/integrations/liger/models/llama4.py | 0 | args: labels (`torch.longtensor` of shape `(batch_size, sequence_length)`, *optional*): labels for computing the masked |
| HIGH | src/axolotl/integrations/liger/models/qwen3_moe.py | 0 | args: labels (`torch.longtensor` of shape `(batch_size, sequence_length)`, *optional*): labels for computing the masked |
| HIGH | src/axolotl/integrations/liger/models/qwen3_5.py | 0 | args: labels (`torch.longtensor` of shape `(batch_size, sequence_length)`, *optional*): labels for computing the masked |
| HIGH | src/axolotl/integrations/liger/models/qwen3_5_moe.py | 0 | args: labels (`torch.longtensor` of shape `(batch_size, sequence_length)`, *optional*): labels for computing the masked |
| HIGH | src/axolotl/integrations/liger/models/qwen3.py | 0 | args: labels (`torch.longtensor` of shape `(batch_size, sequence_length)`, *optional*): labels for computing the masked |
| HIGH | src/axolotl/integrations/liger/models/llama4.py | 0 | apply liger kernels to replace original implementation in huggingface llama models (2 and 3) args: cross_entropy (bool): |
| HIGH | src/axolotl/integrations/liger/models/qwen3_moe.py | 0 | apply liger kernels to replace original implementation in huggingface llama models (2 and 3) args: cross_entropy (bool): |
| HIGH | src/axolotl/integrations/liger/models/qwen3.py | 0 | apply liger kernels to replace original implementation in huggingface llama models (2 and 3) args: cross_entropy (bool): |
| HIGH | src/axolotl/monkeypatch/models/qwen3/fused_attn.py | 0 | unwrap peft ``modulestosavewrapper`` so the kernel reads the active adapter's weight. |
| HIGH | …c/axolotl/monkeypatch/models/qwen3_5_moe/fused_attn.py | 0 | unwrap peft ``modulestosavewrapper`` so the kernel reads the active adapter's weight. |
| HIGH | src/axolotl/monkeypatch/models/qwen3_5/fused_attn.py | 0 | unwrap peft ``modulestosavewrapper`` so the kernel reads the active adapter's weight. |
| HIGH | src/axolotl/monkeypatch/models/qwen3_moe/fused_attn.py | 0 | unwrap peft ``modulestosavewrapper`` so the kernel reads the active adapter's weight. |
| HIGH | src/axolotl/prompt_strategies/bradley_terry/llama3.py | 0 | chatml transforms for datasets with system, input, chosen, rejected ex. https://huggingface.co/datasets/argilla/distilab |
| HIGH | src/axolotl/prompt_strategies/dpo/chatml.py | 0 | chatml transforms for datasets with system, input, chosen, rejected ex. https://huggingface.co/datasets/argilla/distilab |
| HIGH | src/axolotl/prompt_strategies/dpo/llama3.py | 0 | chatml transforms for datasets with system, input, chosen, rejected ex. https://huggingface.co/datasets/argilla/distilab |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/conftest.py | 504 | # Create a temporary directory |
| MEDIUM | tests/test_packed_pretraining.py | 38 | # Create a list of 2000 random texts rather than just using it within the |
| MEDIUM | tests/test_packed_pretraining.py | 42 | # Create an IterableDataset |
| MEDIUM | tests/integrations/test_diffusion.py | 43 | # Create a minimal trainer instance just for testing methods |
| MEDIUM | tests/e2e/utils.py | 23 | # Create a temporary directory |
| MEDIUM | tests/e2e/kernels/test_lora.py | 39 | # Create main state with nested state |
| MEDIUM | tests/prompt_strategies/test_chat_templates_advanced.py | 684 | # Create a new dataset with modified role names |
| MEDIUM | tests/prompt_strategies/test_chat_templates_advanced.py | 758 | # Create a new dataset with the train and train_detail fields |
| MEDIUM | tests/prompt_strategies/test_chat_templates_advanced.py | 1214 | # Create a situation where eot_tokens contains eos_token |
| MEDIUM | tests/prompt_strategies/test_chat_templates_advanced.py | 1299 | # Create a non-existent token that definitely won't be in the template |
| MEDIUM | tests/prompt_strategies/test_chat_templates_advanced.py | 1350 | # Create a custom chat template that uses our EOT token |
| MEDIUM | tests/prompt_strategies/test_chat_templates_advanced.py | 1425 | # Create a list to test different train_on_eot settings |
| MEDIUM | docs/scripts/generate_examples_docs.py | 83 | # Create a unique asset path based on source directory name |
| MEDIUM | scripts/cloud-entrypoint.sh | 21 | # Create the authorized_keys file if it doesn't exist |
| MEDIUM | scripts/cloud-entrypoint-term.sh | 17 | # Create the authorized_keys file if it doesn't exist |
| MEDIUM | src/axolotl/train.py | 195 | # Define the context managers to use |
| MEDIUM | src/axolotl/core/trainers/grpo/trainer.py | 245 | # Create the dataloader |
| MEDIUM | src/axolotl/utils/tokenization.py | 90 | # Create a delimiter based on text_only flag |
| MEDIUM | src/axolotl/utils/trainer.py | 56 | # Create a tensor to track group ids |
| MEDIUM | src/axolotl/utils/ctx_managers/sequence_parallel.py | 74 | # Create a boolean mask tensor for this rank's chunk |
| MEDIUM | src/axolotl/utils/ctx_managers/sequence_parallel.py | 224 | # Create a partially applied version of the apply_sequence_parallelism function |
| MEDIUM | src/axolotl/utils/schemas/utils.py | 31 | data = data.copy() # Create a copy to avoid modifying the original |
| MEDIUM | src/axolotl/utils/samplers/multipack.py | 100 | # Create a new bin if needed and if we haven't reached the limit |
| MEDIUM | src/axolotl/cli/delinearize_llama4.py | 117 | # Create a new state dict for the converted model |
| MEDIUM | src/axolotl/loaders/tokenizer.py | 54 | # Create the tokenizer directory in output_dir if it doesn't exist |
| MEDIUM | src/axolotl/monkeypatch/fsdp2_qlora.py | 29 | # Define the replacement |
| MEDIUM | src/axolotl/monkeypatch/fsdp2_qlora.py | 106 | # Define the replacement |
| MEDIUM | src/axolotl/monkeypatch/attention/flex_attn.py | 35 | # Create a new instance if one doesn't already exist |
| MEDIUM | …onkeypatch/models/mistral3/mistral_common_tokenizer.py | 22 | # Define the replacement |
| MEDIUM | src/axolotl/prompt_strategies/chat_template.py | 362 | # Create a new list to store tokens that should be kept |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .runpod/requirements.txt | 1 | # Required Python packages get listed here, one per line. |
| LOW | .runpod/src/config/config.yaml | 1 | # # This is the huggingface model that contains *.pt, *.safetensors, or *.bin files |
| LOW | .runpod/src/config/config.yaml | 21 | # tokenizer_use_fast: |
| LOW | .runpod/src/config/config.yaml | 41 | |
| LOW | .runpod/src/config/config.yaml | 61 | # float16: true |
| LOW | .runpod/src/config/config.yaml | 81 | # - path: repo |
| LOW | .runpod/src/config/config.yaml | 101 | |
| LOW | .runpod/src/config/config.yaml | 121 | # dataset_shard_num: |
| LOW | .runpod/src/config/config.yaml | 141 | # sample_packing_eff_est: |
| LOW | .runpod/src/config/config.yaml | 161 | # # - gate_proj |
| LOW | .runpod/src/config/config.yaml | 181 | # # Must use either 'lora' or 'qlora' adapter, and does not support fsdp or deepspeed |
| LOW | .runpod/src/config/config.yaml | 201 | # # Training hyperparameters |
| LOW | .runpod/src/config/config.yaml | 221 | # max_steps: |
| LOW | .runpod/src/config/config.yaml | 241 | # lr_scheduler: # 'one_cycle' | empty for cosine |
| LOW | .runpod/src/config/config.yaml | 261 | # # - adafactor |
| LOW | .runpod/src/config/config.yaml | 281 | |
| LOW | .runpod/src/config/config.yaml | 301 | # # xpos RoPE see https://github.com/kaiokendev/cutoff-len-is-context-len/blob/main/util/xpos_rope_llama_monkey_patch.py |
| LOW | .runpod/src/config/config.yaml | 321 | # # Add extra tokens. |
| LOW | tests/conftest.py | 221 | "argilla/ultrafeedback-binarized-preferences-cleaned-kto", repo_type="dataset" |
| LOW | tests/conftest.py | 241 | # download_fozzie_alpaca_dpo_dataset, |
| LOW | tests/integrations/test_swanlab.py | 1 | # Copyright 2024 Axolotl AI. All rights reserved. |
| LOW | …s/kernels/scattermoe_lora/test_mxfp4_expert_weights.py | 61 | # Per-shape Strategy-B tolerances. Forward outputs accumulate K dot-products |
| LOW | tests/e2e/multigpu/solo/__init__.py | 1 | # Tests under this directory should get run "solo" on their own as they |
| LOW | examples/ebft/qwen35-4b-ebft-structured-async.yaml | 1 | # EBFT Structured Mode: Qwen3.5-4B (hybrid linear attention) |
| LOW | examples/ebft/qwen35-4b-ebft-structured.yaml | 1 | # EBFT Structured Mode: Qwen3.5-4B (hybrid linear attention) |
| LOW | examples/ebft/llama-1b-ebft-opencode.yaml | 1 | # EBFT: Energy-Based Fine-Tuning with Llama-3.2-1B on OpenCodeInstruct |
| LOW | examples/swanlab/dpo-swanlab-full-featured.yml | 1 | # SwanLab Full-Featured DPO Training Example |
| LOW | examples/swanlab/dpo-swanlab-full-featured.yml | 141 | # Workspace for team collaboration (shared experiments) |
| LOW | examples/swanlab/dpo-swanlab-full-featured.yml | 161 | swanlab_completion_log_interval: 100 # Log every 100 steps |
| LOW | examples/swanlab/dpo-swanlab-full-featured.yml | 181 | # export SWANLAB_LARK_WEBHOOK_URL=https://open.feishu.cn/... |
| LOW | examples/swanlab/dpo-swanlab-full-featured.yml | 201 | # - Identify bottlenecks in training loop |
| LOW | examples/swanlab/dpo-swanlab-full-featured.yml | 221 | |
| LOW | examples/swanlab/dpo-swanlab-full-featured.yml | 241 | # Expected Training Behavior |
| LOW | examples/swanlab/dpo-swanlab-full-featured.yml | 261 | # INFO: Only rank 0 will initialize SwanLab |
| LOW | examples/swanlab/dpo-swanlab-full-featured.yml | 281 | # ============================================================================ |
| LOW | examples/swanlab/dpo-swanlab-full-featured.yml | 301 | # If SwanLab initialization fails: |
| LOW | examples/swanlab/dpo-swanlab-full-featured.yml | 321 | # 1. Verify use_swanlab is true |
| LOW | examples/swanlab/lora-swanlab-profiling.yml | 1 | # SwanLab LoRA Training Example with Performance Profiling |
| LOW | examples/swanlab/lora-swanlab-profiling.yml | 101 | # ============================================================================ |
| LOW | examples/swanlab/lora-swanlab-profiling.yml | 121 | |
| LOW | examples/swanlab/lora-swanlab-profiling.yml | 141 | # Then compare profiling metrics in SwanLab dashboard to see performance impact |
| LOW | examples/swanlab/lora-swanlab-profiling.yml | 161 | # |
| LOW | examples/swanlab/dpo-swanlab-completions.yml | 1 | # SwanLab DPO Training Example with Completion Logging |
| LOW | examples/swanlab/dpo-swanlab-completions.yml | 101 | |
| LOW | examples/swanlab/dpo-swanlab-completions.yml | 121 | # View the table in SwanLab dashboard under "rlhf_completions" |
| LOW | examples/swanlab/dpo-swanlab-completions.yml | 141 | # Get real-time training notifications in your team chat |
| LOW | examples/swanlab/dpo-swanlab-completions.yml | 161 | |
| LOW | .github/workflows/base.yml | 81 | - cuda: "130" |
| LOW | src/axolotl/kernels/lora.py | 1061 | Q_combined = Q_combined.view(-1, Q_combined.shape[-1]) |
| LOW | src/axolotl/core/training_args_base.py | 201 | chat_template: Optional[str] = field( |
| LOW | src/axolotl/core/builders/base.py | 1 | # Copyright 2024 Axolotl AI. All rights reserved. |
| LOW | src/axolotl/core/trainers/grpo/async_trainer.py | 1321 | # sync to avoid merge_adapter (fails on FP8 / races with training). |
| LOW | src/axolotl/core/trainers/grpo/fast_async_trainer.py | 1 | # Copyright 2020-2026 Axolotl AI. All rights reserved. |
| LOW | src/axolotl/utils/lora.py | 1 | # Copyright 2025 Axolotl AI. All rights reserved. |
| LOW | src/axolotl/integrations/config.py | 1 | # Copyright 2024 Axolotl AI. All rights reserved. |
| LOW | src/axolotl/integrations/base.py | 1 | # Copyright 2024 Axolotl AI. All rights reserved. |
| LOW | …tl/integrations/nemo_gym/examples/nemo_gym_sudoku.yaml | 1 | # Axolotl + NeMo Gym: Sudoku RL Training Example |
| LOW | …ntegrations/nemo_gym/examples/nemo_gym_multi_turn.yaml | 1 | # Axolotl + NeMo Gym: Multi-Turn Tool-Use RL Training Example |
| LOW | …integrations/nemo_gym/examples/nemo_gym_multi_env.yaml | 1 | # Axolotl + NeMo Gym: Multi-Environment RL Training Example |
| LOW | …tions/kernels/libs/scattermoe_lora/parallel_experts.py | 1 | # SPDX-License-Identifier: Apache-2.0 |
| 29 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | src/axolotl/kernels/quantize.py | 64 | Fast NF4 dequantization using `bitsandbytes` CUDA kernels. Performs efficient dequantization of weights from N |
| HIGH | src/axolotl/core/trainers/grpo/__init__.py | 249 | Returns the reward function from the given fully qualified name, or the path to the reward function model. |
| HIGH | src/axolotl/utils/quantization.py | 61 | This function is used to build a post-training quantization config. Args: weight_dtype: The dtype to u |
| HIGH | src/axolotl/utils/schemas/utils.py | 9 | Handle backwards compatibility between legacy message field mapping and new property mapping system. Previousl |
| HIGH | src/axolotl/utils/chat_templates/base.py | 31 | Finds the correct chat_template based on the user's choice, jinja_template, and tokenizer. Args: user_ |
| HIGH | src/axolotl/utils/data/rl.py | 129 | Filter out samples that exceed maximum sequence length. Args: sample: Dataset sample to check. rl: |
| HIGH | src/axolotl/utils/data/rl.py | 186 | Check sequence length and raise ValueError if exceeded. Used as a filter function for ``excess_length_strategy: rai |
| HIGH | src/axolotl/cli/config.py | 98 | First, determines if the passed config is a valid HTTPS URL. Then, attempts to query for it and parse its conte |
| HIGH | src/axolotl/cli/config.py | 164 | Helper method for choosing a `axolotl` config YAML file (considering only files ending with `.yml` or `.yaml`). |
| HIGH | src/axolotl/cli/agent_docs/__init__.py | 84 | Return the content of an agent doc by topic name. Args: topic: One of the keys in TOPICS, or "overview" (de |
| HIGH | src/axolotl/integrations/base.py | 316 | Loads a plugin based on the given plugin name. The plugin name should be in the format "module_name.class_name". Th |
| HIGH | src/axolotl/integrations/expert_parallel/shard.py | 79 | Slice expert weights along dim 0 per the EP rank. Args: model: A built (but not yet FSDP-wrapped) HuggingFa |
| HIGH | src/axolotl/loaders/utils.py | 152 | Loads and configures a model configuration from HuggingFace or local sources. This function determines the appropri |
| HIGH | src/axolotl/monkeypatch/lora_kernels.py | 153 | Get the appropriate attention class by inspecting the model config. Uses dynamic import to support any model ar |
| HIGH | src/axolotl/monkeypatch/lora_kernels.py | 380 | Applies optimized Triton kernel patches to a PEFT model. Patches a PEFT model with optimized implementations f |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …tions/kernels/libs/scattermoe_lora/kernels/lora_ops.py | 184 | props = triton.runtime.driver.active.utils.get_device_properties( |
| CRITICAL | src/axolotl/monkeypatch/attention/xformers.py | 72 | xformers.ops.fmha.attn_bias.BlockDiagonalCausalMask.from_seqlens( |
| CRITICAL | src/axolotl/monkeypatch/attention/xformers.py | 94 | attn_bias = xformers.ops.fmha.attn_bias.BlockDiagonalCausalMask.from_seqlens( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | src/axolotl/core/trainers/grpo/async_trainer.py | 803 | VLLMGeneration._init_vllm = _orig_init_vllm # type: ignore[possibly-undefined] |
| HIGH | src/axolotl/cli/cloud/modal_.py | 116 | f"RUN cd /workspace/axolotl && git fetch && git checkout {self.config.branch} && git pull", |
| HIGH | src/axolotl/integrations/nemo_gym/server.py | 69 | ["bash", "-c", "source .venv/bin/activate && uv sync"], |
| HIGH | src/axolotl/integrations/kd/kernels/liger.py | 36 | 0.0 for Forward KL (P_teacher || P_student). |
| HIGH | src/axolotl/integrations/kd/kernels/liger.py | 37 | 1.0 for Reverse KL (P_student || P_teacher). |
| HIGH | src/axolotl/integrations/cut_cross_entropy/__init__.py | 38 | '`pip uninstall -y cut-cross-entropy && pip install "cut-cross-entropy[transformers] @ git+https://github.com/axolot |
| HIGH | …xolotl/monkeypatch/models/kimi_linear/modeling_kimi.py | 45 | "Plese run `pip uninstall fla-core flash-linear-attention -y && pip install git+https://github.com/fla-org/flash |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | pyproject.toml | 62 | # lm eval harness |
| MEDIUM | …ts/integrations/kernels/scattermoe_lora/bench_mxfp4.py | 296 | # Timing harness |
| MEDIUM | examples/archived/xgen-7b/xgen-7b-8k-qlora.yml | 31 | # "We find hyperparameters to be largely robust across datasets" |
| MEDIUM | examples/archived/falcon/config-7b-qlora.yml | 33 | # "We find hyperparameters to be largely robust across datasets" |
| LOW | src/axolotl/cli/utils/sweeps.py | 61 | # If no paired values, just use regular combinations |
| LOW | src/axolotl/integrations/kd/collator.py | 211 | # just pass straight to parent. |
| LOW | src/axolotl/prompt_strategies/chat_template.py | 642 | # grid info, etc.); just set the fields we computed locally. |
| LOW | src/axolotl/prompt_strategies/ebft/ebft_strided_chat.py | 20 | # For preview: just return the first user message |
| MEDIUM | src/axolotl/prompt_strategies/ebft/ebft_reasoning.py | 280 | # directly in the input_ids (robust to tokenization alignment). |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .runpod/src/config/config.yaml | 65 | # # HuggingFace dataset repo | s3://,gs:// path | "json" for local dataset, make sure to fill data_files |
| LOW | src/axolotl/utils/callbacks/profiler.py | 89 | # make sure to record if we happen to have more steps than steps to profile |
| LOW | src/axolotl/cli/utils/train.py | 187 | # make sure to flush stdout and stderr before replacing the process |
| LOW | src/axolotl/cli/utils/train.py | 213 | # make sure to flush stdout and stderr before replacing the process |
| LOW | src/axolotl/integrations/kd/collator_online_teacher.py | 531 | # TODO make sure to figure out which input in sub_batch_features to update the batch in the original |
| LOW | src/axolotl/integrations/liger/models/qwen3_moe.py | 119 | ) # make sure to reside in the same device |
| LOW | src/axolotl/integrations/liger/models/jamba.py | 146 | ) # make sure to reside in the same device |
| MEDIUM | src/axolotl/prompt_strategies/context_qa.py | 107 | "Therefore, I'm unable to answer your question based on the given context.", |
| MEDIUM | src/axolotl/prompt_strategies/creative_acr.py | 33 | refusal: whether the Response refuses to answer the Question. Responses containing language similar to "As an AI languag |
| MEDIUM | src/axolotl/prompt_strategies/creative_acr.py | 90 | refusal: whether the Response refuses to answer the Question. Responses containing language similar to "As an AI languag |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …tl/integrations/nemo_gym/examples/nemo_gym_sudoku.yaml | 11 | # Usage: |
| LOW | …ntegrations/nemo_gym/examples/nemo_gym_multi_turn.yaml | 15 | # Usage: |
| LOW | …integrations/nemo_gym/examples/nemo_gym_multi_env.yaml | 12 | # Usage: |
| LOW | src/axolotl/integrations/hatchery/__init__.py | 17 | # Usage: |
| LOW | …axolotl/integrations/hatchery/examples/tinker_sft.yaml | 3 | # Usage: |
| LOW | src/axolotl/loaders/tokenizer.py | 291 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/axolotl/cli/utils/lora_merge.py | 837 | # Step 1: Fuse — MergeModulelist (stack experts) per source pattern |
| LOW | src/axolotl/cli/utils/lora_merge.py | 883 | # Step 2: Build the fused key name and merge LoRA |
| LOW | src/axolotl/cli/utils/lora_merge.py | 948 | # Step 3: Save in fused format (runtime format) so that the merged |
| LOW | src/axolotl/cli/utils/lora_merge.py | 1129 | # Step 1: Handle fused weight conversions (MoE experts) if applicable |
| LOW | src/axolotl/cli/utils/lora_merge.py | 1149 | # Step 2: Merge remaining (non-fused) tensors with LoRA |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/test_data.py | 38 | "lorem ipsum dolor sit amet.", |
| LOW | tests/test_data.py | 38 | "lorem ipsum dolor sit amet.", |
| LOW | tests/test_prompt_tokenizers.py | 75 | "instruction": "hello cruel. lorem ipsum dolor sit amet.", |
| LOW | tests/test_prompt_tokenizers.py | 75 | "instruction": "hello cruel. lorem ipsum dolor sit amet.", |
| LOW | src/axolotl/utils/data/sft.py | 255 | f.write("lorem ipsum dolor sit amet\n") |
| LOW | src/axolotl/utils/data/sft.py | 255 | f.write("lorem ipsum dolor sit amet\n") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | README.md | 168 | - [API Reference](https://docs.axolotl.ai/docs/api/) - Auto-generated code documentation |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | src/axolotl/models/mamba/modeling_mamba.py | 89 | |
| MEDIUM | src/axolotl/models/mamba/modeling_mamba.py | 90 |