继续操作前请注册或者登录。
  1. 07 Feb, 2025 1 commit
  2. 06 Feb, 2025 1 commit
  3. 05 Feb, 2025 1 commit
  4. 03 Feb, 2025 1 commit
  5. 02 Feb, 2025 1 commit
  6. 29 Jan, 2025 2 commits
  7. 26 Jan, 2025 1 commit
  8. 25 Jan, 2025 1 commit
  9. 24 Jan, 2025 1 commit
  10. 23 Jan, 2025 1 commit
  11. 22 Jan, 2025 3 commits
  12. 21 Jan, 2025 1 commit
  13. 20 Jan, 2025 6 commits
  14. 17 Jan, 2025 4 commits
  15. 16 Jan, 2025 9 commits
  16. 15 Jan, 2025 1 commit
  17. 13 Jan, 2025 3 commits
  18. 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
  19. 07 Jan, 2025 1 commit