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
golang/go
b641f0dcf48aa748aa8d3db1e332b77044b48e59
26a860706a0ed4c3cb4228b0265dbd5eba8547d3
os: clarify that IsExist and friends do not use errors.Is Fixes #41122 Change-Id: Ie5cb0b19ac461d321520b1ebfc493a0ca22232a7 Reviewed-on: https://go-review.googlesource.com/c/go/+/268897 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
[ { "path": "src/os/error.go", "patch": "@@ -76,26 +76,41 @@ func NewSyscallError(syscall string, err error) error {\n // IsExist returns a boolean indicating whether the error is known to report\n // that a file or directory already exists. It is satisfied by ErrExist as\n // well as some syscall errors.\n+/...
2020-11-10T15:51:59
ggml-org/llama.cpp
d006858316d4650bb4da0c6923294ccd741caefd
e43970099269b5b6da36b8977ad47697602e4e54
ggml-webgpu: move from parameter buffer pool to single buffer with offsets (#21278) * Work towards removing bitcast * Move rest of existing types over * Add timeout back to wait and remove synchronous set_tensor/memset_tensor * move to unpackf16 for wider compatibility * cleanup * Remove deadlock condition in fre...
[ { "path": "ggml/src/ggml-webgpu/ggml-webgpu-shader-lib.hpp", "patch": "@@ -437,12 +437,18 @@ inline uint32_t ggml_webgpu_flash_attn_pick_vec_ne(const ggml_webgpu_flash_attn_\n \n // Head-dim specializations used by the tuned vec f16 path.\n switch (key.head_dim_qk) {\n- case 64: return 2u;\n-...
2026-04-03T18:40:14
huggingface/transformers
bc2adb0112b6677b0dfb4105c74570a0f92183eb
23f6a43f82fb2980f4b30cf3f95eb3a940384895
fix: Fixed an if condition that is always evaluating to true (#32160) Fixed an if condition always evaluating to true.
[ { "path": "src/transformers/models/dpt/convert_dpt_hybrid_to_pytorch.py", "patch": "@@ -43,7 +43,7 @@ def get_dpt_config(checkpoint_url):\n config.neck_hidden_sizes = [256, 512, 1024, 1024]\n expected_shape = (1, 384, 384)\n \n- if \"nyu\" or \"midas\" in checkpoint_url:\n+ if \"nyu\" ...
2024-07-23T15:52:41
nodejs/node
af446a98b9402180116f020cf76dbb5b23270234
87c29b5299ee1e1e8b6edb036f4e57407a851025
openssl: fix keypress requirement in apps on win32 Reapply b910613792dac946b295855963869933a9089044 . Fixes: https://github.com/iojs/io.js/issues/589 PR-URL: https://github.com/iojs/io.js/pull/1389 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
[ { "path": "deps/openssl/openssl/apps/s_client.c", "patch": "@@ -180,6 +180,13 @@ typedef unsigned int u_int;\n # include <fcntl.h>\n #endif\n \n+/* Use Windows API with STD_INPUT_HANDLE when checking for input?\n+ Don't look at OPENSSL_SYS_MSDOS for this, since it is always defined if\n+ OPENSSL_SYS_WIN...
2015-02-17T02:30:28
ollama/ollama
ead259d877fc8b20f7943f1f9e8eeaae0acfa52a
2ff45d571de4463fcebf779373ae7337cf969ebf
llm: fix seed value not being applied to requests (#4986)
[ { "path": "docs/api.md", "patch": "@@ -250,7 +250,7 @@ curl http://localhost:11434/api/generate -d '{\n \n #### Request (Reproducible outputs)\n \n-For reproducible outputs, set `temperature` to 0 and `seed` to a number:\n+For reproducible outputs, set `seed` to a number:\n \n ##### Request\n \n@@ -259,8 +2...
2024-06-11T21:24:41
rust-lang/rust
85b1116a18595794da07c53642eefd81ff775faf
28bd22c3d9a477ff9b7b85782fb517c29b58ed88
rustdoc: Add FIXME test for `doc_cfg` interaction with `check_cfg`
[ { "path": "tests/rustdoc-ui/doc-cfg-check-cfg.rs", "patch": "@@ -0,0 +1,16 @@\n+// Ensure that `doc(cfg())` respects `check-cfg`\n+// Currently not properly working\n+#![feature(doc_cfg)]\n+#![deny(unexpected_cfgs)]\n+\n+//@revisions: no_check cfg_empty cfg_foo\n+//@[cfg_empty] compile-flags: --check-cfg cf...
2025-03-10T15:58:41
ggml-org/llama.cpp
e43970099269b5b6da36b8977ad47697602e4e54
50e0ad08fb6906fda9ac2e256e43a4bbf9c85639
ci: Add Windows Vulkan backend testing on Intel (#21292) * experimenting CI * Experimenting CI fix for MinGW * experimenting CI on Windows * modified script for integration with VisualStudio * added proxy handling * adding python version for Windows execution * fix iterator::end() dereference * fixed proxy hand...
[ { "path": ".github/workflows/build-self-hosted.yml", "patch": "@@ -213,6 +213,27 @@ jobs:\n vulkaninfo --summary\n GG_BUILD_VULKAN=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp\n \n+ ggml-ci-win-intel-vulkan:\n+ runs-on: [self-hosted, Windows, X64, Intel]\n+\n+ steps:\n+ ...
2026-04-03T17:16:44
huggingface/transformers
23f6a43f82fb2980f4b30cf3f95eb3a940384895
d5a99dfcee6e94065cb7c83cc8ab6fc5daa0cc4e
fix (#32162)
[ { "path": "src/transformers/models/llama/modeling_llama.py", "patch": "@@ -107,7 +107,7 @@ def __init__(\n else:\n # BC: \"rope_type\" was originally \"type\"\n if config.rope_scaling is not None:\n- self.rope_type = config.rope_scaling.get(\"rope_type\", confi...
2024-07-23T15:48:16
nodejs/node
87c29b5299ee1e1e8b6edb036f4e57407a851025
15dd596bee43fb751753badac075a319a8ce9686
deps: fix asm build error of openssl in x86_win32 See https://mta.openssl.org/pipermail/openssl-dev/2015-February/000651.html iojs needs to stop using masm and move to nasm or yasm on Win32. Fixes: https://github.com/iojs/io.js/issues/589 PR-URL: https://github.com/iojs/io.js/pull/1389 Reviewed-By: Fedor Indutny <fe...
[ { "path": "deps/openssl/openssl/crypto/perlasm/x86masm.pl", "patch": "@@ -18,10 +18,10 @@ sub ::generic\n \n if ($opcode =~ /lea/ && @arg[1] =~ s/.*PTR\\s+(\\(.*\\))$/OFFSET $1/)\t# no []\n {\t$opcode=\"mov\";\t}\n- elsif ($opcode !~ /movq/)\n+ elsif ($opcode !~ /mov[dq]$/)\n {\t# fix xmm ...
2015-02-13T09:33:59
golang/go
28437546f4624ffef6a2d082266d0d808a0d3423
c906608406f22087e9bc3ee7616c3f1fbba2503b
cmd/go: don't copy cgo files to objdir when overlay is present This cl is a roll-forward of golang.org/cl/265758, which was rolled back in golang.org/cl/268900. The changes made are removing cgofiles from the list of files that are copied to objdir (because the cgofiles themselves aren't actually provided to the compi...
[ { "path": "src/cmd/go/internal/work/exec.go", "patch": "@@ -2709,7 +2709,7 @@ func (b *Builder) cgo(a *Action, cgoExe, objdir string, pcCFLAGS, pcLDFLAGS, cgo\n \t// subtly break some cgo files that include .h files across directory\n \t// boundaries, even though they shouldn't.\n \thasOverlay := false\n-\t...
2020-11-10T18:59:48
ggml-org/llama.cpp
50e0ad08fb6906fda9ac2e256e43a4bbf9c85639
f1f793ad0663a223d3f4f7f3d14875a009d59f5a
server: save and clear idle slots on new task (`--clear-idle`) (#20993) * server: clear idle slots KV from VRAM (LLAMA_KV_KEEP_ONLY_ACTIVE) * server: move idle slot KV clearing to slot release The save "cost" is now paid by the finishing request. * server: add --kv-clear-idle flag, enable by default * server: skip...
[ { "path": "common/arg.cpp", "patch": "@@ -1311,6 +1311,14 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n params.kv_unified = value;\n }\n ).set_env(\"LLAMA_ARG_KV_UNIFIED\").set_examples({LLAMA_EXAMPLE_SERVER, LLAMA_EXAMPLE_PERPLEXITY, LLAMA_EXA...
2026-04-03T17:02:27
rust-lang/rust
985f66bc22885073b6375d47e1c095ab3510b79a
b9454af36def6d5f4b690cffabf8cd7a6f2f45d6
Migrate panic_unwind to Rust 2024
[ { "path": "library/panic_unwind/Cargo.toml", "patch": "@@ -4,7 +4,7 @@ version = \"0.0.0\"\n license = \"MIT OR Apache-2.0\"\n repository = \"https://github.com/rust-lang/rust.git\"\n description = \"Implementation of Rust panics via stack unwinding\"\n-edition = \"2021\"\n+edition = \"2024\"\n \n [lib]\n t...
2025-02-12T02:56:09
ollama/ollama
157f09acdfd692230075a67783510b8d2bb0d5b0
0f3cf1d42e47f5293c14422032c324a894e3dd93
fix: "Skip searching for network devices" On an Ubuntu 24.04 computer with vmware installed, the sudo lshw command will get stuck. "Network interfaces" is always displayed
[ { "path": "scripts/install.sh", "patch": "@@ -159,8 +159,8 @@ check_gpu() {\n esac ;;\n lshw)\n case $2 in\n- nvidia) available lshw && $SUDO lshw -c display -numeric | grep -q 'vendor: .* \\[10DE\\]' || return 1 ;;\n- amdgpu) available lshw && $...
2024-06-11T08:11:35
huggingface/transformers
d2c687b3f1859b5c61258af14abba5312c0e6201
9cf4f2aa9a9cecbb22e813931ef3bb72fc773540
Updated `ruff` to the latest version (#31926) * Updated ruff version and fixed the required code accorindg to the latest version. * Updated ruff version and fixed the required code accorindg to the latest version. * Added noqa directive to ignore 1 error shown by ruff
[ { "path": "examples/research_projects/seq2seq-distillation/_test_seq2seq_examples.py", "patch": "@@ -418,7 +418,7 @@ def test_finetune_lr_schedulers(self):\n with CaptureStdout() as cs:\n args = parser.parse_args(args)\n assert False, \"--help is expected to sys.exit\...
2024-07-23T15:07:31
nodejs/node
15dd596bee43fb751753badac075a319a8ce9686
3ddf1962a4c1da8a8025af7f9da49e0bed152444
deps: fix openssl assembly error on ia32 win32 `x86masm.pl` was mistakenly using .486 instruction set, why `cpuid` (and perhaps others) are requiring .686 . Fixes: https://github.com/iojs/io.js/issues/589 PR-URL: https://github.com/iojs/io.js/pull/1389 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Ben N...
[ { "path": "deps/openssl/openssl/crypto/perlasm/x86masm.pl", "patch": "@@ -82,7 +82,7 @@ sub ::file\n IF \\@Version LT 800\n ECHO MASM version 8.00 or later is strongly recommended.\n ENDIF\n-.486\n+.686\n .MODEL\tFLAT\n OPTION\tDOTNAME\n IF \\@Version LT 800", "additions": 1, "deletions": 1, "la...
2014-01-08T19:05:01
rust-lang/rust
b9454af36def6d5f4b690cffabf8cd7a6f2f45d6
f505d4e8e380305e9c028c50e5e3a143d4635161
Migrate panic_abort to Rust 2024
[ { "path": "library/panic_abort/Cargo.toml", "patch": "@@ -4,7 +4,7 @@ version = \"0.0.0\"\n license = \"MIT OR Apache-2.0\"\n repository = \"https://github.com/rust-lang/rust.git\"\n description = \"Implementation of Rust panics via process aborts\"\n-edition = \"2021\"\n+edition = \"2024\"\n \n [lib]\n tes...
2025-02-11T23:41:40
ggml-org/llama.cpp
f1f793ad0663a223d3f4f7f3d14875a009d59f5a
af5c13841fb9c2a708af505105cc611e0cc9db51
common/parser: fix call ID detection (Mistral parser mostly) + atomicity for tag-json parsers (#21230) * Fix call ID detection (Mistral parser mostly) + atomicity for tag-json parsers * Rename * Update common/chat-auto-parser-generator.cpp Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> --------- C...
[ { "path": "common/chat-auto-parser-generator.cpp", "patch": "@@ -6,6 +6,7 @@\n #include \"json-schema-to-grammar.h\"\n #include \"log.h\"\n #include \"nlohmann/json.hpp\"\n+#include \"peg-parser.h\"\n \n #include <algorithm>\n #include <stdexcept>\n@@ -317,6 +318,44 @@ common_peg_parser analyze_tools::build...
2026-04-03T15:51:52
golang/go
c906608406f22087e9bc3ee7616c3f1fbba2503b
f2e186b87754d3f84a692876501c923eb58f2ee4
io/fs: fix reference to WalkFunc The comment explains differences between WalkDirFunc and WalkFunc, but when this code moved out of path/filepath, we forgot to change the reference to be filepath.WalkFunc. Fix that. (The text should not be deleted, because path/filepath does not contain this type - WalkDirFunc - nor ...
[ { "path": "src/io/fs/walk.go", "patch": "@@ -9,7 +9,7 @@ import (\n \t\"path\"\n )\n \n-// SkipDir is used as a return value from WalkFuncs to indicate that\n+// SkipDir is used as a return value from WalkDirFuncs to indicate that\n // the directory named in the call is to be skipped. It is not returned\n /...
2020-11-09T14:25:05
huggingface/transformers
9cf4f2aa9a9cecbb22e813931ef3bb72fc773540
7d92009af647167bae338e9d4af8bc0452c62fbf
Enhancing SFT Training Efficiency Using Packing and FlashAttention2 with Position IDs (#31629) * add DataCollatorBatchFlattening * Update data_collator.py * change name * new FA2 flow if position_ids is provided * add comments * minor fix * minor fix data collator * add test cases for models * ...
[ { "path": "docs/source/en/main_classes/data_collator.md", "patch": "@@ -66,3 +66,8 @@ Examples of use can be found in the [example scripts](../examples) or [example n\n - numpy_mask_tokens\n - tf_mask_tokens\n - torch_mask_tokens\n+\n+## DataCollatorWithFlattening\n+\n+[[autodoc]] data.data_coll...
2024-07-23T13:56:41
nodejs/node
6c0c60c1f15e77f2919fd1b90172ebcca136b5fc
d4cd8c2a77bf9d317afdc25ac6ae0f169161d452
test: fix flaky test-benchmark-util Allow for zero iterations on benchmarks with a short duration. PR-URL: https://github.com/nodejs/node/pull/17473 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <micha...
[ { "path": "test/parallel/test-benchmark-util.js", "patch": "@@ -11,4 +11,5 @@ runBenchmark('util',\n 'n=1',\n 'option=none',\n 'type=',\n- 'version=native']);\n+ 'version=native'],\n+ { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });", ...
2017-12-05T17:22:14
rust-lang/rust
61339997194448cd8b18b422f32ced0126963213
5d4ff50f49220ebdf894421999ecee3deeaa7938
Fix `cargo vendor` not working without `rustc` installed This fixes an issue where vendoring would fail if `rustc` is not in PATH. This happens with the update of some workspaces to the 2024 edition which need to run `rustc -Vv` to determine which rust version is in use.
[ { "path": "src/bootstrap/src/core/build_steps/vendor.rs", "patch": "@@ -103,6 +103,7 @@ impl Step for Vendor {\n // Will read the libstd Cargo.toml\n // which uses the unstable `public-dependency` feature.\n cmd.env(\"RUSTC_BOOTSTRAP\", \"1\");\n+ cmd.env(\"RUSTC\", &builder.i...
2025-03-11T16:43:39
ggml-org/llama.cpp
af5c13841fb9c2a708af505105cc611e0cc9db51
277ff5fff79d49cc3d2292ddf410ca95dd51c3a9
common : fix tool call type detection for nullable and enum schemas (#21327) * common : fix tool call type detection for nullable and enum schemas * common, tests : fix grammar delegation for nullable/enum schemas and add tests Fix enum type inference to scan all enum values (not just index 0) so schemas like {"enum...
[ { "path": "common/chat-auto-parser-generator.cpp", "patch": "@@ -400,12 +400,34 @@ common_peg_parser analyze_tools::build_tool_parser_tag_tagged(parser_build_conte\n for (const auto & [param_name, param_schema] : properties.items()) {\n bool is_required = required.find(param_name)...
2026-04-03T15:51:23
ollama/ollama
515f497e6d5c0a102f913693fc8d4ed5eefd4ebb
b27268aaefa03f401f0f09c1e21b63872288ddc7
fix: skip removing layers that no longer exist
[ { "path": "server/manifest.go", "patch": "@@ -3,6 +3,7 @@ package server\n import (\n \t\"crypto/sha256\"\n \t\"encoding/json\"\n+\t\"errors\"\n \t\"fmt\"\n \t\"io\"\n \t\"log/slog\"\n@@ -43,7 +44,9 @@ func (m *Manifest) Remove() error {\n \n func (m *Manifest) RemoveLayers() error {\n \tfor _, layer := ran...
2024-06-10T18:15:03
golang/go
f2e186b87754d3f84a692876501c923eb58f2ee4
8f2db14cd35bbd674cb2988a508306de6655e425
all: update vendored dependencies for Go 1.16 release The Go 1.16 code freeze has recently started. This is a time to update all golang.org/x/... module versions that contribute packages to the std and cmd modules in the standard library to latest master versions. Those versions have already gone through code review,...
[ { "path": "src/cmd/go.mod", "patch": "@@ -6,8 +6,8 @@ require (\n \tgithub.com/google/pprof v0.0.0-20201007051231-1066cbb265c7\n \tgithub.com/ianlancetaylor/demangle v0.0.0-20200414190113-039b1ae3a340 // indirect\n \tgolang.org/x/arch v0.0.0-20201008161808-52c3e6f60cff\n-\tgolang.org/x/crypto v0.0.0-2020082...
2020-10-31T04:28:53
huggingface/transformers
63700628adb91600c84fe3bbbc4c667cd3e3aa71
a009fbdab32a4b068c24052a4dfe7a7bc0fc89f9
feat(cache): StaticCache uses index_copy_ to avoid useless copy (#31857) * feat(cache): StaticCache uses index_copy_ to avoid useless copy Using index_copy_ allows for explicit in-place change of the tensor. Some backends (XLA) will otherwise copy the tensor, making the code slower and using more memory. Propo...
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -862,8 +862,18 @@ def update(\n k_out.copy_(key_states)\n v_out.copy_(value_states)\n else:\n- k_out[:, :, cache_position] = key_states\n- v_out[:, :, cache_position] = value_states\n+ ...
2024-07-23T12:18:19
ggml-org/llama.cpp
d3416a4aa9a37d9a0ca547e18c0e126bfe8a07ea
43a4ee4a2cf25de0428d618544b877731d4d3713
fix: remove stale assert (#21369)
[ { "path": "src/llama-vocab.cpp", "patch": "@@ -3712,9 +3712,7 @@ int llama_vocab::max_token_len() const {\n \n int llama_vocab::find_bpe_rank(const std::string & token_left, const std::string & token_right) const {\n GGML_ASSERT(token_left.find(' ') == std::string::npos);\n- GGML_ASSERT(token_left....
2026-04-03T11:40:41
nodejs/node
e8a1fa692048bf69c2b738471232f33bad8bf447
f5eb803c8da79bc3aeff46dffb291012e7ba09ce
doc: remove IPC channel implementation details IPC messages are more complicated than a simple pipe passing JSON objects separated by new line. This removes inaccurate notes about implementation from the documentation. PR-URL: https://github.com/nodejs/node/pull/17460 Fixes: https://github.com/nodejs/node/issues/1649...
[ { "path": "doc/api/child_process.md", "patch": "@@ -366,8 +366,7 @@ By default, `child_process.fork()` will spawn new Node.js instances using the\n \n Node.js processes launched with a custom `execPath` will communicate with the\n parent process using the file descriptor (fd) identified using the\n-environm...
2017-12-04T17:12:59
huggingface/transformers
a009fbdab32a4b068c24052a4dfe7a7bc0fc89f9
3263b3435473cbb5dc66925bc29c1d32b5b8d431
Fix typing to be compatible with later py versions (#32155)
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -1948,7 +1948,7 @@ def is_active(self) -> bool:\n return self._rendered_blocks or self._generation_indices\n \n @contextmanager\n- def activate_tracker(self, rendered_blocks: list[int], generation_in...
2024-07-23T11:23:34
golang/go
8f2db14cd35bbd674cb2988a508306de6655e425
b2ef159db237ba09278704ec2970f6ae41f130b1
cmd/go: release note for -mod=readonly by default For #40728 Fixes #42466 Change-Id: If2b21b37a590c243828c4fd278ab10b2705450f0 Reviewed-on: https://go-review.googlesource.com/c/go/+/268859 Reviewed-by: Bryan C. Mills <bcmills@google.com> Trust: Dmitri Shuralyov <dmitshur@golang.org>
[ { "path": "doc/go1.16.html", "patch": "@@ -82,6 +82,15 @@ <h3 id=\"go-command\">Go command</h3>\n \n <h4 id=\"modules\">Modules</h4>\n \n+<p><!-- golang.org/issue/40728 -->\n+ Build commands like <code>go</code> <code>build</code> and <code>go</code>\n+ <code>test</code> no longer modify <code>go.mod</cod...
2020-11-10T16:32:04
nodejs/node
694e7baf00ecea3d5d686c2f14a595b3c4a464ef
b1acba363d55241921584ddc7057d20983d4b52d
test: add common.crashOnUnhandledRejection() PR-URL: https://github.com/nodejs/node/pull/17247 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "test/addons/make-callback-recurse/test.js", "patch": "@@ -9,6 +9,7 @@ const makeCallback = binding.makeCallback;\n // Make sure this is run in the future.\n const mustCallCheckDomains = common.mustCall(checkDomains);\n \n+common.crashOnUnhandledRejection();\n \n // Make sure that using MakeCallba...
2017-11-22T08:39:05
huggingface/transformers
3263b3435473cbb5dc66925bc29c1d32b5b8d431
034b47784765e37ecc20f7ad43640f1a2c0094fd
Revert "Incorrect Whisper long-form decoding timestamps " (#32148) Revert "Incorrect Whisper long-form decoding timestamps (#32003)" This reverts commit cd48553fc8375e1a28d4d82cfe231dedf6a23af8.
[ { "path": "src/transformers/models/clvp/processing_clvp.py", "patch": "@@ -73,6 +73,7 @@ def __call__(self, *args, **kwargs):\n inputs[\"attention_mask\"] = encodings[\"attention_mask\"]\n return inputs\n \n+ # Copied from transformers.models.whisper.processing_whisper.WhisperProc...
2024-07-23T10:34:30
golang/go
b2ef159db237ba09278704ec2970f6ae41f130b1
1948c00b6e49b4481ab1378247020786db1b7129
cmd/go: introduce the GOVERSION env variable This is an extra variable available via 'go env', but not read from the user's environment. It corresponds to the same string that runtime.Version returns, assuming a program is built by the same version of Go. It's similar to the output of 'go version', but without the "g...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -1916,6 +1916,8 @@\n // \t\tIf module-aware mode is disabled, GOMOD will be the empty string.\n // \tGOTOOLDIR\n // \t\tThe directory where the go tools (compile, cover, doc, etc...) are installed.\n+// \tGOVERSION\n+// \t\tThe version of the installed Go tree...
2020-10-27T18:12:03
nodejs/node
70f23ec9c0d602d33d0401e7e86a266e9519050b
cd174df353e78cde9181299adbf501a4a694dee8
doc: fix typo in Buffer.prototype.fill() Refs: https://github.com/nodejs/node/pull/17427 PR-URL: https://github.com/nodejs/node/pull/17501 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "doc/api/buffer.md", "patch": "@@ -1276,7 +1276,7 @@ const buf = Buffer.allocUnsafe(5);\n console.log(buf.fill('a'));\n // Prints: <Buffer aa aa aa aa aa>\n console.log(buf.fill('aazz', 'hex'));\n-// Throws a exception.\n+// Throws an exception.\n console.log(buf.fill('zz', 'hex'));\n ```\n ", ...
2017-12-06T17:52:26
rust-lang/rust
e1854933d8b0bdbbf692c9c9e28c0cd694f34e4b
9fb94b32df38073bf63d009df77ed10cb1c989d0
bump libc to 0.2.171 to fix xous Due to a reorganization in the `libc` crate, the `xous` target broke with version `0.2.170`. Bump libc to `0.2.171` to fix nightly. Signed-off-by: Sean Cross <sean@xobs.io>
[ { "path": "library/Cargo.lock", "patch": "@@ -157,9 +157,9 @@ dependencies = [\n \n [[package]]\n name = \"libc\"\n-version = \"0.2.170\"\n+version = \"0.2.171\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"875b3680cb2f8f71bdcf9a30f38d48282f5d3c95cbf9b3fa57269bb5d5c068...
2025-03-11T14:50:57
huggingface/transformers
034b47784765e37ecc20f7ad43640f1a2c0094fd
bab32d6fe932a3372fbd6d5a84e3cacb12a61ae0
Rename Phi-3 rope scaling type (#31436) * renamed phi3 rope_scaling type * fixed trailing whitespaces * fixed test * added warning * fixed format
[ { "path": "src/transformers/models/phi3/configuration_phi3.py", "patch": "@@ -78,7 +78,7 @@ class Phi3Config(PretrainedConfig):\n The base period of the RoPE embeddings.\n rope_scaling (`dict`, *optional*):\n The scaling strategy for the RoPE embeddings. If `None`, no scaling...
2024-07-23T10:33:22
ggml-org/llama.cpp
f851fa5ab056c9bada48ad7208fe122fc0574e44
f1ac84119ccc8e72dafd9e9f8fc3b9399917ce11
fix: add openssl to nix dependencies (#21353) (#21355)
[ { "path": ".devops/nix/package.nix", "patch": "@@ -16,7 +16,7 @@\n rocmPackages,\n vulkan-headers,\n vulkan-loader,\n- curl,\n+ openssl,\n shaderc,\n useBlas ?\n builtins.all (x: !x) [\n@@ -160,7 +160,8 @@ effectiveStdenv.mkDerivation (finalAttrs: {\n ++ optionals useMpi [ mpi ]\n ++...
2026-04-03T09:21:07
golang/go
0e0a872a76c89679268fadb49106a02cf234f75b
c68745b1308b7610217dce3683e2c48e04a3392c
runtime: add lock rank partial order edge pollDesc -> spanSetSpine This change adds a missing partial order edge. This edge captures of the case of `wakep` getting called in `wakeNetPoller` which may then allocate. Fixes #42461. Change-Id: Ie67d868e9cd24ed3cc94381dbf8a691dd13f068d Reviewed-on: https://go-review.goog...
[ { "path": "src/runtime/lockrank.go", "patch": "@@ -224,7 +224,7 @@ var lockPartialOrder [][]lockRank = [][]lockRank{\n \tlockRankRwmutexW: {},\n \tlockRankRwmutexR: {lockRankSysmon, lockRankRwmutexW},\n \n-\tlockRankSpanSetSpine: {lockRankSysmon, lockRankScavenge, lockRankForcegc, lockRankAssistQueue, lockR...
2020-11-10T15:35:43
nodejs/node
3d43bce045b39d0ac56b8b8f3f741572ac10c505
99ac5cdf90163c11508b15a608c8496fa6dbe49c
deps: cherry-pick 98c40a4bae915 from V8 upstream Original commit message: [platform] Return task runners as shared_ptr At the moment, task runners are returned as unique_ptr. This is inconvenient, however. In all implementations I did, the platform holds a shared pointer of the task runner and wraps ...
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.2',\n+ 'v8_embedder_string': '-node.3',\n \n # Enable disassembler for `--print-code...
2017-11-19T14:02:51
ollama/ollama
94d37fdcae30ddeb6c9f65c8707004f5ec9eaf33
b84aea1685329f107c5547b1cca4efcf15c19f52
fix: examples/langchain-python-rag-privategpt/requirements.txt (#3382)
[ { "path": "examples/langchain-python-rag-privategpt/requirements.txt", "patch": "@@ -11,4 +11,5 @@ tabulate==0.9.0\n pandoc==2.3\n pypandoc==1.11\n tqdm==4.66.1\n-sentence_transformers==2.2.2\n\\ No newline at end of file\n+sentence_transformers==2.2.2\n+numpy>=1.22.2 # not directly required, pinned by Snyk...
2024-06-09T17:58:09
ggml-org/llama.cpp
b069b10ab48f25ba119e59d0b8bf35d4f06e093f
0c58ba3365d2bc717b447b5d70e4d6be09ff3c40
vocab: fix Gemma4 tokenizer (#21343) * seems to work * fix case with new line Co-authored-by: sayap <sokann@gmail.com> * gemma 4: fix pre tok regex --------- Co-authored-by: Xuan Son Nguyen <son@huggingface.co> Co-authored-by: sayap <sokann@gmail.com>
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -7464,9 +7464,6 @@ def set_vocab(self):\n \n assert len(tokens) == vocab.vocab_size\n \n- # TODO @ngxson : there are some known (rare) issues with the tokenizer during development\n- # but I don't have time to dive into them right now;\n-...
2026-04-03T08:33:03
huggingface/transformers
bab32d6fe932a3372fbd6d5a84e3cacb12a61ae0
9ced33ca7f909d9ace743dac083daba99c904d46
Added mamba.py backend (#30139) * Update README.md * tests: forward ok * backward test done * done testing * removed check. scripts * Update README.md * added use_mambapy arg * fixed typo in warning * protected imports w/ mambapy package * delete pscan.py + raise rather than assert * Upda...
[ { "path": "src/transformers/models/mamba/configuration_mamba.py", "patch": "@@ -79,6 +79,8 @@ class MambaConfig(PretrainedConfig):\n Whether or not to rescale `out_proj` weights when initializing.\n use_cache (`bool`, *optional*, defaults to `True`):\n Whether or not the cach...
2024-07-23T10:32:19
golang/go
c68745b1308b7610217dce3683e2c48e04a3392c
e3de852f3e776ca426d1d7af243dd698f0fee960
runtime: add lock rank partial order edge sweep -> mspanSpecial This change adds a missing partial order edge. The edge captures the case where the background sweeper handles some specials (i.e. finalizers or memory profile sampling) and is otherwise correct. Fixes #42472. Change-Id: Ic45f6cc1635fd3d6bc6c91ff6f64d43...
[ { "path": "src/runtime/lockrank.go", "patch": "@@ -213,7 +213,7 @@ var lockPartialOrder [][]lockRank = [][]lockRank{\n \tlockRankNotifyList: {},\n \tlockRankTraceBuf: {lockRankSysmon, lockRankScavenge},\n \tlockRankTraceStrings: {lockRankTraceBuf},\n-\tlockRankMspanSpecial: {lockRankSysmon, lockRa...
2020-11-10T15:32:59
nodejs/node
99ac5cdf90163c11508b15a608c8496fa6dbe49c
e01a210c7f40f7cffe2db608707f717fb3cb5e29
deps: cherry-pick c690f54d95802 from V8 upstream Original commit message: [platform] Add TaskRunner to the platform API With the existing platform API it is not possible to post foreground tasks from background tasks. This is, however, required to implement asynchronous compilation for WebAssembly. W...
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.1',\n+ 'v8_embedder_string': '-node.2',\n \n # Enable disassembler for `--print-code...
2017-11-19T13:35:59
ollama/ollama
b84aea1685329f107c5547b1cca4efcf15c19f52
896495de7b5814cca32ba83d2e9f2bf176ba98c8
Critical fix from llama.cpp JSON grammar to forbid un-escaped escape characters inside strings, which breaks parsing. (#3782)
[ { "path": "llm/server.go", "patch": "@@ -606,7 +606,7 @@ array ::=\n \n string ::=\n \"\\\"\" (\n- [^\"\\\\] |\n+ [^\"\\\\\\x7F\\x00-\\x1F] |\n \"\\\\\" ([\"\\\\/bfnrt] | \"u\" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]) # escapes\n )* \"\\\"\" ws\n ", "additions": 1, "deletions"...
2024-06-09T17:57:09
ggml-org/llama.cpp
7c7d6ce5c7caad3714ad1cd37ef057dfe0f317d0
5208e2d5bae10fcbb3f3a21d0815441b2954374a
[HIP] Bump ROCm version to 7.2.1 (#21066) Bump ROCm version on Linux from 7.2 to 7.2.1 Add gfx1102 target Delete LLVM workaround since ROCm 7.2.1 has fix for ROCm 7.2 perf regression https://github.com/ROCm/rocm-systems/issues/2865 --------- Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
[ { "path": ".devops/rocm.Dockerfile", "patch": "@@ -1,8 +1,8 @@\n ARG UBUNTU_VERSION=24.04\n \n # This needs to generally match the container host's environment.\n-ARG ROCM_VERSION=7.2\n-ARG AMDGPU_VERSION=7.2\n+ARG ROCM_VERSION=7.2.1\n+ARG AMDGPU_VERSION=7.2.1\n \n # Target the ROCm build image\n ARG BASE_R...
2026-04-02T22:59:20
huggingface/transformers
9ced33ca7f909d9ace743dac083daba99c904d46
a5b226ce9811aa6b31af0bc9c09c54493a4e67c1
Fix video batching to videollava (#32139) --------- Co-authored-by: Merve Noyan <mervenoyan@Merve-MacBook-Pro.local>
[ { "path": "src/transformers/models/video_llava/image_processing_video_llava.py", "patch": "@@ -55,8 +55,11 @@ def make_batched_videos(videos) -> List[VideoInput]:\n if isinstance(videos, (list, tuple)) and isinstance(videos[0], (list, tuple)) and is_valid_image(videos[0][0]):\n return videos\n \...
2024-07-23T10:23:23
golang/go
e3de852f3e776ca426d1d7af243dd698f0fee960
189931296f6b56090d9d7f49b7936b817189d87d
cmd/go: don't copy cgo files to objdir when overlay is present The previous cl (golang.org/cl/262618) copied non-overlaid cgo files to objdir, mostly to get around the issue that otherwise cgo-generated files were written out with the wrong names (they'd get the base path of the overlay file containing the replaced co...
[ { "path": "src/cmd/go/internal/work/exec.go", "patch": "@@ -2732,6 +2732,20 @@ OverlayLoop:\n \t\t}\n \t}\n \n+\t// Rewrite overlaid paths in cgo files.\n+\t// cgo adds //line and #line pragmas in generated files with these paths.\n+\tvar trimpath []string\n+\tfor i := range cgofiles {\n+\t\tpath := mkAbs(p...
2020-10-27T21:51:58
ollama/ollama
5528dd9d1170e7a78a4fdb7684e8944e2052ca8f
943172cbf4d6cc0b8682021bfc9c2d816152615d
Error handling load_single_document() in ingest.py (#4852) load_single_document() handles - corrupt files - empty (zero byte) files - unsupported file extensions
[ { "path": "examples/langchain-python-rag-privategpt/ingest.py", "patch": "@@ -77,13 +77,21 @@ def load(self) -> List[Document]:\n \n \n def load_single_document(file_path: str) -> List[Document]:\n- ext = \".\" + file_path.rsplit(\".\", 1)[-1]\n- if ext in LOADER_MAPPING:\n- loader_class, loade...
2024-06-09T17:41:07
ggml-org/llama.cpp
5208e2d5bae10fcbb3f3a21d0815441b2954374a
7992aa7c8e21ea2eb7a5e4802da56eec7b376036
fix: gemma 4 template (#21326)
[ { "path": "common/chat-auto-parser-generator.cpp", "patch": "@@ -7,11 +7,109 @@\n #include \"log.h\"\n #include \"nlohmann/json.hpp\"\n \n+#include <algorithm>\n #include <stdexcept>\n #include <string>\n \n using json = nlohmann::ordered_json;\n \n+namespace {\n+\n+// Gemma4-specific PEG builder extending ...
2026-04-02T21:31:02
huggingface/transformers
a5b226ce9811aa6b31af0bc9c09c54493a4e67c1
a1844a3209eb7e75582684809203bc189931a90c
Fix flash attention speed issue (#32028) Add the lru_cache for speed
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -820,6 +820,7 @@ def is_flash_attn_greater_or_equal_2_10():\n return version.parse(importlib.metadata.version(\"flash_attn\")) >= version.parse(\"2.1.0\")\n \n \n+@lru_cache()\n def is_flash_attn_greater_or_equal(library_version: str):\n ...
2024-07-23T10:21:23
nodejs/node
e01a210c7f40f7cffe2db608707f717fb3cb5e29
7939a5e7088f1efc471efe2ee48575c2ae52b42a
deps: cherry-pick 37a3a15c3 from V8 upstream Original commit message: [api] Intercept DefineProperty after Descriptor query Analog to other interceptors, intercept the DefineProperty call only after obtaining the property descriptor. This behavior allows us to mirror calls on a sandboxed object as it is ne...
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.0',\n+ 'v8_embedder_string': '-node.1',\n \n # Enable disassembler for `--print-code...
2017-10-18T14:30:34
golang/go
189931296f6b56090d9d7f49b7936b817189d87d
81322b919198ce17d990762a8823e8db46435792
cmd/internal/obj/s390x: fix SYNC instruction encoding SYNC is supposed to correspond to 'fast-BCR-serialization' which is encoded as 'bcr 14,0'. In CL 197178 I accidentally modified the encoding to 'bcr 7,0' which is a no-op. This CL reverses that change. Fixes #42479. Change-Id: I9918d93d720f5e12acc3014cde20d2d32cc...
[ { "path": "src/cmd/asm/internal/asm/testdata/s390x.s", "patch": "@@ -412,6 +412,8 @@ TEXT main·foo(SB),DUPOK|NOSPLIT,$16-0 // TEXT main.foo(SB), DUPOK|NOSPLIT, $16-\n \tUNDEF // 00000000\n \tNOPH // 0700\n \n+\tSYNC // 07e0\n+\n \t...
2020-11-10T10:31:28
ollama/ollama
34f142797aff17af2a1c22d68529269d231cc8d4
46a7f1e74ace3425254ac9cfba2020026c3427e3
llm: always add bos token to prompt (#4941) * fix embedding by adding fixes from llama.cpp upstream * remove assert --------- Co-authored-by: Jesper Ek <deadbeef84@gmail.com>
[ { "path": "llm/ext_server/server.cpp", "patch": "@@ -835,7 +835,7 @@ struct llama_server_context\n system_tokens.clear();\n \n if (!system_prompt.empty()) {\n- system_tokens = ::llama_tokenize(ctx, system_prompt, add_bos_token);\n+ system_tokens = ::llama_tokenize(ctx, ...
2024-06-09T01:47:10
huggingface/transformers
a1844a3209eb7e75582684809203bc189931a90c
2e113422b3504fe6de821bb9911b24273b11aa9c
gguf conversion add_prefix_space=None for llama3 (#31937) * gguf conversion forces add_prefix_space=False for llama3, this is not required and forces from_slow, which fails. changing to None + test * typo * clean test
[ { "path": "src/transformers/integrations/ggml.py", "patch": "@@ -609,7 +609,7 @@ def tokenizer(self, proto):\n self.additional_kwargs[\"bos_token\"] = eos_token\n \n if self.is_llama_3_tokenizer:\n- self.additional_kwargs[\"add_prefix_space\"] = False\n+ self.additional...
2024-07-23T09:45:54
rust-lang/rust
47ba5bd41ec58207896aaf54623eb53f15876cbe
374ce1f90951b4dd1c8789c6a5905abe8ea99ef8
Enable `f16` tests for `powf` The LLVM issue [1] was fixed with [2], which is included in the LLVM20 upgrade. Tests no longer fail, so enable them here. [1]: https://github.com/llvm/llvm-project/pull/98681 [2]: https://github.com/llvm/llvm-project/pull/98681
[ { "path": "library/std/tests/floats/f16.rs", "patch": "@@ -461,18 +461,16 @@ fn test_recip() {\n #[test]\n #[cfg(reliable_f16_math)]\n fn test_powi() {\n- // FIXME(llvm19): LLVM misoptimizes `powi.f16`\n- // <https://github.com/llvm/llvm-project/issues/98665>\n- // let nan: f16 = f16::NAN;\n- //...
2025-03-11T07:56:49
ggml-org/llama.cpp
7992aa7c8e21ea2eb7a5e4802da56eec7b376036
a1cfb645307edc61a89e41557f290f441043d3c2
tests : add unit test coverage for llama_tensor_get_type (#20112) * Add unit test coverage for llama_tensor_get_type * Fix merge conflicts, add more schemas * clang formatter changes * Trailing whitespace * Update name * Start rebase * Updating files with upstream changes prior to rebase * Changes needed from r...
[ { "path": "src/llama-ext.h", "patch": "@@ -1,12 +1,56 @@\n #pragma once\n \n-#include \"llama-context.h\"\n-#include \"ggml.h\"\n-#include \"stdint.h\"\n+#include \"llama.h\"\n+\n+#include <cstdint>\n \n // Reserve a new compute graph. It is valid until the next call to llama_graph_reserve.\n LLAMA_API stru...
2026-04-02T20:53:58
golang/go
1c7650aa93bd53b7df0bbb34693fc5a16d9f67af
1642cd78b540a9e489d076c819fe0220eb859183
internal/poll: use copy_file_range only on Linux kernel >= 5.3 https://man7.org/linux/man-pages/man2/copy_file_range.2.html#VERSIONS states: A major rework of the kernel implementation occurred in 5.3. Areas of the API that weren't clearly defined were clarified and the API bounds are much more strictly checke...
[ { "path": "src/internal/poll/copy_file_range_linux.go", "patch": "@@ -10,15 +10,60 @@ import (\n \t\"syscall\"\n )\n \n-var copyFileRangeSupported int32 = 1 // accessed atomically\n+var copyFileRangeSupported int32 = -1 // accessed atomically\n \n const maxCopyFileRangeRound = 1 << 30\n \n+func kernelVersio...
2020-11-09T10:25:38
nodejs/node
b3678dff520a18cc482e99b4d3e8a9242a4e812d
b3e53673b96cacb3d9321c289cd7e3c59ce021b4
dns: fix crash while setting server during query Fix this issue follow these two points: 1. Keep track of how many queries are currently open. If `setServers()` is called while there are open queries, error out. 2. For `Resolver` instances, use option 1. For dns.setServers(), just create a fresh new default cha...
[ { "path": "lib/dns.js", "patch": "@@ -380,28 +380,44 @@ function setServers(servers) {\n }\n }\n \n-const defaultResolver = new Resolver();\n+let defaultResolver = new Resolver();\n+\n+const resolverKeys = [\n+ 'getServers',\n+ 'resolve',\n+ 'resolveAny',\n+ 'resolve4',\n+ 'resolve6',\n+ 'resolveCna...
2017-11-15T07:09:33
huggingface/transformers
34b43211d782c00da6fef778dbfaff69bbf3f115
7405c1c77e4637768ea0ad5d27d8a4d8d67bfb19
Add YaRN and Dynamic-YaRN RoPE Scaling Methods (#30910) * Add YaRN and Dynamic-YaRN RoPE Scaling Methods YaRN (Yet another RoPE extension method) combines the NTK-By-Parts Interpolation and Attention Scaling methods, improving upon existing RoPE interpolation methods for longer context window sizes. Fine-tuned...
[ { "path": "src/transformers/models/falcon/modeling_falcon.py", "patch": "@@ -283,7 +283,6 @@ def __init__(self, config: FalconConfig):\n self.attention_dropout = nn.Dropout(config.attention_dropout)\n self.num_kv_heads = config.num_kv_heads if (self.new_decoder_architecture or not self.multi...
2024-07-23T09:07:58
rust-lang/rust
69a1bb8bdba5ccb76a72e35a69fde1937c287386
43e39260f9bc02e79891b87f346b456a069967f5
Error on `define_opaques` entries without any opaques actually referenced
[ { "path": "compiler/rustc_ast_lowering/src/item.rs", "patch": "@@ -1696,7 +1696,7 @@ impl<'hir> LoweringContext<'_, 'hir> {\n );\n return None;\n };\n- Some(did)\n+ Some((self.lower_span(path.span), did))\n });\n let define_op...
2025-02-25T10:31:11
ggml-org/llama.cpp
a1cfb645307edc61a89e41557f290f441043d3c2
5803c8d11529b08844d740c03d8b6603608654b1
ggml-webgpu: add vectorized flash attention (#20709) * naive vectorized version * add vectorized flash attention * update vec version * remove unused path and shader * remove unused helper functions * add comments * remove pad path * ggml-webgpu: fix flash-attn vec nwg=1 path and tighten vec specialization * c...
[ { "path": "ggml/src/ggml-webgpu/ggml-webgpu-shader-lib.hpp", "patch": "@@ -95,6 +95,12 @@ struct ggml_webgpu_generic_shader_decisions {\n uint32_t wg_size = 0;\n };\n \n+struct ggml_webgpu_processed_shader {\n+ std::string wgsl;\n+ std::string variant;\n+ std::shared_ptr<voi...
2026-04-02T17:40:42
ollama/ollama
620d5c569e965ac93ac5c58bca5d3d8938cb98bc
cddc63381cffcde5ab50877e831b7595cc6a6d6e
fix parsing big endian gguf
[ { "path": "llm/ggml.go", "patch": "@@ -231,8 +231,7 @@ const (\n \t// Magic constant for `ggla` files (LoRA adapter).\n \tFILE_MAGIC_GGLA = 0x67676C61\n \t// Magic constant for `gguf` files (versioned, gguf)\n-\tFILE_MAGIC_GGUF_LE = 0x46554747\n-\tFILE_MAGIC_GGUF_BE = 0x47475546\n+\tFILE_MAGIC_GGUF = 0x4655...
2024-06-08T19:32:02
nodejs/node
b3e53673b96cacb3d9321c289cd7e3c59ce021b4
00c5b063170336e7482e7605b514ab87fb7d538c
test: fix flaky test-benchmark-events Make sure each benchmark file only runs one combination of options. Allow for zero iterations for short benchmark. PR-URL: https://github.com/nodejs/node/pull/17472 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Da...
[ { "path": "test/parallel/test-benchmark-events.js", "patch": "@@ -4,4 +4,6 @@ require('../common');\n \n const runBenchmark = require('../common/benchmark');\n \n-runBenchmark('events', ['n=1']);\n+runBenchmark('events',\n+ ['argc=0', 'listeners=1', 'n=1'],\n+ { NODEJS_BENCHMARK_ZERO...
2017-12-05T17:19:31
huggingface/transformers
605f3245dcca34381c35520c35ba0b701ed80d58
2782aadae2b0b0c313eac3ee70f84f0335577635
Fix mask creations of `GPTNeoX` and `GPT2` (#31944) * fix mask creation of gpt2 and gpt_neox caused by me * forgot the reshape of masks when shape > 2 * add tests for gpt neox and gpt2 * nit on a comment
[ { "path": "src/transformers/models/gpt2/modeling_gpt2.py", "patch": "@@ -1030,18 +1030,18 @@ def forward(\n \n # Attention mask.\n _use_sdpa = self._attn_implementation == \"sdpa\" and output_attentions is False and head_mask is None\n- if attention_mask is not None:\n- att...
2024-07-23T08:11:12
ggml-org/llama.cpp
5803c8d11529b08844d740c03d8b6603608654b1
63f8fe0ef4d134378fcdd67f50b05dff3cee179b
tests: allow exporting graph ops from HF file without downloading weights (#21182) * tests: allow exporting graph ops from HF file without downloading weights * use unique_ptr for llama_context in HF metadata case * fix missing non-required tensors falling back to type f32 * use unique pointers where possible * us...
[ { "path": "common/arg.cpp", "patch": "@@ -537,9 +537,11 @@ static bool common_params_parse_ex(int argc, char ** argv, common_params_context\n } catch (const std::exception & e) {\n LOG_WRN(\"HF cache migration failed: %s\\n\", e.what());\n }\n+ // export_graph_ops loads only metadata\n+ ...
2026-04-02T16:19:20
nodejs/node
50afd901ea74b11352b4bc232c80cccede73f7fb
b73e66e94918aa89643b982cd3164100d02ec997
test: replace assert.throws with common.expectsError PR-URL: https://github.com/nodejs/node/pull/17445 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/addons-napi/test_error/test.js", "patch": "@@ -60,29 +60,26 @@ assert.throws(() => {\n test_error.throwTypeError();\n }, /^TypeError: type error$/);\n \n-assert.throws(\n+common.expectsError(\n () => test_error.throwErrorCode(),\n- common.expectsError({\n+ {\n code: 'ERR_TEST_CODE'...
2017-12-04T07:07:45
golang/go
9f39a43e0d728721d5a9e2586ce47a57585591c5
d36169120199e7f2b8c517fa6d82333496bb0a0a
crypto/tls: de-prioritize AES-GCM ciphers when lacking hardware support When either the server or client are lacking hardware support for AES-GCM ciphers, indicated by the server lacking the relevant instructions and by the client not putting AES-GCM ciphers at the top of its preference list, reorder the preference li...
[ { "path": "doc/go1.16.html", "patch": "@@ -294,6 +294,17 @@ <h3 id=\"crypto/tls\"><a href=\"/pkg/crypto/tls\">crypto/tls</a></h3>\n the list advertised by the client</a>.\n </p>\n \n+<p><!-- CL 262857 -->\n+ TLS servers will now prefer other AEAD cipher suites (such as ChaCha20Poly1305)\n+ over AES-GCM ...
2020-10-16T01:32:20
huggingface/transformers
96a074fa7e2c04b904f72d9e827398d4c5f90f25
bd9dca3b855b5a20ea11097b89c40f34d775f1c7
Add new quant method (#32047) * Add new quant method * update * fix multi-device * add test * add offload * style * style * add simple example * initial doc * docstring * style again * works ? * better docs * switch to non persistant * remove print * fix init * code revi...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -157,6 +157,8 @@\n title: EETQ\n - local: quantization/hqq\n title: HQQ\n+ - local: quantization/fbgemm_fp8\n+ title: FBGEMM_FP8\n - local: quantization/optimum\n title: Optimum\n - local: quantization/contribute", "additions": ...
2024-07-22T18:21:59
ggml-org/llama.cpp
63f8fe0ef4d134378fcdd67f50b05dff3cee179b
223373742bc1bd48e37b22192d1302f54d6f14bc
model, mtmd: fix gguf conversion for audio/vision mmproj (#21309) * fix gguf conversion for audio/vision mmproj * fix test
[ { "path": "common/chat-auto-parser-generator.cpp", "patch": "@@ -169,6 +169,8 @@ common_peg_parser analyze_tools::build_parser(parser_build_context & ctx) const\n return build_tool_parser_tag_json(ctx);\n case tool_format::TAG_WITH_TAGGED:\n return build_tool_parser_tag_tagge...
2026-04-02T15:10:32
ollama/ollama
030e765e7667526e6ee6f3fba2074bee3092a009
ce0dc33cb809405fda18a8077da4058d1f7a5374
fix create model when template detection errors
[ { "path": "llm/gguf.go", "patch": "@@ -618,22 +618,8 @@ func (llm *gguf) Encode(ws io.WriteSeeker, kv KV, tensors []Tensor) error {\n \t\t}\n \t}\n \n-\toffset, err := ws.Seek(0, io.SeekCurrent)\n-\tif err != nil {\n-\t\treturn err\n-\t}\n-\n \tvar alignment int64 = 32\n-\tpadding := llm.padding(offset, ali...
2024-06-07T15:55:46
golang/go
a2d01473aec0e9d19ff31bb9727dcc350d500e56
01cdd365a9c9e934d878553016377dc476c3fa4f
cmd/go: support cgo files in overlays This is a roll-forward of golang.org/cl/267197, which was reverted in golang.org/cl/267357. It makes the following changes in addition to the ones in the next paragraph: It avoids outputting trimpath arguments for an overlay unless the overlay affects the package being compiled (t...
[ { "path": "src/cmd/go/internal/work/exec.go", "patch": "@@ -8,6 +8,7 @@ package work\n \n import (\n \t\"bytes\"\n+\t\"cmd/go/internal/fsys\"\n \t\"context\"\n \t\"encoding/json\"\n \t\"errors\"\n@@ -2242,8 +2243,6 @@ func (b *Builder) ccompile(a *Action, p *load.Package, outfile string, flags []s\n \t// wh...
2020-11-03T18:12:19
rust-lang/rust
7475a3416bb7580ad2327c2f3cd4fd7105848bab
705421b52239d7393b4738764b192179d5c139c2
Stabilize `std::io::ErrorKind::InvalidFilename`
[ { "path": "library/std/src/io/error.rs", "patch": "@@ -373,8 +373,8 @@ pub enum ErrorKind {\n TooManyLinks,\n /// A filename was invalid.\n ///\n- /// This error can also cause if it exceeded the filename length limit.\n- #[unstable(feature = \"io_error_more\", issue = \"86442\")]\n+ //...
2024-12-09T12:31:32
huggingface/transformers
bd9dca3b855b5a20ea11097b89c40f34d775f1c7
817a676bd711f9626e13578068b36ef09cf572dc
set warning level to info for special tokens have been added (#32138) fixes #7002
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -2506,7 +2506,7 @@ def _from_pretrained(\n )\n \n if added_tokens_decoder != {} and max(list(added_tokens_decoder.keys())[-1], 0) > tokenizer.vocab_size:\n- logger.warning_advice(\n+ logger.info(\...
2024-07-22T17:42:47
ggml-org/llama.cpp
e15efe007dc1c0d79afa347190dba91de3bd659b
6137c325a16073c8bf68a52396a815006ccaa9a9
Relax prefill parser to allow space. (#21240) * Relax prefill parser to allow space. * Move changes from prefix() to parser generation * Only allow spaces if we're not having a pure content parser next
[ { "path": "common/chat-auto-parser-generator.cpp", "patch": "@@ -100,19 +100,22 @@ common_peg_arena autoparser::build_parser(const generation_params & inputs) cons\n \n bool has_tools = inputs.tools.is_array() && !inputs.tools.empty();\n bool has_response_format = inputs.json_schem...
2026-04-02T09:29:11
ollama/ollama
ce0dc33cb809405fda18a8077da4058d1f7a5374
78f81fc0e598fdb066e41608a8384d493308728e
llm: patch to fix qwen 2 temporarily on nvidia (#4897)
[ { "path": "llm/patches/06-qwen2.diff", "patch": "@@ -0,0 +1,13 @@\n+diff --git a/llama.cpp b/llama.cpp\n+index 40d2ec2c..f34eb79a 100644\n+--- a/llama.cpp\n++++ b/llama.cpp\n+@@ -6943,7 +6943,7 @@ static struct ggml_tensor * llm_build_kqv(\n+ struct ggml_tensor * kq = ggml_mul_mat(ctx, k, q);\n+ ...
2024-06-07T06:14:33
rust-lang/rust
8546e015b4a04e9c397478ae1e27a5370d2c638b
33f9a491eb97af0cc72df70fd10724eda2453d45
Add individual activity span availability FIXME
[ { "path": "compiler/rustc_builtin_macros/src/autodiff.rs", "patch": "@@ -586,6 +586,8 @@ mod llvm_enzyme {\n //\n // Error handling: If the user provides an invalid configuration (incorrect numbers, types, or\n // both), we emit an error and return the original signature. This allows us to conti...
2025-03-10T15:05:27
ggml-org/llama.cpp
4888137b1736b706e39806025d24e4ca342f1e4a
fbd441c37933550c1e3365dc84dd73232334c15d
sycl : fix llama_kv_cache hang when kv_cache is huge: 5GB (#21283)
[ { "path": "ggml/src/ggml-sycl/ggml-sycl.cpp", "patch": "@@ -569,9 +569,15 @@ static void ggml_backend_sycl_buffer_clear(ggml_backend_buffer_t buffer,\n SYCL_CHECK(\n CHECK_TRY_ERROR(dpct::get_current_device().queues_wait_and_throw()));\n \n- SYCL_CHECK(CHECK_TRY_ERROR((*stream)\n- ...
2026-04-02T07:08:32
golang/go
fdecb5c5b46a3f0b8f299d9069d428c656576dcb
858fa061aed447527fa5f451e7d611d8735f8cb6
crypto/tls: add HandshakeContext method to Conn Adds the (*tls.Conn).HandshakeContext method. This allows us to pass the context provided down the call stack to eventually reach the tls.ClientHelloInfo and tls.CertificateRequestInfo structs. These contexts are exposed to the user as read-only via Context() methods. T...
[ { "path": "doc/go1.16.html", "patch": "@@ -271,6 +271,21 @@ <h3 id=\"crypto/tls\"><a href=\"/pkg/crypto/tls\">crypto/tls</a></h3>\n indefinitely.\n </p>\n \n+<p><!-- CL 246338 -->\n+ <a href=\"/pkg/crypto/tls#Conn.HandshakeContext\">(*Conn).HandshakeContext</a> was added to\n+ allow the user to control ...
2020-08-01T11:18:31
huggingface/transformers
12b6880c81db7742a29ea425dcb9e63b7dbdc449
d1ec36b94f5ba45fb2423e74074cfedab48cfe73
fix: Fixed raising `TypeError` instead of `ValueError` for invalid type (#32111) * Raised TypeError instead of ValueError for invalid types. * Updated formatting using ruff. * Retrieved few changes. * Retrieved few changes. * Updated tests accordingly.
[ { "path": "examples/research_projects/distillation/grouped_batch_sampler.py", "patch": "@@ -59,7 +59,7 @@ class GroupedBatchSampler(BatchSampler):\n \n def __init__(self, sampler, group_ids, batch_size):\n if not isinstance(sampler, Sampler):\n- raise ValueError(\n+ raise T...
2024-07-22T16:46:17
ollama/ollama
60323e08057d36b617f11d3c4958d342a44d0342
d4a86102fd5f84cca50757af00296606ac191890
add embed model command and fix question invoke (#4766) * add embed model command and fix question invoke * Update docs/tutorials/langchainpy.md Co-authored-by: Kim Hallberg <hallberg.kim@gmail.com> * Update docs/tutorials/langchainpy.md --------- Co-authored-by: Kim Hallberg <hallberg.kim@gmail.com> C...
[ { "path": "docs/tutorials/langchainpy.md", "patch": "@@ -45,7 +45,7 @@ all_splits = text_splitter.split_documents(data)\n ```\n \n It's split up, but we have to find the relevant splits and then submit those to the model. We can do this by creating embeddings and storing them in a vector database. We can us...
2024-06-04T05:20:48
rust-lang/rust
33f9a491eb97af0cc72df70fd10724eda2453d45
cf8e1f5e0faed0a8f50ccfecedb1e4fad8d79191
Combine autodiff errors together
[ { "path": "compiler/rustc_builtin_macros/messages.ftl", "patch": "@@ -77,9 +77,8 @@ builtin_macros_autodiff_not_build = this rustc version does not support autodiff\n builtin_macros_autodiff_number_activities = expected {$expected} activities, but found {$found}\n builtin_macros_autodiff_ret_activity = inva...
2025-03-10T12:58:10
ggml-org/llama.cpp
fbd441c37933550c1e3365dc84dd73232334c15d
c30e012253dd9e322c8e3424f808a5c74ecc46bf
hexagon : add cumsum op support (#21246) * hexagon : add cumsum op support * hexagon: enable dma for cumsum op * Fix line-ending --------- Co-authored-by: Max Krasnyansky <maxk@qti.qualcomm.com>
[ { "path": "ggml/src/ggml-hexagon/ggml-hexagon.cpp", "patch": "@@ -2231,6 +2231,22 @@ static bool ggml_hexagon_supported_ssm_conv(const struct ggml_hexagon_session *\n return true;\n }\n \n+static bool ggml_hexagon_supported_cumsum(const struct ggml_hexagon_session * sess, const struct ggml_tensor * op) ...
2026-04-02T00:44:02
golang/go
858fa061aed447527fa5f451e7d611d8735f8cb6
8a368c63ec2d48e1c8965341c982987de96164fd
crypto/x509: return additional chains from Verify on Windows Previously windows only returned the certificate-chain with the highest quality. This change makes it so chains with a potentially lower quality originating from other root certificates are also returned by verify. Tests in verify_test flagged with systemLa...
[ { "path": "src/crypto/x509/root_windows.go", "patch": "@@ -155,6 +155,44 @@ func init() {\n \t}\n }\n \n+func verifyChain(c *Certificate, chainCtx *syscall.CertChainContext, opts *VerifyOptions) (chain []*Certificate, err error) {\n+\terr = checkChainTrustStatus(c, chainCtx)\n+\tif err != nil {\n+\t\treturn...
2020-10-13T23:05:43
huggingface/transformers
7ba028fccb82cbee792b67d596120da8ae9397c9
5a649ff3ecd70599dd0fea7ee430ba47b51a4556
Fix failing test with race condition (#32140) * Fix failing test with race condition * make fixup * monotonic_ns instead of randint * uuid4 instead of monotonic_ns * Add a finally cleanup step
[ { "path": "tests/models/auto/test_processor_auto.py", "patch": "@@ -20,6 +20,7 @@\n import unittest\n from pathlib import Path\n from shutil import copyfile\n+from uuid import uuid4\n \n from huggingface_hub import HfFolder, Repository, create_repo, delete_repo\n from requests.exceptions import HTTPError\n@...
2024-07-22T15:07:29
ollama/ollama
476fb8e89242720a7cdd57400ba928de4dde9cc1
829ff87bd1a98eff727003d3b24748f0f7d8c3ac
Limit GPU lib search for now (#4777) * fix oneapi errors on windows 10
[ { "path": "gpu/gpu.go", "patch": "@@ -16,13 +16,12 @@ import (\n \t\"os\"\n \t\"path/filepath\"\n \t\"runtime\"\n-\t\"strconv\"\n \t\"strings\"\n \t\"sync\"\n \t\"unsafe\"\n \n-\t\"github.com/ollama/ollama/format\"\n \t\"github.com/ollama/ollama/envconfig\"\n+\t\"github.com/ollama/ollama/format\"\n )\n \n t...
2024-06-02T02:24:33
rust-lang/rust
cf8e1f5e0faed0a8f50ccfecedb1e4fad8d79191
6b29bb6680e0df3bbcd8e9defdf0ad142e80cdf0
Fix ICE for invalid return activity and proper error handling
[ { "path": "compiler/rustc_builtin_macros/messages.ftl", "patch": "@@ -75,8 +75,10 @@ builtin_macros_autodiff_mode = unknown Mode: `{$mode}`. Use `Forward` or `Revers\n builtin_macros_autodiff_mode_activity = {$act} can not be used in {$mode} Mode\n builtin_macros_autodiff_not_build = this rustc version does...
2025-03-07T16:37:50
ggml-org/llama.cpp
95a6ebabb277c4cc18247e7bc2a5502133caca63
12dbf1da9558524b315bc47fae976fe90ec3a95e
opencl: fix leak in Adreno q8_0 path (#21212)
[ { "path": "ggml/src/ggml-opencl/ggml-opencl.cpp", "patch": "@@ -9612,6 +9612,9 @@ static void ggml_cl_mul_mat_q8_0_f32_adreno(ggml_backend_t backend, const ggml_t\n cl_mem B_image1d;\n cl_mem B_sub_buffer;\n cl_mem S_image1d;\n+ // for B transpose\n+ ...
2026-04-01T19:54:58
nodejs/node
b73e66e94918aa89643b982cd3164100d02ec997
aeddc3676bc9afe940106d34f30523f27b4cb44f
vm: never abort on caught syntax error Keep track of C++ `TryCatch` state to avoid aborting when an exception is thrown inside one, and re-throw in JS to make sure the exception is being picked up a second time by a second uncaught exception handler, if necessary. Add a bit of a hack to `AppendExceptionLine` to avoid...
[ { "path": "lib/vm.js", "patch": "@@ -22,7 +22,7 @@\n 'use strict';\n \n const {\n- ContextifyScript: Script,\n+ ContextifyScript,\n kParsingContext,\n \n makeContext,\n@@ -39,6 +39,19 @@ const {\n // - isContext(sandbox)\n // From this we build the entire documented API.\n \n+class Script extends Cont...
2017-11-29T19:55:43
golang/go
51f41688126afa1de7c4621777189bda17fd3090
cfea52b04c18761f9cc3168eff00690155aa6d17
crypto/x509: add additional convenience fields to CertificateRequest Adds the following additional convenience fields to CertificateRequest: * KeyUsage * ExtKeyUsage * UnknownExtKeyUsage * IsCA * MaxPathLen * BasicConstraintsValid * MaxPathLenZero * SubjectKeyId * PolicyIdentifier These fields are parsed during Parse...
[ { "path": "src/crypto/x509/x509.go", "patch": "@@ -1338,36 +1338,17 @@ func parseCertificate(in *certificate) (*Certificate, error) {\n \t\tif len(e.Id) == 4 && e.Id[0] == 2 && e.Id[1] == 5 && e.Id[2] == 29 {\n \t\t\tswitch e.Id[3] {\n \t\t\tcase 15:\n-\t\t\t\t// RFC 5280, 4.2.1.3\n-\t\t\t\tvar usageBits as...
2020-05-10T18:23:58
huggingface/transformers
5a649ff3ecd70599dd0fea7ee430ba47b51a4556
f2a1e3ca684df624016285266a0ae519e4483be7
[generate] fix eos/pad id check on mps devices (#31695) Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com>
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -1542,10 +1542,7 @@ def _tensor_or_none(token, device=None):\n logger.warning(f\"Setting `pad_token_id` to `eos_token_id`:{pad_token_tensor} for open-end generation.\")\n \n # we can't infer attn mask if pad token is set to b...
2024-07-22T13:18:48
ggml-org/llama.cpp
12dbf1da9558524b315bc47fae976fe90ec3a95e
86221cf6dace86f47d896a38e0de652db4aa81a8
server: Bypass API Key validation for WebUI static bundle assets (#21269) * fix: Bypass API Key validation for static bundle assets * refactor: All bypassed routes in `public_endpoints` * test: Update static assets API Key test
[ { "path": "tools/server/server-http.cpp", "patch": "@@ -143,16 +143,20 @@ bool server_http_context::init(const common_params & params) {\n \"/v1/health\",\n \"/models\",\n \"/v1/models\",\n- \"/api/tags\"\n+ \"/api/tags\",\n+ \"/\",\n+ ...
2026-04-01T19:32:15
ollama/ollama
763bb65dbb88004cd046c8acc0c8e889816e1828
7ca9605f54105d3209ad72397f96040b381b8ad2
use `int32_t` for call to tokenize (#4738) * use `int32_t` for call to tokenize * variable naming * cleanup * fix crash
[ { "path": "llm/llm.go", "patch": "@@ -63,12 +63,27 @@ func (llm *llamaModel) Tokenize(s string) []int {\n \tcs := C.CString(s)\n \tdefer C.free(unsafe.Pointer(cs))\n \n-\ttokens := make([]int, len(s)+2)\n-\tif n := C.llama_tokenize(llm.m, cs, C.int(len(s)), (*C.llama_token)(unsafe.Pointer(&tokens[0])), C.in...
2024-05-31T04:43:30
huggingface/transformers
0fcfc5ccc968ff5a1a439db04a94f566a0bd1d89
c38c55f4fbc0163cc02ef4588fe2ec391171a2f0
fix: Replaced deprecated `mktemp()` function (#32123) Replaced deprecated mktemp function.
[ { "path": "tests/utils/test_image_utils.py", "patch": "@@ -513,7 +513,7 @@ def test_load_img_local(self):\n \n def test_load_img_base64_prefix(self):\n try:\n- tmp_file = tempfile.mktemp()\n+ tmp_file = tempfile.NamedTemporaryFile(delete=False).name\n with open(...
2024-07-22T13:13:39
nodejs/node
aeddc3676bc9afe940106d34f30523f27b4cb44f
92011e417cedea93907987445058b4d7e30e4325
src: remove tracking for exception arrow data This is unnecessary since we only run `AppendExceptionLine()` once per exception at this point anyway. PR-URL: https://github.com/nodejs/node/pull/17394 Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "src/env.h", "patch": "@@ -91,7 +91,6 @@ class ModuleWrap;\n V(contextify_global_private_symbol, \"node:contextify:global\") \\\n V(decorated_private_symbol, \"node:decorated\") \\\n V(npn_buffer_private_symbol, \"node:npnBuffer\") ...
2017-11-29T22:40:18
golang/go
cfea52b04c18761f9cc3168eff00690155aa6d17
a444458112e4059e73c9a5a2bc5867f53bf9faa2
runtime: disable TestCrashDumpsAllThreads on openbsd/mips64 This test fails consistently on openbsd/mips64 - disable it until we can investigate and resolve the issue. Updates #42464 Change-Id: Ie640f776823137a967a12817ff18953207f558a4 Reviewed-on: https://go-review.googlesource.com/c/go/+/268438 Trust: Joel Sing <j...
[ { "path": "src/runtime/crash_unix_test.go", "patch": "@@ -70,6 +70,10 @@ func TestCrashDumpsAllThreads(t *testing.T) {\n \t\tt.Skipf(\"skipping; not supported on %v\", runtime.GOOS)\n \t}\n \n+\tif runtime.GOOS == \"openbsd\" && runtime.GOARCH == \"mips64\" {\n+\t\tt.Skipf(\"skipping; test fails on %s/%s - ...
2020-11-09T16:42:18
ggml-org/llama.cpp
86221cf6dace86f47d896a38e0de652db4aa81a8
6de97b9d3ef7e5160083d3fecd98775ce959684e
CUDA: fix FA kernel selection logic (#21271)
[ { "path": "ggml/src/ggml-cuda/fattn.cu", "patch": "@@ -340,7 +340,14 @@ static best_fattn_kernel ggml_cuda_get_best_fattn_kernel(const int device, const\n case 128:\n case 112:\n case 256:\n+ if (V->ne[0] != K->ne[0]) {\n+ return BEST_FATTN_KERNEL_NONE;\n+ ...
2026-04-01T19:28:19
huggingface/transformers
aa8f86a421e23fe41b6333efc11ea4248e098d83
b3818805978b411713725a1b7470dc1bda073c29
Fix shard order (#32023)
[ { "path": "src/transformers/models/llama/convert_llama_weights_to_hf.py", "patch": "@@ -161,7 +161,7 @@ def permute(w, n_heads, dim1=dim, dim2=dim):\n # Sharded\n loaded = [\n torch.load(os.path.join(input_base_path, file), map_location=\"cpu\")\n- for file in os.listd...
2024-07-22T12:06:22
golang/go
a444458112e4059e73c9a5a2bc5867f53bf9faa2
979e1376096a4c1c7525f33dd4e76414f63c93fb
cmd/compile: make sure linkname'd symbol is non-package When a variable symbol is both imported (possibly through inlining) and linkname'd, make sure its LSym is marked as non-package for symbol indexing in the object file, so it is resolved by name and dedup'd with the original definition. Fixes #42401. Change-Id: ...
[ { "path": "src/cmd/compile/internal/gc/gsubr.go", "patch": "@@ -302,6 +302,12 @@ func ggloblnod(nam *Node) {\n \tif nam.Name.LibfuzzerExtraCounter() {\n \t\ts.Type = objabi.SLIBFUZZER_EXTRA_COUNTER\n \t}\n+\tif nam.Sym.Linkname != \"\" {\n+\t\t// Make sure linkname'd symbol is non-package. When a symbol is\...
2020-11-07T03:46:18
nodejs/node
92011e417cedea93907987445058b4d7e30e4325
2475676995ab04cb821a5bdb4d39cc4ecba70205
2017-12-05, Version 8.9.2 'Carbon' (LTS) Notable Changes: - **console**: - avoid adding infinite error listeners (Matteo Collina) [#16770](https://github.com/nodejs/n de/pull/16770) - **http2**: - improve errors thrown in header validation (Joyee Cheung) [#16718](https://github.com/nodej s/node/pull/16718) PR-UR...
[ { "path": "CHANGELOG.md", "patch": "@@ -34,7 +34,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V9.md#9.0.0\">9.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V8.md#8.9.1\">8.9.1</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V8.md#8.9.2\">8.9.2</a></b><...
2017-11-21T22:47:13
ggml-org/llama.cpp
8710e5f9b9bd7246608808ccd3626bde8abf6ff9
1d6d4cf7a5361046f778414c5b1f5ecbc07eeb77
hexagon: improve RMS_NORM and DIV accuracy (#21251) * hexagon-rms_norm: fix RMS_NORM for non-aligned tensor sizes Co-authored-by: Krishna Sridhar <srsr@qti.qualcomm.com> * hexagon-div: perform DIV in fp16 domain for lower dsp archs --------- Co-authored-by: Krishna Sridhar <srsr@qti.qualcomm.com>
[ { "path": "ggml/src/ggml-hexagon/htp/hvx-div.h", "patch": "@@ -16,8 +16,10 @@\n \n #if __HVX_ARCH__ < 79\n #define HVX_OP_MUL_F32(a, b) Q6_Vsf_equals_Vqf32(Q6_Vqf32_vmpy_VsfVsf(a, b))\n+#define HVX_OP_MUL_F16(a, b) Q6_Vhf_equals_Wqf32(Q6_Wqf32_vmpy_VhfVhf(a, b))\n #else\n #define HVX_OP_MUL_F32(a, b) Q6_Vsf...
2026-04-01T15:43:08