cumsum MacOs
RuntimeError: MPS does not support cumsum op with int64 input
RuntimeError: MPS does not support cumsum op with int64 input
2023.08.09Apple Silicon에서의 MPS 지원 수정 MPS는 Apple에서 제공하는 Metal Performance Shaders의 약자로, GPU를 활용한 고성능 컴퓨팅 작업을 위한 라이브러리입니다. Metal은 Apple의 그래픽 및 컴퓨팅 API로, iOS, macOS, watchOS, tvOS에서 사용됩니다. 먼저 macOS Ventura 13.3 베타(또는 그 이후 버전)를 설치해야 합니다. 13.2에서는 작동하지 않습니다. 그 다음에는 torch 개발 버전을 설치해야 하며, 2.0.0 버전에서는 작동하지 않습니다. 다음 명령어로 설치할 수 있습니다. pip install -U --pre torch torchvision -f https://download.pytorch.org/whl/nightly/..