A generative speech model for daily dialogue.
106 matches across 11 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/llm/__init__.py | 1 | |
| LOW | tools/logger/__init__.py | 1 | |
| LOW | tools/seeder/__init__.py | 1 | |
| LOW | tools/audio/__init__.py | 1 | |
| LOW | tools/audio/__init__.py | 2 | |
| LOW | tools/audio/__init__.py | 2 | |
| LOW | tools/audio/__init__.py | 2 | |
| LOW | tools/audio/__init__.py | 3 | |
| LOW | tools/audio/__init__.py | 4 | |
| LOW | tools/normalizer/__init__.py | 1 | |
| LOW | tools/normalizer/__init__.py | 2 | |
| LOW | ChatTTS/__init__.py | 1 | |
| LOW | ChatTTS/config/__init__.py | 1 | |
| LOW | ChatTTS/utils/__init__.py | 1 | |
| LOW | ChatTTS/utils/__init__.py | 1 | |
| LOW | ChatTTS/utils/__init__.py | 2 | |
| LOW | ChatTTS/utils/__init__.py | 3 | |
| LOW | ChatTTS/utils/__init__.py | 3 | |
| LOW | ChatTTS/utils/__init__.py | 3 | |
| LOW | ChatTTS/utils/__init__.py | 3 | |
| LOW | ChatTTS/utils/__init__.py | 4 | |
| LOW | ChatTTS/utils/gpu.py | 6 | |
| LOW | ChatTTS/model/__init__.py | 1 | |
| LOW | ChatTTS/model/__init__.py | 2 | |
| LOW | ChatTTS/model/__init__.py | 3 | |
| LOW | ChatTTS/model/__init__.py | 4 | |
| LOW | ChatTTS/model/__init__.py | 5 | |
| LOW | ChatTTS/model/__init__.py | 6 | |
| LOW | ChatTTS/model/cuda/__init__.py | 1 | |
| LOW | ChatTTS/model/velocity/llm_engine.py | 23 | |
| LOW | ChatTTS/model/velocity/llm_engine.py | 25 | |
| LOW | ChatTTS/model/velocity/llm_engine.py | 31 | |
| LOW | ChatTTS/model/velocity/__init__.py | 1 | |
| LOW | ChatTTS/model/velocity/__init__.py | 2 | |
| LOW | ChatTTS/model/velocity/model_loader.py | 9 | |
| LOW | examples/web/webui.py | 13 | |
| LOW | examples/api/openai_api.py | 20 | |
| LOW | examples/api/postScript.py | 2 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/audio/pcm.py | 16 | # Create an in-memory byte stream buffer |
| MEDIUM | ChatTTS/model/velocity/llm_engine.py | 104 | # Create the parallel GPU workers. |
| MEDIUM | ChatTTS/model/velocity/llm_engine.py | 117 | # Create the scheduler. |
| MEDIUM | ChatTTS/model/velocity/llm_engine.py | 312 | # Create the engine configs. |
| MEDIUM | ChatTTS/model/velocity/llm_engine.py | 317 | # Create the LLM engine. |
| MEDIUM | ChatTTS/model/velocity/llm_engine.py | 354 | # Create the sequences. |
| MEDIUM | ChatTTS/model/velocity/llm_engine.py | 359 | # Create the sequence group. |
| MEDIUM | ChatTTS/model/velocity/llm_engine.py | 624 | # Create the outputs. |
| MEDIUM | ChatTTS/model/velocity/model_loader.py | 53 | # Create a model instance. |
| MEDIUM | ChatTTS/model/velocity/scheduler.py | 83 | # Create the block space manager. |
| MEDIUM | ChatTTS/model/velocity/output.py | 101 | # Create the outputs. |
| MEDIUM | examples/api/openai_api.py | 35 | # Import necessary modules |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | examples/cmd/run.py | 41 | "Run: conda install -c conda-forge pynini=2.1.5 && pip install nemo_text_processing", |
| HIGH | examples/cmd/run.py | 50 | "Run: conda install -c conda-forge pynini=2.1.5 && pip install WeTextProcessing", |
| HIGH | examples/web/funcs.py | 99 | "Run: conda install -c conda-forge pynini=2.1.5 && pip install nemo_text_processing", |
| HIGH | examples/web/funcs.py | 108 | "Run: conda install -c conda-forge pynini=2.1.5 && pip install WeTextProcessing", |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ChatTTS/norm.py | 235 | def _count_invalid_characters(self, s: str): |
| LOW | ChatTTS/utils/dl.py | 114 | def download_and_extract_tar_gz( |
| LOW | ChatTTS/model/gpt.py | 164 | def _prepare_generation_inputs( |
| LOW | ChatTTS/model/gpt.py | 291 | def _prepare_generation_outputs( |
| LOW | ChatTTS/model/velocity/worker.py | 92 | def profile_num_available_blocks( |
| LOW | ChatTTS/model/velocity/worker.py | 207 | def _init_distributed_environment( |
| LOW | ChatTTS/model/velocity/worker.py | 241 | def _check_if_gpu_supports_dtype(torch_dtype: torch.dtype): |
| LOW | ChatTTS/model/velocity/configs.py | 203 | def verify_with_parallel_config( |
| LOW | ChatTTS/model/velocity/configs.py | 322 | def verify_with_parallel_config( |
| LOW | ChatTTS/model/velocity/llm_engine.py | 377 | def get_num_unfinished_requests(self) -> int: |
| LOW | ChatTTS/model/velocity/llm_engine.py | 385 | def _check_beam_search_early_stopping( |
| LOW | ChatTTS/model/velocity/llm_engine.py | 429 | def _process_sequence_group_outputs( |
| LOW | ChatTTS/model/velocity/scheduler.py | 127 | def get_num_unfinished_seq_groups(self) -> int: |
| LOW | examples/onnx/exporter.py | 137 | def convert_embedding_code_cache(): |
| LOW | examples/onnx/modeling_llama.py | 615 | def _set_gradient_checkpointing(self, module, value=False): |
| LOW | examples/onnx/modeling_llama.py | 720 | def _prepare_decoder_attention_mask( |
| LOW | examples/onnx/modeling_llama.py | 1041 | def prepare_inputs_for_generation( |
| LOW | examples/web/funcs.py | 237 | def set_buttons_before_generate(generate_button, interrupt_button): |
| LOW | examples/web/funcs.py | 249 | def set_buttons_after_generate(generate_button, interrupt_button, audio_output): |
| LOW | examples/api/main.py | 52 | async def validation_exception_handler(request, exc: RequestValidationError): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ChatTTS/core.py | 66 | |
| LOW | ChatTTS/core.py | 210 | |
| LOW | ChatTTS/core.py | 390 | |
| LOW | ChatTTS/utils/dl.py | 19 | |
| LOW | ChatTTS/utils/io.py | 41 | |
| LOW | ChatTTS/utils/gpu.py | 13 | |
| LOW | ChatTTS/model/gpt.py | 164 | |
| LOW | ChatTTS/model/gpt.py | 324 | |
| LOW | ChatTTS/model/velocity/sequence.py | 35 | |
| LOW | ChatTTS/model/velocity/llm_engine.py | 429 | |
| LOW | ChatTTS/model/velocity/llm.py | 193 | |
| LOW | ChatTTS/model/velocity/scheduler.py | 103 | |
| LOW | ChatTTS/model/velocity/scheduler.py | 130 | |
| LOW | examples/cmd/stream.py | 74 | |
| LOW | examples/onnx/modeling_llama.py | 1121 | |
| LOW | examples/web/webui.py | 17 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | README.md | 0 | in some versions of torchaudio, the first line works but in other versions, so does the second line. |
| HIGH | README.md | 0 | in some versions of torchaudio, the first line works but in other versions, so does the second line. |
| HIGH | docs/kr/README.md | 0 | in some versions of torchaudio, the first line works but in other versions, so does the second line. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ChatTTS/model/velocity/worker.py | 242 | # Check if the GPU supports the dtype. |
| LOW | ChatTTS/model/velocity/llm_engine.py | 558 | # Check if we can stop the beam search. |
| LOW | ChatTTS/model/velocity/llm_engine.py | 782 | # Check if the sequence has reached max_model_len. |
| LOW | ChatTTS/model/velocity/llm_engine.py | 787 | # Check if the sequence has reached max_tokens. |
| LOW | ChatTTS/model/velocity/llm_engine.py | 792 | # Check if the sequence has generated the EOS token. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ChatTTS/norm.py | 212 | except Exception as e: |
| LOW | ChatTTS/model/gpt.py | 101 | except Exception as e: |
| LOW | examples/web/funcs.py | 128 | except Exception as e: |
| LOW | examples/api/openai_api.py | 217 | except Exception as e: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ChatTTS/model/velocity/llama.py | 1 | # coding=utf-8 |
| LOW | examples/onnx/modeling_llama.py | 1 | # coding=utf-8 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ChatTTS/model/velocity/model_runner.py | 133 | # yet. In this case, we just use a dummy slot mapping. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ChatTTS/model/velocity/configs.py | 590 | # make sure to update docs/source/models/engine_args.rst |