metal : remove transfer rate stuff

This commit is contained in:
Georgi Gerganov 2024-10-07 18:09:46 +03:00
parent 2294f078cd
commit 901691c2b5
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

View file

@ -497,13 +497,6 @@ static struct ggml_backend_metal_context * ggml_metal_init(ggml_backend_dev_t de
if (@available(macOS 10.12, iOS 16.0, *)) { if (@available(macOS 10.12, iOS 16.0, *)) {
GGML_LOG_INFO("%s: recommendedMaxWorkingSetSize = %8.2f MB\n", __func__, device.recommendedMaxWorkingSetSize / 1e6); GGML_LOG_INFO("%s: recommendedMaxWorkingSetSize = %8.2f MB\n", __func__, device.recommendedMaxWorkingSetSize / 1e6);
} }
if (@available(macOS 10.15, *)) {
if (device.maxTransferRate != 0) {
GGML_LOG_INFO("%s: maxTransferRate = %8.2f MB/s\n", __func__, device.maxTransferRate / 1e6);
} else {
GGML_LOG_INFO("%s: maxTransferRate = built-in GPU\n", __func__);
}
}
#endif #endif
// load kernels // load kernels