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
1var fs = require("fs"),2 encode = require("./encode");3 4module.exports = function(filename, data, options) {5 var stat;6 7 try {8 stat = fs.statSync(filename);9 } catch (error) {10 if (error.code !== "ENOENT") throw error;11 }12 13 if (!stat || stat.isFile()) {14 fs.writeFileSync(filename, data, options);15 } else {16 var fd = fs.openSync(filename, options && options.flag || "w"),17 bytesWritten = 0,18 bytesTotal = (data = encode(data, options)).length;19 20 while (bytesWritten < bytesTotal) {21 try {22 bytesWritten += fs.writeSync(fd, data, bytesWritten, bytesTotal - bytesWritten, null);23 } catch (error) {24 if (error.code === "EPIPE") break; // ignore broken pipe, e.g., | head25 fs.closeSync(fd);26 throw error;27 }28 }29 30 fs.closeSync(fd);31 }32};33 