1. 16 Jan, 2025 5 commits
  2. 15 Jan, 2025 1 commit
  3. 13 Jan, 2025 3 commits
  4. 10 Jan, 2025 1 commit
    • 由于SenseVoiceSmall.from_pretrained()
          调用的funasr.auto.auto_model.AutoModel.build_model()默认device是cuda
          (在cuda available的环境中)
          ```py
          device = kwargs.get("device", "cuda")
          if not torch.cuda.is_available() or kwargs.get("ngpu", 1) == 0:
              device = "cpu"
              kwargs["batch_size"] = 1
          kwargs["device"] = device
          ```
          而export-onnx.py里的tensor默认都是cpu, 导致
          RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu
          所以直接在加载model的时候指定cpu
      徐络溟 authored
  5. 07 Jan, 2025 2 commits
  6. 06 Jan, 2025 4 commits
  7. 05 Jan, 2025 3 commits
  8. 04 Jan, 2025 2 commits
  9. 03 Jan, 2025 5 commits
  10. 02 Jan, 2025 2 commits
  11. 31 Dec, 2024 8 commits
  12. 27 Dec, 2024 1 commit
  13. 26 Dec, 2024 1 commit
  14. 25 Dec, 2024 1 commit
  15. 24 Dec, 2024 1 commit