repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
ggml-org/llama.cpp
382808c14b60159f4df2e292e1a3ca5275894271
4ffc47cb2001e7d523f9ff525335bbe34b1a2858
ci : re-enable rocm build on amd64 (#18439) This was disabled in #9340 due to compiler crash, but seems to build now as confirmed by the latest comments in #11913. I've also managed to build the image with `docker build -f .devops/rocm.Dockerfile .` (for all three stages, `full`, `server` and `light`). A quick a...
[ { "path": ".github/workflows/docker.yml", "patch": "@@ -45,8 +45,7 @@ jobs:\n - { tag: \"intel\", dockerfile: \".devops/intel.Dockerfile\", platforms: \"linux/amd64\", full: true, light: true, server: true, free_disk_space: true, runs_on: \"ubuntu-22.04\" }\n - { tag: \"vulkan\", dock...
2025-12-28T23:29:23
nodejs/node
4e2e15f79b542ddb0193c8c32f1e49341abddb5e
cc258af0e4898338b6be49ac79b49dc28169d0c9
test: switch to use common.fixtures.fixturesDir code and learn 2017 first task is to switch from common.fixturesDir to common.fixtures.fixturesDir in test-https-strict.js PR-URL: https://github.com/nodejs/node/pull/15814 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.co...
[ { "path": "test/parallel/test-https-strict.js", "patch": "@@ -21,6 +21,7 @@\n \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@@ -29,15 +30,9 @@ process.env.NODE_TLS_REJECT_UNAUTHORIZED ...
2017-10-06T16:34:58
huggingface/transformers
37b5946a66e0332cc576162f71f358b9df92d8c0
c63f15890377530044bcd2574e3e672907a5152a
fix: Fixed a `raise` statement (#30275) * Fixed a raise statement. * Minor changes.
[ { "path": "src/transformers/models/whisper/convert_openai_to_hf.py", "patch": "@@ -347,9 +347,11 @@ def convert_tiktoken_to_hf(\n if args.convert_preprocessor:\n try:\n if not _is_package_available(\"tiktoken\"):\n- raise \"\"\"`tiktoken` is not installed, use `pip ins...
2024-04-16T17:49:40
ggml-org/llama.cpp
9c675c714020748b5c3954ff334a946e29075f88
07a0c4ba923a8caea3eeba060d399a28c461deac
model : Plamo3 support (#17304) * plamo3 * fix plamo3 * clean code * clean up the code * fix diff * clean up the code * clean up the code * clean up the code * clean up the code * clean up the code * clean up the code * add chat_template if exist * clean up the code * fix cpu-backend * chore: whitespace ...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -1696,6 +1696,84 @@ def _set_vocab_mistral(self):\n if template is not None:\n self.gguf_writer.add_chat_template(template)\n \n+ def _set_vocab_plamo(self):\n+ # PLaMo models use a custom tokenizer with a .jsonl file\n+ to...
2025-12-28T16:28:31
golang/go
26ad27bb026a34149ad0b1d7d56723c8b5dee3d7
42fd1306cea2dc2ff91bd5208d9593721ab5a30f
Revert "cmd/compile,cmd/asm: simplify recording of branch targets" This reverts CL 243318. Reason for revert: Seems to be crashing some builders. Change-Id: I2ffc59bc5535be60b884b281c8d0eff4647dc756 Reviewed-on: https://go-review.googlesource.com/c/go/+/251169 Reviewed-by: Bryan C. Mills <bcmills@google.com>
[ { "path": "src/cmd/compile/internal/amd64/ssa.go", "patch": "@@ -319,8 +319,8 @@ func ssaGenValue(s *gc.SSAGenState, v *ssa.Value) {\n \t\t\t// TODO(khr): issue only the -1 fixup code we need.\n \t\t\t// For instance, if only the quotient is used, no point in zeroing the remainder.\n \n-\t\t\tj1.To.SetTarge...
2020-08-27T23:34:32
nodejs/node
8d3e82fd6c722b8bd41eda828b982d89c2e6ce76
eb3fee1b87baa85c7792bf1e01cac4396db6dd14
test: use common.fixtures module Use common.fixtures module in test-https-agent-session-eviction PR-URL: https://github.com/nodejs/node/pull/16012 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-https-agent-session-eviction.js", "patch": "@@ -1,18 +1,18 @@\n 'use strict';\n \n const common = require('../common');\n+const { readKey } = require('../common/fixtures');\n \n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n const assert = require('assert');\n c...
2017-10-06T18:39:49
huggingface/transformers
c63f15890377530044bcd2574e3e672907a5152a
e27d9308be940c8372aec7187553294628c30043
BLIP - fix pt-tf equivalence test (#30258) * BLIP - fix pt-tf equivalence test * Update tests/models/blip/test_modeling_blip.py * Update more model tests
[ { "path": "tests/models/blip/test_modeling_blip.py", "patch": "@@ -645,6 +645,7 @@ def __init__(self, parent, text_kwargs=None, vision_kwargs=None, is_training=Tru\n self.text_model_tester = BlipTextModelTester(parent, **text_kwargs)\n self.vision_model_tester = BlipVisionModelTester(parent,...
2024-04-16T16:46:53
rust-lang/rust
b41c232488e17b4d7447c74ab1143bbd51af43a0
9f48dedc9763334a587c66558974635807a113ed
tests: fix up new test for nocapture -> capture(none) change Same motivation as #136287, but for a newly introduced test. Rather than over-constraining here, we just match the sret and accept pretty much all other attributes. @rustbot label llvm-main r? @nikic
[ { "path": "tests/codegen/uninhabited-transparent-return-abi.rs", "patch": "@@ -24,7 +24,7 @@ extern \"Rust\" {\n pub fn test_uninhabited_ret_by_ref() {\n // CHECK: %_1 = alloca [24 x i8], align {{8|4}}\n // CHECK-NEXT: call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %_1)\n- // CHECK-NEXT: c...
2025-02-21T16:54:43
ggml-org/llama.cpp
60f17f56da78d8fabc658279fd25e109700122da
f8d561eb87cf689afb32ae5ee72118ddffaef12b
rpc: fix segfault on invalid endpoint format (#18387) * rpc: fix segfault on invalid endpoint format * rpc: add error log for failed endpoint connection
[ { "path": "common/arg.cpp", "patch": "@@ -2017,7 +2017,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n if (llama_supports_rpc()) {\n add_opt(common_arg(\n {\"--rpc\"}, \"SERVERS\",\n- \"comma separated list of RPC servers\",\n+ ...
2025-12-28T10:34:41
ollama/ollama
88897a90e49e79b1c5733527d87f28d45bac03f4
9df31c351865a5e4ebc7cca47ad6f888c85268f1
fix ipv6 parse ip
[ { "path": "cmd/cmd.go", "patch": "@@ -650,7 +650,7 @@ func RunServer(cmd *cobra.Command, _ []string) error {\n \thost, port, err := net.SplitHostPort(os.Getenv(\"OLLAMA_HOST\"))\n \tif err != nil {\n \t\thost, port = \"127.0.0.1\", \"11434\"\n-\t\tif ip := net.ParseIP(os.Getenv(\"OLLAMA_HOST\")); ip != nil ...
2023-09-22T17:40:54
nodejs/node
07ec10d43b91f85ba1b8af3331e8c38f3f071254
00fe76d2df4651b453a906fac0cccc5fcafb067a
test: escape script filename on Windows Escape backslashes in script filename on Windows in a CLI test. PR-URL: https://github.com/nodejs/node/pull/16124 Fixes: https://github.com/nodejs/node/issues/16057 and #16023 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelan...
[ { "path": "test/parallel/test-cli-eval.js", "patch": "@@ -139,7 +139,10 @@ child.exec(`${nodejs} --use-strict -p process.execArgv`,\n \n // Regression test for https://github.com/nodejs/node/issues/3574.\n {\n- const emptyFile = fixtures.path('empty.js');\n+ let emptyFile = fixtures.path('empty.js');\n+ ...
2017-10-10T12:57:55
golang/go
4f76fe86756841befb6574ce4bf04113d14389d4
cdc635547fc436dc49c91ddb172b0e101febd3d7
cmd/go, testing, os: fail test that calls os.Exit(0) This catches cases where a test calls code that calls os.Exit(0), thereby skipping all subsequent tests. Fixes #29062 Change-Id: If9478972f40189e27623557e7141469ca4234d89 Reviewed-on: https://go-review.googlesource.com/c/go/+/250977 Run-TryBot: Ian Lance Taylor <i...
[ { "path": "doc/go1.16.html", "patch": "@@ -52,6 +52,16 @@ <h3 id=\"go-command\">Go command</h3>\n TODO: write and link to tutorial or blog post\n </p>\n \n+<p><!-= golang.org/issue/29062 -->\n+ When using <code>go test</code>, a test that\n+ calls <code>os.Exit(0)</code> during execution of a test funct...
2020-08-27T00:26:05
huggingface/transformers
e27d9308be940c8372aec7187553294628c30043
0eaef0c7095be3cd5c568087bad8e15a12ae3863
Raise relevent err when wrong type is passed in as the accelerator_config (#29997) * Raise relevent err * Use type instead
[ { "path": "src/transformers/training_args.py", "patch": "@@ -1815,6 +1815,13 @@ def __post_init__(self):\n self.accelerator_config = AcceleratorConfig()\n elif isinstance(self.accelerator_config, dict):\n self.accelerator_config = AcceleratorConfig(**s...
2024-04-16T15:21:24
rust-lang/rust
b7a549725c98de36144e1257b5fbca5372d82a51
bdc97d104696f6abccea657f76401e282fc6ca85
fix #137508 rename ui tests check if res is trait def fix typo regression test for #137554
[ { "path": "compiler/rustc_hir_analysis/src/hir_ty_lowering/errors.rs", "patch": "@@ -789,7 +789,11 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {\n \n Some(args.constraints.iter().filter_map(|constraint| {\n let ident = constraint.ident;\n- let trait_def =...
2025-02-25T19:12:20
ggml-org/llama.cpp
f8d561eb87cf689afb32ae5ee72118ddffaef12b
e59efe6a78748e8447bc69db2d0fe51332f92c02
llama-fit-params: fix step size for last device (#18415)
[ { "path": "src/llama.cpp", "patch": "@@ -512,6 +512,9 @@ static void llama_params_fit_impl(\n if (mem_high[id] > targets[id]) {\n assert(ngl_per_device_high[id].n_layer > ngl_per_device[id].n_layer);\n uint32_t delta = ngl_per_device_high[id].n_layer - ngl_per_dev...
2025-12-28T09:52:09
huggingface/transformers
0eaef0c7095be3cd5c568087bad8e15a12ae3863
60dea593edd0b94ee15dc3917900b26e3acfbbee
add `push_to_hub` to pipeline (#29172) * add `push_to_hub` to pipeline * fix docs * format with ruff * update save_pretrained * update save_pretrained * remove unnecessary comment * switch to push_to_hub method in DynamicPipelineTester * remove unused imports * update docs for add_new_pipeline ...
[ { "path": "docs/source/de/add_new_pipeline.md", "patch": "@@ -208,14 +208,10 @@ from transformers import pipeline\n classifier = pipeline(\"pair-classification\", model=\"sgugger/finetuned-bert-mrpc\")\n ```\n \n-Dann können wir sie auf dem Hub mit der Methode `save_pretrained` in einem `Repository` freigeb...
2024-04-16T14:34:04
golang/go
29634436fd741a7c685bf8f242b6fd62f093d1ad
7615b20d06500fe5c95c061f6ff32e0c97639a60
cmd/cgo: ensure GCC does not use ANSI escape sequences in errors cgo parses GCC’s error messages to classify C identifiers referenced from Go programs (are they integer constants? type names?). If GCC tries to colorize its errors, cgo can’t figure out what GCC is saying. GCC avoids escape sequences in this scenario by...
[ { "path": "src/cmd/cgo/gcc.go", "patch": "@@ -369,7 +369,18 @@ func (p *Package) guessKinds(f *File) []*Name {\n \tfmt.Fprintf(&b, \"#line 1 \\\"completed\\\"\\n\"+\n \t\t\"int __cgo__1 = __cgo__2;\\n\")\n \n-\tstderr := p.gccErrors(b.Bytes())\n+\t// We need to parse the output from this gcc command, so ens...
2020-08-27T20:12:18
nodejs/node
7245e852f2191a256fc748b891266f4b3a91ac10
28e6cab52e65e3d9cb672db6ea51193622f7883b
test: replace common.fixtureDir with fixtures PR-URL: https://github.com/nodejs/node/pull/15816 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-http2-compat-serverrequest-pipe.js", "patch": "@@ -3,14 +3,15 @@\n const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const http2 = require('htt...
2017-10-06T17:08:47
ggml-org/llama.cpp
08566977a74a09ee5fbe8d35846e50bb507b8a97
a4bf35889eda36d3597cd0f8f333f5b8a2fcaefc
opencl: allow resizing transpose buffers (#18384) * opencl: allow resizing transpose buffers instead of using fixed sizes * opencl: remove commented code
[ { "path": "ggml/src/ggml-opencl/ggml-opencl.cpp", "patch": "@@ -263,6 +263,32 @@ static ggml_cl_compiler_version get_adreno_cl_compiler_version(const char *drive\n return { type, major, minor, patch };\n }\n \n+// cl buffer wrapper\n+struct ggml_cl_buffer {\n+ cl_mem buffer;\n+ size_t size;\n+\n+ ...
2025-12-27T23:51:14
ollama/ollama
c98669436742f79f8ffaa796ff94ee2c7f17201a
058d0cd04b6f73bab1ac478a7483a469adc32355
fix HEAD / request HEAD request should respond like their GET counterparts except without a response body.
[ { "path": "server/routes.go", "patch": "@@ -543,12 +543,11 @@ func Serve(ln net.Listener, allowOrigins []string) error {\n \t\t},\n \t)\n \n-\tr.GET(\"/\", func(c *gin.Context) {\n-\t\tc.String(http.StatusOK, \"Ollama is running\")\n-\t})\n-\tr.HEAD(\"/\", func(c *gin.Context) {\n-\t\tc.Status(http.StatusOK...
2023-09-21T23:35:38
huggingface/transformers
487505ff45b1bd134a210853e1339cb205ba77b3
b86d0f4eca3793a21ed70cedc84169baef967bce
Allow for str versions of dicts based on typing (#30227) * Bookmark, initial impelemtation. Need to test * Clean * Working fully, woop woop * I think working version now, testing * Fin! * rm cast, could keep None * Fix typing issue * rm typehint * Add test * Add tests and make more rigid
[ { "path": "src/transformers/training_args.py", "patch": "@@ -173,6 +173,37 @@ class OptimizerNames(ExplicitEnum):\n GALORE_ADAFACTOR_LAYERWISE = \"galore_adafactor_layerwise\"\n \n \n+# Sometimes users will pass in a `str` repr of a dict in the CLI\n+# We need to track what fields those can be. Each tim...
2024-04-16T12:15:09
nodejs/node
584f0376121344e5d6ab565dced19873990b23e7
ab6eed8818c97e7bb07a77a55f4fd6585b397b65
test: fixtures in test-net-pipe-connect-errors PR-URL: https://github.com/nodejs/node/pull/15922 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "test/parallel/test-net-pipe-connect-errors.js", "patch": "@@ -21,9 +21,9 @@\n \n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n const fs = require('fs');\n const net = require('net');\n-const path = require('path');\n const assert = requir...
2017-10-06T17:11:05
golang/go
2013f70256e55f5f6f826757333aae42b4667561
a98fe2632cf144d6ed41daf7255aa912f0e430db
runtime: add lock partial order edge (fin -> wbufSpans) runfinq may have write barriers, thus it may need to take wbufSpans on any write. Fixes #41021 Change-Id: Ib69e20994b5d7d1526ad53d6ddb5e2e83bf2ed00 Reviewed-on: https://go-review.googlesource.com/c/go/+/250464 Run-TryBot: Michael Pratt <mpratt@google.com> TryBo...
[ { "path": "src/runtime/lockrank.go", "patch": "@@ -230,7 +230,7 @@ var lockPartialOrder [][]lockRank = [][]lockRank{\n \tlockRankStackLarge: {lockRankSysmon, lockRankAssistQueue, lockRankSched, lockRankItab, lockRankHchan, lockRankProf, lockRankGcBitsArenas, lockRankRoot, lockRankSpanSetSpine, lockRankGsc...
2020-08-25T14:39:02
ggml-org/llama.cpp
a4bf35889eda36d3597cd0f8f333f5b8a2fcaefc
026d2ad47247c006bd9ef6e583d76b6ab69875b6
llama-fit-params: fix overflow check (#18354)
[ { "path": "src/llama.cpp", "patch": "@@ -389,8 +389,8 @@ static void llama_params_fit_impl(\n tensor_buft_overrides[itbo].buft = nullptr;\n itbo++;\n mparams.tensor_buft_overrides = tensor_buft_overrides;\n- throw llama_params...
2025-12-27T19:20:45
huggingface/transformers
b86d0f4eca3793a21ed70cedc84169baef967bce
ddf5f2588f6ce87544d1c5c3cbfc958782b20135
FIX: Fix 8-bit serialization tests (#30051) * fix 8-bit serialization tests * add more clarification * Update src/transformers/quantizers/quantizer_bnb_8bit.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> --------- Co-authored-by: amyeroberts <22614925+amyeroberts@users.no...
[ { "path": "src/transformers/quantizers/quantizer_bnb_8bit.py", "patch": "@@ -171,7 +171,10 @@ def create_quantized_param(\n import bitsandbytes as bnb\n \n fp16_statistics_key = param_name.replace(\"weight\", \"SCB\")\n+ fp16_weights_format_key = param_name.replace(\"weight\", \"weigh...
2024-04-16T10:28:10
ollama/ollama
1fabba474b3a1362b85da0e088dcd3967f39151b
765770efdbb8db463dfc359ae1f9653af908c779
refactor default allow origins this should be less error prone
[ { "path": "server/routes.go", "patch": "@@ -499,23 +499,25 @@ func CopyModelHandler(c *gin.Context) {\n \t}\n }\n \n-func Serve(ln net.Listener, origins []string) error {\n+var defaultAllowOrigins = []string{\n+\t\"localhost\",\n+\t\"127.0.0.1\",\n+\t\"0.0.0.0\",\n+}\n+\n+func Serve(ln net.Listener, allowOr...
2023-09-21T16:42:16
nodejs/node
ab6eed8818c97e7bb07a77a55f4fd6585b397b65
ce9d55d78f6ae8ae3922e5701f2b45eab3476c76
test: fixtures in test-process-redirect-warnings-env Replaced common.fixturesDir with common.fixtures in test-process-redirect-warnings-env PR-URL: https://github.com/nodejs/node/pull/15930 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-process-redirect-warnings-env.js", "patch": "@@ -6,14 +6,15 @@\n // opened and the contents are validated\n \n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n const fs = require('fs');\n const fork = require('child_process').fork;\n cons...
2017-10-06T17:29:12
golang/go
234e37bcda2b5efdd685ad11d1bb3d336415648e
ac2a1f8796101459a1700d02093745ffe1c821f4
go/types: remove need to enumerate fixedbugs test files This is a port of CL 244628, updated to move some existing regression tests into the fixedbugs directory, and to use subtests. Also, 'TestFixed' is renamed to 'TestFixedBugs'. Change-Id: I43aac3f75f2bd850567d08e8b008d91aeb717064 Reviewed-on: https://go-review.go...
[ { "path": "src/go/types/check_test.go", "patch": "@@ -34,6 +34,7 @@ import (\n \t\"go/token\"\n \t\"internal/testenv\"\n \t\"io/ioutil\"\n+\t\"path/filepath\"\n \t\"regexp\"\n \t\"strings\"\n \t\"testing\"\n@@ -93,11 +94,6 @@ var tests = [][]string{\n \t{\"testdata/issues.src\"},\n \t{\"testdata/blank.src\"...
2020-08-11T17:21:14
ggml-org/llama.cpp
026d2ad47247c006bd9ef6e583d76b6ab69875b6
06705fdcb3ef199d2c2c95a5e3cbb7cf9cc5256e
llama: fix magic number of 999 for GPU layers (#18266) * llama: fix magic number of 999 for GPU layers * use strings for -ngl, -ngld * enacapsulate n_gpu_layers, split_mode
[ { "path": "common/arg.cpp", "patch": "@@ -2137,11 +2137,18 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n }\n }\n ).set_examples({LLAMA_EXAMPLE_SPECULATIVE, LLAMA_EXAMPLE_SERVER, LLAMA_EXAMPLE_CLI}).set_env(\"LLAMA_ARG_N_CPU_MOE_DRAFT\"));\n+ ...
2025-12-27T19:18:35
huggingface/transformers
ddf5f2588f6ce87544d1c5c3cbfc958782b20135
cbc2cc187aeefd85aac8bb1660d5874ddc1164d2
FIX: Fix corner-case issue with the important models workflow (#30212) * Update push-important-models.yml * dummy commit * Update modeling_bark.py * test * test * test * another test * another test * test * final test * final test * test * another test * test * test * anoth...
[ { "path": ".github/workflows/push-important-models.yml", "patch": "@@ -53,11 +53,12 @@ jobs:\n test_modified_files:\n needs: get_modified_models\n name: Slow & FA2 tests\n+ runs-on: ubuntu-latest\n runs-on: [single-gpu, nvidia-gpu, a10, ci]\n container:\n image: huggingface/transf...
2024-04-16T10:15:57
rust-lang/rust
039af88e09f4f4beb47406f4771bffc2e61d800a
b6f22400002f7921feed13e35852e3041cf2b145
also fix potential issues with mixed stable/unstable target features in rustdoc
[ { "path": "compiler/rustc_codegen_ssa/src/target_features.rs", "patch": "@@ -10,7 +10,7 @@ use rustc_middle::query::Providers;\n use rustc_middle::ty::TyCtxt;\n use rustc_session::parse::feature_err;\n use rustc_span::{Span, Symbol, sym};\n-use rustc_target::target_features;\n+use rustc_target::target_featu...
2025-02-25T19:38:13
nodejs/node
ce9d55d78f6ae8ae3922e5701f2b45eab3476c76
4db84724cadddb85c7690310cc2cb8f02c78cbee
test: fix ordering of strictEqual actual/expected Change all assert.strictEqual() to have actual value 1st and expected value 2nd. PR-URL: https://github.com/nodejs/node/pull/16008 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Re...
[ { "path": "test/sequential/test-regress-GH-784.js", "patch": "@@ -42,7 +42,7 @@ const server = http.createServer(function(req, res) {\n });\n \n req.on('end', function() {\n- assert.strictEqual('PING', body);\n+ assert.strictEqual(body, 'PING');\n res.writeHead(200);\n res.end('PONG');\n ...
2017-10-06T18:07:22
golang/go
c00b7081699d3b3ced2970fdae2de6febf638c05
3b20d484fbb7a4f64881002f8a63eca42f0e7c29
cmd/go/internal/modfetch: do not use mangled version strings to construct module.VersionErrors Better still would be to avoid passing around module.Version instances with invalid Version strings in the first place, so that any time we see a module.Version we know that it is actually a version of a module (and not a st...
[ { "path": "src/cmd/go/internal/modfetch/fetch.go", "patch": "@@ -503,6 +503,9 @@ func checkGoMod(path, version string, data []byte) error {\n }\n \n // checkModSum checks that the recorded checksum for mod is h.\n+//\n+// mod.Version may have the additional suffix \"/go.mod\" to request the checksum\n+// fo...
2020-08-27T03:17:53
ggml-org/llama.cpp
a52dc60ba3ae0ef1e941ce9a4585672cc335a175
9045c9afe57513eef8d16e329042ea2d7afd9a95
llama_fit_params: return enum for fail vs. error (#18374)
[ { "path": "include/llama.h", "patch": "@@ -467,10 +467,16 @@ extern \"C\" {\n // Frees all allocated memory\n LLAMA_API void llama_free(struct llama_context * ctx);\n \n+ enum llama_params_fit_status {\n+ LLAMA_PARAMS_FIT_STATUS_SUCCESS = 0, // found allocations that are projected to fit\n...
2025-12-27T08:59:19
huggingface/transformers
cbc2cc187aeefd85aac8bb1660d5874ddc1164d2
51bcadc10a569847b93a30dbe3a077037ae63bad
More fixes for doctest (#30265) * fix * update * update * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "docker/transformers-all-latest-gpu/Dockerfile", "patch": "@@ -52,6 +52,9 @@ RUN python3 -m pip install --no-cache-dir natten==0.15.1+torch220$CUDA -f https:\n # For `nougat` tokenizer\n RUN python3 -m pip install --no-cache-dir python-Levenshtein\n \n+# For `FastSpeech2ConformerTokenizer` tokeniz...
2024-04-16T09:58:55
ollama/ollama
9297ff8330381e0e1e42db3af2e674413a33ba37
ee4fd16f2c02a643e70c5393f7bb27cfda58671f
fix OLLAMA_HOST parsing for ip6
[ { "path": "cmd/cmd.go", "patch": "@@ -655,28 +655,19 @@ func generateBatch(cmd *cobra.Command, model string) error {\n }\n \n func RunServer(cmd *cobra.Command, _ []string) error {\n-\thost, port := \"127.0.0.1\", \"11434\"\n-\n-\tparts := strings.Split(os.Getenv(\"OLLAMA_HOST\"), \":\")\n-\tif ip := net.Pa...
2023-09-21T00:49:48
nodejs/node
b1506f713c8866c47d17b0d7fe76fd5c6697ef42
981595c316d254f359786f659dba004244cf7cd5
test: use fixtures.path instead of fixturesDir Updated parallel/test-require-resolve.js to use the fixtures module. PR-URL: https://github.com/nodejs/node/pull/15984 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Rev...
[ { "path": "test/parallel/test-require-resolve.js", "patch": "@@ -20,20 +20,19 @@\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n 'use strict';\n-const common = require('../common');\n-const fixturesDir = common.fixturesDir;\n+require('../common');\n+const fixtures = require('../common/fixtures');\n const a...
2017-10-06T18:11:04
golang/go
3b20d484fbb7a4f64881002f8a63eca42f0e7c29
17ae5873833fd9a20aae123faf96f3eca9a149ea
go/types: fix missing Importer for TestBenchmark TestBenchmark is broken due to lack of a Config.Importer, but unfortunately fails silently due to an unchecked error. Fix the importer and check the error. Also improve the output to include allocation stats. Finally, don't run TestBenchmark on go/types by default. If...
[ { "path": "src/go/types/self_test.go", "patch": "@@ -47,8 +47,13 @@ func TestBenchmark(t *testing.T) {\n \t// We're not using testing's benchmarking mechanism directly\n \t// because we want custom output.\n \n-\tfor _, p := range []string{\"types\", \"constant\", filepath.Join(\"internal\", \"gcimporter\")...
2020-08-19T02:29:22
huggingface/transformers
51bcadc10a569847b93a30dbe3a077037ae63bad
5be21302ad58ed1c900de5576967b8041155de7d
Update `ko/_toctree.yml` (#30062) * fix: update `ko/_toctree.yml` * fix: update ko/_toctree.yml * Update docs/source/ko/_toctree.yml Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * fix: delete `perf_infer_gpu_many` * fix: Replace untranslated docs with `in_translation` Co-a...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -29,7 +29,8 @@\n title: 대규모 언어 모델로 생성하기\n title: 튜토리얼\n - sections:\n- - sections:\n+ - isExpanded: false\n+ sections:\n - local: tasks/sequence_classification\n title: 텍스트 분류\n - local: tasks/token_classification\n@@ -47,1...
2024-04-15T17:42:46
nodejs/node
981595c316d254f359786f659dba004244cf7cd5
9f1e6e79ead42ef2bdc395898f2e1fc8b215ebf6
test: fix test-esm-addons Move test-esm-addons to test/addons/hello-world-esm. Test should now work properly on CI machines where `addons` are not always built at the expected relative path from the es-modules tests. Test should now work in Debug builds. PR-URL: https://github.com/nodejs/node/pull/16174 Fixes: http...
[ { "path": "test/addons/hello-world-esm/binding.cc", "patch": "@@ -0,0 +1,13 @@\n+#include <node.h>\n+#include <v8.h>\n+\n+void Method(const v8::FunctionCallbackInfo<v8::Value>& args) {\n+ v8::Isolate* isolate = args.GetIsolate();\n+ args.GetReturnValue().Set(v8::String::NewFromUtf8(isolate, \"world\"));\n...
2017-10-13T05:02:59
golang/go
17ae5873833fd9a20aae123faf96f3eca9a149ea
73a5c372410adb272b6a63484c9a9de5e93e986c
cmd/compile: use addressing modes pass on s390x Add s390x support to the addressing modes pass. This significantly reduces the number of rules we need to have to handle indexed addressing modes on s390x. There are some changes introduced with the new approach. Notably pointer calculations of the form '(ADD x (ADDcons...
[ { "path": "src/cmd/compile/internal/ssa/addressingmodes.go", "patch": "@@ -7,12 +7,14 @@ package ssa\n // addressingModes combines address calculations into memory operations\n // that can perform complicated addressing modes.\n func addressingModes(f *Func) {\n+\tisInImmediateRange := is32Bit\n \tswitch f....
2020-05-14T14:58:27
huggingface/transformers
5be21302ad58ed1c900de5576967b8041155de7d
8127f39624f587bdb04d55ab655df1753de7720a
Remove incorrect arg in codellama doctest (#30257) Remove incorrect arg in codellama docstring
[ { "path": "docs/source/en/model_doc/code_llama.md", "patch": "@@ -96,7 +96,7 @@ If you only want the infilled part:\n >>> import torch\n \n >>> generator = pipeline(\"text-generation\",model=\"codellama/CodeLlama-7b-hf\",torch_dtype=torch.float16, device_map=\"auto\")\n->>> generator('def remove_non_ascii(s...
2024-04-15T17:31:23
ollama/ollama
58ffa03d8bdde2869bdd0ca892778d2130802fd4
637f8bc6a56ac83140d9f46a00d143ef95f388cc
fix impossible condition
[ { "path": "cmd/cmd.go", "patch": "@@ -114,10 +114,6 @@ func RunHandler(cmd *cobra.Command, args []string) error {\n \t}\n \n \tmp := server.ParseModelPath(args[0])\n-\tif err != nil {\n-\t\treturn err\n-\t}\n-\n \tif mp.ProtocolScheme == \"http\" && !insecure {\n \t\treturn fmt.Errorf(\"insecure protocol ht...
2023-09-19T22:23:33
ggml-org/llama.cpp
9045c9afe57513eef8d16e329042ea2d7afd9a95
c9ced4910ba0c8d95565950ac11bcc54fee309cd
llama-fit-params: fix Gemma 3 calculation (#18372)
[ { "path": "src/llama.cpp", "patch": "@@ -181,12 +181,11 @@ static void llama_params_fit_impl(\n }\n }\n \n- int64_t sum_total = 0;\n+ int64_t sum_free = 0;\n int64_t sum_projected_free = 0;\n int64_t min_projected_free = INT64_MAX;\n int64_t sum_projected...
2025-12-27T08:56:04
nodejs/node
84f6964d25373a4259943b21069f02e8b8be9d39
c42cdd49199a69e40edbb356e1b546e322906f7d
test: use fixtures.readSync PR-URL: https://github.com/nodejs/node/pull/15841/ Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "test/parallel/test-https-drain.js", "patch": "@@ -24,14 +24,13 @@ const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const https = require('https');\n-const fs ...
2017-10-06T16:28:31
golang/go
346efc28508dc358cba7e246adeb40bde99cfb2a
3e636ab9ad31040aff2d484237808907a776cec6
go/types: better error when converting untyped values in assignments The error returned by convertUntyped is 'cannot convert _ to _', which can be misleading in contexts where an explicit conversion would be allowed. Arguably the error message from convertUntyped should just be 'cannot use _ as _', as 'convert' has a...
[ { "path": "src/go/types/assignments.go", "patch": "@@ -7,6 +7,7 @@\n package types\n \n import (\n+\t\"errors\"\n \t\"go/ast\"\n \t\"go/token\"\n )\n@@ -43,8 +44,16 @@ func (check *Checker) assignment(x *operand, T Type, context string) {\n \t\t\t}\n \t\t\ttarget = Default(x.typ)\n \t\t}\n-\t\tcheck.convert...
2020-07-12T20:57:01
huggingface/transformers
6b78360e6d686b316360334f5109b46c39ff5ed8
667939a2d327cc4db80fe4879f86c4f999dcb490
Add Idefics2 (#30253) * Initial add model additions * Test * All weights loading * Can perform full forward pass * Local and remote the same * Matching local and remote * Fixup * Idefics2Model importable; fixup docstrings * Don't skip by default * Remove deprecated use_resampler arg * Rem...
[ { "path": "README.md", "patch": "@@ -331,7 +331,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[CLVP](https://huggingface.co/docs/transformers/model_doc/clvp)** released with the paper [Better speech synthesis through scaling](https://arxiv.org/abs/2305.07243) b...
2024-04-15T16:03:03
rust-lang/rust
9423634997e4c0beab4dff936eaf91126a4a8d80
ed2ccea432f70110ace290c7c80360cbb10c7e0c
Fix posting message to Zulip
[ { "path": "src/doc/rustc-dev-guide/.github/workflows/rustc-pull.yml", "patch": "@@ -111,4 +111,4 @@ jobs:\n to: 196385\n type: \"stream\"\n topic: \"Subtree sync automation\"\n- content: ${{ steps.message.outputs.message }}\n+ content: ${{ steps.create-message...
2025-02-25T17:56:14
ggml-org/llama.cpp
4893cc07bba09525d6a1720d0686ed09b5a9b1c8
af3be131c065a38e476c34295bceda6cb956e7d7
server : fix crash when seq_rm fails for hybrid/recurrent models (#18391) * server : fix crash when seq_rm fails for hybrid/recurrent models * server : add allow_processing param to clear_slot
[ { "path": "tools/server/server-context.cpp", "patch": "@@ -1007,8 +1007,10 @@ struct server_context_impl {\n return ret;\n }\n \n- void clear_slot(server_slot & slot) const {\n- GGML_ASSERT(!slot.is_processing());\n+ void clear_slot(server_slot & slot, bool allow_processing = false)...
2025-12-26T15:35:29
nodejs/node
c42cdd49199a69e40edbb356e1b546e322906f7d
734ec0b854611d59d0894e0b9a2f4a63250f9bc6
test: replaced fixturesDir with common.fixtures PR-URL: https://github.com/nodejs/node/pull/15836 Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca...
[ { "path": "test/parallel/test-tls-async-cb-after-socket-end.js", "patch": "@@ -3,17 +3,14 @@\n const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n-\n-const path = require('path');\n-const fs = require('fs');\n+const fixtures = require('../common/fixtures');\n c...
2017-10-06T16:39:43
golang/go
3e636ab9ad31040aff2d484237808907a776cec6
2aba467933b3252c758b65146d2ea5a5cff196da
net/mail: return error on empty address list This restores the handling accidentally changed in CL 217377. Fixes #40803 For #36959 Change-Id: If77fbc0c2a1dde4799f760affdfb8dde9bcaf458 Reviewed-on: https://go-review.googlesource.com/c/go/+/248598 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gob...
[ { "path": "src/net/mail/message.go", "patch": "@@ -279,9 +279,6 @@ func (p *addrParser) parseAddressList() ([]*Address, error) {\n \t\tif p.consume(',') {\n \t\t\tcontinue\n \t\t}\n-\t\tif p.empty() {\n-\t\t\tbreak\n-\t\t}\n \n \t\taddrs, err := p.parseAddress(true)\n \t\tif err != nil {\n@@ -295,9 +292,17 ...
2020-08-14T20:29:07
huggingface/transformers
fe2d20d275d3591e2619a1adb0fa6ae272605208
ec344b560d438b40b685674fcf268642c6c1172a
Fix doctest more (for `docs/source/en`) (#30247) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "docs/source/en/generation_strategies.md", "patch": "@@ -57,9 +57,10 @@ When you load a model explicitly, you can inspect the generation configuration t\n >>> model = AutoModelForCausalLM.from_pretrained(\"distilbert/distilgpt2\")\n >>> model.generation_config\n GenerationConfig {\n- \"bos_toke...
2024-04-15T12:10:59
ollama/ollama
a5520bfb4270f9ae8b99ef227d475544b1407436
2627c464ba1e9b032a37babaa6400d2308f562a7
fix build
[ { "path": "cmd/cmd.go", "patch": "@@ -14,7 +14,6 @@ import (\n \t\"net/http\"\n \t\"os\"\n \t\"os/exec\"\n-\t\"path\"\n \t\"path/filepath\"\n \t\"runtime\"\n \t\"strings\"", "additions": 0, "deletions": 1, "language": "Go" }, { "path": "server/images.go", "patch": "@@ -14,7 +14,6 @@ ...
2023-09-19T17:42:20
rust-lang/rust
c550bee64148a8f702f5fd18d4da75b93832c4df
a4e89deb52eac24d857823f46a3f38b02178731a
Fix rebase
[ { "path": "compiler/rustc_errors/src/diagnostic_impls.rs", "patch": "@@ -98,7 +98,7 @@ into_diag_arg_using_display!(\n );\n \n impl IntoDiagArg for RustcVersion {\n- fn into_diag_arg(self) -> DiagArgValue {\n+ fn into_diag_arg(self, _: &mut Option<std::path::PathBuf>) -> DiagArgValue {\n DiagA...
2025-02-25T17:27:22
ggml-org/llama.cpp
b07cda687c6e5667b574c5e33eabad58a8dc7b12
85c40c9b02941ebf1add1469af75f1796d513ef4
CANN: implement the SSM_CONV operator (#17737) * CANN: implement SSM_CONV operator Co-authored-by: Aleksei Lobanov, <zeromarblectm@gmail.com> Co-authored-by: Sujin Kang, <waterjin326@gmail.com> * CANN: remove custom error limit for SSM_CONV * CANN: merge SSM_CONV tensor shape/strides into one line --------- Co-au...
[ { "path": "ggml/src/ggml-cann/aclnn_ops.cpp", "patch": "@@ -3702,3 +3702,106 @@ void ggml_cann_out_prod(ggml_backend_cann_context & ctx, ggml_tensor * dst) {\n break;\n }\n }\n+\n+void ggml_cann_ssm_conv(ggml_backend_cann_context & ctx, ggml_tensor * dst) {\n+ ggml_tensor * src0 = dst->sr...
2025-12-26T01:12:04
nodejs/node
734ec0b854611d59d0894e0b9a2f4a63250f9bc6
cfe14eed9f7262f5eb2654f323238c86a3d04070
test: use fixtures.fixturesDir PR-URL: https://github.com/nodejs/node/pull/15822 Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
[ { "path": "test/parallel/test-fs-symlink-dir-junction-relative.js", "patch": "@@ -23,14 +23,15 @@\n // Test creating and resolving relative junction or symbolic link\n \n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const path =...
2017-10-06T16:32:33
golang/go
47b450997778163dfed6f58cae379d928fc37687
e9ad52e46dee4b4f9c73ff44f44e1e234815800f
doc/go1.14: document json.Umarshal map key support of TextUnmarshaler Document that json.Unmarshal supports map keys whose underlying types implement encoding.TextUnmarshaler. Fixes #38801 Change-Id: Icb9414e9067517531ba0da910bd4a2bb3daace65 Reviewed-on: https://go-review.googlesource.com/c/go/+/237857 Reviewed-by: ...
[ { "path": "doc/go1.14.html", "patch": "@@ -609,6 +609,12 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n If a program needs to accept invalid numbers like the empty string,\n consider wrapping the type with <a href=\"/pkg/encoding/json/#Unmarshaler\"><code>Unmarshaler</co...
2020-06-14T16:07:10
huggingface/transformers
ec344b560d438b40b685674fcf268642c6c1172a
fc8eda36c57d83ca1c760cda6ed92c683ada3a9a
Separate out kwargs in processor (#30193) * Separate out kwargs in processor * Fix up
[ { "path": "src/transformers/models/clip/processing_clip.py", "patch": "@@ -92,15 +92,21 @@ def __call__(self, text=None, images=None, return_tensors=None, **kwargs):\n `None`).\n - **pixel_values** -- Pixel values to be fed to a model. Returned when `images` is not `None`.\n ...
2024-04-15T11:36:50
rust-lang/rust
4bf66c57fad749b0efe331c4c9e40f0a65e56e5c
ad27045c31a9f37ad7d44ca2a403de52d1a896d3
fix #137589
[ { "path": "compiler/rustc_attr_parsing/src/context.rs", "patch": "@@ -333,7 +333,10 @@ impl<'sess> AttributeParser<'sess> {\n {\n lit\n } else {\n- let guar = self.dcx().has_errors().unwrap();\n+ let guar = self.dcx()....
2025-02-25T15:53:10
ggml-org/llama.cpp
85c40c9b02941ebf1add1469af75f1796d513ef4
83b3b1c271c78bd77664120431aa8c354d68daac
ggml-cuda: fix regex for arch list (#18371) * ggml-cuda: fix regex for arch list * make regex exact
[ { "path": "ggml/src/ggml-cuda/CMakeLists.txt", "patch": "@@ -44,8 +44,13 @@ if (CUDAToolkit_FOUND)\n # Replace any 12x-real architectures with 12x{a}-real. FP4 ptx instructions are not available in just 12x\n if (GGML_NATIVE)\n set(PROCESSED_ARCHITECTURES \"\")\n- foreach(ARCH ${CMAKE...
2025-12-25T17:35:14
nodejs/node
cfe14eed9f7262f5eb2654f323238c86a3d04070
64560cf08c1626a0414fa98872037751e1a3a1f5
test: replaces fixturesDir with fixtures methods PR-URL: https://github.com/nodejs/node/pull/15817 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 P...
[ { "path": "test/sequential/test-regress-GH-4015.js", "patch": "@@ -20,12 +20,13 @@\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n 'use strict';\n-const common = require('../common');\n+require('../common');\n+const { fixturesDir } = require('../common/fixtures');\n const assert = require('assert');\n-cons...
2017-10-06T16:50:09
huggingface/transformers
fc8eda36c57d83ca1c760cda6ed92c683ada3a9a
b6b6daf2b7d0726084bba60e21196989dd12f7f6
fix: Fixed `type annotation` for compatability with python 3.8 (#30243) * Fixed type annotation for compatability with python 3.8 * Fixed unsorted imports.
[ { "path": "src/transformers/models/whisper/convert_openai_to_hf.py", "patch": "@@ -21,7 +21,7 @@\n import tempfile\n import urllib\n import warnings\n-from typing import Any, Optional, Tuple\n+from typing import Any, List, Optional, Tuple\n \n import torch\n from huggingface_hub.utils import insecure_hashli...
2024-04-15T11:31:37
golang/go
e9ad52e46dee4b4f9c73ff44f44e1e234815800f
694fc8e76bec99b67bbd0302852f6a1c1dafe7ca
net: export ErrClosed This permits programs to reliably detect whether they are using a closed network connection. Fixes #4373 Change-Id: Ib4ce8cc82bbb134c4689f0ebc8b9b11bb8b32a22 Reviewed-on: https://go-review.googlesource.com/c/go/+/250357 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <...
[ { "path": "doc/go1.16.html", "patch": "@@ -99,6 +99,18 @@ <h2 id=\"library\">Core library</h2>\n TODO\n </p>\n \n+<h3 id=\"net\"><a href=\"/pkg/net/\">net</a></h3>\n+\n+<p><!-- CL -->\n+ The case of I/O on a closed network connection, or I/O on a network\n+ connection that is closed before any of the I/...
2020-08-25T04:42:20
rust-lang/rust
26f74ef586d2d8849e93e9a1a6c6e803a0d21065
7302dc660b997c882b3a250fb6a23f60259fbdf5
Make E0609 a structured error
[ { "path": "compiler/rustc_hir_typeck/messages.ftl", "patch": "@@ -153,6 +153,12 @@ hir_typeck_no_associated_item = no {$item_kind} named `{$item_name}` found for {\n *[other] {\" \"}in the current scope\n }\n \n+hir_typeck_no_field_on_type = no field `{$field}` on type `{$ty}`\n+\n+hir_typeck_no_field_o...
2025-02-18T03:54:04
ggml-org/llama.cpp
b0fb0f0aee2c931cbc08e95aef68f615c6de90a2
e68c19b0fdbb18d7a19217194c2795897e9c683c
ggml-cuda: fix blackwell native builds (#18361) * ggml-cuda: fix blackwell native builds Replace 12x in native architectures by 12xa * replace for GGML_NATIVE=OFF too * only replace for native * remove 120f-virtual for default compilation --------- Co-authored-by: Aman Gupta <aman>
[ { "path": "ggml/src/ggml-cuda/CMakeLists.txt", "patch": "@@ -35,16 +35,33 @@ if (CUDAToolkit_FOUND)\n if (CUDAToolkit_VERSION VERSION_GREATER_EQUAL \"11.8\")\n list(APPEND CMAKE_CUDA_ARCHITECTURES 89-real)\n endif()\n-\n- if (CUDAToolkit_VERSION VERSION_GRE...
2025-12-25T14:12:11
ollama/ollama
b58d5d16b093f88a51c48b9310acb4100943d23b
24580df958e0ce0d1ef839c7c47ddd938456a6f3
fix mkdir on windows
[ { "path": "cmd/cmd.go", "patch": "@@ -722,7 +722,7 @@ func initializeKeypair() error {\n \t\t\treturn err\n \t\t}\n \n-\t\terr = os.MkdirAll(path.Dir(privKeyPath), 0o700)\n+\t\terr = os.MkdirAll(filepath.Dir(privKeyPath), 0o755)\n \t\tif err != nil {\n \t\t\treturn fmt.Errorf(\"could not create directory %w...
2023-09-19T16:36:30
nodejs/node
64560cf08c1626a0414fa98872037751e1a3a1f5
17b818bae471cd20db6f28cf3994baf5c55cf4f6
test: replace fixturesDir with fixtures methods PR-URL: https://github.com/nodejs/node/pull/15833 Reviewed-By: Ryan Graham <r.m.graham@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Puna...
[ { "path": "test/parallel/test-http2-respond-file-fd-errors.js", "patch": "@@ -3,8 +3,8 @@\n const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n+const fixtures = require('../common/fixtures');\n const http2 = require('http2');\n-const path = require('path');\n c...
2017-10-06T16:46:22
huggingface/transformers
b6b6daf2b7d0726084bba60e21196989dd12f7f6
b3595cf02b9997e9acfc23ed6f4bcec78cd315ed
Refactor doctest (#30210) * fix * update * fix * update * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/doctest_job.yml", "patch": "@@ -0,0 +1,81 @@\n+name: Doctest job\n+\n+on:\n+ workflow_call:\n+ inputs:\n+ job_splits:\n+ required: true\n+ type: string\n+ split_keys:\n+ required: true\n+ type: string\n+\n+env:\n+ HF_HOME: /mnt/cache\n+...
2024-04-15T11:20:36
rust-lang/rust
7302dc660b997c882b3a250fb6a23f60259fbdf5
ae3a825faa5dbcba6a223d0d225fd5535bf5f014
Make E0614 a structured error ``` error[E0614]: type `(..., ..., ..., ...)` cannot be dereferenced --> $DIR/long-E0614.rs:10:5 | LL | *x; | ^^ can't be dereferenced | = note: the full name for the type has been written to '$TEST_BUILD_DIR/$FILE.long-type-hash.txt' = note: consider using `--ver...
[ { "path": "compiler/rustc_hir_typeck/messages.ftl", "patch": "@@ -28,6 +28,9 @@ hir_typeck_cannot_cast_to_bool = cannot cast `{$expr_ty}` as `bool`\n .help = compare with zero instead\n .label = unsupported cast\n \n+hir_typeck_cant_dereference = type `{$ty}` cannot be dereferenced\n+hir_typeck_cant...
2025-02-18T01:50:10
ggml-org/llama.cpp
e68c19b0fdbb18d7a19217194c2795897e9c683c
c54bba869da97feeaf788cac499679c9a9ff9fea
CANN: Add support for CONV_TRANSPOSE_1D when kernel size > 255 (#17934) * CONV_TRANSPOSE_1D kernel_size>255 * remove condition check * fix the bug of type conversion * removing trailing whitespaces * fix: return true in the switch case
[ { "path": "ggml/src/ggml-cann/aclnn_ops.cpp", "patch": "@@ -2990,32 +2990,156 @@ void ggml_cann_argmax(ggml_backend_cann_context & ctx, ggml_tensor * dst) {\n GGML_CANN_CALL_ACLNN_OP(ctx, ArgMax, acl_src.get(), 3, false, acl_dst.get());\n }\n \n-void ggml_cann_conv_transpose_1d(ggml_backend_cann_context...
2025-12-25T08:46:09
ollama/ollama
66003e1d05874703b425717bc39f112fcb88136a
c345053a8bf47d5ef8f1fe15d385108059209fba
subprocess improvements (#524) * subprocess improvements - increase start-up timeout - when runner fails to start fail rather than timing out - try runners in order rather than choosing 1 runner - embed metal runner in metal dir rather than gpu - refactor logging and error messages * Update llama.go * Upd...
[ { "path": "llm/ggml.go", "patch": "@@ -166,15 +166,15 @@ func (c *containerLORA) Decode(r io.Reader) (model, error) {\n }\n \n var (\n-\tggmlInit sync.Once\n-\tggmlRunnerPath string\n+\tggmlInit sync.Once\n+\tggmlRunners []ModelRunner // a slice of ModelRunners ordered by priority\n )\n \n-func ggm...
2023-09-18T19:16:32
nodejs/node
8a8cd40b27889121f7dc3a7d22b71f73d2e2929e
7bc6dd02a4a2ba0f5bea25f2f09e066821a9577a
test: fixtures in test-process-redirect-warnings In test/parallel/test-process-redirect-warning.js replace usage of common.fixture by common.fixturesDir PR-URL: https://github.com/nodejs/node/pull/15917 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-process-redirect-warnings.js", "patch": "@@ -6,14 +6,15 @@\n // opened and the contents are validated\n \n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n const fs = require('fs');\n const fork = require('child_process').fork;\n const pa...
2017-10-06T17:17:00
huggingface/transformers
b3595cf02b9997e9acfc23ed6f4bcec78cd315ed
f0107862189b461755bb0bd86a28424060cb2fd2
fix: Replaced deprecated `typing.Text` with `str` (#30230) typing.Text is deprecated. Use str instead
[ { "path": "examples/research_projects/tapex/wikisql_utils.py", "patch": "@@ -21,7 +21,7 @@\n \n # The following script is adapted from the script of TaPas.\n # Original: https://github.com/google-research/tapas/master/wikisql_utils.py\n-from typing import Any, List, Text\n+from typing import Any, List\n \n ...
2024-04-15T11:18:37
rust-lang/rust
ae3a825faa5dbcba6a223d0d225fd5535bf5f014
693ed264cee6844006dc9e30295ba176a3e819b7
Make E0529 a structured error
[ { "path": "compiler/rustc_hir_typeck/messages.ftl", "patch": "@@ -10,6 +10,7 @@ hir_typeck_address_of_temporary_taken = cannot take address of a temporary\n hir_typeck_arg_mismatch_indeterminate = argument type mismatch was detected, but rustc had trouble determining where\n .note = we would appreciate ...
2025-02-18T01:39:08
ggml-org/llama.cpp
4cbafad4f09c82f1b32c76b714302f3937be1df7
c18428423018ed214c004e6ecaedb0cbdda06805
model: support MiMo-V2-Flash (#18328) * mimov2: convert ok * rename mimov2 --> mimo2 * fix conversion * runnable not incorrect * use sink * add_sliding_window_pattern * add swa and per-layer n_head_kv * correct params * somewhat working * correct gating func * nits * mimo2: wire RMS eps + MoE bias + convert...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -7362,6 +7362,90 @@ def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None):\n return super().modify_tensors(data_torch, name, bid)\n \n \n+@ModelBase.register(\"MiMoV2FlashForCausalLM\")\n+class MimoV2Model(TextModel):\n+ model_arc...
2025-12-24T22:07:08
nodejs/node
7bc6dd02a4a2ba0f5bea25f2f09e066821a9577a
9943cb2950f392bea45f7e1dbe0da53385af2188
test: update test-crypto-from-binary removed string literal argument to function call strictEqual so that default error message is printed PR-URL: https://github.com/nodejs/node/pull/16011 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-crypto-from-binary.js", "patch": "@@ -54,12 +54,12 @@ const b = Buffer.from(ucs2_control + ucs2_control, 'ucs2');\n .update(datum1.toString('base64'), 'base64')\n .digest('hex');\n const hash1_direct = crypto.createHash('sha1').update(datum1).digest('hex');\n- assert...
2017-10-06T18:48:31
huggingface/transformers
06b1192768220b77d8f5a22031ed081e79df1616
8fd2de933cfeb514f4cb26f5041d4fd0ab323671
fix: Replace deprecated `assertEquals` with `assertEqual` (#30241) Replace deprecated assertEquals with assertEqual.
[ { "path": "tests/models/audio_spectrogram_transformer/test_feature_extraction_audio_spectrogram_transformer.py", "patch": "@@ -173,7 +173,7 @@ def test_integration(self):\n input_speech = self._load_datasamples(1)\n feature_extractor = ASTFeatureExtractor()\n input_values = feature_e...
2024-04-15T08:36:06
golang/go
c769f034d796769ad10fc03fe6866b36039d1a09
db821b54d1a8dffa85a9a3cf599f83a19184f020
cmd/go/internal/modload: support go.mod retract directive The go command now recognizes 'retract' directives in go.mod. A retract directive may be used by a module author to indicate a version should not be used. The go command will not automatically upgrade to a retracted version. Retracted versions will not be consi...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -1894,15 +1894,17 @@\n // \trequire new/thing/v2 v2.3.4\n // \texclude old/thing v1.2.3\n // \treplace bad/thing v1.4.5 => good/thing v1.4.5\n+// \tretract v1.5.6\n //\n // The verbs are\n // \tmodule, to define the module path;\n // \tgo, to set the expected ...
2020-04-15T17:56:09
ggml-org/llama.cpp
c18428423018ed214c004e6ecaedb0cbdda06805
c8a2417d7b65705231eeb5b4080d3e0428c9c5d2
fit-params : fix race condition in fit-params output (#18276)
[ { "path": "tools/fit-params/fit-params.cpp", "patch": "@@ -35,7 +35,7 @@ int main(int argc, char ** argv) {\n }\n \n LOG_INF(\"%s: printing fitted CLI arguments to stdout...\\n\", __func__);\n- std::this_thread::sleep_for(10ms); // to avoid a race between stderr and stdout\n+ common_log_flush(...
2025-12-24T14:57:38
rust-lang/rust
d12ecaed558426ec7998816d64b240ea685a2a8f
c51b9b6d5234aa8e50c3b87784113a1af1af47cb
Teach structured errors to display short `Ty` Make it so that every structured error annotated with `#[derive(Diagnostic)]` that has a field of type `Ty<'_>`, the printing of that value into a `String` will look at the thread-local storage `TyCtxt` in order to shorten to a length appropriate with the terminal width. W...
[ { "path": "compiler/rustc_ast_passes/src/errors.rs", "patch": "@@ -535,7 +535,6 @@ pub(crate) struct WhereClauseBeforeTypeAlias {\n }\n \n #[derive(Subdiagnostic)]\n-\n pub(crate) enum WhereClauseBeforeTypeAliasSugg {\n #[suggestion(ast_passes_remove_suggestion, applicability = \"machine-applicable\", c...
2025-02-18T01:15:59
huggingface/transformers
8fd2de933cfeb514f4cb26f5041d4fd0ab323671
b109257f4fb8b1166e7c53cc5418632014ed53a5
Add test for parse_json_file and change typing to os.PathLike (#30183) * Add test for parse_json_file * Change Path to PathLike * Fix `Import block is un-sorted or un-formatted` * revert parse_json_file * Fix ruff format * Add parse_json_file test
[ { "path": "src/transformers/hf_argparser.py", "patch": "@@ -14,6 +14,7 @@\n \n import dataclasses\n import json\n+import os\n import sys\n import types\n from argparse import ArgumentDefaultsHelpFormatter, ArgumentParser, ArgumentTypeError\n@@ -376,7 +377,9 @@ def parse_dict(self, args: Dict[str, Any], allo...
2024-04-15T08:34:36
ollama/ollama
08d7c2a94485b9203a8d35e1c6becc7bb98c905b
bc9573dcb15180fdb1ecda44160dc128b5003e70
fix error on upload chunk
[ { "path": "server/upload.go", "patch": "@@ -78,6 +78,8 @@ func uploadBlobChunked(ctx context.Context, requestURL *url.URL, layer *Layer, r\n \t\t\t\tTotal: layer.Size,\n \t\t\t\tCompleted: int(offset),\n \t\t\t})\n+\n+\t\t\treturn err\n \t\t}\n \n \t\toffset += chunk", "additions": 2, "deletions...
2023-09-15T22:59:30
nodejs/node
9943cb2950f392bea45f7e1dbe0da53385af2188
0e1455b90959024ae86207eb0bb67d0ab5f264cc
test: fixtures in test-http2-respond-file-fd-range PR-URL: https://github.com/nodejs/node/pull/15878 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Pu...
[ { "path": "test/parallel/test-http2-respond-file-fd-range.js", "patch": "@@ -5,17 +5,17 @@\n const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n+const fixtures = require('../common/fixtures');\n const http2 = require('http2');\n const assert = require('assert')...
2017-10-06T17:03:37
golang/go
db821b54d1a8dffa85a9a3cf599f83a19184f020
bf869c65d1a96da5db78a891430ea3acd7ddf1ab
cmd/go/internal/modload: refactor version filtering for exclude Query and other functions now accept an "allowed" function that returns an error (previously, the function returned a bool). If the error is equivalent to ErrDisallowed, it indicates the version is excluded (or, in a future CL, retracted). This provides p...
[ { "path": "src/cmd/go/internal/modget/get.go", "patch": "@@ -812,7 +812,7 @@ func getQuery(ctx context.Context, path, vers string, prevM module.Version, forc\n \t\t\t}\n \t\t}\n \n-\t\tinfo, err := modload.Query(ctx, path, vers, prevM.Version, modload.Allowed)\n+\t\tinfo, err := modload.Query(ctx, path, ver...
2020-04-15T16:08:24
rust-lang/rust
1d5f831ffc0010e3483b780808960da3a13b64e5
8036e841b099fe468bbc2b0d0a7592f00f950ae1
fix: Properly handle removals in `SyntaxEditor`
[ { "path": "src/tools/rust-analyzer/crates/syntax/src/syntax_editor/edit_algo.rs", "patch": "@@ -102,6 +102,7 @@ pub(super) fn apply_edits(editor: SyntaxEditor) -> SyntaxEdit {\n let mut changed_ancestors: VecDeque<ChangedAncestor> = VecDeque::new();\n let mut dependent_changes = vec![];\n let mu...
2024-12-05T00:53:22
ggml-org/llama.cpp
c8a2417d7b65705231eeb5b4080d3e0428c9c5d2
54132f1b1fa16b419d589ac03d3266178259eb25
CUDA: experimental native mxfp4 support for blackwell (#17906) * CUDA: experimental native mxfp4 support for blackwell * optimize load_tiles * optimize quantize_mxfp4 * cleanup * first pass review: formatting * use interleaved layout for mma * mmq: add assert for size * use __nv_fp4x4_e2m1 * use iter_k as 512,...
[ { "path": "ggml/src/ggml-cuda/CMakeLists.txt", "patch": "@@ -15,6 +15,7 @@ if (CUDAToolkit_FOUND)\n # 80 == Ampere, asynchronous data loading, faster tensor core instructions\n # 86 == RTX 3000, needs CUDA v11.1\n # 89 == RTX 4000, needs CUDA v11.8\n+ # 120 == B...
2025-12-24T14:28:26
huggingface/transformers
b109257f4fb8b1166e7c53cc5418632014ed53a5
db7d1554444ccde72903c81160c8b45978ea018a
Fixed config.json download to go to user-supplied cache directory (#30189) * Fixed config.json download to go to user-supplied cache directory. * Simplied implementation suggested by @amyeroberts
[ { "path": "src/transformers/pipelines/__init__.py", "patch": "@@ -782,6 +782,7 @@ def pipeline(\n _raise_exceptions_for_gated_repo=False,\n _raise_exceptions_for_missing_entries=False,\n _raise_exceptions_for_connection_errors=False,\n+ cache_di...
2024-04-12T17:03:49
nodejs/node
0e1455b90959024ae86207eb0bb67d0ab5f264cc
c4231aaad3dd2de1d73dbd34856028ab4b4605b9
test: use fixtures in test-https-set-timeout-server Task to replace the common.fixturesDir with the usage of the common.fixtures module. At Node.js Interactive. First PR to Node.js. Yay! PR-URL: https://github.com/nodejs/node/pull/15886 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gp...
[ { "path": "test/parallel/test-https-set-timeout-server.js", "patch": "@@ -26,16 +26,16 @@ if (!common.hasCrypto)\n common.skip('missing crypto');\n \n const assert = require('assert');\n-const fs = require('fs');\n+const fixtures = require('../common/fixtures');\n const https = require('https');\n const h...
2017-10-06T16:42:42
rust-lang/rust
622b4fac824a8dc166fddb73ca521b2a4caa1bc8
ad27045c31a9f37ad7d44ca2a403de52d1a896d3
fix: attr cast for espidf
[ { "path": "library/std/src/sys/pal/unix/thread.rs", "patch": "@@ -59,7 +59,7 @@ impl Thread {\n assert_eq!(\n libc::pthread_attr_setstacksize(\n attr.as_mut_ptr(),\n- cmp::max(stack, min_stack_size(&attr))\n+ cmp::max(stac...
2025-02-25T15:07:05
golang/go
d4986e0e1d6e03e1b92e905ca5e01b4c223fbeb3
6f561e65b16645fea771375d3af6d7896ab025e6
cmd/go/internal/modload: reject empty go.mod files Don't add a module declaration to a go.mod file when loading a module. Require a user to call go mod init or to add the module declaration themselves. Fixes #35070 Change-Id: If5543580d3c1cfee1fc528eb853b872c4173ca82 Reviewed-on: https://go-review.googlesource.com/c...
[ { "path": "src/cmd/go/internal/modload/init.go", "patch": "@@ -368,13 +368,9 @@ func InitMod(ctx context.Context) {\n \tmodFile = f\n \tindex = indexModFile(data, f, fixed)\n \n-\tif len(f.Syntax.Stmt) == 0 || f.Module == nil {\n-\t\t// Empty mod file. Must add module path.\n-\t\tpath, err := findModulePath...
2019-12-16T22:18:06
ggml-org/llama.cpp
2a9ea2020c6d2bfe243ecd63f3c564babccc2004
ce7a6dc0fc1dbeec492d262414856223a98dd4a2
vulkan: fix command buffer corruption in ggml_backend_vk_event_wait (#18302)
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -13718,6 +13718,7 @@ static void ggml_vk_graph_optimize(ggml_backend_t backend, struct ggml_cgraph *\n }\n \n static void ggml_backend_vk_event_record(ggml_backend_t backend, ggml_backend_event_t event) {\n+ VK_LOG_DEBUG(\"ggml_backend_vk_eve...
2025-12-24T11:36:34
huggingface/transformers
db7d1554444ccde72903c81160c8b45978ea018a
4f7b434acbebd8ef552615ea6c81df4bd9b57813
Fix/Update for doctest (#30216) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/ctrl/modeling_ctrl.py", "patch": "@@ -724,7 +724,7 @@ def forward(\n >>> labels = torch.tensor(1)\n >>> loss = model(**inputs, labels=labels).loss\n >>> round(loss.item(), 2)\n- 0.35\n+ 0.93\n ```\n \n Example of multi-...
2024-04-12T16:59:45
rust-lang/rust
48483adcb42ea07858800cf9c0be6531e204c6b7
ad27045c31a9f37ad7d44ca2a403de52d1a896d3
fix doc in library/core/src/pin.rs Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
[ { "path": "library/core/src/pin.rs", "patch": "@@ -1240,8 +1240,8 @@ impl<Ptr: Deref> Pin<Ptr> {\n /// points to is pinned, that is a violation of the API contract and may lead to undefined\n /// behavior in later (even safe) operations.\n ///\n- /// By using this method, you are also making ...
2025-02-25T13:21:00
nodejs/node
c4231aaad3dd2de1d73dbd34856028ab4b4605b9
a9a0146c8b85fd807ad5ccdcc33b182e65efebab
test: make use of common/fixtures.fixturesDir The common/fixtures module provides convenience methods for working with files in the test/fixtures directory. Make use of the `fixturesDir` value from module rather than value from common. - Replace `common.fixtures` with `fixtures.fixturesDir` PR-URL: https://github.co...
[ { "path": "test/pummel/test-crypto-timing-safe-equal-benchmarks.js", "patch": "@@ -6,11 +6,12 @@ if (!common.hasCrypto)\n if (!common.enoughTestMem)\n common.skip('memory-intensive test');\n \n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const crypto = require('cr...
2017-10-06T16:36:35
ollama/ollama
d028853879dbb5a2eba3f18776931efffaff508d
949553db236cf78daa3bdfe1a966a61a8a01d22e
fix: add falcon.go
[ { "path": "llm/falcon.go", "patch": "@@ -0,0 +1,22 @@\n+package llm\n+\n+const ModelFamilyFalcon = \"falcon\"\n+\n+const (\n+\tfalconModelType7B = 32\n+\tfalconModelType40B = 60\n+\tfalconModelType180B = 80\n+)\n+\n+func falconModelType(numLayer uint32) string {\n+\tswitch numLayer {\n+\tcase 32:\n+\t\tr...
2023-09-13T21:47:32
ggml-org/llama.cpp
1ce0126b18c58b9c5d6586a606fdf2780162afa1
7f459c98e716054b61323440b49896b397375397
docs: Fix typos in SYCL documentation (#18269)
[ { "path": "docs/backend/SYCL.md", "patch": "@@ -829,7 +829,7 @@ use 1 SYCL GPUs: [0] with Max compute units:512\n \n No. We can't support Ollama issue directly, because we aren't familiar with Ollama.\n \n- Sugguest reproducing on llama.cpp and report similar issue to llama.cpp. We will surpport it.\n+ ...
2025-12-24T09:19:47
golang/go
6f561e65b16645fea771375d3af6d7896ab025e6
63828096f61593cd766d6e25fce74133efeb17f8
cmd/fix: remove un-used code Change-Id: Ibbd9da6fd1f3219c9c6103d8f858347ab3a21210 Reviewed-on: https://go-review.googlesource.com/c/go/+/250857 Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
[ { "path": "src/cmd/fix/fix.go", "patch": "@@ -7,13 +7,9 @@ package main\n import (\n \t\"fmt\"\n \t\"go/ast\"\n-\t\"go/parser\"\n \t\"go/token\"\n-\t\"os\"\n \t\"path\"\n-\t\"reflect\"\n \t\"strconv\"\n-\t\"strings\"\n )\n \n type fix struct {\n@@ -323,160 +319,12 @@ func declImports(gen *ast.GenDecl, path ...
2020-08-26T16:18:41
huggingface/transformers
4f7b434acbebd8ef552615ea6c81df4bd9b57813
bf9a7ab9321fc606db8a2d5134d1856a5798a611
Update modeling_bark.py (#30221) Change .view() to .reshape() to prevent errors on non-contiguous tensors
[ { "path": "src/transformers/models/bark/modeling_bark.py", "patch": "@@ -1068,7 +1068,7 @@ def preprocess_histories(\n x_coarse_history[n, :] += codebook_size * n\n \n # flatten x_coarse_history\n- x_coarse_history = torch.transpose(x_coarse_history, 0, 1).view(-1)...
2024-04-12T16:03:38
nodejs/node
a9a0146c8b85fd807ad5ccdcc33b182e65efebab
cd64b4166b4001bdcd45ac808e2c9715956d52e1
test: use common/fixtures in test-https-close PR-URL: https://github.com/nodejs/node/pull/15870 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "test/parallel/test-https-close.js", "patch": "@@ -3,12 +3,12 @@ const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n-const fs = require('fs');\n+const fixtures = require('../common/fixtures');\n const https = require('https');\n \n const options = ...
2017-10-06T16:54:19
ggml-org/llama.cpp
849d021104aeedfae7dcceb6ee1ca10ae3e7e9b7
8e3ead6e4d1a4c455c8dac1b4690c49366769856
server: fix crash with model not having BOS/EOS (#18321)
[ { "path": "tools/server/server-context.cpp", "patch": "@@ -2784,6 +2784,12 @@ server_response_reader server_context::get_response_reader() {\n \n server_context_meta server_context::get_meta() const {\n auto tool_use_src = common_chat_templates_source(impl->chat_templates.get(), \"tool_use\");\n+\n+ ...
2025-12-23T13:39:36