我只是想安装 AMD ROCm,以便我可以在我的 PC 上使用 PyTorch(GPU)。我安装后遇到问题。我正在观看本教程以在 youtube 上安装 AMD ROCm:https ://www.youtube.com/watch?v=efKjfBkjPlM ,我正在使用 AMD 的此文档页面:https ://rocmdocs.amd.com/en/latest /Installation_Guide/Installation-Guide.html#ubuntu。
我的电脑规格:
操作系统:Ubuntu 20.04 LTS x86_64 内核:5.4.0-40-generic Shell:bash 5.0.16 CPU:AMD A10-9700 @ 3.5GHz GPU:AMD ATI Radeon R5 M230/ R7 M260DX / Radeon 520 移动内存:8GB DDR4
我面临的错误:
每当我输入终端“rocminfo”时,我都会遇到这个错误:
Unable to open /dev/kfd read-write: Bad address
someone is member of someone group
hsa api call failure at: /src/rocminfo/rocminfo.cc:1142 Call returned HSA_STATUS_ERROR_OUT_OF_RESOURCES: The runtime failed to allocate the necessary resources. This error may also occur when the core runtime library needs to spawn threads or create internal OS-specific events.
我不知道这是否是一个错误,但在我输入“clinfo”时仅供参考,我得到:
Number of platforms 1
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.0 AMD-APP (3137.0)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback
Platform Extensions function suffix AMD
Platform Name AMD Accelerated Parallel Processing
Number of devices 0
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform
clCreateContext(NULL, ...) [default] No platform
clCreateContext(NULL, ...) [other] No platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No devices found in platform
如果有人可以提供帮助,即使它很简单,将不胜感激。谢谢。