repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
ggml-org/llama.cpp
0874693b449a847de2d052f2afb5d0cbe9409f92
7d2add51d8e3759020d70f2ff3a76b5795ff67bc
common : fix json schema with '\' in literals (#17307) * Fix json schema with '\' in literals * Add "literal string with escapes" test
[ { "path": "common/json-schema-to-grammar.cpp", "patch": "@@ -268,10 +268,10 @@ static bool is_reserved_name(const std::string & name) {\n }\n \n std::regex INVALID_RULE_CHARS_RE(\"[^a-zA-Z0-9-]+\");\n-std::regex GRAMMAR_LITERAL_ESCAPE_RE(\"[\\r\\n\\\"]\");\n+std::regex GRAMMAR_LITERAL_ESCAPE_RE(\"[\\r\\n\\\...
2025-11-29T16:06:32
golang/go
8c46cb1bf534adb169a8789489e85bf777655066
36939aef772219e896e00e60b4ad83cd7bee2aa5
[dev.link] cmd/link: write ELF relocations in mmap on all architectures In CL 240399 we changed to precompute the size for ELF relocation records and use mmap to write them, but we left architectures where elfreloc1 write non-fixed number of bytes. This CL handles those architectures. When a Go relocation will turn in...
[ { "path": "src/cmd/link/internal/amd64/asm.go", "patch": "@@ -550,8 +550,8 @@ func pereloc1(arch *sys.Arch, out *ld.OutBuf, ldr *loader.Loader, s loader.Sym,\n \treturn true\n }\n \n-func archreloc(*ld.Target, *loader.Loader, *ld.ArchSyms, loader.Reloc2, *loader.ExtReloc, loader.Sym, int64) (int64, bool, bo...
2020-07-04T22:14:08
huggingface/transformers
81ec8028f97e7c3cc3fb03536f408c88db14c6f7
73efe896df8e7a6d8094e86e9aa3ef1691152d73
Stop passing None to compile() in TF examples (#29597) * Fix examples to stop passing None to compile(), rework example invocation for run_text_classification.py * Add Amy's fix
[ { "path": "examples/tensorflow/image-classification/run_image_classification.py", "patch": "@@ -509,7 +509,7 @@ def compute_metrics(p):\n collate_fn=collate_fn,\n ).with_options(dataset_options)\n else:\n- optimizer = None\n+ optimizer = \"sgd\" # J...
2024-03-12T12:22:29
ollama/ollama
97ab37095d1171f2319593d47a4bef8a018d1304
40dc9310bc4196c486cd3effdc5be98f018a37d6
fix spacing in `README.md`
[ { "path": "README.md", "patch": "@@ -18,7 +18,7 @@ Run large language models with `llama.cpp`.\n \n - Download for macOS\n - Download for Windows (coming soon)\n-- Docker: `docker run -p 8080:8080 ollama/ollama`\n+- Docker: `docker run -p 11434:11434 ollama/ollama`\n \n You can also build the [binary from s...
2023-07-06T20:30:46
nodejs/node
4843c2f41571088b16e673c1f996bc361ab526a6
f30820fdca62da000ba7f6fc586ca1ff65e54a0f
https: convert to using internal/errors PR-URL: https://github.com/nodejs/node/pull/15603 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Yuta Hiroto <h...
[ { "path": "lib/https.js", "patch": "@@ -30,6 +30,7 @@ const util = require('util');\n const inherits = util.inherits;\n const debug = util.debuglog('https');\n const { urlToOptions, searchParamsSymbol } = require('internal/url');\n+const errors = require('internal/errors');\n \n function Server(opts, reques...
2017-09-25T09:07:30
ggml-org/llama.cpp
47a268ea5000fc0f05fc1c5cd0062efebfe84b92
59d8d4e96341eb54f362ac3d583ef522566e2a39
Vulkan: MMVQ Integer Dot K-Quant and MUL_MAT_ID support (#16900) * vulkan: split mul_mmq_funcs for mul_mat_vecq use * add mxfp4 mmvq * add q2_k mmvq * add q3_k mmvq * add q4_k and q5_k mmvq * add q6_k mmvq * handle 4x4 quants per mmvq thread * enable MUL_MAT_ID mmvq support * enable subgroup optimizations for ...
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -613,9 +613,10 @@ struct vk_device_struct {\n vk_pipeline pipeline_dequant[GGML_TYPE_COUNT];\n vk_pipeline pipeline_dequant_mul_mat_vec_f32_f32[DMMV_WG_SIZE_COUNT][GGML_TYPE_COUNT][mul_mat_vec_max_cols];\n vk_pipeline pipeline_dequan...
2025-11-29T08:37:22
golang/go
987ce938245566f8a8568cb3b7f43ff8442c2353
364d3205045b694a6c89a8d9ad932e7c105d0f6c
[dev.link] cmd/link: emit ELF relocations in mmap Currently, ELF relocations are generated sequentially in the heap and flushed to output file periodically. In fact, in some cases, the output size of the relocation records can be easily computed, as a relocation entry has fixed size. We only need to count the number o...
[ { "path": "src/cmd/link/internal/amd64/obj.go", "patch": "@@ -61,6 +61,7 @@ func Init() (*sys.Arch, ld.Arch) {\n \t\tArchreloc: archreloc,\n \t\tArchrelocvariant: archrelocvariant,\n \t\tElfreloc1: elfreloc1,\n+\t\tElfrelocSize: 24,\n \t\tElfsetupplt: elfsetupplt,\n \t\tGentext: ...
2020-06-26T20:35:49
huggingface/transformers
73efe896df8e7a6d8094e86e9aa3ef1691152d73
6cc5411d816f84359b3ec3440dcb61ed729cfb2d
Fix minor typo: softare => software (#29602)
[ { "path": "docs/source/en/perf_train_gpu_one.md", "patch": "@@ -65,7 +65,7 @@ training your model with [`Trainer`] or writing a pure PyTorch loop, in which ca\n with 🤗 Accelerate](#using--accelerate).\n \n If these methods do not result in sufficient gains, you can explore the following options: \n-* [Look...
2024-03-12T10:39:56
ollama/ollama
bba1cc933d12e0ece6eaddb952b4158b8494b814
ea9f0e7dbf1a423b18693aa51deeb64f7cf42060
fix path for system tray
[ { "path": "app/forge.config.ts", "patch": "@@ -19,11 +19,12 @@ const config: ForgeConfig = {\n packagerConfig: {\n appVersion: process.env.VERSION || packageJson.version,\n asar: true,\n- icon: './images/icon',\n+ icon: './assets/icon.icns',\n extraResource: [\n '../ollama',\n- ...
2023-07-06T18:11:26
nodejs/node
2f2f1cfa870c2153c811a7047d74c4a0bb8e5f2c
5f469446e1bbff48af029cf4e71de7940fe41b72
deps: cherry-pick 0353a1e from upstream V8 Original commit message: Avoid disassembling Interpreted Regexp code I found that v8 will crash when --print-code is turned on while Regexp is interpreted. It crashes when trying to print Relocation info during Disassembly. It should probably avoid printing ...
[ { "path": "deps/v8/src/regexp/jsregexp.cc", "patch": "@@ -1115,7 +1115,7 @@ RegExpEngine::CompilationResult RegExpCompiler::Assemble(\n Handle<HeapObject> code = macro_assembler_->GetCode(pattern);\n isolate->IncreaseTotalRegexpCodeGenerated(code->Size());\n work_list_ = NULL;\n-#ifdef ENABLE_DISASSEM...
2017-09-25T06:16:02
ggml-org/llama.cpp
59d8d4e96341eb54f362ac3d583ef522566e2a39
d82b7a7c1d73c0674698d9601b1bbb0200933f29
vulkan: improve topk perf for large k, fix overflow in unit tests (#17582)
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -10239,7 +10239,9 @@ static void ggml_vk_topk(ggml_backend_vk_context * ctx, vk_context& subctx, cons\n \n // Prefer going as small as num_topk_pipelines - 3 for perf reasons.\n // But if K is larger, then we need a larger workgr...
2025-11-29T07:39:57
huggingface/transformers
6cc5411d816f84359b3ec3440dcb61ed729cfb2d
b382a09e28c7e59129246ccdf4b00f2cac4547a4
Fix Fuyu doc typos (#29601) fix fuyu docs
[ { "path": "docs/source/en/model_doc/fuyu.md", "patch": "@@ -81,7 +81,7 @@ text_prompt = \"Generate a coco-style caption.\\\\n\"\n \n bus_image_url = \"https://huggingface.co/datasets/hf-internal-testing/fixtures-captioning/resolve/main/bus.png\"\n bus_image_pil = Image.open(io.BytesIO(requests.get(bus_image...
2024-03-12T10:16:21
golang/go
87db6d90c91f257f8ad152ace61fce829b193362
dd150176c3cc49da68c8179f740eadc79404d351
doc/go1.15: fix wording in a few places Change-Id: I1dc6871bdab7f3048eacd6738fdcfa64b8700c8a Reviewed-on: https://go-review.googlesource.com/c/go/+/240998 Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "doc/go1.15.html", "patch": "@@ -34,9 +34,9 @@ <h2 id=\"ports\">Ports</h2>\n <h3 id=\"darwin\">Darwin</h3>\n \n <p>\n- As <a href=\"go1.14#darwin\">announced</a> in the Go 1.14 release notes,\n- Go 1.15 now requires macOS 10.12 Sierra or later;\n- support for previous versions has been disconti...
2020-07-05T12:25:03
ollama/ollama
03eca6ea544766939dd6f7bda34f3f697affac0d
4f3cfea64613afd231bd14390ba04a881117c4d1
fix path to `ollama`
[ { "path": "app/src/index.ts", "patch": "@@ -37,10 +37,10 @@ const createWindow = (): void => {\n mainWindow.loadURL(MAIN_WINDOW_WEBPACK_ENTRY)\n }\n \n+const ollama = path.join(process.resourcesPath, 'ollama')\n+\n // if the app is packaged then run the server\n if (app.isPackaged) {\n- const ollama = pa...
2023-07-06T16:17:42
nodejs/node
5f469446e1bbff48af029cf4e71de7940fe41b72
2b196fb14c48d8426338d1eae30e62a2ebcd8a3d
errors,tools: ASCIIbetical instead of alphabetical PR-URL: https://github.com/nodejs/node/pull/15578 Fixes: https://github.com/nodejs/node/issues/15576 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "lib/internal/errors.js", "patch": "@@ -137,13 +137,6 @@ E('ERR_ENCODING_INVALID_ENCODED_DATA',\n E('ERR_ENCODING_NOT_SUPPORTED',\n (enc) => `The \"${enc}\" encoding is not supported`);\n E('ERR_FALSY_VALUE_REJECTION', 'Promise was rejected with falsy value');\n-E('ERR_HTTP_HEADERS_SENT',\n- 'C...
2017-09-23T21:41:04
ggml-org/llama.cpp
d82b7a7c1d73c0674698d9601b1bbb0200933f29
03914c7ef826caf0b6371a6d1de270cda102b542
gguf-py : fix passing non-native endian tensors (editor-gui and new-metadata) (#17553) gguf_new_metadata.py reads data from reader. Reader doesn't byteswap tensors to native endianness. But writer does expect tensors in native endianness to convert them into requested endianness. There are two ways to fix this: updat...
[ { "path": "gguf-py/gguf/gguf_writer.py", "patch": "@@ -371,10 +371,13 @@ def add_tensor_info(\n \n def add_tensor(\n self, name: str, tensor: np.ndarray[Any, Any], raw_shape: Sequence[int] | None = None,\n- raw_dtype: GGMLQuantizationType | None = None,\n+ raw_dtype: GGMLQuantizati...
2025-11-28T19:53:01
huggingface/transformers
b382a09e28c7e59129246ccdf4b00f2cac4547a4
73a27345d47a5a6e82f4104daffd3fa998668664
Experimental loading of MLX files (#29511) * Experimental loading of MLX files * Update exception message * Add test * Style * Use model from hf-internal-testing
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -3297,9 +3297,12 @@ def from_pretrained(\n elif metadata.get(\"format\") == \"flax\":\n from_flax = True\n logger.info(\"A Flax safetensors file is being loaded in a PyTorch model.\")\n+ elif ...
2024-03-11T18:42:06
golang/go
dd150176c3cc49da68c8179f740eadc79404d351
5de90d33c837af4d9a375a0a36811c7033655596
crypto/tls: create certs w/o KeyEncipherment KU for non-RSA keys in generate_cert.go Summary The crypto/tls/generate_cert.go utility should only set the template x509.Certificate's KeyUsage field to a value with the x509.KeyUsageKeyEncipherment bits set when the certificate subject public key is an RSA public key, no...
[ { "path": "src/crypto/tls/generate_cert.go", "patch": "@@ -81,6 +81,16 @@ func main() {\n \t\tlog.Fatalf(\"Failed to generate private key: %v\", err)\n \t}\n \n+\t// ECDSA, ED25519 and RSA subject keys should have the DigitalSignature\n+\t// KeyUsage bits set in the x509.Certificate template\n+\tkeyUsage :=...
2020-07-03T03:07:02
ggml-org/llama.cpp
3ce7a65c2f2529a8fc566b4aead53b088f7faec2
e072b2052e9250395e4a28a28d37806342ac5db1
server: fix: /metrics endpoint returning JSON-escaped Prometheus format (#17386) * fix: /metrics endpoint returning JSON-escaped Prometheus format * mod: remove string overload from ok() method
[ { "path": "tools/server/server.cpp", "patch": "@@ -2713,7 +2713,8 @@ struct server_routes {\n \n res->headers[\"Process-Start-Time-Unix\"] = std::to_string(res_task->t_start);\n res->content_type = \"text/plain; version=0.0.4\";\n- res->ok(prometheus.str());\n+ res->status = 20...
2025-11-28T18:14:00
nodejs/node
ccfcd8873cf4966380322f89e34ce47441868c9d
64e97b2c26f2ccd13bcb420b36f1285d4720845e
crypto: better crypto error messages Add openSSL error stack to the exception object thrown from crypto. The new exception property is only added to the object if the error stack has not cleared out prior to calling ThrowCryptoError. PR-URL: https://github.com/nodejs/node/pull/15518 Refs: https://github.com/nodejs/no...
[ { "path": "doc/api/errors.md", "patch": "@@ -192,6 +192,10 @@ circumstance of why the error occurred. `Error` objects capture a \"stack trace\"\n detailing the point in the code at which the `Error` was instantiated, and may\n provide a text description of the error.\n \n+For crypto only, `Error` objects wi...
2017-08-10T03:26:03
huggingface/transformers
b45c0f55e06eb4cb1a6cd59dde30d0cef62604d0
c1e478aa7fc644e6a955400feba252116b597b89
Fixed broken link (#29558) Fixed broken link for Resources -> Token Classification -> Finetuning BERT for named-entity
[ { "path": "docs/source/en/model_doc/bert.md", "patch": "@@ -79,7 +79,7 @@ A list of official Hugging Face and community (indicated by 🌎) resources to h\n <PipelineTag pipeline=\"token-classification\"/>\n \n - A blog post on how to use [Hugging Face Transformers with Keras: Fine-tune a non-English BERT for...
2024-03-11T17:26:38
golang/go
5de90d33c837af4d9a375a0a36811c7033655596
a4ba411b19fa0111a3c8fe059fcf5489d3bd6bbf
Revert "encoding/json: don't reuse slice elements when decoding" This reverts https://golang.org/cl/191783. Reason for revert: Broke too many programs which depended on the previous behavior, even when it was the opposite of what the documentation said. We can attempt to fix the original issue again for 1.16, while ...
[ { "path": "src/encoding/json/decode.go", "patch": "@@ -177,7 +177,8 @@ func (d *decodeState) unmarshal(v interface{}) error {\n \td.scanWhile(scanSkipSpace)\n \t// We decode rv not rv.Elem because the Unmarshaler interface\n \t// test must be applied at the top level of the value.\n-\tif err := d.value(rv);...
2020-07-01T11:31:15
rust-lang/rust
e03c809402d1f60b158a86810a51ab4e6e40f114
c49e2df668838a38d9919a2457cde4e47e0f89fe
Remove some unnecessary `FIXME` comments. The comments didn't make much sense to me. I asked Matthew Jasper on Zulip about it and they said: > I think that at the time I wanted to replace all (or most of) this > with a reference to the HIR Id of the variable. I'll give this a look > to see if it's still a reasonable ...
[ { "path": "compiler/rustc_middle/src/mir/mod.rs", "patch": "@@ -961,7 +961,6 @@ pub struct LocalDecl<'tcx> {\n /// Temporaries and the return place are always mutable.\n pub mutability: Mutability,\n \n- // FIXME(matthewjasper) Don't store in this in `Body`\n pub local_info: ClearCrossCrate<B...
2025-02-13T21:56:58
ggml-org/llama.cpp
e072b2052e9250395e4a28a28d37806342ac5db1
c6f7a423c8c87748ef563a99d81c3b1b05cecff0
ggml : add GGML_SCHED_NO_REALLOC option to disable reallocations in ggml_backend_sched (#17276) * ggml : add GGML_SCHED_NO_REALLOC option to disable reallocations in ggml_backend_sched Enabled in ggml-ci for testing. * llama : update worst-case graph for unified cache * ci : disable op offload in some tests * fix s...
[ { "path": "ci/run.sh", "patch": "@@ -45,7 +45,7 @@ sd=`dirname $0`\n cd $sd/../\n SRC=`pwd`\n \n-CMAKE_EXTRA=\"-DLLAMA_FATAL_WARNINGS=ON -DLLAMA_CURL=ON\"\n+CMAKE_EXTRA=\"-DLLAMA_FATAL_WARNINGS=ON -DLLAMA_CURL=ON -DGGML_SCHED_NO_REALLOC=ON\"\n \n if [ ! -z ${GG_BUILD_METAL} ]; then\n CMAKE_EXTRA=\"${CMA...
2025-11-28T15:33:23
huggingface/transformers
47c9570903ebcf1f996d46e4280e885c7f24b8ce
e5eb55b88b7200e81144eaf7a2bf3001b2bd08e7
fix error: TypeError: Object of type Tensor is not JSON serializable … (#29568) fix error: TypeError: Object of type Tensor is not JSON serializable trainer Co-authored-by: Zach Mueller <muellerzr@gmail.com>
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2415,7 +2415,7 @@ def _maybe_log_save_evaluate(self, tr_loss, grad_norm, model, trial, epoch, igno\n \n logs[\"loss\"] = round(tr_loss_scalar / (self.state.global_step - self._globalstep_last_logged), 4)\n if grad_norm is not Non...
2024-03-11T17:15:36
nodejs/node
03954f778ec491fe5a4f8e42996e3edbe35554d9
6975c490d11d4aa937c9df6835f4e75ac8c72cee
tools, build: refactor macOS installer Creates macOS pkg installer by using `pkgbuild` and `productbuild`. Removes previous npm installation before installing npm. Packages carry correct version attributes. Support for intl installer features, defaults to `en`. Fancy formatted license. Renamed `osx` references to `mac...
[ { "path": ".gitignore", "patch": "@@ -69,11 +69,9 @@ ipch/\n /config_fips.gypi\n *-nodegyp*\n /gyp-mac-tool\n-/dist-osx\n /npm.wxs\n /tools/msvs/npm.wixobj\n /tools/msvs/genfiles/\n-/tools/osx-pkg.pmdoc/index.xml\n /test/addons/??_*/\n email.md\n deps/v8-*\n@@ -101,6 +99,7 @@ deps/npm/node_modules/.bin/\n \...
2017-09-04T10:07:56
ollama/ollama
b9fb988112b091eaa8e7dee92d9c97b8a0c531f9
944bd13de1f5cbd6947fa063c7e1a3bc5fe19fa3
fix api docs
[ { "path": "README.md", "patch": "@@ -90,5 +90,7 @@ Finally, run a model!\n Complete a prompt\n \n ```\n-curl -X POST http://localhost:8080/completion -H 'Content-Type: application/json' -d '{\"model\": \"/path/to/model\", \"prompt\": \"Once upon a time\", \"stream\": true}'\n+curl --unix-socket ~/.ollama/ol...
2023-07-05T23:19:01
rust-lang/rust
c301ba57a652ffdf8f39d9ddd92cf168e594f21c
e2e4d0bdb1c04faa538fea2db097c9a3b0b4df41
Fix a typo in a comment.
[ { "path": "compiler/rustc_middle/src/mir/mod.rs", "patch": "@@ -116,7 +116,7 @@ impl MirPhase {\n }\n }\n \n- /// Parses an `MirPhase` from a pair of strings. Panics if this isn't possible for any reason.\n+ /// Parses a `MirPhase` from a pair of strings. Panics if this isn't possible for ...
2025-02-12T06:00:57
ggml-org/llama.cpp
ddf9f94389a614ce005347f1c3f60ce477df1be1
ff55414c42522adbeaa1bd9c52c0e9db16942484
server : add Anthropic Messages API support (#17570) * server : add Anthropic Messages API support * remove -@pytest.mark.slow from tool calling/jinja tests * server : remove unused code and slow/skip on test_anthropic_vision_base64_with_multimodal_model in test_anthropic_api.py * server : removed redundant n field...
[ { "path": "tools/server/README.md", "patch": "@@ -7,6 +7,7 @@ Set of LLM REST APIs and a simple web front end to interact with llama.cpp.\n **Features:**\n * LLM inference of F16 and quantized models on GPU and CPU\n * [OpenAI API](https://github.com/openai/openai-openapi) compatible chat completions and ...
2025-11-28T11:57:04
golang/go
a4ba411b19fa0111a3c8fe059fcf5489d3bd6bbf
7799756a50f0a4070d66c67e9615375f852f2c04
cmd/link: skip fallocate test if not supported, and adjust allocation size on darwin On Linux, the linker uses fallocate to preallocate the output file storage. The underlying file system may not support fallocate, causing the test to fail. Skip the test in this case. On darwin, apparently F_PREALLOCATE allocates fro...
[ { "path": "src/cmd/link/internal/ld/fallocate_test.go", "patch": "@@ -28,6 +28,21 @@ func TestFallocate(t *testing.T) {\n \t}\n \tdefer out.Close()\n \n+\t// Try fallocate first.\n+\tfor {\n+\t\terr = out.fallocate(1 << 10)\n+\t\tif err == syscall.EOPNOTSUPP { // The underlying file system may not support f...
2020-06-30T20:51:27
huggingface/transformers
dd1c9052159ae824c8acef7c2552f9fad5ca020a
873d9bb3ccc5758495201d739ceecac3a7c6e752
[Docs] Fix FastSpeech2Conformer model doc links (#29574) [Docs] Fix FastSpeech2Conformer links
[ { "path": "README.md", "patch": "@@ -366,7 +366,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[ErnieM](https://huggingface.co/docs/transformers/model_doc/ernie_m)** (from Baidu) released with the paper [ERNIE-M: Enhanced Multilingual Representation by Aligning ...
2024-03-11T14:14:03
nodejs/node
6975c490d11d4aa937c9df6835f4e75ac8c72cee
f55ee6e24a4073be42957bd9dbeb8b2591544143
build: fix shared installing target PR-URL: https://github.com/nodejs/node/pull/15148 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "tools/install.py", "patch": "@@ -133,7 +133,10 @@ def files(action):\n if sys.platform != 'darwin':\n output_prefix += 'lib.target/'\n \n- action([output_prefix + output_file], 'bin/' + output_file)\n+ if 'false' == variables.get('node_shared'):\n+ action([output_prefix + outpu...
2017-09-02T12:30:14
ollama/ollama
0998d4f0a45de58c915308744dfd407b626a253d
79a999e95d1e4b618a15590068190bf9ca6865aa
remove debug print statements
[ { "path": "llama/llama.go", "patch": "@@ -95,34 +95,24 @@ func (l *LLama) Eval(text string, opts ...PredictOption) error {\n \t\treturn fmt.Errorf(\"inference failed\")\n \t}\n \n-\tfmt.Println(\"hi 4\")\n-\n \tC.llama_free_params(params)\n \n-\tfmt.Println(\"hi 5\")\n-\n \treturn nil\n }\n \n func (l *LLam...
2023-07-05T20:29:12
rust-lang/rust
953515131b32deaf26410cb78b7eb6fe93d4d9b4
c62239aeb3ba7781a6d7f7055523c1e8c22b409c
Improve error message when a submodule directory is missing completely
[ { "path": "src/bootstrap/src/lib.rs", "patch": "@@ -488,7 +488,7 @@ impl Build {\n }\n self.config.update_submodule(submodule);\n let absolute_path = self.config.src.join(submodule);\n- if dir_is_empty(&absolute_path) {\n+ if !absolute_path.exists() || dir_is_empty(&abs...
2025-02-20T19:43:57
ggml-org/llama.cpp
ff55414c42522adbeaa1bd9c52c0e9db16942484
73955f7d2a3ce1f36d7ecc14495e08957b51d113
model : Qwen3 Next (#16095) * Qwen3 Next - cleaned up version * Whitespaces and stuff * Correct minor errors * Update src/llama-model.cpp Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> * Misc. fixes. * Clean up code, add missing hybrid qualifier * Did someone transpose the SOLVE_TRI result matri...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -4183,6 +4183,36 @@ def set_vocab(self):\n super().set_vocab()\n \n \n+@ModelBase.register(\"Qwen3NextForCausalLM\")\n+class Qwen3NextModel(Qwen2MoeModel):\n+ model_arch = gguf.MODEL_ARCH.QWEN3NEXT\n+\n+ def set_gguf_parameters(self):\n+ s...
2025-11-28T11:02:56
golang/go
7799756a50f0a4070d66c67e9615375f852f2c04
d7553d9af916682e9f68d1a1aa585a12293ed1f8
cmd/link: fix GC data reading from shared library (attempt 2) When linking against a Go shared library, when a global variable in the main module has a type defined in the shared library, the linker needs to pull the GC data from the shared library to build the GC program for the global variable. Currently, this fails...
[ { "path": "misc/cgo/testshared/shared_test.go", "patch": "@@ -38,7 +38,15 @@ var testWork = flag.Bool(\"testwork\", false, \"if true, log and do not delete the\n \n // run runs a command and calls t.Errorf if it fails.\n func run(t *testing.T, msg string, args ...string) {\n+\trunWithEnv(t, msg, nil, args.....
2020-06-29T21:07:17
huggingface/transformers
873d9bb3ccc5758495201d739ceecac3a7c6e752
9a3f4d4dafb522a24f95933bd05241a0ee53c958
Make torch xla available on GPU (#29334) * add USE_TORCH_XLA env * rename torch_tpu to torch_xla * better is_torch_xla_available; fix some fsdp and performance issues * fix format * fix bug when pjrt_device is cpu * fix bug * fix the deprecation handling --------- Co-authored-by: anw90 <ang868@...
[ { "path": "docs/source/de/testing.md", "patch": "@@ -452,7 +452,7 @@ Dekorateure werden verwendet, um die Anforderungen von Tests in Bezug auf CPU/GP\n - `require_torch_multi_gpu` - wie `require_torch` und zusätzlich mindestens 2 GPUs erforderlich\n - `require_torch_non_multi_gpu` - wie `require_torch` plus...
2024-03-11T14:07:16
nodejs/node
2043944a4c62de60e7a04e8c914b565114c4b11b
510cab7a3d12ee95e0b04f9682c07d0d8a8d84a5
http: client keep-alive for UNIX domain sockets Makes `Connection: keep-alive` behave correctly when making client connections to UNIX domain sockets. Prior to this, connections would never be re-used, but the keep-alive would cause the connections to stick around until they time out. This would lead to an eventual E...
[ { "path": "lib/_http_agent.js", "patch": "@@ -131,6 +131,9 @@ Agent.prototype.getName = function getName(options) {\n if (options.family === 4 || options.family === 6)\n name += ':' + options.family;\n \n+ if (options.socketPath)\n+ name += ':' + options.socketPath;\n+\n return name;\n };\n \n@@...
2017-05-25T07:32:04
ollama/ollama
79a999e95d1e4b618a15590068190bf9ca6865aa
6559a5b48f33a2f876cbe7facd0c40ddfc282a0a
fix crash in bindings
[ { "path": "llama/CMakeLists.txt", "patch": "@@ -4,7 +4,7 @@ include(FetchContent)\n FetchContent_Declare(\n llama_cpp\n GIT_REPOSITORY https://github.com/ggerganov/llama.cpp.git\n- GIT_TAG master\n+ GIT_TAG 55dbb91\n )\n \n FetchContent_MakeAvailable(llama_cpp)", "additions":...
2023-07-05T20:28:18
rust-lang/rust
58ebf6afdd01d32f9f6d22d2e788c0dc10bc65a5
bcfde13d51229e5ba4cb324194561b18e9326680
Add test that uninhabited repr(transparent) type has same function return ABI as wrapped type. Fix codegen of uninhabited PassMode::Indirect return types. Add codegen test for uninhabited PassMode::Indirect return types. Enable optimizations for uninhabited return type codegen test
[ { "path": "compiler/rustc_codegen_ssa/src/mir/block.rs", "patch": "@@ -4,9 +4,7 @@ use rustc_abi::{BackendRepr, ExternAbi, HasDataLayout, Reg, WrappingRange};\n use rustc_ast as ast;\n use rustc_ast::{InlineAsmOptions, InlineAsmTemplatePiece};\n use rustc_hir::lang_items::LangItem;\n-use rustc_middle::mir::...
2025-02-13T19:17:39
ggml-org/llama.cpp
6783b11fb0889d68d0046176b4cc92ceee1961b0
909072abcfed4798f86b14c0a79df057a9e6ab47
models : fix LFM2 tensors (#17548)
[ { "path": "src/llama-arch.cpp", "patch": "@@ -2237,7 +2237,7 @@ static const std::map<llm_arch, std::map<llm_tensor, const char *>> LLM_TENSOR_N\n { LLM_TENSOR_SHORTCONV_INPROJ, \"blk.%d.shortconv.in_proj\" },\n { LLM_TENSOR_SHORTCONV_OUTPROJ, \"blk.%d.shortconv.out_proj\" },\n ...
2025-11-27T14:04:29
golang/go
96e83664378918980bd8f60822c4bc39befcb668
5779bb4e92911271583faa1365fd12be2c3894ee
Revert "cmd/link: fix GC data reading from shared library" This reverts CL 240462. Reason for revert: test fails on PPC64LE. Updates #39927. Change-Id: I4f14fd0c36e604a80ae9f2f86d1e643e28945e93 Reviewed-on: https://go-review.googlesource.com/c/go/+/240616 Reviewed-by: Austin Clements <austin@google.com> Reviewed-by...
[ { "path": "misc/cgo/testshared/shared_test.go", "patch": "@@ -38,15 +38,7 @@ var testWork = flag.Bool(\"testwork\", false, \"if true, log and do not delete the\n \n // run runs a command and calls t.Errorf if it fails.\n func run(t *testing.T, msg string, args ...string) {\n-\trunWithEnv(t, msg, nil, args.....
2020-06-30T19:09:38
huggingface/transformers
9a3f4d4dafb522a24f95933bd05241a0ee53c958
6d67837f06fb8e3155a5c5b0dd57cd09841bc9f9
Bark model Flash Attention 2 Enabling to pass on check_device_map parameter to super() (#29357) * Fixing error #29332. The _check_and_enable_flash_attn_2() method receives a check_device_map parameter and fails. * style fixup
[ { "path": "src/transformers/models/bark/modeling_bark.py", "patch": "@@ -1881,6 +1881,7 @@ def _check_and_enable_flash_attn_2(\n torch_dtype: Optional[torch.dtype] = None,\n device_map: Optional[Union[str, Dict[str, int]]] = None,\n hard_check_only: bool = False,\n+ check_devi...
2024-03-11T12:44:12
nodejs/node
510cab7a3d12ee95e0b04f9682c07d0d8a8d84a5
51bc7fa59896d1b1623255b5f3c0122e88f99676
src,etw: fix event 9 on 64 bit Windows The event manifest specifies the MethodID field as a 32 bit integer. The 32 bit node executable publishes this correctly, but the 64 bit executable published a 64 bit integer, making the event undecodable. PR-URL: https://github.com/nodejs/node/pull/15563 Reviewed-By: Refael Ack...
[ { "path": "src/node_win32_etw_provider-inl.h", "patch": "@@ -27,12 +27,6 @@\n #include \"node_win32_etw_provider.h\"\n #include \"node_etw_provider.h\"\n \n-#if defined(_WIN64)\n-# define ETW_WRITE_INTPTR_DATA ETW_WRITE_INT64_DATA\n-#else\n-# define ETW_WRITE_INTPTR_DATA ETW_WRITE_INT32_DATA\n-#endif\n-\n n...
2017-09-22T19:10:52
ollama/ollama
0240165388f052817a0dcadc6eeeedacecb4218d
9164981d72890541709cc33f889673e28c8ea79f
fix llama.cpp build
[ { "path": "llama/CMakeLists.txt", "patch": "@@ -24,5 +24,5 @@ target_include_directories(binding PRIVATE ${llama_cpp_SOURCE_DIR}/examples)\n target_link_libraries(binding llama ggml_static)\n \n configure_file(${llama_cpp_SOURCE_DIR}/ggml-metal.metal ${CMAKE_CURRENT_BINARY_DIR}/ggml-metal.metal COPYONLY)\n-...
2023-07-03T22:56:10
ggml-org/llama.cpp
909072abcfed4798f86b14c0a79df057a9e6ab47
cd8370b40890dd40ae91a1cc0206107cf78c9303
cuda : fix UMA detection on discrete GPUs. (#17537)
[ { "path": "ggml/src/ggml-cuda/ggml-cuda.cu", "patch": "@@ -3837,7 +3837,7 @@ static void ggml_backend_cuda_device_get_memory(ggml_backend_dev_t dev, size_t *\n \n // Check if UMA is explicitly enabled via environment variable\n bool uma_env = getenv(\"GGML_CUDA_ENABLE_UNIFIED_MEMORY\") != nullptr;\n...
2025-11-27T11:35:35
rust-lang/rust
746b0f6f1d108ac641eb6157cc288402f1932d90
f280acf4c743806abbbbcfe65050ac52ec4bdec0
Sync Fuchsia target spec with clang Fuchsia driver This updates the Fuchsia target spec with the [Clang Fuchsia driver], which picks up a few changes: * Adds `-z start-stop-visibility=hidden` and `-z rel` to the pre link arguments. * Adds `--execute-only` and `--fix-cortex-a53-843419` for `aarch64-unknown-fuchsia...
[ { "path": "compiler/rustc_target/src/spec/base/fuchsia.rs", "patch": "@@ -7,7 +7,7 @@ pub(crate) fn opts() -> TargetOptions {\n // now. When using clang as the linker it will supply these options for us,\n // so we only list them for ld/lld.\n //\n- // https://github.com/llvm/llvm-project/blo...
2025-02-11T22:56:17
golang/go
5779bb4e92911271583faa1365fd12be2c3894ee
bf061af1d0cf5b27ec1415d7b555874b070f483a
cmd/link: fix GC data reading from shared library When linking against a Go shared library, when a global variable in the main module has a type defined in the shared library, the linker needs to pull the GC data from the shared library to build the GC program for the global variable. Currently, this fails silently, a...
[ { "path": "misc/cgo/testshared/shared_test.go", "patch": "@@ -38,7 +38,15 @@ var testWork = flag.Bool(\"testwork\", false, \"if true, log and do not delete the\n \n // run runs a command and calls t.Errorf if it fails.\n func run(t *testing.T, msg string, args ...string) {\n+\trunWithEnv(t, msg, nil, args.....
2020-06-29T21:07:17
huggingface/transformers
6d67837f06fb8e3155a5c5b0dd57cd09841bc9f9
d80c9a349709b3db888b3976b660ef4ea2e29646
Add Fill-in-the-middle training objective example - PyTorch (#27464) * add: initial script to train clm fim * fix: if training model from scratch, new tokens will be added and embeddings resized * fix: fixed attention_mask errors when generating FIM data * fix: file formatted using black * add: run_fim_no_...
[ { "path": "examples/pytorch/language-modeling/README.md", "patch": "@@ -73,6 +73,57 @@ python run_clm_no_trainer.py \\\n --output_dir /tmp/test-clm\n ```\n \n+### GPT-2/GPT and causal language modeling with fill-in-the middle objective\n+\n+The following example fine-tunes GPT-2 on WikiText-2 but using ...
2024-03-11T12:14:02
nodejs/node
51bc7fa59896d1b1623255b5f3c0122e88f99676
26174fcfe1992f256b78f8053a1f2b02e545d4b1
doc: fix mistake in http2stream.respondWithFile. http2stream.respondWithFile api has changed since 8.5.0 with the addition of the onError option. In the first code example an onError function is implemented but never used, fix this mistake. Add a description to have more informations when onError is triggered. PR-UR...
[ { "path": "doc/api/http2.md", "patch": "@@ -1147,7 +1147,8 @@ of the given file:\n \n If an error occurs while attempting to read the file data, the `Http2Stream`\n will be closed using an `RST_STREAM` frame using the standard `INTERNAL_ERROR`\n-code.\n+code. If the `onError` callback is defined it will be ...
2017-09-18T20:56:25
ollama/ollama
172274b8091e8925fc53d19bd8a58171dfec00be
7bf3212c5bfdfb470b726bda3648f6049f7092d3
fix auto update route
[ { "path": "web/app/api/update/route.ts", "patch": "@@ -11,6 +11,10 @@ export async function GET(req: Request) {\n const os = searchParams.get('os') || ''\n const version = searchParams.get('version') || ''\n \n+ if (!version) {\n+ return new Response('not found', { status: 404 })\n+ }\n+\n try {\...
2023-07-06T20:18:40
ggml-org/llama.cpp
cd8370b40890dd40ae91a1cc0206107cf78c9303
d21a76ac38ca9d95be610f72b613c7455fa04103
ggml-cpu: aarm64: q4_K repack gemm and gemv implementations (dotprod only) (#17494) * Enabled q4_K_4x8 path * Fixed generic Q4_K 8x4 implementation * wip: dotprod gemm * Working arm q4_K dotprod gemm Signed-off-by: Alberto Cabrera <alberto.cabrera@liquid.ai> * Undo acc rename Signed-off-by: Alberto Cabrera <albe...
[ { "path": "ggml/src/ggml-cpu/arch-fallback.h", "patch": "@@ -33,23 +33,27 @@\n // repack.cpp\n #define ggml_quantize_mat_q8_0_4x4_generic ggml_quantize_mat_q8_0_4x4\n #define ggml_quantize_mat_q8_0_4x8_generic ggml_quantize_mat_q8_0_4x8\n+#define ggml_quantize_mat_q8_K_4x4_generic ggml_quantize_mat_q8_K_4x4...
2025-11-27T11:25:14
rust-lang/rust
67f408c3507e010afd18f83f4b8f84f3811535ec
f9fb2db8aac33ac67bb781845f287764c56489b7
Update style.md fix dead link
[ { "path": "src/tools/rust-analyzer/docs/book/src/contributing/style.md", "patch": "@@ -276,7 +276,7 @@ fn f() {\n Assert liberally.\n Prefer [`stdx::never!`](https://docs.rs/always-assert/0.1.2/always_assert/macro.never.html) to standard `assert!`.\n \n-**Rationale:** See [cross cutting concern: error handl...
2025-02-20T18:38:24
golang/go
bf061af1d0cf5b27ec1415d7b555874b070f483a
4b28f5ded3c3af3d881384e278595426c478e24b
doc/go1.15: add encoding/asn1 note about minimal encoding Also fix missing <code> tags in the other encoding/asn1 note. Updates #37419 Change-Id: Ic0e9131016b44ed864629aa8d0a7fddb57146d21 Reviewed-on: https://go-review.googlesource.com/c/go/+/240518 Reviewed-by: Filippo Valsorda <filippo@golang.org>
[ { "path": "doc/go1.15.html", "patch": "@@ -598,9 +598,14 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <dl id=\"encoding/asn1\"><dt><a href=\"/pkg/encoding/asn1/\">encoding/asn1</a></dt>\n <dd>\n <p><!-- CL 226984 -->\n- <a href=\"/pkg/encoding/asn1/#Marshal\">Marshal</a...
2020-06-30T16:14:15
huggingface/transformers
d80c9a349709b3db888b3976b660ef4ea2e29646
4f27ee936a861f56f32ea6db138978b274008006
[`Docs`] fixed minor typo (#29555)
[ { "path": "docs/source/en/quantization.md", "patch": "@@ -49,7 +49,7 @@ Starting with version `aqlm 1.0.2`, AQLM supports Parameter-Efficient Fine-Tunin\n \n ### AQLM configurations\n \n-AQLM quantization setpus vary mainly on the number of codebooks used as well as codebook sizes in bits. The most popular ...
2024-03-11T11:05:16
nodejs/node
1fe9b535a78a23a9549b544ec4a4f76614f45c5c
eee166f24d5cfa447f3a484f0f75acc278091aa8
test: fix http-writable-true-after-close flakyness Ref: https://github.com/nodejs/node/pull/15404 Fixes: https://github.com/nodejs/node/issues/15505 PR-URL: https://github.com/nodejs/node/pull/15520 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell ...
[ { "path": "test/parallel/test-http-writable-true-after-close.js", "patch": "@@ -7,29 +7,36 @@ const { get, createServer } = require('http');\n // res.writable should not be set to false after it has finished sending\n // Ref: https://github.com/nodejs/node/issues/15029\n \n+let internal;\n let external;\n \...
2017-09-21T06:57:25
ggml-org/llama.cpp
142df17c9c296c846131041283c69edd2db754d8
e509411cf142807c947b53b340d2d5594ce38120
vulkan: use a fixed 1KB buffer for the add_rms_fusion opt (#17514)
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -5289,7 +5289,8 @@ static void ggml_vk_init(ggml_backend_vk_context * ctx, size_t idx) {\n ctx->prealloc_size_x = 0;\n ctx->prealloc_size_y = 0;\n ctx->prealloc_size_split_k = 0;\n- ctx->prealloc_size_add_rms_partials = 0;\n+ /...
2025-11-27T05:32:30
ollama/ollama
8cc92447e311bff7fff9c417a42efc4ddd58f8bf
39b289c6a80c917d627eee91a240840951a1b698
fix web build
[ { "path": "web/app/api/models/route.ts", "patch": "@@ -1,6 +1,6 @@\n import models from '../../../../models.json'\n import { NextResponse } from 'next/server'\n \n-export async function GET(re) {\n+export async function GET() {\n return NextResponse.json(models)\n }", "additions": 1, "deletions": ...
2023-07-06T01:15:49
rust-lang/rust
fb8c993e15858ff6653977355055df4c016a60d6
2bead2717b6ddfd9dc6d39d41ec031ce9c50e664
fix label suffix
[ { "path": "tests/assembly/stack-protector/stack-protector-heuristics-effect.rs", "patch": "@@ -19,7 +19,7 @@\n #![allow(incomplete_features)]\n #![feature(unsized_locals, unsized_fn_params)]\n \n-// CHECK-LABEL: emptyfn\n+// CHECK-LABEL: emptyfn{{:|\\[}}\n #[no_mangle]\n pub fn emptyfn() {\n // all: __s...
2025-02-20T18:31:12
huggingface/transformers
469c13280d77a75be626da4f8e918e9f24e4f80f
3f6973db06d0149ee94a71a8f7cf4c374c675cd4
Fix eval thread fork bomb (#29538) * Fix eval thread fork bomb * Keep eval dl persistent and prepare after so free_memory doesn't destroy it * Add note * Quality
[ { "path": "src/transformers/trainer.py", "patch": "@@ -888,6 +888,11 @@ def get_eval_dataloader(self, eval_dataset: Optional[Dataset] = None) -> DataLoa\n \"\"\"\n if eval_dataset is None and self.eval_dataset is None:\n raise ValueError(\"Trainer: evaluation requires an eval_dat...
2024-03-08T16:04:18
golang/go
4b28f5ded3c3af3d881384e278595426c478e24b
c4fd3f6ff60189ba18446d538523b646f37f930b
net: fix TestDialerLocalAddr on Plan 9 We cannot use "0.0.0.0" (IPv4) or "::" (IPv6) for local address, so don't use those addresses in the control message. Alternatively, we could've used "*" instead. Fixes #39931 Change-Id: Ib2dcbb1a0c648296c3ecaddbe938053a569b1f1b Reviewed-on: https://go-review.googlesource.com/c...
[ { "path": "src/net/ipsock_plan9.go", "patch": "@@ -311,25 +311,25 @@ func toLocal(a Addr, net string) Addr {\n // plan9LocalAddr returns a Plan 9 local address string.\n // See setladdrport at https://9p.io/sources/plan9/sys/src/9/ip/devip.c.\n func plan9LocalAddr(addr Addr) string {\n-\tip := \"\"\n+\tvar ...
2020-06-29T23:22:34
ggml-org/llama.cpp
e509411cf142807c947b53b340d2d5594ce38120
7cba58bbeac0c262bde7d45adb452133f53cb56f
server: enable jinja by default, update docs (#17524) * server: enable jinja by default, update docs * fix tests
[ { "path": "common/arg.cpp", "patch": "@@ -694,6 +694,12 @@ static bool is_autoy(const std::string & value) {\n }\n \n common_params_context common_params_parser_init(common_params & params, llama_example ex, void(*print_usage)(int, char **)) {\n+ // default values specific to example\n+ // note: we pl...
2025-11-27T00:02:50
nodejs/node
44dc449effdd607065f2bd112f16f4b795ea067c
4321206c5bc2aabaef8e7d22c45860bc6581d5c3
test: print resource stack on error When running tests with NODE_TEST_WITH_ASYNC_HOOKS and the same asyncId is detected twice print the stack traces of both init() calls. Also print if the resource is the same instance. PR-URL: https://github.com/nodejs/node/pull/14208 Reviewed-By: James M Snell <jasnell@gmail.com> R...
[ { "path": "test/common/index.js", "patch": "@@ -79,18 +79,21 @@ if (process.env.NODE_TEST_WITH_ASYNC_HOOKS) {\n if (destroyListList[id] !== undefined) {\n process._rawDebug(destroyListList[id]);\n process._rawDebug();\n- throw new Error(`same id added twice (${id})`);\n+ throw new ...
2017-06-16T22:25:02
rust-lang/rust
e565eeed78d0e59e475dce34b0833bbf8f84871b
28b83ee59698ae069f5355b8e03f976406f410f5
Tweak E0277 when predicate comes indirectly from `?` When a `?` operation requires an `Into` conversion with additional bounds (like having a concrete error but wanting to convert to a trait object), we handle it speficically and provide the same kind of information we give other `?` related errors. ``` error[E0277]:...
[ { "path": "compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs", "patch": "@@ -192,19 +192,38 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {\n \n let have_alt_message = message.is_some() || label.is_some();\n let is_try_conversion = self...
2025-02-18T20:29:10
ollama/ollama
3ce3caaf65bff7014bbd13a67e51ea0ecd0bbc01
e69a08f1b17dde9608a437568d9246bc3a5d9d7b
fix pull model name
[ { "path": "ollama/cmd/cli.py", "patch": "@@ -151,7 +151,7 @@ def pull(*args, **kwargs):\n \n \n def run(*args, **kwargs):\n- name = model.pull(*args, **kwargs)\n+ name = model.pull(model_name=kwargs.pop('model'), *args, **kwargs)\n kwargs.update({\"model\": name})\n print(f\"Running {name}...\...
2023-06-30T18:54:46
huggingface/transformers
3f6973db06d0149ee94a71a8f7cf4c374c675cd4
1ba89dc2d2b5423ccbb2c52ac5e3b4282e54794b
[tests] use the correct `n_gpu` in `TrainerIntegrationTest::test_train_and_eval_dataloaders` for XPU (#29307) * fix n_gpu * fix style
[ { "path": "tests/trainer/test_trainer.py", "patch": "@@ -1029,7 +1029,10 @@ def is_any_loss_nan_or_inf(log_history):\n self.assertFalse(is_any_loss_nan_or_inf(log_history_filter))\n \n def test_train_and_eval_dataloaders(self):\n- n_gpu = max(1, backend_device_count(torch_device))\n+ ...
2024-03-08T15:52:25
golang/go
2ca0f5a1e2e637cd15b50f3c625cbb8d169575ab
db85615bfd7502206708b799e4aa73bf707ebafa
Revert "encoding/xml: fix reserved namespace check to be case-insensitive" This reverts CL 203417. Reason for revert: This change changes uses of tags like "XMLSchema-instance" without any recourse. For #35151 Fixes #39876 Change-Id: I4c85c8267a46b3748664b5078794dafffb42aa26 Reviewed-on: https://go-review.googlesou...
[ { "path": "src/encoding/xml/marshal.go", "patch": "@@ -345,11 +345,8 @@ func (p *printer) createAttrPrefix(url string) string {\n \tif prefix == \"\" || !isName([]byte(prefix)) || strings.Contains(prefix, \":\") {\n \t\tprefix = \"_\"\n \t}\n-\t// xmlanything is reserved and any variant of it regardless of\...
2020-06-26T18:29:34
ggml-org/llama.cpp
5449367b2125d63069fad8d2ca13d0c5ebb2f003
1d594c295c8863e9077feeb50305a5e19493e6ee
Fix chunks being too small with small matrix sizes (#17526)
[ { "path": "ggml/src/ggml-cpu/repack.cpp", "patch": "@@ -1731,12 +1731,13 @@ template <typename BLOC_TYPE, int64_t INTER_SIZE, int64_t NB_COLS, ggml_type PAR\n nchunk0 = (nr0 + min_chunk_size - 1) / min_chunk_size;\n }\n \n- if (nth == 1 || nchunk0 < nth || disable_chunking) {\n+ ...
2025-11-26T21:14:54
nodejs/node
92d7e81b73ba09479a57039042d58112ae89cac7
8a6f376e36bc93db76f08f7863864fafdec90fea
src: clear async id stack if bootstrap throws If bootstrap throws and if ids are added to the async id stack and if the exception wasn't handled by the fatal exception handler then the AsyncCallbackScope destructor will cause the AsyncHooks::pop_ids() stack check to fail. Causing the application to crash. So clear the...
[ { "path": "src/node.cc", "patch": "@@ -3753,7 +3753,16 @@ void LoadEnvironment(Environment* env) {\n // who do not like how bootstrap_node.js sets up the module system but do\n // like Node's I/O bindings may want to replace 'f' with their own function.\n Local<Value> arg = env->process_object();\n- ...
2017-09-22T07:49:49
ollama/ollama
56922cfd3dc5e10893570dc87b10bc6c10af634c
bbc05f957f32f4151c0b11d03f727a0f239f1e01
fix desktop `README.md` until download links are ready
[ { "path": "desktop/README.md", "patch": "@@ -2,13 +2,6 @@\n \n The Ollama desktop experience. This is an experimental, easy-to-use app for running models with [`ollama`](https://github.com/jmorganca/ollama).\n \n-## Download\n-\n-- [macOS](https://ollama.ai/download/darwin_arm64) (Apple Silicon)\n-- macOS (...
2023-06-30T16:34:32
huggingface/transformers
1ba89dc2d2b5423ccbb2c52ac5e3b4282e54794b
697f05bab39ce067a7984ed98da2743898352e47
Fix WhisperNoSpeechDetection when input is full silence (#29065) fix total silence input with no_speech_threshold
[ { "path": "src/transformers/models/whisper/generation_whisper.py", "patch": "@@ -141,8 +141,10 @@ def _pad_to_max_length(current_segments, pad_token_id, padding=\"right\", bos_toke\n \n sequences.append(sequence)\n max_total_length = max(max_total_length, len(sequences[-1]))\n- ...
2024-03-08T14:31:05
golang/go
db85615bfd7502206708b799e4aa73bf707ebafa
9a6439690ec3f42f1e6c1e219f0020e5cc985072
doc: add alt attribute to gopher image in help.html This adds an alt tag for accessibility. The alt text is a visual description of the text that is read out loud to users using a screen reader. The HTML specifications indicate that alt tags for decorative images should be left blank. Fixes #39861 Change-Id: I76c39a...
[ { "path": "doc/help.html", "patch": "@@ -8,7 +8,7 @@\n \n <h2 id=\"help\">Get help</h2>\n \n-<img class=\"gopher\" src=\"/doc/gopher/help.png\"/>\n+<img class=\"gopher\" src=\"/doc/gopher/help.png\" alt=\"\"/>\n \n {{if not $.GoogleCN}}\n <h3 id=\"mailinglist\"><a href=\"https://groups.google.com/group/gola...
2020-06-27T23:22:29
rust-lang/rust
b3a6168c995358c4a3d8cc6c8311e00101eea65a
501471a6211074b9add74467480ec335caf1c4c7
Improve unset OUT_DIR error message
[ { "path": "src/tools/rust-analyzer/crates/hir-expand/src/builtin/fn_macro.rs", "patch": "@@ -833,7 +833,7 @@ fn env_expand(\n if key.as_str() == \"OUT_DIR\" {\n err = Some(ExpandError::other(\n span,\n- r#\"`OUT_DIR` not set, enable \"build scripts\" to fix...
2025-02-20T12:05:06
nodejs/node
1f21a5cdb7103c0480364661ffad2b519dc271f7
0919dff489652595e59b44b7d11114bb402d760b
doc: update table of contents for common/README.md The `countdown` and `fixtures` modules are documented in the `common/README.md` file but are omitted from the table of contents. Add them. PR-URL: https://github.com/nodejs/node/pull/15595 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Richard Lau ...
[ { "path": "test/common/README.md", "patch": "@@ -6,6 +6,8 @@ This directory contains modules used to test the Node.js implementation.\n \n * [Benchmark module](#benchmark-module)\n * [Common module API](#common-module-api)\n+* [Countdown module](#countdown-module)\n+* [Fixtures module](#fixtures-module)\n *...
2017-09-25T02:36:12
huggingface/transformers
697f05bab39ce067a7984ed98da2743898352e47
608fa5496cdb3199c8c12523f01cdb73fe1765b4
fix typos in FSDP config parsing logic in `TrainingArguments` (#29189) fix FSDP config
[ { "path": "src/transformers/training_args.py", "patch": "@@ -1732,9 +1732,9 @@ def __post_init__(self):\n os.environ[f\"{prefix}TRANSFORMER_CLS_TO_WRAP\"] = \",\".join(\n self.fsdp_config[\"transformer_layer_cls_to_wrap\"]\n )\n- ...
2024-03-08T13:36:30
ggml-org/llama.cpp
1d594c295c8863e9077feeb50305a5e19493e6ee
eec1e33a9ed71b79422e39cc489719cf4f8e0777
clip: (minicpmv) fix resampler kq_scale (#17516) * debug:"solve minicpmv precision problem" * “debug minicpmv” * Apply suggestion from @ngxson --------- Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com>
[ { "path": "tools/mtmd/clip.cpp", "patch": "@@ -1175,10 +1175,11 @@ struct clip_graph {\n cb(K, \"resampler_K\", -1);\n cb(V, \"resampler_V\", -1);\n \n+ float resampler_kq_scale = 1.0f/ sqrtf(float(d_head));\n embeddings = build_attn(\n model.mm...
2025-11-26T20:44:07
golang/go
ce81a8f5e4f6c33036aa0777fabc47eeeab468dc
152ffca82fa53008bd2872f7163c7a1885da880e
net/http: fix panic with If-None-Match value in http.ServeContent Fixes #39817 Change-Id: I79f2ad7c836a8a46569f603aca583fdd526d22dc GitHub-Last-Rev: 5b88aada219aaa2af0c7e1969ed6fa646117d9da GitHub-Pull-Request: golang/go#39821 Reviewed-on: https://go-review.googlesource.com/c/go/+/239699 Run-TryBot: Brad Fitzpatrick ...
[ { "path": "src/net/http/fs.go", "patch": "@@ -413,6 +413,7 @@ func checkIfNoneMatch(w ResponseWriter, r *Request) condResult {\n \t\t}\n \t\tif buf[0] == ',' {\n \t\t\tbuf = buf[1:]\n+\t\t\tcontinue\n \t\t}\n \t\tif buf[0] == '*' {\n \t\t\treturn condFalse", "additions": 1, "deletions": 0, "lang...
2020-06-24T15:24:56
huggingface/transformers
608fa5496cdb3199c8c12523f01cdb73fe1765b4
f386c51ad9034bae4d3ce6b5820b97796ff7f8a1
Make sliding window size inclusive in eager attention (#29519) * Make sliding window size inclusive in eager attention * Fix tests
[ { "path": "src/transformers/modeling_attn_mask_utils.py", "patch": "@@ -164,10 +164,10 @@ def _make_causal_mask(\n \n # add lower triangular sliding window mask if necessary\n if sliding_window is not None:\n- diagonal = past_key_values_length - sliding_window + 1\n+ di...
2024-03-08T12:53:17
nodejs/node
0919dff489652595e59b44b7d11114bb402d760b
7d55b8199960d92ec2ea6fe6b168674b3bb4005b
crypto: only try to set FIPS mode if different Turning FIPS mode on (or off) when it's already on (or off) should be a no-op, not an error. PR-URL: https://github.com/nodejs/node/pull/12210 Fixes: https://github.com/nodejs/node/issues/11849 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michael Dawson <mic...
[ { "path": "src/node_crypto.cc", "patch": "@@ -6021,11 +6021,14 @@ void GetFipsCrypto(const FunctionCallbackInfo<Value>& args) {\n void SetFipsCrypto(const FunctionCallbackInfo<Value>& args) {\n Environment* env = Environment::GetCurrent(args);\n #ifdef NODE_FIPS_MODE\n- bool mode = args[0]->BooleanValue(...
2017-04-04T14:36:15
ollama/ollama
ea2a453a812334b1796a18c810ab797c90db7f05
53c462e40d75d8baf637cd27b86381b997749f2b
fix run arg parser
[ { "path": "ollama/cmd/cli.py", "patch": "@@ -33,10 +33,10 @@ def main():\n pull_parser.add_argument(\"model\")\n pull_parser.set_defaults(fn=pull)\n \n- pull_parser = subparsers.add_parser(\"run\")\n- pull_parser.add_argument(\"model\")\n- pull_parser.add_argument(\"prompt\", nargs=\"?\")\n...
2023-06-29T23:32:00
ggml-org/llama.cpp
879d673759181987300a29989478c0f36c97e97b
6ab4e50d9c65e7d94ab7ce135114b52e484019ab
vulkan: Implement top-k (#17418) * vulkan: Implement top-k Each pass launches workgroups that each sort 2^N elements (where N is usually 7-10) and discards all but the top K. Repeat until only K are left. And there's a fast path when K==1 to just find the max value rather than sorting. * fix pipeline selection * vu...
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -409,6 +409,7 @@ enum shader_reduction_mode {\n // argsort pipelines for up to 1<<10 invocations per workgroup\n static constexpr uint32_t num_argsort_pipelines = 11;\n static constexpr uint32_t num_topk_moe_pipelines = 10;\n+static constexpr ui...
2025-11-26T15:45:43
golang/go
152ffca82fa53008bd2872f7163c7a1885da880e
a980e8a690f59542e6e68aa4d84face19ee57a15
net: add support for dialing from a custom local address on Plan 9 Make use of the extra parameter on "connect" control message to set the local IP address and port. The ip(3) man page doesn't document that the local IP address is settable, but upon inspection of the source code, it's clearly settable. Fixes #39747 ...
[ { "path": "src/net/ipsock_plan9.go", "patch": "@@ -199,7 +199,11 @@ func dialPlan9Blocking(ctx context.Context, net string, laddr, raddr Addr) (fd *\n \tif err != nil {\n \t\treturn nil, err\n \t}\n-\t_, err = f.WriteString(\"connect \" + dest)\n+\tif la := plan9LocalAddr(laddr); la == \"\" {\n+\t\t_, err =...
2020-06-25T23:41:13
huggingface/transformers
f386c51ad9034bae4d3ce6b5820b97796ff7f8a1
1ea3ad1aeca1ffc1726d8a4fab2e4393a72be56f
StableLM: Fix dropout argument type error (#29236) * fix stablelm dropout argument type error * fix docs of _flash_attention_forward * fix all docs of _flash_attention_forward * fix docs of _flash_attention_forward in starcoder2 --------- Co-authored-by: oliang <oliang@tencent.com>
[ { "path": "src/transformers/models/bark/modeling_bark.py", "patch": "@@ -306,7 +306,7 @@ def _flash_attention_forward(\n attention_mask (`torch.Tensor`):\n The padding mask - corresponds to a tensor of size `(batch_size, seq_len)` where 0 stands for the\n position...
2024-03-08T11:58:25
nodejs/node
cfee1c977867defa2866eebb23a9fabec4003f52
05e4c1d6bcc6499c23d47b57f97038117341a5eb
path: fix normalize paths ending with two dots Fixes: https://github.com/nodejs/security/issues/147 PR-URL: https://github.com/nodejs-private/node-private/pull/94 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Doug Wilson <doug@somethingdoug.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed...
[ { "path": "lib/path.js", "patch": "@@ -32,10 +32,10 @@ function assertPath(path) {\n // Resolves . and .. elements in a path with directory names\n function normalizeStringWin32(path, allowAboveRoot) {\n var res = '';\n+ var lastSegmentLength = 0;\n var lastSlash = -1;\n var dots = 0;\n var code;\n...
2017-09-26T08:32:04
rust-lang/rust
2335fd69bc7a124eb37e366c3e4dc78a4a6774f6
83ecea2a1390da0781b87a2f6d73c0b8eef5b2ea
Resolve some FIXME from socketpair test
[ { "path": "src/tools/miri/tests/pass-dep/libc/libc-socketpair.rs", "patch": "@@ -88,23 +88,19 @@ fn test_socketpair_threaded() {\n assert_eq!(res, 5);\n assert_eq!(buf, \"abcde\".as_bytes());\n });\n- // FIXME: we should yield here once blocking is implemented.\n- //thread::yield_n...
2025-02-20T16:06:50
golang/go
a980e8a690f59542e6e68aa4d84face19ee57a15
c875503cf79f82b7d2dbec85667f330f72ec4557
net: handle more interface types without a hardware address on Plan 9 We were handling loopback devices when attempting to read hardware address, but packet interfaces were not being handled. As a general fix, don't attempt to read hardware address of any device that's not inside /net. Fixes #39908 Change-Id: Ifa05e...
[ { "path": "src/net/interface_plan9.go", "patch": "@@ -68,8 +68,8 @@ func readInterface(i int) (*Interface, error) {\n \t}\n \tifc.MTU = mtu\n \n-\t// Not a loopback device\n-\tif device != \"/dev/null\" {\n+\t// Not a loopback device (\"/dev/null\") or packet interface (e.g. \"pkt2\")\n+\tif stringsHasPrefi...
2020-06-29T05:50:50
ggml-org/llama.cpp
e6923caaec6312ea374822634df9f7621f31fe74
3e18dba9fd599ace0c3f2bc94bd74e5398d2efb6
ggml : fix ARM feature verification (#17519) On arm64 with `cmake` version 3.31.6, the final feature verification fails: -- ARM detected flags: -mcpu=neoverse-v2+crc+sve2-aes+sve2-sha3+nossbs -- Performing Test GGML_MACHINE_SUPPORTS_dotprod -- Performing Test GGML_MACHINE_SUPPORTS_dotprod - Success --...
[ { "path": "ggml/src/ggml-cpu/CMakeLists.txt", "patch": "@@ -224,7 +224,8 @@ function(ggml_add_cpu_backend_variant_impl tag_name)\n \n include(CheckCXXSourceCompiles)\n set(CMAKE_REQUIRED_FLAGS_SAVE ${CMAKE_REQUIRED_FLAGS})\n- set(CMAKE_REQUIRED_FLAGS \"${ARCH_FLAGS}\")\n+ ...
2025-11-26T13:14:41
huggingface/transformers
14536c339a7f28190bde70a39d0c6815d65fd9bc
8ee1d472033c3443d1f212e66122cc7f5ef6aa20
Typo fix in error message (#29535)
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -1594,7 +1594,7 @@ def __init__(self, **kwargs):\n self.truncation_side = kwargs.pop(\"truncation_side\", self.truncation_side)\n if self.truncation_side not in [\"right\", \"left\"]:\n raise ValueError(\n- ...
2024-03-08T11:20:31
nodejs/node
8b902500cddce129dda59f7d78b6bc8b62f13cb6
f98687db4a95450965a503c63982657a61fd49b2
doc: fix outdated code sample in n-api.md code samples of napi_create_object and napi_property_descriptor were not updated to latest API. PR-URL: https://github.com/nodejs/node/pull/15581 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/n-api.md", "patch": "@@ -2349,7 +2349,7 @@ napi_status status = napi_status_generic_failure;\n \n // const obj = {};\n napi_value obj;\n-status = napi_create_obj(env, &obj);\n+status = napi_create_object(env, &obj);\n if (status != napi_ok) return status;\n \n // Create napi_values for 12...
2017-09-24T04:30:28
ollama/ollama
41fab3c318d83e9e0306dbaa69560d1463ead97f
aa6448c30af5ae6903f27c5c8202f81b02944631
fix imports
[ { "path": "ollama/engine.py", "patch": "@@ -1,5 +1,6 @@\n-from os import path, dup, dup2, devnull\n+import os\n import sys\n+from os import path\n from contextlib import contextmanager\n from llama_cpp import Llama as LLM\n \n@@ -9,12 +10,12 @@\n \n @contextmanager\n def suppress_stderr():\n- stderr = du...
2023-06-29T23:13:28
rust-lang/rust
f97bbd32b4289a76634988e1ef87f16cf1d21dea
98fc39f8afa87cbae53a8fe0d781776b6628601f
Update editor_features.md fix typos in snippets
[ { "path": "src/tools/rust-analyzer/docs/book/src/editor_features.md", "patch": "@@ -1,6 +1,5 @@\n # Editor Features\n \n-\n ## VS Code\n \n ### Color configurations\n@@ -118,7 +117,7 @@ Or it is possible to specify vars more granularly:\n \"rust-analyzer.runnables.extraEnv\": [\n {\n // \"mask\"...
2025-02-20T16:05:18
huggingface/transformers
8ee1d472033c3443d1f212e66122cc7f5ef6aa20
8e589c83b607ede06d2c935cab2f2ead7bac17c4
fix image-to-text batch incorrect output issue (#29342) * fix image-to-text batch incorrect output issue Signed-off-by: Wang, Yi A <yi.a.wang@intel.com> * add ci test Signed-off-by: Wang, Yi <yi.a.wang@intel.com> * update ci test Signed-off-by: Wang, Yi <yi.a.wang@intel.com> --------- Signed-off-b...
[ { "path": "src/transformers/pipelines/pt_utils.py", "patch": "@@ -73,7 +73,7 @@ def loader_batch_item(self):\n \"\"\"\n if isinstance(self._loader_batch_data, torch.Tensor):\n # Batch data is simple tensor, just fetch the slice\n- result = self._loader_batch_data[self....
2024-03-08T11:11:10
ggml-org/llama.cpp
05872ac88532585fb198f1113be43ac654955cba
55ab25caf5caec6840d502325c8480b8afccc0b4
convert : fix big-endian conversion (#17431) * Fix convert_hf_to_gguf.py script on s390x Assume converted model data is originally little-endian. Byteswap data on s390x after reading it to put values in correct presentation for any transformation needed, like calculating weight tensors. Then byteswap data to little-...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -10061,6 +10061,25 @@ class LazyTorchTensor(gguf.LazyBase):\n torch.uint8: np.uint8,\n }\n \n+ # only used when byteswapping data. Only correct size is needed\n+ _dtype_byteswap_map: dict[torch.dtype, type] = {\n+ torch.float64: np.flo...
2025-11-25T13:18:16
golang/go
c875503cf79f82b7d2dbec85667f330f72ec4557
12c01f7698cd257b7d2e4795b0f8a971ec8533b6
doc: fix typos and grammatical errors in contribute.html Fixed some typos and grammatical errors in contribute.html Change-Id: Ifb31f22d876b7bea84b5e130870c26813b2fa139 GitHub-Last-Rev: 43519198859ca8f5e1c870b8f3eeb1b465aa6bc5 GitHub-Pull-Request: golang/go#39892 Reviewed-on: https://go-review.googlesource.com/c/go/+...
[ { "path": "doc/contribute.html", "patch": "@@ -174,7 +174,7 @@ <h3 id=\"config_git_auth\">Step 2: Configure git authentication</h3>\n a Git server hosted by Google.\n Authentication on the web server is made through your Google account, but\n you also need to configure <code>git</code> on your computer to a...
2020-06-27T23:15:53
nodejs/node
7e382c15404cdb89240bfbd0ed59f01e91399095
c705f1067c4ed032184734a5d6185a4f5aa25abf
docs: clarify usage cli options -e,-p on windows PR-URL: https://github.com/nodejs/node/pull/15568 Fixes: https://github.com/nodejs/node/issues/15522 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gibson...
[ { "path": "doc/api/cli.md", "patch": "@@ -53,6 +53,10 @@ changes:\n Evaluate the following argument as JavaScript. The modules which are\n predefined in the REPL can also be used in `script`.\n \n+*Note*: On Windows, using `cmd.exe` a single quote will not work correctly\n+because it only recognizes double ...
2017-09-23T09:37:34
ollama/ollama
55ab5e60dbb09289f0dea7fdcc29ef4d6e24914c
e4bdacb152c7a836e6712a8868bb40f2ca2de077
return an error when the model cant be loaded
[ { "path": "ollama/engine.py", "patch": "@@ -45,11 +45,14 @@ def load(model, models_home=\".\", llms={}):\n # try loading this as a path to a model, rather than a model name\n model_path = os.path.abspath(model)\n \n- # suppress LLM's output\n- with suppress_stderr():\n-...
2023-06-29T19:53:13
huggingface/transformers
8e589c83b607ede06d2c935cab2f2ead7bac17c4
bc764f42639d245114eaa077b4712aac5643603b
[tests] add the missing `require_sacremoses` decorator (#29504) * add sacremoses check * fix style * for FlaubertTokenizer * HerbertTokenizer fix * add typeHint * Update src/transformers/testing_utils.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> * make less skipp...
[ { "path": "src/transformers/__init__.py", "patch": "@@ -1078,6 +1078,7 @@\n \"is_psutil_available\",\n \"is_py3nvml_available\",\n \"is_pyctcdecode_available\",\n+ \"is_sacremoses_available\",\n \"is_safetensors_available\",\n \"is_scipy_available\",\n ...
2024-03-08T10:13:54
golang/go
a295d59d10d87ea882ddc8db6919a278b3a67d01
3c474d4164990c10c48c2b881211b6af95058be9
cmd/cgo: prevent redeclaration of _Ctype_void when C.void is used CL 230037 changed cmd/cgo to emit "type _Ctype_foo = bar" aliases for all C.foo types mentioned in the original Go source files. However, cmd/cgo already emits an appropriate type definition for _Ctype_void. So if a source file explicitly mentions C.voi...
[ { "path": "misc/cgo/test/test.go", "patch": "@@ -2200,3 +2200,7 @@ func test32579(t *testing.T) {\n // issue 38649\n \n var issue38649 C.netbsd_gid = 42\n+\n+// issue 39877\n+\n+var issue39877 *C.void = nil", "additions": 4, "deletions": 0, "language": "Go" }, { "path": "src/cmd/cgo/out....
2020-06-26T18:26:33
ollama/ollama
ce7fe42345ad8d2045f3146ee981863538af689f
5610405e7751400780639f6d7de60274868ffdc6
fix spelling
[ { "path": "README.md", "patch": "@@ -101,7 +101,7 @@ Download a model\n ollama.pull(\"huggingface.co/thebloke/llama-7b-ggml\")\n ```\n \n-## Cooming Soon\n+## Coming Soon\n \n ### `ollama.search(\"query\")`\n ", "additions": 1, "deletions": 1, "language": "Markdown" } ]
2023-06-28T18:39:43
nodejs/node
c705f1067c4ed032184734a5d6185a4f5aa25abf
ebc58d7a220011c6f067f12918adb583f2192859
http2: fix compat stream read handling, add tests Handle edge case where stream pause is called between resume being called and actually evaluated. Other minor adjustments to avoid various edge cases around stream events. Add new tests that cover all changes. Fixes: https://github.com/nodejs/node/issues/15491 PR-URL:...
[ { "path": "lib/internal/http2/compat.js", "patch": "@@ -97,46 +97,50 @@ function onStreamError(error) {\n }\n \n function onRequestPause() {\n- this[kStream].pause();\n+ const stream = this[kStream];\n+ if (stream)\n+ stream.pause();\n }\n \n function onRequestResume() {\n- this[kStream].resume();\n-...
2017-09-21T13:09:21