Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1/*2 Copyright 2018 Google LLC3 4 Use of this source code is governed by an MIT-style5 license that can be found in the LICENSE file or at6 https://opensource.org/licenses/MIT.7*/8 9import crypto from 'crypto';10 11import {FileDetails} from '../types';12 13export function getCompositeDetails(14 compositeURL: string,15 dependencyDetails: Array<FileDetails>,16): FileDetails {17 let totalSize = 0;18 let compositeHash = '';19 20 for (const fileDetails of dependencyDetails) {21 totalSize += fileDetails.size;22 compositeHash += fileDetails.hash;23 }24 25 const md5 = crypto.createHash('md5');26 md5.update(compositeHash);27 const hashOfHashes = md5.digest('hex');28 29 return {30 file: compositeURL,31 hash: hashOfHashes,32 size: totalSize,33 };34}35 