1. 26 Jan, 2025 1 commit
  2. 25 Jan, 2025 1 commit
  3. 24 Jan, 2025 1 commit
  4. 23 Jan, 2025 1 commit
  5. 22 Jan, 2025 3 commits
  6. 21 Jan, 2025 1 commit
  7. 20 Jan, 2025 6 commits
  8. 17 Jan, 2025 4 commits
  9. 16 Jan, 2025 9 commits
  10. 15 Jan, 2025 1 commit
  11. 13 Jan, 2025 3 commits
  12. 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
  13. 07 Jan, 2025 2 commits
  14. 06 Jan, 2025 4 commits
  15. 05 Jan, 2025 2 commits