MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / release_storage

Method release_storage

src/framework/assets/tensor_source.cpp:319–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317 set_tensor_bytes(tensor, converted.data(), converted.size() * sizeof(ggml_fp16_t), name);
318 return;
319 }
320
321 std::vector<ggml_bf16_t> converted(values.size());
322 const int64_t count = static_cast<int64_t>(values.size());
323 const int64_t chunks = (count + kF32ConvertChunkElements - 1) / kF32ConvertChunkElements;
324 #pragma omp parallel for schedule(static)

Callers 10

load_from_safetensorsMethod · 0.45
load_from_safetensorsMethod · 0.45
load_from_safetensorsMethod · 0.45
load_from_safetensorsMethod · 0.45
load_typed_weightsFunction · 0.45
load_backend_weightsFunction · 0.45
load_backend_weightsFunction · 0.45
load_from_safetensorsMethod · 0.45
load_from_directoryMethod · 0.45
load_from_directoryMethod · 0.45

Calls 1

BinaryBlobClass · 0.85

Tested by

no test coverage detected