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
nodejs/node
a0ec1e668c5beea02418ed7c3d205df07fd7b834
87ee0b640e01209a648418a95174d40610b4026b
test: replace common.fixturesDir with fixtures PR-URL: https://github.com/nodejs/node/pull/15857 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "test/parallel/test-tls-client-resume.js", "patch": "@@ -30,11 +30,11 @@ if (!common.hasCrypto)\n \n const assert = require('assert');\n const tls = require('tls');\n-const fs = require('fs');\n+const fixtures = require('../common/fixtures');\n \n const options = {\n- key: fs.readFileSync(`${comm...
2017-10-06T16:57:20
rust-lang/rust
014fe0b9c13dab5fc5f9a3f7b9677ff8b7f35602
1d166d499e64e783779e7bfe817a2762bac6df6e
fix - only use simd_shuffle! on intrinsics that require it
[ { "path": "library/stdarch/crates/stdarch-gen-arm/src/big_endian.rs", "patch": "@@ -30,27 +30,15 @@ pub fn create_symbol_identifier(arbitrary_string: &str) -> Expression {\n /// ```\n /// [0, 1, 2, 3]\n /// ```\n-fn create_array(lanes: u32, reverse: bool) -> Option<String> {\n- if reverse {\n- mat...
2025-02-18T15:40:24
huggingface/transformers
48795317a21e9128d3ca877657acd855e9ba8477
de11d0bdf0286f64616ea0d4b5778c41151a2d22
[test fetcher] Always include the directly related test files (#30050) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "utils/tests_fetcher.py", "patch": "@@ -958,10 +958,25 @@ def has_many_models(tests):\n model_tests = {Path(t).parts[2] for t in tests if t.startswith(\"tests/models/\")}\n return len(model_tests) > num_model_tests // 2\n \n- def filter_tests(tests):\n- return [t for t in...
2024-04-05T12:30:36
ggml-org/llama.cpp
4164596c76cb4f62322fd1ff9d157cee5ba97b23
ef83fb8601229ff650d952985be47e82d644bfaa
llama-fit-params: QoL impr. for prints/errors (#18089)
[ { "path": "tools/fit-params/fit-params.cpp", "patch": "@@ -4,7 +4,11 @@\n #include \"common.h\"\n #include \"log.h\"\n \n-#include <iostream>\n+#include <chrono>\n+#include <cinttypes>\n+#include <thread>\n+\n+using namespace std::chrono_literals;\n \n #if defined(_MSC_VER)\n #pragma warning(disable: 4244 4...
2025-12-16T23:03:19
golang/go
8d91d736e2eb518e0a95eb47ae463c0dd80827c4
d3a411b6debccb665da3497e7fa597c9a5ff16f1
cmd/dist: ignore _test.s files in bootstrap Ignore all _test.s files in bootstrap, not only the ARM64 one. They are for testing only. Fixes #40855. Change-Id: I00e6b4ab5349e317c9ad3a503997de85aed49373 Reviewed-on: https://go-review.googlesource.com/c/go/+/249018 Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "src/cmd/dist/buildtool.go", "patch": "@@ -113,14 +113,15 @@ var ignorePrefixes = []string{\n \n // File suffixes that use build tags introduced since Go 1.4.\n // These must not be copied into the bootstrap build directory.\n+// Also igonore test files.\n var ignoreSuffixes = []string{\n \t\"_arm...
2020-08-18T16:01:41
huggingface/transformers
de11d0bdf0286f64616ea0d4b5778c41151a2d22
4207a4076d1bef446402edeba7297a58d4389157
Update quantizer_bnb_4bit.py: In the ValueError string there should be "....you need to set `llm_int8_enable_fp32_cpu_offload=True`...." instead of "`load_in_8bit_fp32_cpu_offload=True`". (#30013) * Update quantizer_bnb_4bit.py There is an mistake in ValueError on line 86 of quantizer_bnb_4bit.py. In the error stri...
[ { "path": "src/transformers/quantizers/quantizer_bnb_4bit.py", "patch": "@@ -87,7 +87,7 @@ def validate_environment(self, *args, **kwargs):\n \"\"\"\n Some modules are dispatched on the CPU or the disk. Make sure you have enough GPU RAM to fit the\n ...
2024-04-05T12:04:50
rust-lang/rust
b95fc44d25e34023d1c4ffea07cfcbbcf6f05c73
2ab46242f0545dbacd5dc34df30609a7eb39bfc3
fix up yaml & re-generate
[ { "path": "library/stdarch/crates/core_arch/src/arm_shared/neon/mod.rs", "patch": "@@ -11029,924 +11029,504 @@ mod tests {\n unsafe fn test_vceq_s8() {\n test_cmp_s8(\n |i, j| vceq_s8(i, j),\n- |a: i8, b: i8| -> u8 {\n- if a == b {\n- 0xFF...
2025-02-11T17:35:39
ggml-org/llama.cpp
ef83fb8601229ff650d952985be47e82d644bfaa
ec98e20021f7611db3bbcf6bb6629fed6e1ce4f0
model: fix LFM2 missing tensors (#18105)
[ { "path": "src/llama-model.cpp", "patch": "@@ -6236,8 +6236,8 @@ bool llama_model::load_tensors(llama_model_loader & ml) {\n {\n tok_embd = create_tensor(tn(LLM_TENSOR_TOKEN_EMBD, \"weight\"), {n_embd, n_vocab}, 0);\n \n- output_norm = create_tensor(tn(...
2025-12-16T18:07:43
golang/go
d3a411b6debccb665da3497e7fa597c9a5ff16f1
bd519d0c8734c3e30cb1a8b8217dd9934cd61e25
internal/poll: treat copy_file_range EOPNOTSUPP as not-handled Fixes #40731 Change-Id: I3e29878d597318acf5edcc38497aa2624f72be35 Reviewed-on: https://go-review.googlesource.com/c/go/+/248258 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Emmanuel Odeke <emm.o...
[ { "path": "src/internal/poll/copy_file_range_linux.go", "patch": "@@ -41,7 +41,7 @@ func CopyFileRange(dst, src *FD, remain int64) (written int64, handled bool, err\n \t\t\t// use copy_file_range(2) again.\n \t\t\tatomic.StoreInt32(&copyFileRangeSupported, 0)\n \t\t\treturn 0, false, nil\n-\t\tcase syscall....
2020-08-12T19:09:35
huggingface/transformers
4207a4076d1bef446402edeba7297a58d4389157
1ab71364886010c31b20dd8c8bb0c60f8a0681ad
[bnb] Fix offload test (#30039) fix bnb test
[ { "path": "tests/quantization/bnb/test_mixed_int8.py", "patch": "@@ -100,6 +100,8 @@ class BaseMixedInt8Test(unittest.TestCase):\n # Expected values on a A10\n EXPECTED_OUTPUTS.add(\"Hello my name is John.\\nI am a friend of your father.\\n\")\n MAX_NEW_TOKENS = 10\n+ # Expected values with o...
2024-04-05T11:11:28
rust-lang/rust
bec322f99059bdbccd68cf83a976de343f97bf31
443d1cdbf07f03df3ba18c6f797c21a022147cf6
fix test runner for armv7
[ { "path": "library/stdarch/crates/intrinsic-test/src/argument.rs", "patch": "@@ -226,7 +226,7 @@ impl ArgumentList {\n ty = arg.to_c_type(),\n name = arg.name,\n load = if arg.is_simd() {\n- arg.ty.get_load_fu...
2025-02-11T15:36:05
ggml-org/llama.cpp
ec98e20021f7611db3bbcf6bb6629fed6e1ce4f0
59977eba7b0a3603d0017717d3beec7bde018f3c
llama: fix early stop in params_fit if ctx is set (#18070)
[ { "path": "src/llama.cpp", "patch": "@@ -241,6 +241,13 @@ static void llama_params_fit_impl(\n global_surplus += memory_reduction;\n LLAMA_LOG_INFO(\"%s: context size reduced from %\" PRIu32 \" to %\" PRIu32 \" -> need %\" PRId64 \" MiB less memory in total\\n\",\n ...
2025-12-16T13:24:00
golang/go
ac875bc923db2b7350f244f06a06557e6fd97e05
98a0071a5363e307c2e284034f810378de3883dd
cmd/compile: don't bother to declare closure inside redeclared func Fixes #17758 Change-Id: I75f5dc5be85fd8a6791ac89dfc0681be759cca36 Reviewed-on: https://go-review.googlesource.com/c/go/+/248517 Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Go...
[ { "path": "src/cmd/compile/internal/gc/closure.go", "patch": "@@ -108,7 +108,17 @@ func typecheckclosure(clo *Node, top int) {\n \n \txfunc.Func.Nname.Sym = closurename(Curfn)\n \tdisableExport(xfunc.Func.Nname.Sym)\n-\tdeclare(xfunc.Func.Nname, PFUNC)\n+\tif xfunc.Func.Nname.Sym.Def != nil {\n+\t\t// The o...
2020-08-14T17:44:58
huggingface/transformers
d704c0b698659ea5f22b6b6efb614b8580b726b2
79d62b2da227b39619afa7f3a86d8aeb95e0f4fa
Fix mixtral ONNX Exporter Issue. (#29858) * fix mixtral onnx export * fix qwen model
[ { "path": "src/transformers/models/mixtral/modeling_mixtral.py", "patch": "@@ -871,15 +871,11 @@ def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:\n if top_x.shape[0] == 0:\n continue\n \n- # in torch it is faster to index using lists than torch tensors\n...
2024-04-05T07:49:42
rust-lang/rust
443d1cdbf07f03df3ba18c6f797c21a022147cf6
f4974ae1ed9ea91001c3e1fc0be6885ffc1b2c90
fix non-working intrinsics
[ { "path": "library/stdarch/crates/core_arch/src/arm/neon.rs", "patch": "@@ -1,9 +1,136 @@\n use crate::core_arch::arm_shared::neon::*;\n \n+#[cfg(test)]\n+use stdarch_test::assert_instr;\n+\n #[allow(improper_ctypes)]\n unsafe extern \"unadjusted\" {\n #[link_name = \"llvm.arm.neon.vbsl.v8i8\"]\n fn...
2025-02-11T15:35:26
ggml-org/llama.cpp
59977eba7b0a3603d0017717d3beec7bde018f3c
79dbae034afdfaa8e17989ea1b9b20094c8d0a36
server: fix crash when batch > ubatch with embeddings (#17912) * server: fix crash when batch > ubatch with embeddings (#12836) Fixes #12836 where the server crashes with GGML_ASSERT failure when running with embeddings enabled and n_batch > n_ubatch. Root cause: Embeddings use non-causal attention which requires al...
[ { "path": "tools/server/server.cpp", "patch": "@@ -73,8 +73,18 @@ int main(int argc, char ** argv, char ** envp) {\n return 1;\n }\n \n+ // validate batch size for embeddings\n+ // embeddings require all tokens to be processed in a single ubatch\n+ // see https://github.com/ggml-org/lla...
2025-12-16T12:27:36
ollama/ollama
f0d7c2f5ea1d2654cde8c87ca43accb715a5879e
12052a7624413b4c2655c30161778b61cd71d316
retry download on network errors
[ { "path": "server/download.go", "patch": "@@ -25,17 +25,27 @@ type FileDownload struct {\n \n var inProgress sync.Map // map of digests currently being downloaded to their current download progress\n \n+type downloadOpts struct {\n+\tmp ModelPath\n+\tdigest string\n+\tregOpts *RegistryOptions\n+\tfn ...
2023-08-15T18:07:19
nodejs/node
87ee0b640e01209a648418a95174d40610b4026b
3784b2d839c4918202359ec90bed40ede553f74c
test: use fixtures module in test Instead of using common.fixturesDir, uses the fixtures module in test-http-get-pipeline-problem. PR-URL: https://github.com/nodejs/node/pull/16117 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Rich Trott <rtrott@gmai...
[ { "path": "test/parallel/test-http-get-pipeline-problem.js", "patch": "@@ -24,6 +24,7 @@\n // after http.globalAgent.maxSockets number of files.\n // See https://groups.google.com/forum/#!topic/nodejs-dev/V5fB69hFa9o\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n ...
2017-10-06T16:50:17
golang/go
84a62453e5c01df3f7d0c48d9aca32832c2052c1
e7c7ce646f37b260fe5a5635bc52243d28125dd8
cmd/compile: remove unnecessary error condition on reading fingerprint io.ReadFull guarantees n == len(buf) if and only if err == nil, so the length check is redundant. Change-Id: I15bff97868e27a65648acd791883cac8dab77630 Reviewed-on: https://go-review.googlesource.com/c/go/+/232988 Run-TryBot: Cherry Zhang <cherryyz...
[ { "path": "src/cmd/compile/internal/gc/iimport.go", "patch": "@@ -191,9 +191,9 @@ func iimport(pkg *types.Pkg, in *bio.Reader) (fingerprint goobj.FingerprintType)\n \t\t}\n \t}\n \n-\t// Fingerprint\n-\tn, err := io.ReadFull(in, fingerprint[:])\n-\tif err != nil || n != len(fingerprint) {\n+\t// Fingerprint...
2020-05-08T21:12:45
huggingface/transformers
79d62b2da227b39619afa7f3a86d8aeb95e0f4fa
8b52fa6b4209c79e623fc3cc2c4756758c920c3c
if output is tuple like facebook/hf-seamless-m4t-medium, waveform is … (#29722) * if output is tuple like facebook/hf-seamless-m4t-medium, waveform is the first element Signed-off-by: Wang, Yi <yi.a.wang@intel.com> * add test and fix batch issue Signed-off-by: Wang, Yi <yi.a.wang@intel.com> * add dict outp...
[ { "path": "src/transformers/models/seamless_m4t/modeling_seamless_m4t.py", "patch": "@@ -3496,7 +3496,6 @@ def generate(\n self.device\n )\n kwargs_speech[\"decoder_input_ids\"] = t2u_decoder_input_ids\n-\n # second generation\n unit_ids = self.t2u_model.generate(...
2024-04-05T07:26:44
ggml-org/llama.cpp
7f2b2f3c778f430edc57d5728641317e9ac5a505
7b1db3d3b770d0affbf3aadee033e1614280085f
arch: refactor LLM_TENSOR_NAMES (#18051) * arch: refactor LLM_TENSOR_NAMES * update docs * typo * fix LLM_ARCH_NEMOTRON_H_MOE * show more meaningful error message on missing tensor * fix and tested LLM_ARCH_NEMOTRON_H_MOE
[ { "path": "docs/development/HOWTO-add-model.md", "patch": "@@ -97,7 +97,7 @@ The model params and tensors layout must be defined in `llama.cpp` source files:\n 1. Define a new `llm_arch` enum value in `src/llama-arch.h`.\n 2. In `src/llama-arch.cpp`:\n - Add the architecture name to the `LLM_ARCH_NAMES`...
2025-12-16T12:22:30
ollama/ollama
76b85bc0e97e7499e100ecb2001c9573aeaba68b
2ab20095b321b101cde396e4580fbc0cc09a9061
set non-zero error code on error
[ { "path": "cmd/cmd.go", "patch": "@@ -75,6 +75,7 @@ func CreateHandler(cmd *cobra.Command, args []string) error {\n \t\t\tspinner = NewSpinner(resp.Status)\n \t\t\tgo spinner.Spin(100 * time.Millisecond)\n \t\t}\n+\n \t\treturn nil\n \t}\n \n@@ -84,6 +85,9 @@ func CreateHandler(cmd *cobra.Command, args []st...
2023-08-14T18:15:53
nodejs/node
152bf22d02e6626a00444dd0c475f4457c006c44
adbc5d7d57c17a8eb7ce69ad763394ade55202c3
test: switch to fixtures module In test-file-read-noexist, switch from common.fixturesDir to the fixtures module. PR-URL: https://github.com/nodejs/node/pull/15880 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: ...
[ { "path": "test/parallel/test-file-read-noexist.js", "patch": "@@ -21,11 +21,11 @@\n \n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n-const path = require('path');\n const fs = require('fs');\n \n-const filename =...
2017-10-06T16:53:34
huggingface/transformers
517a3e670d8fc11374895e870dd0dd041467c7fe
75b76a5ea461ace0d141d3415879439ae9bbfc22
Refactor Cohere Model (#30027) * changes * addressing comments * smol fix
[ { "path": "src/transformers/models/cohere/configuration_cohere.py", "patch": "@@ -85,6 +85,8 @@ class CohereConfig(PretrainedConfig):\n Whether to use a bias in the query, key, value and output projection layers during self-attention.\n attention_dropout (`float`, *optional*, defaults to...
2024-04-04T10:46:20
golang/go
fe23ba4a145ce8465d16ea2a92b9a7e96e15c28e
d36bc7d78ad226b20056c08fb8bca041e25b3d1d
runtime: eliminate scase.kind field Currently, we include a "kind" field on scase to distinguish the three kinds of cases in a select statement: sends, receives, and defaults. This commit removes by kind field by instead arranging for the compiler to always place sends before receives, and to provide their counts sep...
[ { "path": "src/cmd/compile/internal/gc/builtin.go", "patch": "@@ -302,7 +302,7 @@ func runtimeTypes() []*types.Type {\n \ttyps[96] = types.NewPtr(typs[6])\n \ttyps[97] = functype(nil, []*Node{anonfield(typs[3]), anonfield(typs[96]), anonfield(typs[84])}, []*Node{anonfield(typs[6])})\n \ttyps[98] = functype(...
2020-07-27T23:19:15
ggml-org/llama.cpp
fb644247de14c616b10deb5e6b17e6f4230f0601
5f5f9b46376ac14d7f95b0d968c182f522602880
CLI: fixed adding cli and completion into docker containers, improved docs (#18003) Co-authored-by: Andrew Aladjev <andrew.aladjev@gmail.com>
[ { "path": ".devops/cann.Dockerfile", "patch": "@@ -107,7 +107,7 @@ ENTRYPOINT [\"/app/tools.sh\"]\n # ENTRYPOINT [\"/app/llama-server\"]\n \n ### Target: light\n-# Lightweight image containing only llama-cli\n+# Lightweight image containing only llama-cli and llama-completion\n # ===========================...
2025-12-16T10:52:23
huggingface/transformers
75b76a5ea461ace0d141d3415879439ae9bbfc22
4e6c5eb0450feeccdfac399805b247f64352bd88
[`ProcessingIdefics`] Attention mask bug with padding (#29449) * Defaulted IdeficsProcessor padding to 'longest', removed manual padding * make fixup * Defaulted processor call to padding=False * Add padding to processor call in IdeficsModelIntegrationTest as well * Defaulted IdeficsProcessor padding to 'l...
[ { "path": "src/transformers/models/idefics/processing_idefics.py", "patch": "@@ -149,7 +149,7 @@ def __init__(self, image_processor, tokenizer=None, image_size=224, add_end_of_u\n def __call__(\n self,\n prompts: Union[List[TextInput], List[List[TextInput]]],\n- padding: Union[boo...
2024-04-04T09:11:09
nodejs/node
adbc5d7d57c17a8eb7ce69ad763394ade55202c3
f170f8493c067d661957599d7278cb467ea06736
test: rewrite assert message `test/parallel/test-zlib-unzip-one-byte-chunks.js` uses a literal string to describe the error if the string does not match itself after zipping and unzipping. Changed to a more descriptive template literal. PR-URL: https://github.com/nodejs/node/pull/15879 Reviewed-By: James M Snell <jas...
[ { "path": "test/parallel/test-zlib-unzip-one-byte-chunks.js", "patch": "@@ -17,7 +17,9 @@ const unzip = zlib.createUnzip()\n .on('data', (data) => resultBuffers.push(data))\n .on('finish', common.mustCall(() => {\n assert.deepStrictEqual(Buffer.concat(resultBuffers).toString(), 'abcdef',\n- ...
2017-10-06T16:55:06
golang/go
d36bc7d78ad226b20056c08fb8bca041e25b3d1d
8a984e8e3f2cf4101f448ea9b9d9880b9e83c11e
runtime: split PCs out of scase Per-case PCs are only needed for race detector builds, so this allows skipping allocating stack space for them for non-race builds. It's possible to arrange the PCs and order arrays consecutively in memory so that we could just reuse the order0 pointer to identify both. However, there'...
[ { "path": "src/cmd/compile/internal/gc/builtin.go", "patch": "@@ -126,74 +126,74 @@ var runtimeDecls = [...]struct {\n \t{\"selectnbsend\", funcTag, 94},\n \t{\"selectnbrecv\", funcTag, 95},\n \t{\"selectnbrecv2\", funcTag, 97},\n-\t{\"selectsetpc\", funcTag, 62},\n-\t{\"selectgo\", funcTag, 98},\n+\t{\"sel...
2020-07-27T22:20:18
ggml-org/llama.cpp
5f5f9b46376ac14d7f95b0d968c182f522602880
3d86c6c2b546ae5ce9cdee3ca0ac4a8181e0a073
server: Update README.md incorrect argument (#18073) n-gpu-layer is incorrect argument is n-gpu-layers with the 's'
[ { "path": "tools/server/README.md", "patch": "@@ -1430,7 +1430,7 @@ Model presets allow advanced users to define custom configurations using an `.in\n llama-server --models-preset ./my-models.ini\n ```\n \n-Each section in the file defines a new preset. Keys within a section correspond to command-line argum...
2025-12-16T10:50:43
rust-lang/rust
7bf6fc16f24902d5efc5fc2c5ba6b72840a239b9
ad27045c31a9f37ad7d44ca2a403de52d1a896d3
tests: add variance test for const traits Added to demonstrate change in output in following commit. Many more interesting tests change with different output, missing errors, new errors, etc related to this but they all depend on feature flags and are much more complex than this.
[ { "path": "tests/ui/traits/const-traits/variance.rs", "patch": "@@ -0,0 +1,14 @@\n+#![feature(rustc_attrs, const_trait_impl)]\n+#![allow(internal_features)]\n+#![rustc_variance_of_opaques]\n+\n+#[const_trait]\n+trait Foo {}\n+\n+impl const Foo for () {}\n+\n+fn foo<'a: 'a>() -> impl const Foo {}\n+//~^ ERRO...
2025-02-24T09:49:06
ollama/ollama
6ed991c8e2ad6b3df201dd5d453be62464be5fe6
e41576e768e48afab0087eae73dc5d869c94c542
ggml: fix off by one error remove used Unknown FileType
[ { "path": "llm/ggml.go", "patch": "@@ -29,15 +29,14 @@ const (\n \tFileTypeQ4_0\n \tFileTypeQ4_1\n \tFileTypeQ4_1_F16\n-\tFileTypeQ8_0 = iota + 3\n+\tFileTypeQ8_0 = iota + 2\n \tFileTypeQ5_0\n \tFileTypeQ5_1\n \tFileTypeQ2_K\n \tFileTypeQ3_K\n \tFileTypeQ4_K\n \tFileTypeQ5_K\n \tFileTypeQ6_K\n-\tFileTypeUnk...
2023-08-11T17:45:19
huggingface/transformers
4e6c5eb0450feeccdfac399805b247f64352bd88
03732dea60fba1da78c79eb59c443ebf975c2be6
Add a converter from mamba_ssm -> huggingface mamba (#29705) * implement convert_mamba_ssm_checkpoint_to_pytorch * Add test test_model_from_mamba_ssm_conversion * moved convert_ssm_config_to_hf_config to inside mamba_ssm_available check * fix skipif clause * moved skips to inside test since skipif decorato...
[ { "path": "src/transformers/models/mamba/convert_mamba_ssm_checkpoint_to_pytorch.py", "patch": "@@ -0,0 +1,153 @@\n+# coding=utf-8\n+# Copyright 2024 state-spaces/mamba org and HuggingFace Inc. team.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file exce...
2024-04-04T08:29:32
nodejs/node
f170f8493c067d661957599d7278cb467ea06736
e399abd5823b5428e3f3752b3f16f75c302ae471
test: change fixturesDir to fixtures.path PR-URL: https://github.com/nodejs/node/pull/15863 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "test/sequential/test-init.js", "patch": "@@ -49,7 +49,7 @@ function test(file, expected) {\n \n {\n // test-init-index is in fixtures dir as requested by ry, so go there\n- process.chdir(common.fixturesDir);\n+ process.chdir(fixtures.path());\n test('test-init-index', 'Loaded successfully!'...
2017-10-06T16:51:12
golang/go
cdc77d34d7770ed02d84b9193380f9646017dce6
93eeb819cab491d4e429b7aa85a864a045979a18
testing: treat PAUSE lines as changing the active test name We could instead fix cmd/test2json to treat PAUSE lines as *not* changing the active test name, but that seems like it would be more confusing to humans, and also wouldn't fix tools that parse output using existing builds of cmd/test2json. Fixes #40657 Chan...
[ { "path": "src/cmd/go/testdata/script/test_json_interleaved.txt", "patch": "@@ -0,0 +1,27 @@\n+# Regression test for https://golang.org/issue/40657: output from the main test\n+# function should be attributed correctly even if interleaved with the PAUSE\n+# line for a new parallel subtest.\n+\n+[short] skip...
2020-08-17T21:31:21
rust-lang/rust
21d41b09dfb782d44da4c487d5c377bf36e9bddc
ad27045c31a9f37ad7d44ca2a403de52d1a896d3
trait_sel: resolve vars in host effects In the standard library, the `Extend` impl for `Iterator` (specialised with `TrustedLen`) has a parameter which is constrained by a projection predicate. This projection predicate provides a value for an inference variable but host effect evaluation wasn't resolving variables fi...
[ { "path": "compiler/rustc_trait_selection/src/traits/effects.rs", "patch": "@@ -31,6 +31,8 @@ pub fn evaluate_host_effect_obligation<'tcx>(\n );\n }\n \n+ let ref obligation = selcx.infcx.resolve_vars_if_possible(obligation.clone());\n+\n // Force ambiguity for infer self ty.\n if obl...
2025-02-24T08:11:02
ggml-org/llama.cpp
3d86c6c2b546ae5ce9cdee3ca0ac4a8181e0a073
9963b81f6392da8066958c177db77ad4b4a8f284
model: support GLM4V vision encoder (#18042) * convert ok * no deepstack * less new tensors * cgraph ok * add mrope for text model * faster patch merger * add GGML_ROPE_TYPE_MRNORM * add support for metal * move glm4v do dedicated graph * convert: add norm_embd * clip: add debugging fn * working correctly ...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -862,6 +862,14 @@ def set_gguf_parameters(self):\n logger.warning(f\"Unknown RoPE type: {rope_type}\")\n logger.info(f\"gguf: rope scaling type = {rope_gguf_type.name}\")\n \n+ if \"mrope_section\" in self.rope_parameters:\n+...
2025-12-16T10:25:26
huggingface/transformers
863e2562d8d8a535caccb644b15efec663248daa
695d82332373e052a03b48f58318d28879c7579f
Make clearer about zero_init requirements (#29879) * Docstring to note about zero init * Check for accelerate * Change conditional return * Tweak * Add new accelerate-specific zero3 check * Fix import * Revert to RTFM * Update src/transformers/modeling_utils.py Co-authored-by: amyeroberts <2261...
[ { "path": "src/transformers/training_args.py", "patch": "@@ -504,6 +504,11 @@ class TrainingArguments:\n evolve in the future. The value is either the location of DeepSpeed json config file (e.g.,\n `ds_config.json`) or an already loaded json file as a `dict`\"\n \n+ <Tip ...
2024-04-03T17:37:52
ollama/ollama
89a92477ad4c85f81cb7b44058378a7959945163
5cda9cdd13ba703fdd2df4e1850ad0a4da6c1ef8
fix `README.md` for `privategpt` example
[ { "path": "examples/privategpt/README.md", "patch": "@@ -26,6 +26,7 @@ ollama pull llama2-uncensored\n ### Getting WeWork's latest quarterly report\n \n ```\n+mkdir source_documents\n curl https://d18rn0p25nwr6d.cloudfront.net/CIK-0001813756/975b3e9b-268e-4798-a9e4-2a9a7c92dc10.pdf -o source_documents/wewo...
2023-08-11T07:26:33
nodejs/node
6af889615dfb04a39b658e54cf1e5b4b7906d624
1d7fbabaefb08c108b42f5d4a9583a77865129a4
test: replace common.fixturesDir with fixtures PR-URL: https://github.com/nodejs/node/pull/15806 Reviewed-By: Ryan Graham <r.m.graham@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Pun...
[ { "path": "test/parallel/test-fs-whatwg-url.js", "patch": "@@ -1,6 +1,7 @@\n 'use strict';\n \n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const path = require('path');\n const fs = require('fs');\n@@ -15,7 +16,7 @@ function p...
2017-10-06T16:36:35
rust-lang/rust
1ccdc06136ccb134f30d6604e89a659eae62b032
db1f0d045887e8046dd542e119b27773991039b6
Remove speculation on cause of error Co-authored-by: Jubilee <workingjubilee@gmail.com>
[ { "path": "library/std/src/thread/mod.rs", "patch": "@@ -1742,7 +1742,7 @@ impl<'scope, T> JoinInner<'scope, T> {\n if let Some(packet) = Arc::get_mut(&mut self.packet) {\n packet.result.get_mut().take().unwrap()\n } else {\n- Err(Box::new(\"thread terminated unexpecte...
2025-02-24T08:50:46
ggml-org/llama.cpp
db81d5ec4b0a9cb19e98c4533731c9554eb025db
c05aa69f32ee87b2019a1b39979d89302c2d6b7b
model-conversion : use CONVERTED_EMBEDDING_MODEL for embedding_verify_logits (#18079) This commit updates the embedding model verification script to use the CONVERTED_EMBEDDING_MODEL environment variable instead of using the EMBEDDING_MODEL_PATH (the original embedding model path) as the basis for the converted model ...
[ { "path": "examples/model-conversion/scripts/embedding/compare-embeddings-logits.sh", "patch": "@@ -34,8 +34,11 @@ done\n MODEL_PATH=\"${MODEL_PATH:-\"$EMBEDDING_MODEL_PATH\"}\"\n MODEL_NAME=\"${MODEL_NAME:-$(basename \"$MODEL_PATH\")}\"\n \n+CONVERTED_MODEL_PATH=\"${CONVERTED_EMBEDDING_PATH:-\"$CONVERTED_E...
2025-12-16T10:17:20
golang/go
b58d29741650c7bf10b17f455666e2727e1cdd2e
c12d9ed87596688aeeeb61111e408f6a176aa287
cmd/compile, runtime: mark R12 clobbered for write barrier call on PPC64 When external linking, for large binaries, the external linker may insert a trampoline for the write barrier call, which looks 0000000005a98cc8 <__long_branch_runtime.gcWriteBarrier>: 5a98cc8: 86 01 82 3d addis r12,r2,390 5a98ccc: ...
[ { "path": "src/cmd/compile/internal/ssa/gen/PPC64Ops.go", "patch": "@@ -645,9 +645,9 @@ func init() {\n \t\t{name: \"LoweredAtomicOr8\", argLength: 3, reg: gpstore, asm: \"OR\", faultOnNilArg0: true, hasSideEffects: true},\n \n \t\t// LoweredWB invokes runtime.gcWriteBarrier. arg0=destptr, arg1=srcptr, arg2...
2020-08-17T23:06:19
huggingface/transformers
695d82332373e052a03b48f58318d28879c7579f
c10b5dd25ee238ff09ce3c2da8504c4affa50785
[`Main CIs`] Fix the red cis (#30022) * fix * sort imports
[ { "path": "src/transformers/models/whisper/generation_whisper.py", "patch": "@@ -12,6 +12,7 @@\n # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n # See the License for the specific language governing permissions and\n # limitations under the License.\n+import copy\n import math\n...
2024-04-03T17:34:39
rust-lang/rust
1ee134f10dafe4374ff0de6d50bedcb01fee5296
ad27045c31a9f37ad7d44ca2a403de52d1a896d3
feature: fix typo in attribute description The force inlining attribute isn't is never used with `#![..]` attribute syntax, only `#[..]` syntax.
[ { "path": "compiler/rustc_feature/src/builtin_attrs.rs", "patch": "@@ -1011,7 +1011,7 @@ pub static BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[\n ),\n rustc_attr!(\n rustc_force_inline, Normal, template!(Word, NameValueStr: \"reason\"), WarnFollowing, EncodeCrossCrate::Yes,\n- \"#![r...
2025-02-13T15:10:49
nodejs/node
1d7fbabaefb08c108b42f5d4a9583a77865129a4
067d1f16de6120f233c11e7b6e6b137a65a7daeb
test: replace fixturesDir with common.fixtures In test-tls-honorcipherorder.js, use common.fixtures instead of common.fixturesDir. PR-URL: https://github.com/nodejs/node/pull/15907 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "test/parallel/test-tls-honorcipherorder.js", "patch": "@@ -1,11 +1,11 @@\n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n const assert = require('assert');\n const tls = requir...
2017-10-06T17:13:08
ggml-org/llama.cpp
c05aa69f32ee87b2019a1b39979d89302c2d6b7b
279cef27c2b297476ecde6e5df729c057691f1de
common : add nemotron 3 parsing (#18077) * common : expose json-schema functionality to extract type info * common : fix peg parser negation during needs_more_input * common : add some defensive measures in constructed peg parser * common : add nemotron nano 3 support * common : add nemotron nano 3 tests * remove...
[ { "path": "common/chat-peg-parser.cpp", "patch": "@@ -4,9 +4,14 @@\n \n using json = nlohmann::json;\n \n-static std::string_view trim_trailing_space(std::string_view sv) {\n+static std::string_view trim_trailing_space(std::string_view sv, int max = -1) {\n+ int count = 0;\n while (!sv.empty() && std...
2025-12-16T10:05:23
huggingface/transformers
c10b5dd25ee238ff09ce3c2da8504c4affa50785
34bfe95af53d7ab24b48b2f2e1a7547bb1f56361
Superpoint imports fix (#29898) quick fix
[ { "path": "src/transformers/models/superpoint/image_processing_superpoint.py", "patch": "@@ -17,7 +17,7 @@\n \n import numpy as np\n \n-from ... import is_vision_available, requires_backends\n+from ... import is_vision_available\n from ...image_processing_utils import BaseImageProcessor, BatchFeature, get_s...
2024-04-03T17:32:01
golang/go
c12d9ed87596688aeeeb61111e408f6a176aa287
6e876f19857a8fbd259571080f7f91bc03276559
cmd/go: revert 3 CLs affecting par.Work, context propagation, tracing This reverts the following changes: • cmd/go: add tracing for querying and downloading from the proxy CL 242786, commit 1a3558341860357c2400e37773e5076bb3a51628 • cmd/go: do context propagation for tracing downloads CL 248327, commit c0cf190d226...
[ { "path": "src/cmd/go/internal/get/get.go", "patch": "@@ -246,9 +246,9 @@ func download(arg string, parent *load.Package, stk *load.ImportStack, mode int)\n \tload1 := func(path string, mode int) *load.Package {\n \t\tif parent == nil {\n \t\t\tmode := 0 // don't do module or vendor resolution\n-\t\t\tretur...
2020-08-18T14:54:11
ollama/ollama
81d8d7b73f063434d71c83533dc7dcf23e4b5ecc
be889b2f814079a15261010ca9c038190b049507
fix could not convert int
[ { "path": "api/types.go", "patch": "@@ -218,13 +218,15 @@ func (opts *Options) FromMap(m map[string]interface{}) error {\n \t\t\tif field.IsValid() && field.CanSet() {\n \t\t\t\tswitch field.Kind() {\n \t\t\t\tcase reflect.Int:\n-\t\t\t\t\t// when JSON unmarshals numbers, it uses float64 by default, not int...
2023-08-10T23:18:55
rust-lang/rust
17748827383d17e26cb222b4402976d1441378da
2615971f55e24570805180b820e85457b74ba1be
Gate another assertion behind `compiler-builtins` This is causing link errors on Windows.
[ { "path": "library/compiler-builtins/libm/src/math/support/int_traits.rs", "patch": "@@ -394,6 +394,7 @@ macro_rules! cast_into {\n fn cast(self) -> $into {\n // All we can really do to enforce casting rules is check the rules when in\n // debug mode.\n+ ...
2025-02-24T06:52:48
ggml-org/llama.cpp
c560316440925e03d3ba006eb5710f6678802ce8
d6742125c317b7daafec038ab54a7c2fb1e2beaf
graph : reuse SSM graphs (#16490) * graph : reuse hybrid graphs * graph : reuse recurrent graphs * graph : fix reuse check for recurrent inputs * memory : move the recurrent state into the memory context * Revert "memory : move the recurrent state into the memory context" This reverts commit 00f115fe810815d4a22a6...
[ { "path": "src/llama-graph.cpp", "patch": "@@ -254,6 +254,24 @@ void llm_graph_input_rs::set_input(const llama_ubatch * ubatch) {\n }\n }\n \n+bool llm_graph_input_rs::can_reuse(const llm_graph_params & params) {\n+ const auto * mctx = static_cast<const llama_memory_recurrent_context *>(params.mctx);...
2025-12-16T07:36:21
nodejs/node
b9f90fd0b4b10e4ea1eea3a58a7572ce27e79426
fa265a2ccad5016476fd83fa05a0380208969c02
doc: document the `test/common/dns` module Added requested documentation for the dns.js module. Also fixed a typo. PR-URL: https://github.com/nodejs/node/pull/15772 Fixes: https://github.com/nodejs/node/issues/15596 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed...
[ { "path": "test/common/README.md", "patch": "@@ -7,6 +7,7 @@ This directory contains modules used to test the Node.js implementation.\n * [Benchmark module](#benchmark-module)\n * [Common module API](#common-module-api)\n * [Countdown module](#countdown-module)\n+* [DNS module](#dns-module)\n * [Fixtures mo...
2017-10-04T17:43:36
huggingface/transformers
34bfe95af53d7ab24b48b2f2e1a7547bb1f56361
cc75f1ac7302d31d30f9420e9d66cc3a11701c47
[docs] Fix audio file (#30006) new audio file
[ { "path": "docs/source/en/pipeline_tutorial.md", "patch": "@@ -167,9 +167,9 @@ for working on really long audio files (for example, subtitling entire movies or\n cannot handle on its own:\n \n ```python\n->>> transcriber = pipeline(model=\"openai/whisper-large-v2\", chunk_length_s=30, return_timestamps=True...
2024-04-03T17:05:15
ggml-org/llama.cpp
3034836d36bfd4ba1d1cc9173c9bef2c70ffd136
a20979d433e3c8b63a6ba20ed5956ced16f65058
webui: Improve copy to clipboard with text attachments (#17969) * feat: Create copy/paste user message including "pasted text" attachments * chore: update webui build output * chore: update webui static output * fix: UI issues * chore: update webui static output * fix: Decode HTML entities using `DOMParser` * ch...
[ { "path": "tools/server/webui/README.md", "patch": "@@ -619,11 +619,12 @@ flowchart TB\n \n ### Test Types\n \n-| Type | Tool | Location | Command |\n-| ------------- | ------------------ | -------------------------------- | ------------------- |\n-...
2025-12-16T06:38:46
nodejs/node
6d9654b13de9f4f36317d4e3dd4096733712fc65
92146e00fd74890ec0e977c8f9592ddaae0314d4
doc: responsive docs, rewrite font sizes This makes the docs much more mobile-friendly by adding a viewport meta tag which makes mobile browers properly scale fonts. Additionally the font sizes have been cleaned up to use `rem` units where possible. Also included are some fixes for the version dropdown. PR-URL: https...
[ { "path": "doc/api_assets/style.css", "patch": "@@ -1,60 +1,50 @@\n /*--------------------- Layout and Typography ----------------------------*/\n html {\n+ font-size: 1rem;\n+ overflow-wrap: break-word;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-vari...
2017-09-28T20:27:29
huggingface/transformers
cc75f1ac7302d31d30f9420e9d66cc3a11701c47
240e10626b10574899ecd9a3ddcc47788f289732
Fix vipllava for generation (#29874) * fix vipllava generation * consistent llava code * revert llava tests changes
[ { "path": "src/transformers/models/llava_next/modeling_llava_next.py", "patch": "@@ -569,10 +569,11 @@ def forward(\n batch_index, non_attended_tokens = torch.where(first_layer_past_key_value.float().sum(-2) == 0)\n \n # Get the target length\n- target_seqlen =...
2024-04-03T16:00:08
ggml-org/llama.cpp
a20979d433e3c8b63a6ba20ed5956ced16f65058
2995341730f18deb64faa4538bda113328fd791f
webui: Add setting to always show sidebar on Desktop (#17809) * feat: Add setting to always show Sidebar on Desktop * chore: update webui build output * feat: Add auto-show sidebar setting * fix: Mobile settings dialog UI * chore: update webui build output * feat: UI label update * chore: update webui build outp...
[ { "path": "tools/server/webui/src/lib/components/app/chat/ChatSettings/ChatSettings.svelte", "patch": "@@ -109,6 +109,16 @@\n \t\t\t\t\tkey: 'disableAutoScroll',\n \t\t\t\t\tlabel: 'Disable automatic scroll',\n \t\t\t\t\ttype: 'checkbox'\n+\t\t\t\t},\n+\t\t\t\t{\n+\t\t\t\t\tkey: 'alwaysShowSidebarOnDesktop'...
2025-12-16T06:31:37
ollama/ollama
bea683e3bf92e9dd3cbe7346d47197549b460b3e
178237d37ffbb273017a0c620a84332b03acc432
cmd: check GetBlobsPath error (#317) The error returned by `server.GetBlobsPath` in `showLayer` was never checked. Check the error and return if not nil. Also, make newlines at the end of error messages consistent and fix a typo.
[ { "path": "cmd/cmd.go", "patch": "@@ -318,12 +318,16 @@ func generate(cmd *cobra.Command, model, prompt string) error {\n \n func showLayer(l *server.Layer) {\n \tfilename, err := server.GetBlobsPath(l.Digest)\n+\tif err != nil {\n+\t\tfmt.Println(\"Couldn't get layer's path\")\n+\t\treturn\n+\t}\n \tbts, e...
2023-08-10T16:57:49
huggingface/transformers
240e10626b10574899ecd9a3ddcc47788f289732
bcd42c4af909c92da94fd5884989c56db258f12f
Fix probability computation in `WhisperNoSpeechDetection` when recomputing scores (#29248) * Fix is_scores_logprobs in WhisperNoSpeechDetection * Add test_whisper_longform_no_speech_detection * Fix typo
[ { "path": "src/transformers/generation/logits_process.py", "patch": "@@ -1930,17 +1930,20 @@ def set_begin_index(self, begin_index):\n \n @add_start_docstrings(LOGITS_PROCESSOR_INPUTS_DOCSTRING)\n def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor) -> torch.FloatTensor:\n+ ...
2024-04-03T15:53:07
nodejs/node
92146e00fd74890ec0e977c8f9592ddaae0314d4
85a5a2c228594005280d4b7cd70741eae575a490
url: fix port overflow checking This patch adds (port > 0xffff) check after each digit in the loop and prevents integer overflow. PR-URL: https://github.com/nodejs/node/pull/15794 Refs: https://github.com/w3c/web-platform-tests/pull/7602 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Daijiro Wachi <dai...
[ { "path": "src/node_url.cc", "patch": "@@ -1597,10 +1597,11 @@ void URL::Parse(const char* input,\n ch == '#' ||\n special_back_slash) {\n if (buffer.size() > 0) {\n- int port = 0;\n- for (size_t i = 0; i < buffer.size(); i++)\n+ ...
2017-10-02T19:18:06
ggml-org/llama.cpp
40d9c394f4523bd5f214e6ea536655c1e9a83672
d6a1e18c651a46109cbf2ad3b299581f0651128f
Webui: Disable attachment button and model selector button when prompt textbox is disabled. (#17925) * Pass disabled state to the file attachments button and the model selector button. * Update index.html.gz * Fix model info card in non-router mode. * Update index.html.gz
[ { "path": "tools/server/webui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionFileAttachments.svelte", "patch": "@@ -35,7 +35,7 @@\n \n <div class=\"flex items-center gap-1 {className}\">\n \t<DropdownMenu.Root>\n-\t\t<DropdownMenu.Trigger name=\"Attach files\">\n+\t\t<DropdownMenu.Trigge...
2025-12-16T06:15:49
golang/go
4b94e881611890c6d6cbda6f542a94ab08de17e0
a745171e6b30394b661a040d04e8807b4bd0c7da
net: simplify error return in *RawConn test helpers No need to check operr before returning. Change-Id: I64b849f7c102de01180823e3f0123d438ce7608a Reviewed-on: https://go-review.googlesource.com/c/go/+/232797 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-b...
[ { "path": "src/net/rawconn_unix_test.go", "patch": "@@ -24,10 +24,7 @@ func readRawConn(c syscall.RawConn, b []byte) (int, error) {\n \tif err != nil {\n \t\treturn n, err\n \t}\n-\tif operr != nil {\n-\t\treturn n, operr\n-\t}\n-\treturn n, nil\n+\treturn n, operr\n }\n \n func writeRawConn(c syscall.RawCo...
2020-05-07T18:48:37
huggingface/transformers
bcd42c4af909c92da94fd5884989c56db258f12f
851f253f4d3fa2414451eeaac82b7a9ad6084675
Fix `kwargs` handling in `generate_with_fallback` (#29225) * Fix generate_with_fallback **kwargs * Change pop to get * Delete keys from kwargs to prevent overriding generation_config * Revert to passing kwargs by reference, but make a (shallow) copy * dict -> copy.copy * Add test_whisper_longform_multi_...
[ { "path": "src/transformers/models/whisper/generation_whisper.py", "patch": "@@ -755,6 +755,8 @@ def generate_with_fallback(\n do_condition_on_prev_tokens,\n kwargs,\n ):\n+ kwargs = copy.copy(kwargs)\n+\n # 6.6 Batch generate current chunk\n seek_sequence_list = [...
2024-04-03T15:51:03
nodejs/node
85a5a2c228594005280d4b7cd70741eae575a490
27b5bf14ca8958d44d75030477b85a6bd34d6490
test: replace common.fixturesDir w/ fixtures.path PR-URL: https://github.com/nodejs/node/pull/15819 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <lu...
[ { "path": "test/parallel/test-tls-connect-secure-context.js", "patch": "@@ -1,12 +1,12 @@\n 'use strict';\n-const common = require('../common');\n+require('../common');\n \n // Verify connection with explicitly created client SecureContext.\n \n-const join = require('path').join;\n+const fixtures = require(...
2017-10-06T16:40:26
ggml-org/llama.cpp
c45f89d5516221e51eef93e467e3bec6eb811994
9d52f17ae33e8df958e20f3f1b13bfec53ab5a1d
ggml-hexagon: mm for mtmd (#17894) * feat: add run_mtmd script for hexagon * fix: fix issue in fp16xfp32 mm * fix: remove opt_experiment for fp16xfp32 mm * fix: ggml-hexagon: matmul fp16xfp32 support non-contigious src0 * fix: fix syntax check for run-mtmd.sh for cli
[ { "path": "ggml/src/ggml-hexagon/ggml-hexagon.cpp", "patch": "@@ -1976,9 +1976,6 @@ static bool ggml_hexagon_supported_mul_mat(const struct ggml_hexagon_session * s\n break;\n \n case GGML_TYPE_F16:\n- if (!opt_experimental) {\n- return false;\n- }\n ...
2025-12-15T18:53:56
huggingface/transformers
851f253f4d3fa2414451eeaac82b7a9ad6084675
17b06e2c6650de162e7954babf6224c1975c2852
Fix Qwen2Tokenizer (#29929) qwen2: fixed tokens starting with # in slow tokenizer; add tests Co-authored-by: jklj077 <17811943+jklj077@users.noreply.github.com>
[ { "path": "src/transformers/models/qwen2/tokenization_qwen2.py", "patch": "@@ -177,9 +177,9 @@ def __init__(\n self.byte_decoder = {v: k for k, v in self.byte_encoder.items()}\n bpe_merges = []\n with open(merges_file, encoding=\"utf-8\") as merges_handle:\n- for line in m...
2024-04-03T15:42:43
golang/go
a745171e6b30394b661a040d04e8807b4bd0c7da
613388315e29d4e906805e602602500ca1e7e334
cmd/compile: fix SSA type comparison A typo in the conversion code caused comparisons of SSA types to report CMPeq when they were not in fact equal. Fixes #40837 Change-Id: I0627eee51d524a585908b34a4590bc533c8415fc Reviewed-on: https://go-review.googlesource.com/c/go/+/248781 Run-TryBot: Keith Randall <khr@golang.or...
[ { "path": "src/cmd/compile/internal/types/type.go", "patch": "@@ -131,6 +131,7 @@ type Type struct {\n \t// TPTR: Ptr\n \t// TARRAY: *Array\n \t// TSLICE: Slice\n+\t// TSSA: string\n \tExtra interface{}\n \n \t// Width is the width of this Type in bytes.\n@@ -1026,7 +1027,7 @@ func (t *Type) cmp(x *Type) Cm...
2020-08-18T04:59:07
nodejs/node
7ba896e407ff8dd05f54fbd898b386d5909eb688
c7d291366eb9cd87e8aa3f9fad93e5c8f072b22f
test: replaces fixturesDir with fixtures PR-URL: https://github.com/nodejs/node/pull/15838 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
[ { "path": "test/parallel/test-inspector-invalid-args.js", "patch": "@@ -1,24 +1,27 @@\n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n \n common.skipIfInspectorDisabled();\n \n const assert = require('assert');\n const execFile = require('child_proce...
2017-10-06T16:37:50
ggml-org/llama.cpp
9d52f17ae33e8df958e20f3f1b13bfec53ab5a1d
4529c660c89a8675686cbe2bd1839e85f223f3fc
model : add KORMo model (#18032) * vocab: add KORMo Tokenizer * model: add KORMoForCausalLM * vocab: change pretokenizer to qwen2 * lint: fix unintended line removal * model: make qwen2 bias tensor optional * model: use qwen2 architecture for KORMo
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -1203,6 +1203,9 @@ def get_vocab_base_pre(self, tokenizer) -> str:\n if chkhsh == \"f4f37b6c8eb9ea29b3eac6bb8c8487c5ab7885f8d8022e67edc1c68ce8403e95\":\n # ref: https://huggingface.co/MiniMaxAI/MiniMax-M2\n res = \"minimax-m2\"\...
2025-12-15T17:51:43
huggingface/transformers
17b06e2c6650de162e7954babf6224c1975c2852
81642d2b51de9d5e5aee1768abdc744d90f7f52d
Fix Swinv2ForImageClassification NaN output (#29981) To address the issue of NaN logit outputs for certain combinations of the `image_size`, `patch_size` and `depths` configuration parameters, an assertion was made to ensure that the resulting `window_size` field in the model's Self Attention class is greater than...
[ { "path": "src/transformers/models/swin2sr/modeling_swin2sr.py", "patch": "@@ -298,7 +298,7 @@ def __init__(self, config, dim, num_heads, window_size, pretrained_window_size=[\n if pretrained_window_size[0] > 0:\n relative_coords_table[:, :, :, 0] /= pretrained_window_size[0] - 1\n ...
2024-04-03T13:54:45
golang/go
7fbd8c75c6c57e713069a3a405e5cde26cfae090
db4cda2ec0955854c8ff556ac19ec5e67d48d090
all: fix spelling mistakes Change-Id: I7d512281d8442d306594b57b5deaecd132b5ea9e GitHub-Last-Rev: 251e1d6857516b21fd71f654133f81f23ffec654 GitHub-Pull-Request: golang/go#40793 Reviewed-on: https://go-review.googlesource.com/c/go/+/248441 Reviewed-by: Dave Cheney <dave@cheney.net>
[ { "path": "src/bufio/bufio.go", "patch": "@@ -425,7 +425,7 @@ func (b *Reader) ReadLine() (line []byte, isPrefix bool, err error) {\n // of bytes in the combined first two elements, error).\n // The complete result is equal to\n // `bytes.Join(append(fullBuffers, finalFragment), nil)`, which has a\n-// leng...
2020-08-14T10:35:46
ollama/ollama
10885986b8bc98218ca9034b5a7c28900276fc25
c4861360ec34f7f4eeaf757a1b3f218e9caa8b23
fix a typo in the tweetwriter example Modelfile
[ { "path": "examples/tweetwriter/Modelfile", "patch": "@@ -3,5 +3,5 @@\n \n FROM nous-hermes\n SYSTEM \"\"\"\n-You are a content marketer who needs to come up with a short but succinct tweet. Make sure to include the appropriate hashtags and links. Sometimes when appropriate, describe a meme that can be incl...
2023-08-10T11:42:48
nodejs/node
733d528ac42f07f37391775811d307e3227da7e4
f2b9d5e41e8868365753ba4a8aad959dcab0efd1
test: replace fixtureDir with fixtures.path PR-URL: https://github.com/nodejs/node/pull/15943 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec...
[ { "path": "test/parallel/test-common.js", "patch": "@@ -21,8 +21,8 @@\n \n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n-const { join } = require('path');\n const { execFile } = require('child_process');\n \n // t...
2017-10-06T17:22:24
ggml-org/llama.cpp
4529c660c89a8675686cbe2bd1839e85f223f3fc
0f4f35e7be14d5ef8157aa710b66388e77e99bec
kv-cache: Fix state restore fragmented cache (#17982) * kv-cache : fix state restore with fragmented cache (#17527) Change find_slot to allow non-contiguous allocation during state restore. Fixes 'failed to find available cells in kv cache' error when restoring state to fragmented cache. * tests : update logic * cl...
[ { "path": "src/llama-kv-cache.cpp", "patch": "@@ -1561,9 +1561,11 @@ void llama_kv_cache::state_read(llama_io_read_i & io, llama_seq_id seq_id, llama\n \n const uint32_t strm = seq_id == -1 ? s : seq_to_stream[seq_id];\n \n+ slot_info sinfo;\n+\n bool res = true;\n- res = res &...
2025-12-15T17:28:35
huggingface/transformers
81642d2b51de9d5e5aee1768abdc744d90f7f52d
b44df05bc0866f88f06c8c14b392afc197a8c8b6
Make EncodecModel.decode ONNX exportable (#29913) * fix encodec onnx export for musicgen * simplification * fix quality * better style
[ { "path": "src/transformers/models/encodec/modeling_encodec.py", "patch": "@@ -111,14 +111,27 @@ def __init__(\n elif self.norm_type == \"time_group_norm\":\n self.norm = nn.GroupNorm(1, out_channels)\n \n- @staticmethod\n+ kernel_size = self.conv.kernel_size[0]\n+ strid...
2024-04-03T09:11:01
golang/go
db4cda2ec0955854c8ff556ac19ec5e67d48d090
77a11c05d6a6f766c75f804ea9b8796f9a9f85a3
testing/iotest: correct ErrReader signature and remove exported error Corrects ErrReader's signature to what was accepted in the approved proposal, and also removes an exported ErrIO which wasn't part of the proposal and is unnecessary. The new signature allows users to customize their own errors. While here, starte...
[ { "path": "src/testing/iotest/example_test.go", "patch": "@@ -0,0 +1,22 @@\n+// Copyright 2020 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package iotest_test\n+\n+import (\n+\t\"errors\"\n+\t\"fmt\"\n+...
2020-08-17T19:25:49
ollama/ollama
984c9c628cc990183e45b27dddf2d38537264ad3
9738ef85db2e064ef2ed90e864d6d05e87b03a31
fix embeddings invalid values
[ { "path": "llama/llama.go", "patch": "@@ -94,7 +94,6 @@ import (\n \t\"io\"\n \t\"log\"\n \t\"os\"\n-\t\"reflect\"\n \t\"strings\"\n \t\"sync\"\n \t\"unicode/utf8\"\n@@ -421,27 +420,20 @@ func (llm *LLM) Embedding(input string) ([]float64, error) {\n \t\treturn nil, errors.New(\"llama: tokenize embedding\")...
2023-08-09T20:13:24
nodejs/node
fe38ace643701507ce0fa6b3903d4adce14b7255
f8dd1ac918c95b19c990280f1e07a597cdf3ef06
test: improve crypto HMAC test assertions Fixes argument order for assertions and makes their failure messages more descriptive and easier to debug. PR-URL: https://github.com/nodejs/node/pull/16026 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridge...
[ { "path": "test/parallel/test-crypto-hmac.js", "patch": "@@ -6,12 +6,17 @@ if (!common.hasCrypto)\n const assert = require('assert');\n const crypto = require('crypto');\n \n-// Test HMAC\n-const h1 = crypto.createHmac('sha1', 'Node')\n- .update('some data')\n- .update('to hm...
2017-10-06T19:06:03
rust-lang/rust
2615971f55e24570805180b820e85457b74ba1be
3f6b08ac1ea7605c66a9c4c3f5c621267ace2883
Configure out remaining formatting when `compiler-builtins` is set These are still causing errors in the compiler-builtins CI.
[ { "path": "library/compiler-builtins/libm/src/math/support/hex_float.rs", "patch": "@@ -211,6 +211,7 @@ const fn u128_ilog2(v: u128) -> u32 {\n pub struct Hexf<F>(pub F);\n \n // Adapted from https://github.com/ericseppanen/hexfloat2/blob/a5c27932f0ff/src/format.rs\n+#[cfg(not(feature = \"compiler-builtins\...
2025-02-24T05:45:41
ggml-org/llama.cpp
0f4f35e7be14d5ef8157aa710b66388e77e99bec
165caaf5fbd359822b176b076f3ef4248309e56d
Fix unreadable user markdown colors and truncate long texts in deletion dialogs (#17555) * webui: limit conversation name length in dialogs * webui: fix unreadable colors on links and table cell hover in user markdown * webui: keep table borders visible in user markdown * webui: updating unified exports * Update t...
[ { "path": "tools/server/webui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentThumbnailFile.svelte", "patch": "@@ -1,6 +1,6 @@\n <script lang=\"ts\">\n \timport { RemoveButton } from '$lib/components/app';\n-\timport { getFileTypeLabel, getPreviewText, formatFileSize, isTextFile } from '$lib/utils...
2025-12-15T15:34:53
huggingface/transformers
fce52cefa744a5900fc065aafb2f55d846d1202c
5080ab12c818d3875858ad37b667c00c6f09f094
Fix `remove_columns` in `text-classification` example (#29351)
[ { "path": "examples/pytorch/text-classification/run_classification.py", "patch": "@@ -422,7 +422,7 @@ def main():\n for split in raw_datasets.keys():\n for column in data_args.remove_columns.split(\",\"):\n logger.info(f\"removing column {column} from split {split}\")\n- ...
2024-04-02T17:15:27
golang/go
1a3558341860357c2400e37773e5076bb3a51628
c0cf190d226cc3defb71d17c01d0b45bf49a8a85
cmd/go: add tracing for querying and downloading from the proxy This CL adds tracing spans for modload.queryPattern, modload.queryProxy, modload.QueryPattern, modload.QueryPattern.queryModule, modload.queryPrefixModules and modfetch.Download. Updates #38714 Change-Id: I537c7fa4f466c691c1b60ec73ef8a2277af49cd7 Review...
[ { "path": "src/cmd/go/internal/modcmd/download.go", "patch": "@@ -120,7 +120,7 @@ func runDownload(ctx context.Context, cmd *base.Command, args []string) {\n \t\t\treturn\n \t\t}\n \t\tmod := module.Version{Path: m.Path, Version: m.Version}\n-\t\tm.Zip, err = modfetch.DownloadZip(mod)\n+\t\tm.Zip, err = mod...
2020-07-15T21:38:36
rust-lang/rust
9021b2820c8d4b1db425dd1b59a74911ceabce4b
ba8f07282e233413ed34aaf7576690265aeed25f
Resolve monomorphization errors in `compiler-builtins` `compiler-builtins` is not allowed to call anything from `core`; however, there are a couple of cases where we do so in `libm` for debug output. Gate relevant locations behind the `compiler-builtins` Cargo feature.
[ { "path": "library/compiler-builtins/libm/Cargo.toml", "patch": "@@ -61,6 +61,13 @@ exclude = [\n [dev-dependencies]\n no-panic = \"0.1.33\"\n \n+\n+[lints.rust]\n+unexpected_cfgs = { level = \"warn\", check-cfg = [\n+ # compiler-builtins sets this feature, but we use it in `libm`\n+ 'cfg(feature, values(...
2025-02-24T04:06:07
huggingface/transformers
5080ab12c818d3875858ad37b667c00c6f09f094
9b0a8ea7d1d6226b76cfdc645ce65e21157e2b50
Generate: fix logits processors doctests (#29718) * fix norm * fix logits processors doctests
[ { "path": "src/transformers/generation/logits_process.py", "patch": "@@ -261,8 +261,8 @@ class TemperatureLogitsWarper(LogitsWarper):\n >>> generate_kwargs = {\"max_new_tokens\": 10, \"do_sample\": True, \"temperature\": 1.0, \"num_return_sequences\": 2}\n >>> outputs = model.generate(**inputs, **ge...
2024-04-02T16:18:31
nodejs/node
2badc6301e364b3436b6221e9b59f750a88ea513
fca31be8332bd06f606cdc37a8da27be097e7c0c
test: use common.fixtures module for file path PR-URL: https://github.com/nodejs/node/pull/16017 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Michael D...
[ { "path": "test/parallel/test-fs-read-zero-length.js", "patch": "@@ -1,9 +1,9 @@\n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n-const path = require('path');\n const fs = require('fs');\n-const filepath = path.jo...
2017-10-06T18:51:33
ggml-org/llama.cpp
96a181a933a34e92c316b0603f0f30cb7f30eefa
4a4f7e6550cf5b327ea0fb241ce7417ab46e1ace
mtmd: refactor audio preprocessing (#17978) * mtmd: refactor audio preprocessing * refactor Co-authored-by: Tarek <tdakhran@users.noreply.github.com> * wip * wip (2) * improve constructor * fix use_natural_log * fix padding for short input * clean up * remove need_chunking --------- Co-authored-by: Tarek <t...
[ { "path": "tools/mtmd/clip-model.h", "patch": "@@ -65,6 +65,13 @@ struct clip_hparams {\n int32_t n_mel_bins = 0; // whisper preprocessor\n int32_t proj_stack_factor = 0; // ultravox\n \n+ // audio-to-mel preprocessor params\n+ int32_t audio_chunk_len = -1; // in seconds\n+ int32_t audio_...
2025-12-15T13:16:52
golang/go
797124f5ff4bb80957007adbf3115287a4e90870
1b86bdbdc3991c13c6ed156100a5f4918fdd9c6b
cmd/go/internal/test: keep looking for go command flags after ambiguous test flag Fixes #40763 Change-Id: I275970d1f8561414571a5b93e368d68fa052c60f Reviewed-on: https://go-review.googlesource.com/c/go/+/248618 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: J...
[ { "path": "src/cmd/go/internal/test/testflag.go", "patch": "@@ -214,9 +214,13 @@ func testFlags(args []string) (packageNames, passToTest []string) {\n \n \texplicitArgs := make([]string, 0, len(args))\n \tinPkgList := false\n+\tafterFlagWithoutValue := false\n \tfor len(args) > 0 {\n \t\tf, remainingArgs, e...
2020-08-14T19:47:49
huggingface/transformers
9b0a8ea7d1d6226b76cfdc645ce65e21157e2b50
15cd68713d8d027e1033906bf39e999a24b5b5dd
Hard error when ignoring tensors. (#27484) (#29906) * Hard error when ignoring tensors. (#27484) * [WIP] Hard error when ignoring tensors. * Better selection/error when saving a checkpoint. - Find all names we should normally drop (those are in the transformers config) - Find all disjoint tensors (for tho...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -30,7 +30,7 @@\n from dataclasses import dataclass\n from functools import partial, wraps\n from threading import Thread\n-from typing import Any, Callable, Dict, List, Optional, Tuple, Union\n+from typing import Any, Callable, Dict, List, Optiona...
2024-04-02T14:59:05
nodejs/node
84579b1d7d92274b41a737e4d119d87807d486b1
7d974c553623ff7317201e32f98add9e7ea6ee47
test: fix race condition in addon test PR-URL: https://github.com/nodejs/node/pull/16037 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
[ { "path": "test/addons-napi/test_promise/test.js", "patch": "@@ -4,32 +4,34 @@ const common = require('../../common');\n const test_promise = require(`./build/${common.buildType}/test_promise`);\n const assert = require('assert');\n \n-let expected_result, promise;\n-\n // A resolution\n-expected_result = 4...
2017-10-06T19:23:58
ggml-org/llama.cpp
4a4f7e6550cf5b327ea0fb241ce7417ab46e1ace
e73d548659db9297c23a77359776481690b82741
cli: fixed dead links to tools/main for cli and completion, fixed code owners (#17993) Co-authored-by: Andrew Aladjev <andrew.aladjev@gmail.com>
[ { "path": "CODEOWNERS", "patch": "@@ -87,7 +87,8 @@\n /tests/ @ggerganov\n /tests/test-chat-.* @pwilkin\n /tools/batched-bench/ @ggerganov\n-/tools/main/ @ggerganov\n+/tools/cli/ @ngx...
2025-12-15T10:47:04
rust-lang/rust
f42c9632a60fab39127fd0bbbfab5d4b0d1c7862
54e7ff15c08ee84db226d4e79ad703c689588ffc
Eliminate the use of `public_test_dep!` for a third time Replace `public_test_dep!` by placing optionally public items into new modules, then controlling what is exported with the `public-test-deps` feature. This is nicer for automatic formatting and diagnostics. This is a reland of 2e2a9255 ("Eliminate the use of `...
[ { "path": "library/compiler-builtins/src/float/mod.rs", "patch": "@@ -1,7 +1,3 @@\n-use core::ops;\n-\n-use crate::int::{DInt, Int, MinInt};\n-\n pub mod add;\n pub mod cmp;\n pub mod conv;\n@@ -10,192 +6,11 @@ pub mod extend;\n pub mod mul;\n pub mod pow;\n pub mod sub;\n+pub(crate) mod traits;\n pub mod t...
2025-01-15T05:27:14
ollama/ollama
09d8bf6730b5a3cd5449166b4299168c6bd4cb98
7a5f3616fd359152ad0eff7ef20acd03dd1e3ca5
fix build errors
[ { "path": "llama/llama.go", "patch": "@@ -416,7 +416,7 @@ func (llm *LLM) Embedding(input string) ([]float64, error) {\n \t\treturn nil, errors.New(\"llama: embedding not enabled\")\n \t}\n \n-\ttokens := llm.tokenize(input)\n+\ttokens := llm.Encode(input)\n \tif tokens == nil {\n \t\treturn nil, errors.New...
2023-08-09T14:45:57
huggingface/transformers
15cd68713d8d027e1033906bf39e999a24b5b5dd
cb5927ca8f4c922365cebf08ae66566e65443a52
Fix `skip_special_tokens` for `Wav2Vec2CTCTokenizer._decode` (#29311) * Fix skip_special_tokens process for Wav2Vec2CTCTokenizer._decode * Fix skip_special_tokens for Wav2Vec2CTCTokenizer._decode * Exclude pad_token filtering since it is used as CTC-blank token * Add small test for skip_special_tokens * Up...
[ { "path": "src/transformers/models/wav2vec2/tokenization_wav2vec2.py", "patch": "@@ -113,7 +113,6 @@ class Wav2Vec2CTCTokenizerOutput(ModelOutput):\n \n \n class Wav2Vec2CTCTokenizer(PreTrainedTokenizer):\n-\n \"\"\"\n Constructs a Wav2Vec2CTC tokenizer.\n \n@@ -420,7 +419,9 @@ def _decode(\n \n ...
2024-04-02T14:55:11
golang/go
1b86bdbdc3991c13c6ed156100a5f4918fdd9c6b
f30044a03bc7cf107dbec03c02fb6d0072878252
cmd/test2json: do not emit a final Action if the result is not known If we are parsing a test output, and the test does not end in the usual PASS or FAIL line (say, because it panicked), then we need the exit status of the test binary in order to determine whether the test passed or failed. If we don't have that statu...
[ { "path": "src/cmd/go/internal/test/test.go", "patch": "@@ -1098,9 +1098,13 @@ func (c *runCache) builderRunTest(b *work.Builder, ctx context.Context, a *work.\n \t}\n \n \tvar stdout io.Writer = os.Stdout\n+\tvar err error\n \tif testJSON {\n \t\tjson := test2json.NewConverter(lockedStdout{}, a.Package.Imp...
2020-08-14T21:44:22
nodejs/node
6a9fd06173785593c36528a01746233cd6bbcebb
abf8bae475917fafcc3282214db5eebeefa09af0
test: include expected result in error messages PR-URL: https://github.com/nodejs/node/pull/16039 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "test/doctool/test-doctool-html.js", "patch": "@@ -115,18 +115,20 @@ testData.forEach((item) => {\n assert.ifError(err);\n \n const actual = output.replace(spaces, '');\n+ const scriptDomain = 'google-analytics.com';\n // Assert that the input stripped of all...
2017-10-06T19:14:09
rust-lang/rust
63a3ab4fae27ffc6af807598a5634546f9c05a9f
35a43a4833c032c975b97beccf266facf4583a63
Add a span to `CompilerBuiltinsCannotCall` Currently, this error emit a diagnostic with no context like: error: `compiler_builtins` cannot call functions through upstream monomorphizations; encountered invalid call from `<math::libm::support::hex_float::Hexf<i32> as core::fmt::LowerHex>::fmt` to `core::fmt::num::...
[ { "path": "src/abi/mod.rs", "patch": "@@ -402,9 +402,13 @@ pub(crate) fn codegen_terminator_call<'tcx>(\n \n if is_call_from_compiler_builtins_to_upstream_monomorphization(fx.tcx, instance) {\n if target.is_some() {\n- let caller = with_no_trimmed_paths!(fx.tcx.def_path_st...
2025-02-24T02:47:59
ggml-org/llama.cpp
b1f3a6e5db7b782ef077bd0e8253ce03283b1f37
4aced7a63156555911157d3002f9d3ddef4a1e55
llama: automatically set parameters not set by the user in such a way that maximizes GPU utilization (#16653) * llama: automatically fit args to free memory llama-fit-params tool * fix CI * hints for bug reports, ensure no reallocation * fix segfault with Vulkan * add llama-fit-params to CI * fix CI * fix CI *...
[ { "path": ".github/ISSUE_TEMPLATE/011-bug-results.yml", "patch": "@@ -11,7 +11,7 @@ body:\n (i.e. the generated text) are incorrect or llama.cpp crashes during model evaluation.\n If you encountered the issue while using an external UI (e.g. ollama),\n please reproduce your issue usi...
2025-12-15T08:24:59
ollama/ollama
371d4e5df30dc55702ce812006e0624dbba9bbb0
1f78e409b442b9f56c5e5774690571ae19144c9b
docs: fix invalid json in `api.md`
[ { "path": "docs/api.md", "patch": "@@ -62,27 +62,28 @@ A stream of JSON objects:\n \n The final response in the stream also includes additional data about the generation:\n \n+- `total_duration`: time spent generating the response\n+- `load_duration`: time spent in nanoseconds loading the model\n+- `sample_...
2023-08-08T22:46:05
huggingface/transformers
0d04b1e25a79ef18af419881d708fafc665851c7
fed27ffc7ec62837dca9bbfc83442eb3678ee026
Add Flash Attention 2 support to Musicgen and Musicgen Melody (#29939) * add FA2 to o.g Musicgen * make style * add FA2 support to Musicgen Melody * add generation FA2 tests to o.g Musicgen * make style and fix copies * add Musicgen to FA2 docs + deprecate list * add sdpa supports to Musicgen's * ...
[ { "path": "docs/source/en/perf_infer_gpu_one.md", "patch": "@@ -55,6 +55,8 @@ FlashAttention-2 is currently supported for the following architectures:\n * [MBart](https://huggingface.co/docs/transformers/model_doc/mbart#transformers.MBartModel)\n * [Mistral](https://huggingface.co/docs/transformers/model_do...
2024-04-02T10:23:49