123 matches across 10 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/api_server.py | 10 | |
| LOW | tools/api_client.py | 2 | |
| LOW | tools/vqgan/extract_vq.py | 8 | |
| LOW | tools/server/model_utils.py | 2 | |
| LOW | tools/server/model_utils.py | 6 | |
| LOW | tools/server/views.py | 4 | |
| LOW | tools/server/views.py | 27 | |
| LOW | tools/llama/merge_lora.py | 1 | |
| LOW | tools/llama/merge_lora.py | 6 | |
| LOW | tools/llama/merge_lora.py | 13 | |
| LOW | tools/llama/build_dataset.py | 5 | |
| LOW | fish_speech/conversation.py | 8 | |
| LOW | fish_speech/tokenizer.py | 1 | |
| LOW | fish_speech/tokenizer.py | 3 | |
| LOW | fish_speech/tokenizer.py | 10 | |
| LOW | fish_speech/train.py | 4 | |
| LOW | fish_speech/train.py | 13 | |
| LOW | fish_speech/callbacks/grad_norm.py | 3 | |
| LOW | fish_speech/callbacks/__init__.py | 1 | |
| LOW | fish_speech/callbacks/__init__.py | 2 | |
| LOW | fish_speech/datasets/concat_repeat.py | 2 | |
| LOW | fish_speech/datasets/semantic.py | 3 | |
| LOW | fish_speech/datasets/semantic.py | 9 | |
| LOW | fish_speech/datasets/semantic.py | 12 | |
| LOW | fish_speech/datasets/semantic.py | 13 | |
| LOW | fish_speech/datasets/semantic.py | 615 | |
| LOW | fish_speech/utils/__init__.py | 1 | |
| LOW | fish_speech/utils/__init__.py | 2 | |
| LOW | fish_speech/utils/__init__.py | 3 | |
| LOW | fish_speech/utils/__init__.py | 4 | |
| LOW | fish_speech/utils/__init__.py | 4 | |
| LOW | fish_speech/utils/__init__.py | 5 | |
| LOW | fish_speech/utils/__init__.py | 6 | |
| LOW | fish_speech/utils/__init__.py | 7 | |
| LOW | fish_speech/utils/__init__.py | 7 | |
| LOW | fish_speech/utils/__init__.py | 8 | |
| LOW | fish_speech/utils/__init__.py | 8 | |
| LOW | fish_speech/utils/__init__.py | 8 | |
| LOW | fish_speech/utils/__init__.py | 8 | |
| LOW | fish_speech/utils/spectrogram.py | 4 | |
| LOW | fish_speech/utils/schema.py | 2 | |
| LOW | fish_speech/utils/schema.py | 3 | |
| LOW | fish_speech/utils/schema.py | 4 | |
| LOW | fish_speech/utils/schema.py | 7 | |
| LOW | fish_speech/utils/schema.py | 12 | |
| LOW | fish_speech/utils/schema.py | 12 | |
| LOW | fish_speech/models/dac/modded_dac.py | 8 | |
| LOW | fish_speech/models/text2semantic/lit_module.py | 1 | |
| LOW | fish_speech/models/text2semantic/inference.py | 36 | |
| LOW | fish_speech/models/text2semantic/inference.py | 36 | |
| LOW | fish_speech/text/__init__.py | 1 | |
| LOW | fish_speech/i18n/__init__.py | 1 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/run_webui.py | 76 | # Create the inference engine |
| MEDIUM | tools/vqgan/extract_vq.py | 23 | # This file is used to convert the audio files to text files using the Whisper model. |
| MEDIUM | tools/server/views.py | 235 | # Create a temporary file for the audio data |
| MEDIUM | fish_speech/tokenizer.py | 81 | # Create a lookup tensor to handle potential gaps in token IDs safely |
| MEDIUM | fish_speech/inference_engine/reference_loader.py | 36 | # Define the torchaudio backend |
| MEDIUM | fish_speech/inference_engine/__init__.py | 166 | # Create a queue to get the response |
| MEDIUM | fish_speech/i18n/scan.py | 55 | # Define the standard file name |
| MEDIUM | fish_speech/i18n/scan.py | 78 | # Define the standard file name |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/api_server.py | 109 | except Exception as exc: |
| LOW | tools/vqgan/create_train_split.py | 48 | except Exception as e: |
| LOW | tools/vqgan/extract_vq.py | 101 | except Exception as e: |
| LOW | tools/server/api_utils.py | 146 | except Exception as e: |
| LOW | tools/server/views.py | 108 | except Exception as e: |
| LOW | tools/server/views.py | 139 | except Exception as e: |
| LOW | tools/server/views.py | 201 | except Exception as e: |
| LOW | tools/server/views.py | 271 | except Exception as e: |
| LOW | tools/server/views.py | 310 | except Exception as e: |
| LOW | tools/server/views.py | 372 | except Exception as e: |
| LOW | tools/server/views.py | 480 | except Exception as e: |
| LOW | tools/llama/build_dataset.py | 40 | except Exception as e: |
| LOW | tools/llama/build_dataset.py | 87 | except Exception as e: |
| LOW | fish_speech/datasets/vqgan.py | 70 | except Exception as e: |
| MEDIUM | fish_speech/datasets/vqgan.py | 67 | def __getitem__(self, idx): |
| LOW | fish_speech/utils/utils.py | 72 | except Exception as ex: |
| LOW | fish_speech/utils/schema.py | 72 | except Exception: |
| LOW | fish_speech/models/text2semantic/llama.py | 507 | except Exception as e: |
| LOW | fish_speech/models/text2semantic/inference.py | 789 | except Exception as e: |
| LOW | fish_speech/inference_engine/reference_loader.py | 246 | except Exception as e: |
| LOW | fish_speech/inference_engine/reference_loader.py | 283 | except Exception as e: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/run_webui.py | 48 | # Check if MPS or CUDA is available |
| LOW | tools/vqgan/extract_vq.py | 37 | import torchaudio.io._load_audio_fileobj # Check if ffmpeg backend is available |
| LOW | tools/server/model_manager.py | 30 | # Check if MPS or CUDA is available |
| LOW | tools/server/views.py | 158 | # Check if the text is too long |
| LOW | tools/server/views.py | 165 | # Check if streaming is enabled |
| LOW | fish_speech/utils/schema.py | 69 | ): # Check if audio is a string (Base64) |
| LOW | fish_speech/inference_engine/reference_loader.py | 171 | # Check if directory contains at least one audio file and corresponding .lab file |
| LOW | fish_speech/inference_engine/reference_loader.py | 178 | # Check if corresponding .lab file exists for at least one audio file |
| LOW | fish_speech/inference_engine/reference_loader.py | 207 | # Check if reference already exists |
| LOW | fish_speech/inference_engine/reference_loader.py | 212 | # Check if audio file exists |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/vqgan/create_train_split.py | 20 | |
| LOW | tools/server/api_utils.py | 83 | |
| LOW | tools/webui/__init__.py | 9 | |
| LOW | tools/llama/quantize.py | 267 | |
| LOW | tools/llama/quantize.py | 310 | |
| LOW | fish_speech/content_sequence.py | 86 | |
| LOW | fish_speech/content_sequence.py | 326 | |
| LOW | fish_speech/datasets/semantic.py | 118 | |
| LOW | fish_speech/datasets/semantic.py | 341 | |
| LOW | fish_speech/utils/logger.py | 27 | |
| LOW | fish_speech/utils/braceexpand.py | 105 | |
| LOW | fish_speech/utils/braceexpand.py | 156 | |
| LOW | fish_speech/models/text2semantic/llama.py | 480 | |
| LOW | fish_speech/models/text2semantic/inference.py | 839 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/server/model_utils.py | 55 | def cached_vqgan_batch_encode(model, audios: list[bytes]): |
| LOW | tools/server/api_utils.py | 79 | async def buffer_to_async_generator(buffer): |
| LOW | tools/llama/quantize.py | 22 | def dynamically_quantize_per_channel(x, quant_min, quant_max, target_dtype): |
| LOW | tools/llama/quantize.py | 101 | def group_quantize_tensor_from_qparams(w, scales, zeros, n_bit=4, groupsize=128): |
| LOW | tools/llama/quantize.py | 137 | def group_dequantize_tensor_from_qparams( |
| LOW | tools/llama/quantize.py | 168 | def create_quantized_state_dict(self) -> "StateDict": |
| LOW | tools/llama/quantize.py | 195 | def create_quantized_state_dict(self): |
| LOW | tools/llama/quantize.py | 310 | def create_quantized_state_dict(self): |
| LOW | fish_speech/scheduler.py | 4 | def get_cosine_schedule_with_warmup_lr_lambda( |
| LOW | fish_speech/scheduler.py | 28 | def get_constant_schedule_with_warmup_lr_lambda( |
| LOW | fish_speech/models/dac/modded_dac.py | 225 | def _compute_conformer_pos_scores(self, q: Tensor, seqlen: int) -> Tensor: |
| LOW | fish_speech/models/text2semantic/llama.py | 948 | def eq_scaled_dot_product_attention( |
| LOW | fish_speech/models/text2semantic/inference.py | 43 | def multinomial_sample_one_no_sync(probs_sort): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tools/server/views.py | 70 | {"error": "WebUI not built. Run: cd awesome_webui && npm run build"}, |
| HIGH | tools/webui/__init__.py | 17 | js="() => {const params = new URLSearchParams(window.location.search);if (!params.has('__theme')) {params.se |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tools/api_client.py | 133 | default="YOUR_API_KEY", |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/llama/build_dataset.py | 65 | def run_task(task): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | fish_speech/configs/base.yaml | 81 | # log_model: False # upload lightning ckpts |