repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
golang/go
4ffd1a0f1ca5f92d4185d02c3f1be00683d755e2
8cc2b73a7439e303d015e53176575e649ace68bf
cmd/go: remove TestGoTestDetectsTestOnlyImportCycles The error that's tested in this test is also tested in list_test_err.txt which uses go list -test -deps. Because both commands are just loading packages, the difference is not meaningful. Updates #36320 Updates #17751 Change-Id: Ie712a77d64e8985dd908a1afb515ed3ecc...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -2653,17 +2653,6 @@ func TestGoBuildTestOnly(t *testing.T) {\n \ttg.run(\"install\", \"./testonly...\")\n }\n \n-func TestGoTestDetectsTestOnlyImportCycles(t *testing.T) {\n-\ttg := testgo(t)\n-\tdefer tg.cleanup()\n-\ttg.setenv(\"GOPATH\", filepath.Join(tg.pw...
2019-12-30T23:18:07
vuejs/vue
43b489b11f81956fc832ddee4121cfd59287cc39
08f2b97083d32b8c3fe035d770dddfc19de49a7e
revert nextTick to microtask semantics by using Promise.then (fix #3771)
[ { "path": "src/core/util/env.js", "patch": "@@ -1,4 +1,7 @@\n /* @flow */\n+/* globals MutationObserver */\n+\n+import { noop } from 'shared/util'\n \n // can we use __proto__?\n export const hasProto = '__proto__' in {}\n@@ -13,61 +16,84 @@ export const isIE = UA && /msie|trident/.test(UA)\n export const i...
2016-09-27T02:38:43
ggml-org/llama.cpp
0019279bb56f028e4eee19b59b19750736c719f7
b0c75ac9f93322b45e3766e149417334b4fd1ed9
CANN: Opt ROPE optimization (#12865) * [CANN]Opt ROPE optimization * [CANN]Codestyle adjustment * [CANN]Fix the ROPE precision issue * [CANN]codestyle fix * [CANN]add rope unsupport case Signed-off-by: noemotiovon <noemotiovon@gmail.com>
[ { "path": "ggml/src/ggml-cann/aclnn_ops.cpp", "patch": "@@ -64,6 +64,7 @@\n #include <aclnnop/aclnn_reflection_pad1d.h>\n #include <aclnnop/aclnn_eq_tensor.h>\n #include <aclnnop/aclnn_gt_scalar.h>\n+#include <aclnnop/aclnn_pow.h>\n #include <float.h>\n \n #include <cmath>\n@@ -144,23 +145,6 @@ static void ...
2025-04-15T02:09:35
huggingface/transformers
33aa0af70c70d9a8205b0ff0d1d4e68807fbb173
173fa7da9c29c4e3a683ac5d489cde4e7220c98a
🌐 [i18n-KO] `model_memory_anatomy.md` to Korean (#25755) * docs: ko-model_memory_anatomy.md * feat: chatgpt draft * feat: manual edits * feat: change document title * feat: manual edits * fix: resolve suggestion Co-authored-by: SeongWooChoi <46990061+nuatmochoi@users.noreply.github.com> * fix: re...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -184,6 +184,8 @@\n title: 고정 길이 모델의 펄플렉서티(Perplexity)\n - local: pipeline_webserver\n title: 추론 웹 서버를 위한 파이프라인\n+ - local: model_memory_anatomy\n+ title: 모델 학습 해부하기\n title: (번역중) 개념 가이드\n - sections:\n - sections:", "additions": 2,...
2023-08-29T13:48:51
vuejs/vue
c791fc782616138f026e296472b0def916f68587
403f3ccb4ce5ecf920fde6b23615e11b772214b2
fix unit tests in IE9
[ { "path": "test/unit/features/component/component-keep-alive.spec.js", "patch": "@@ -1,6 +1,6 @@\n import Vue from 'vue'\n import injectStyles from '../transition/inject-styles'\n-import { isIE9 } from 'web/util/index'\n+import { isIE9 } from 'core/util/env'\n import { nextFrame } from 'web/runtime/transiti...
2016-09-23T22:16:43
golang/go
8cc2b73a7439e303d015e53176575e649ace68bf
a7be8cccf80e04bb5c09e9f8c53d2eec4bc36d3a
cmd/go: convert TestPluginNonMain to script framework TestPluginNonMain was broken before this change! (It provided the wrong directory for testdep/p2: testdata/testdep/p2 instead of testdata/src/testdep/p2). Change-Id: Ib815f119bae1d758b500cd8ad82c016cb630d71e Reviewed-on: https://go-review.googlesource.com/c/go/+/2...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -2281,20 +2281,6 @@ func TestCoverageDashC(t *testing.T) {\n \ttg.wantExecutable(tg.path(\"coverdep\"), \"go -test -c -coverprofile did not create executable\")\n }\n \n-func TestPluginNonMain(t *testing.T) {\n-\twd, err := os.Getwd()\n-\tif err != nil {\n-\t\...
2019-12-30T23:49:27
ggml-org/llama.cpp
75afa0ae31f0a51aaadcc5ff146eb7a32a7f9088
c772d549264c1be058411312a54049e0dc86a037
SYCL: Fix im2col (#12910) * SYCL: Fix im2col * restore local workgroup size adjustments for large inputs * restore format
[ { "path": "ggml/src/ggml-sycl/ggml-sycl.cpp", "patch": "@@ -4018,8 +4018,7 @@ static bool ggml_backend_sycl_device_supports_op(ggml_backend_dev_t dev, const g\n return ggml_is_contiguous(op->src[0]);\n }\n case GGML_OP_IM2COL:\n- // TODO: add support for the ne...
2025-04-14T12:23:53
nodejs/node
68c933c01edddbc08acaf41e6ecdd1e1ca057910
47038242767c69a495ccf754246983c320352eb5
test: fix flakyness with `yes.exe` PR-URL: https://github.com/nodejs/node/pull/12821 Fixes: https://github.com/nodejs/node/issues/12817 Refs: https://github.com/nodejs/node/pull/12658 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>...
[ { "path": "benchmark/child_process/child-process-read.js", "patch": "@@ -1,6 +1,11 @@\n 'use strict';\n const common = require('../common.js');\n+\n+// This benchmark uses `yes` to a create noisy child_processes with varying\n+// output message lengths, and tries to read 8GB of output\n+\n const os = requir...
2017-05-04T04:00:00
rust-lang/rust
c688ecf4680b18734690159de7ba1ebf0c7e4026
06db6bba3b6f9853d692cc20ade7fbc121e27573
prevent weird macOS linker errors from breaking the build
[ { "path": "src/tools/miri/ci/ci.sh", "patch": "@@ -14,7 +14,9 @@ function endgroup {\n begingroup \"Building Miri\"\n \n # Global configuration\n-export RUSTFLAGS=\"-D warnings\"\n+# We are getting some odd linker warnings on macOS, make sure they do not fail the build.\n+# (See <https://github.com/rust-lan...
2025-01-26T14:11:43
huggingface/transformers
173fa7da9c29c4e3a683ac5d489cde4e7220c98a
2ee60b757e30815529239c87235a2b794fa60286
🌐 [i18n-KO] Translated peft.md to Korean (#25706) * docs: ko: peft.mdx * feat: chatgpt draft * fix: manual edits * fix: resolve suggestions Co-authored-by: Wonhyeong Seo <wonhseo@kakao.com> Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> Co-authored-by: heuristicwave <31366038+he...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -19,6 +19,8 @@\n title: 스크립트로 학습하기\n - local: accelerate\n title: 🤗 Accelerate로 분산 학습 구성하기\n+ - local: peft\n+ title: 🤗 PEFT로 어댑터 로드 및 학습하기\n - local: model_sharing\n title: 만든 모델 공유하기\n - local: transformers_agents", "additio...
2023-08-29T13:10:00
vuejs/vue
403f3ccb4ce5ecf920fde6b23615e11b772214b2
c47e128eb65648a5e67db49d99bb7436e0df59fe
set selected value on nextTick in IE/Edge (fix #3689 by @fergaldoyle)
[ { "path": "src/platforms/web/runtime/directives/model.js", "patch": "@@ -4,7 +4,7 @@\n */\n \n import { looseEqual, looseIndexOf } from 'shared/util'\n-import { warn, isAndroid, isIE9 } from 'core/util/index'\n+import { warn, nextTick, isAndroid, isIE9, isIE, isEdge } from 'core/util/index'\n \n const mode...
2016-09-23T21:54:27
golang/go
a7be8cccf80e04bb5c09e9f8c53d2eec4bc36d3a
0bd3853512ea0dcb252ce02113d3929db03d6aa6
cmd/go: convert tests using testdata/src/syntaxerror to scripts This includes TestMatchesNoTestsDoesNotOverrideBuildFailure and TestErrorMessageForSyntaxErrorInTestGoFileSaysFAIL. Convert the tests that use the testdata/src/syntaxerror directory to the script framework. Part of converting all tests to script framewor...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -1217,15 +1217,6 @@ func TestAccidentalGitCheckout(t *testing.T) {\n \t}\n }\n \n-func TestErrorMessageForSyntaxErrorInTestGoFileSaysFAIL(t *testing.T) {\n-\ttg := testgo(t)\n-\tdefer tg.cleanup()\n-\ttg.setenv(\"GOPATH\", filepath.Join(tg.pwd(), \"testdata\")...
2019-12-30T22:51:16
ggml-org/llama.cpp
a25355e2643b1feb2fcbbc4c00312aa86370d858
e959d32b1c16c02c0bc0bcdc7bc3f7077bc32f99
cpu: fix cpu backend's supports-op for GET_ROWS_BACK. fixes a fatal when running test-backend-ops with only the CPU backend (ggml/1190)
[ { "path": "ggml/src/ggml-cpu/ggml-cpu.cpp", "patch": "@@ -425,6 +425,8 @@ static bool ggml_backend_cpu_device_supports_op(ggml_backend_dev_t dev, const st\n }\n case GGML_OP_IM2COL_BACK:\n return src0->type == GGML_TYPE_F32 && src1->type == GGML_TYPE_F32;\n+ case GGML_OP_G...
2025-04-11T06:44:19
nodejs/node
47038242767c69a495ccf754246983c320352eb5
15e160e6264c0b737cc1deee3652de9b29d71d1f
doc: fix commit guideline url PR-URL: https://github.com/nodejs/node/pull/12862 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": ".github/PULL_REQUEST_TEMPLATE.md", "patch": "@@ -13,7 +13,7 @@ Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md\n - [ ] `make -j4 test` (UNIX), or `vcbuild test` (Windows) passes\n - [ ] tests and/or benchmarks are included\n - [ ] documentation is changed or added\n...
2017-05-05T14:46:22
huggingface/transformers
2ee60b757e30815529239c87235a2b794fa60286
5b5ee235f3239413e9614bd02032b1a203dab710
fix warning trigger for embed_positions when loading xglm (#25798) * fix warning triggering for xglm.embed_positions * Make TF variable a tf.constant to match (and fix some spelling) --------- Co-authored-by: Matt <rocketknight1@gmail.com>
[ { "path": "src/transformers/models/xglm/modeling_tf_xglm.py", "patch": "@@ -63,7 +63,7 @@\n LARGE_NEGATIVE = -1e8\n \n \n-def create_sinusiodal_positions(num_positions: int, embedding_dim: int, padding_idx: Optional[int]) -> tf.Tensor:\n+def create_sinusoidal_positions(num_positions: int, embedding_dim: int...
2023-08-29T13:09:07
vuejs/vue
037449f453d14d0133c5485cffd9403c909ce5de
9566b3358f03e563d4b397470c25553b61110b9e
ensure prop default value when instantiating without propsData (fix #3693)
[ { "path": "src/core/instance/state.js", "patch": "@@ -32,8 +32,8 @@ export function initState (vm: Component) {\n \n function initProps (vm: Component) {\n const props = vm.$options.props\n- const propsData = vm.$options.propsData\n if (props) {\n+ const propsData = vm.$options.propsData || {}\n ...
2016-09-23T20:41:54
golang/go
0bd3853512ea0dcb252ce02113d3929db03d6aa6
f376b8510ed7884c69a09fbcf61418f7285f2787
doc: remove root.html and conduct.html (moved to x/website) root.html has been moved to the x/website repo in CL 180959 (commit golang/website@d83058ced3fadc3e8189107d2fb86c333c356b75). conduct.html has been moved to the x/website repo in CL 207437 (commit golang/website@99763cba2e5b53679a96f69725f917feb319b799). Th...
[ { "path": "doc/conduct.html", "patch": "@@ -1,211 +0,0 @@\n-<!--{\n-\t\"Title\": \"Go Community Code of Conduct\",\n-\t\"Path\": \"/conduct\",\n-\t\"Template\": true\n-}-->\n-\n-<style>\n-ul {\n-\tmax-width: 800px;\n-}\n-ul ul {\n-\tmargin: 0 0 5px;\n-}\n-</style>\n-\n-<h2 id=\"about\">About</h2>\n-\n-<p>\...
2020-01-02T22:23:24
ggml-org/llama.cpp
307bfa253dea07c9270e78fa53b133504e9c3c9d
71e90e8813f90097701e62f7fce137d96ddf41e2
ggml: disable CUDA graphs for unsupported DUP and CONT node types (#12891) Fixes #12798
[ { "path": "ggml/src/ggml-cuda/ggml-cuda.cu", "patch": "@@ -2488,10 +2488,10 @@ static bool check_node_graph_compatibility_and_refresh_copy_ops(ggml_backend_cud\n #endif\n }\n \n- if (node->op == GGML_OP_MUL_MAT_ID) {\n+ if (node->op == GGML_OP_MUL_MAT_ID || node->op == GGML_OP_CONT || ...
2025-04-13T21:12:21
vuejs/vue
9566b3358f03e563d4b397470c25553b61110b9e
9fb105767200f57c9bc371b900c54c87945c2cd0
no need to return text in getValue for v-model select (fix #3729)
[ { "path": "src/platforms/web/runtime/directives/model.js", "patch": "@@ -109,7 +109,7 @@ function hasNoMatchingOption (value, options) {\n function getValue (option) {\n return '_value' in option\n ? option._value\n- : option.value || option.text\n+ : option.value\n }\n \n function onComposition...
2016-09-23T18:57:43
nodejs/node
15e160e6264c0b737cc1deee3652de9b29d71d1f
2614d247fb3cb6ceb65350a49a927d68696f2e62
inspector: report when main context is destroyed PR-URL: https://github.com/nodejs/node/pull/12814 Reimplements: https://github.com/nodejs/node/pull/7756 Fixes: https://github.com/nodejs/node/issues/7742 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Refael...
[ { "path": "src/inspector_agent.cc", "patch": "@@ -271,11 +271,6 @@ class NodeInspectorClient : public v8_inspector::V8InspectorClient {\n terminated_(false),\n running_nested_loop_(false) {\n inspector_ = V8I...
2017-05-03T18:46:16
huggingface/transformers
3dd030d264915c71a0bdd23838dbb27156f44ed1
dc0c102954ff1f6bcb47de85afea5edc81fc8c7f
fix register (#25779)
[ { "path": "src/transformers/models/auto/configuration_auto.py", "patch": "@@ -1046,7 +1046,7 @@ def from_pretrained(cls, pretrained_model_name_or_path, **kwargs):\n )\n \n @staticmethod\n- def register(model_type, config):\n+ def register(model_type, config, exist_ok=False):\n \"\"...
2023-08-29T12:11:48
rust-lang/rust
93d347d7d25f227c56b4d829ae1bf3392b7c3db3
ad28cbb423b5ab203a502ecee30d630e54ea3498
Test pipes also when not running on Windows and Linux simultaneously Fixes https://github.com/rust-lang/rust/pull/135635#pullrequestreview-2574184488.
[ { "path": "library/std/src/io/pipe/tests.rs", "patch": "@@ -1,7 +1,7 @@\n use crate::io::{Read, Write, pipe};\n \n #[test]\n-#[cfg(all(windows, unix, not(miri)))]\n+#[cfg(all(any(unix, windows), not(miri)))]\n fn pipe_creation_clone_and_rw() {\n let (rx, tx) = pipe().unwrap();\n ", "additions": 1, ...
2025-01-26T11:48:33
golang/go
f376b8510ed7884c69a09fbcf61418f7285f2787
a65f08830151101d4fbb524edfa2bc792932f8cc
all: fix invalid invocations of Fatalf in goroutines Found by running the go vet pass 'testinggoroutine' that I started in CL 212920. Change-Id: Ic9462fac85dbafc437fe4a323b886755a67a1efa Reviewed-on: https://go-review.googlesource.com/c/go/+/213097 Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com> TryBot-Result: Gobot...
[ { "path": "src/database/sql/sql_test.go", "patch": "@@ -629,14 +629,18 @@ func TestPoolExhaustOnCancel(t *testing.T) {\n \t\tgo func() {\n \t\t\trows, err := db.Query(\"SELECT|people|name,photo|\")\n \t\t\tif err != nil {\n-\t\t\t\tt.Fatalf(\"Query: %v\", err)\n+\t\t\t\tt.Errorf(\"Query: %v\", err)\n+\t\t\t...
2020-01-02T10:00:55
ggml-org/llama.cpp
71e90e8813f90097701e62f7fce137d96ddf41e2
bc091a4dc585af25c438c8473285a8cfec5c7695
quantize: Handle user-defined quantization levels for additional tensors (#12511) * Add llama_model_quantize_params parameters * Add new quantize parameters parsing and validation * Update usage * Add new parameters defaults * Add new quantization parameters logic * Add llama_model_quantize_params parameters * A...
[ { "path": "examples/quantize/quantize.cpp", "patch": "@@ -9,14 +9,15 @@\n #include <fstream>\n #include <cmath>\n #include <cctype>\n+#include <algorithm>\n \n struct quant_option {\n std::string name;\n llama_ftype ftype;\n std::string desc;\n };\n \n-static const std::vector<struct quant_optio...
2025-04-13T18:29:28
vuejs/vue
9fb105767200f57c9bc371b900c54c87945c2cd0
7eb6c8cfefc5c800ed773dcb94bdbac52dfc1180
Adjust nextTick implementation MutationObserver is unreliable in UIWebView on iOS >= 9.3.3, and this hasn't been fixed in iOS10. Moreover it is tedious to identify UIWebView vs. WKWebView and native Safari now that iOS10 UIWebView supports IndexedDB as well. We are switching to a setImmediate shim using window.postMe...
[ { "path": "src/core/util/env.js", "patch": "@@ -1,6 +1,5 @@\n /* @flow */\n \n-/* global MutationObserver */\n // can we use __proto__?\n export const hasProto = '__proto__' in {}\n \n@@ -9,40 +8,24 @@ export const inBrowser =\n typeof window !== 'undefined' &&\n Object.prototype.toString.call(window) !...
2016-09-23T18:46:53
rust-lang/rust
52907d713a5e47581361f5de9c7e72905b1f7348
e76d0b819302dffe04ce40de6bf8be1ac0eca0c9
Fix for SGX
[ { "path": "library/std/tests/sync/once_lock.rs", "patch": "@@ -164,7 +164,7 @@ fn sync_once_cell_does_not_leak_partially_constructed_boxes() {\n break;\n }\n #[cfg(target_env = \"sgx\")]\n- crate::thread::yield_now();\n+ std::...
2025-01-23T14:23:19
huggingface/transformers
c9bae84eb58745784e5cc6491f3f4958ba4706c3
77713d11f6656314fb06c217cf43c4b8f5c64df8
Resolving Attribute error when using the FSDP ram efficient feature (#25820) fix bug
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -3574,11 +3574,11 @@ def _find_mismatched_keys(\n if param.device == torch.device(\"meta\"):\n if not (is_quantized):\n set_module_tensor_to_device(\n-...
2023-08-29T11:32:19
nodejs/node
2614d247fb3cb6ceb65350a49a927d68696f2e62
8b76c3e60c7b5c274c757257580a2c0faae69097
doc: update readFileSync in fs.md * Updated fs.md stating fs.readFileAsync is platform specific * Fix formatting of `note`s PR-URL: https://github.com/nodejs/node/pull/12800 Refs: https://github.com/nodejs/node/issues/10962 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com...
[ { "path": "doc/api/fs.md", "patch": "@@ -591,8 +591,8 @@ fs.appendFile('message.txt', 'data to append', 'utf8', callback);\n \n Any specified file descriptor has to have been opened for appending.\n \n-_Note: If a file descriptor is specified as the `file`, it will not be closed\n-automatically._\n+*Note*: ...
2017-05-02T19:05:11
ggml-org/llama.cpp
e59ea539b83d2c7947c99bd350549364dbba450c
c94085df2871d2cad11f6411304d7798d7dd4cdd
llava: Fix cpu-only clip image encoding sefault (#12907) * llava: Fix cpu-only clip image encoding * clip : no smart ptr for ggml_backend_t * Fix for backend_ptr push_back --------- Co-authored-by: Xuan Son Nguyen <son@huggingface.co>
[ { "path": "examples/llava/clip.cpp", "patch": "@@ -323,36 +323,43 @@ struct clip_ctx {\n std::vector<ggml_backend_t> backend_ptrs;\n std::vector<ggml_backend_buffer_type_t> backend_buft;\n \n- ggml_backend_ptr backend;\n- ggml_backend_ptr backend_cpu;\n+ ggml_backend_t backend;\n+ ggml_b...
2025-04-12T05:29:03
vuejs/vue
4785afd15475d548ec529249b5c50770e74bf33c
089c1458cc8d29131b034bb97b866d73448cddd0
improve MutationObserver bug detection for iOS 10
[ { "path": "src/core/util/env.js", "patch": "@@ -16,16 +16,19 @@ export const devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__\n export const UA = inBrowser && window.navigator.userAgent.toLowerCase()\n const isIos = UA && /(iphone|ipad|ipod|ios)/i.test(UA)\n const iosVersionMatch = UA && isIos &&...
2016-09-21T04:29:53
golang/go
ffbc02761abb47106ce88e09290a31513b5f6c8a
a4c579e8f7c8129b2c27779f206ebd2c9b393633
runtime: ensure memmove write pointer atomically on ARM64 If a pointer write is not atomic, if the GC is running concurrently, it may observe a partially updated pointer, which may point to unallocated or already dead memory. Most pointer writes, like the store instructions generated by the compiler, are already atomi...
[ { "path": "src/runtime/memmove_arm64.s", "patch": "@@ -22,19 +22,20 @@ check:\n \tCMP\tR3, R4\n \tBLT\tbackward\n \n-\t// Copying forward proceeds by copying R7/8 words then copying R6 bytes.\n+\t// Copying forward proceeds by copying R7/32 quadwords then R6 <= 31 tail bytes.\n \t// R3 and R4 are advanced a...
2019-12-27T17:02:00
huggingface/transformers
77713d11f6656314fb06c217cf43c4b8f5c64df8
4c21da5e347bfc53ee4ec5b71a23721fefe6822c
[DINOv2] Add backbone class (#25520) * First draft * More improvements * Fix all tests * More improvements * Add backbone test * Improve docstring * Address comments * Rename attribute * Remove expected output * Update src/transformers/models/dinov2/modeling_dinov2.py Co-authored-by: amye...
[ { "path": "src/transformers/__init__.py", "patch": "@@ -1624,6 +1624,7 @@\n _import_structure[\"models.dinov2\"].extend(\n [\n \"DINOV2_PRETRAINED_MODEL_ARCHIVE_LIST\",\n+ \"Dinov2Backbone\",\n \"Dinov2ForImageClassification\",\n \"Dinov2Model\",\n ...
2023-08-29T10:05:27
rust-lang/rust
e76d0b819302dffe04ce40de6bf8be1ac0eca0c9
b8ae372e483ed194a4aff2c4500bb7f0fd7e2967
Fix benchmarking of libstd
[ { "path": "library/std/Cargo.toml", "patch": "@@ -7,6 +7,7 @@ license = \"MIT OR Apache-2.0\"\n repository = \"https://github.com/rust-lang/rust.git\"\n description = \"The Rust Standard Library\"\n edition = \"2021\"\n+autobenches = false\n \n [lib]\n crate-type = [\"dylib\", \"rlib\"]", "additions": 1...
2025-01-17T13:35:50
nodejs/node
94a120cf65ff78744117d3540aadd34cc441d080
1c93e8c94b5d0c304e20b2af3050db0bdc8864d0
test: add coverage for error apis Add coverage for N-API functions related to throwing and creating errors. A number of these are currently showing as not having any coverage in the nightly code coverage reports. PR-URL: https://github.com/nodejs/node/pull/12729 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-...
[ { "path": "test/addons-napi/test_error/test.js", "patch": "@@ -55,3 +55,37 @@ assert.strictEqual(test_error.checkError({}), false,\n // Test that non-error primitive is correctly classed\n assert.strictEqual(test_error.checkError('non-object'), false,\n 'Non-error primitive correctly clas...
2017-04-28T19:28:34
vuejs/vue
1fe9ba61d7f0688398f445484446f48fd13c7a84
ccd8d587d67228cf9f202b231419e91a8ab106a3
fix select2 e2e test
[ { "path": "examples/select2/index.html", "patch": "@@ -55,7 +55,7 @@\n watch: {\n value: function (value) {\n // update value\n- $(this.$el).select2('val', value)\n+ $(this.$el).val(value).trigger('change')\n },\n options: function (options) {\n ...
2016-09-19T16:35:07
ggml-org/llama.cpp
b6930ebc421e20399663bbd3bc7b7266d5236d06
68b08f36d047bfa048ebd7d16262c53bf9ece701
`tool-call`: fix non-tool-calling grammar crashes w/ Qwen / Hermes 2 templates (#12900) * `tool-call`: don't call common_chat_params_init_hermes_2_pro when there aren't tools (or when there's a schema) * test all chat formats w/o tools
[ { "path": "common/chat.cpp", "patch": "@@ -1622,7 +1622,7 @@ static common_chat_params common_chat_templates_apply_jinja(\n }\n \n // Hermes 2/3 Pro, Qwen 2.5 Instruct (w/ tools)\n- if (src.find(\"<tool_call>\") != std::string::npos && params.json_schema.is_null()) {\n+ if (src.find(\"<tool_ca...
2025-04-11T19:47:52
rust-lang/rust
09c4dbf7fbb545c0b861ea2473dcb84023f494c4
9baeb453095bc74966e0c99a6eeddefed5ed9eaa
Move std::panic unit tests to integration tests
[ { "path": "library/std/src/panic.rs", "patch": "@@ -529,6 +529,3 @@ pub fn get_backtrace_style() -> Option<BacktraceStyle> {\n Err(new) => BacktraceStyle::from_u8(new),\n }\n }\n-\n-#[cfg(test)]\n-mod tests;", "additions": 0, "deletions": 3, "language": "Rust" }, { "path": "l...
2025-01-17T09:39:09
golang/go
a4c579e8f7c8129b2c27779f206ebd2c9b393633
bf268472408b0f46767d46ae1d14439e5eb84014
runtime: emit trace event in direct semaphore handoff When a goroutine yields the remainder of its time to another goroutine during direct semaphore handoff (as in an Unlock of a sync.Mutex in starvation mode), it needs to signal that change to the execution tracer. The discussion in CL 200577 didn't reach consensus o...
[ { "path": "src/cmd/trace/trace_test.go", "patch": "@@ -12,7 +12,9 @@ import (\n \t\"io/ioutil\"\n \trtrace \"runtime/trace\"\n \t\"strings\"\n+\t\"sync\"\n \t\"testing\"\n+\t\"time\"\n )\n \n // stacks is a fake stack map populated for test.\n@@ -233,3 +235,34 @@ func TestFoo(t *testing.T) {\n \t}\n \n }\n+...
2019-12-18T00:40:46
huggingface/transformers
4c21da5e347bfc53ee4ec5b71a23721fefe6822c
99c3d44906ec448c4559fecdc9a63eda364db4d4
Add ViTDet (#25524) * First draft * Fix READMEs * Update return_dict * Add more tests * Fix docstrings * Address comments * Address more comments * Address more comments * Address more comments, fix test * Fix test
[ { "path": "README.md", "patch": "@@ -486,6 +486,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[Vision Transformer (ViT)](https://huggingface.co/docs/transformers/model_doc/vit)** (from Google AI) released with the paper [An Image is Worth 16x16 Words: Transform...
2023-08-29T09:03:52
nodejs/node
bc05436a891da91211c9bbcff08d43133558a1d6
53c88fa4111c05c3a4ad47c00eaa0fd7220b527a
test: add regex check in test-vm-is-context Use a regex to validate the error message. PR-URL: https://github.com/nodejs/node/pull/12785 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gma...
[ { "path": "test/parallel/test-vm-is-context.js", "patch": "@@ -26,7 +26,7 @@ const vm = require('vm');\n \n assert.throws(function() {\n vm.isContext('string is not supported');\n-}, TypeError);\n+}, /^TypeError: sandbox must be an object$/);\n \n assert.strictEqual(vm.isContext({}), false);\n assert.stri...
2017-05-02T09:25:10
ggml-org/llama.cpp
b2034c2b55b36b2192bdefb3b295db2a911370f5
06bb53ad9b6e6d92b6ab6979927530080b1c990c
contrib: support modelscope community (#12664) * support download from modelscope * support login * remove comments * add arguments * fix code * fix win32 * test passed * fix readme * revert readme * change to MODEL_ENDPOINT * revert tail line * fix readme * refactor model endpoint * remove blank line * ...
[ { "path": "README.md", "patch": "@@ -260,7 +260,9 @@ The [Hugging Face](https://huggingface.co) platform hosts a [number of LLMs](htt\n - [Trending](https://huggingface.co/models?library=gguf&sort=trending)\n - [LLaMA](https://huggingface.co/models?sort=trending&search=llama+gguf)\n \n-You can either manual...
2025-04-11T12:01:56
vuejs/vue
56960b5fbcf82d2160a7c9645ebddecc258bc0ec
d6a7568891d0c3368471322de5d730172d92b9e4
support object looseEqual in v-model (fix #3673)
[ { "path": "flow/component.js", "patch": "@@ -89,6 +89,10 @@ declare interface Component {\n _n: (value: string) => number | string;\n // empty vnode\n _e: () => VNode;\n+ // loose equal\n+ _q: (a: mixed, b: mixed) => boolean;\n+ // loose indexOf\n+ _i: (arr: Array<mixed>, val: mixed) => number;\n ...
2016-09-14T15:35:30
rust-lang/rust
03d44a641b61d4cad0cb025ffb1d6be7cd194ae7
e00cbf304c1d3780718c60223e4650254c89818b
Move std::error unit tests to integration tests
[ { "path": "library/std/src/error.rs", "patch": "@@ -1,9 +1,6 @@\n #![doc = include_str!(\"../../core/src/error.md\")]\n #![stable(feature = \"rust1\", since = \"1.0.0\")]\n \n-#[cfg(test)]\n-mod tests;\n-\n #[stable(feature = \"rust1\", since = \"1.0.0\")]\n pub use core::error::Error;\n #[unstable(feature ...
2025-01-17T09:23:31
golang/go
53dede938b5c3322627a846e6c073d8d45dc21ac
4b4370066f97ac40a4f095ca56a7b21a375aa5aa
cmd/compile: fix typo in comment Change-Id: I25fbd63f10ea9892589ad44cc45761926aff0648 Reviewed-on: https://go-review.googlesource.com/c/go/+/212841 Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "src/cmd/compile/internal/ssa/gen/genericOps.go", "patch": "@@ -340,7 +340,7 @@ var genericOps = []opData{\n \t// Note: ConstX are sign-extended even when the type of the value is unsigned.\n \t// For instance, uint8(0xaa) is stored as auxint=0xffffffffffffffaa.\n \t{name: \"Const64\", aux: \"Int6...
2019-12-30T16:35:40
nodejs/node
f971916885a6df05f0c7b327f875cd2d6bf4d18b
3f48ab30420981f888ff2c69fc1ea5abb37f3f2e
test: fix too optimistic guess in setproctitle PR-URL: https://github.com/nodejs/node/pull/12792 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-setproctitle.js", "patch": "@@ -14,7 +14,7 @@ const path = require('path');\n // The title shouldn't be too long; libuv's uv_set_process_title() out of\n // security considerations no longer overwrites envp, only argv, so the\n // maximum title length is possibly quite short.\n...
2017-05-02T14:27:45
huggingface/transformers
99c3d44906ec448c4559fecdc9a63eda364db4d4
39c37fe45c12bc2f936313330fe5c82319adb6e3
fixing name position_embeddings to object_queries (#24652) * fixing name position_embeddings to object_queries * [fix] renaming variable and docstring do object queries * [fix] comment position_embedding to object queries * [feat] changes from make-fix-copies to keep consistency * Revert "[feat] changes fr...
[ { "path": "src/transformers/models/conditional_detr/modeling_conditional_detr.py", "patch": "@@ -564,34 +564,79 @@ def __init__(\n def _shape(self, tensor: torch.Tensor, seq_len: int, batch_size: int):\n return tensor.view(batch_size, seq_len, self.num_heads, self.head_dim).transpose(1, 2).conti...
2023-08-29T08:09:45
vuejs/vue
d6a7568891d0c3368471322de5d730172d92b9e4
2b588b754e5d9c2eea31c56eb735afd6ce37ec5c
improve v-bind implementation and make it work on components (fix #3670)
[ { "path": "flow/compiler.js", "patch": "@@ -50,8 +50,6 @@ declare type ASTElementHandlers = {\n [key: string]: ASTElementHandler | Array<ASTElementHandler>;\n }\n \n-declare type ASTElementHooks = { [key: string]: Array<string> }\n-\n declare type ASTDirective = {\n name: string;\n value: string;\n@@ ...
2016-09-14T14:14:14
ggml-org/llama.cpp
06bb53ad9b6e6d92b6ab6979927530080b1c990c
0c509239445088f21265580b86733c5b184261d9
llama-model : add Glm4Model implementation for GLM-4-0414 (#12867) * GLM-4-0414 * use original one * Using with tensor map * fix bug * change order * change order * format with flask8
[ { "path": "README.md", "patch": "@@ -97,6 +97,7 @@ Instructions for adding support for new models: [HOWTO-add-model.md](docs/develo\n - [x] [Flan T5](https://huggingface.co/models?search=flan-t5)\n - [x] [Open Elm models](https://huggingface.co/collections/apple/openelm-instruct-models-6619ad295d7ae9f868b75...
2025-04-11T10:10:10
rust-lang/rust
996d570939f0fbe778ca2c0ead912a1255370944
869ca6a7fd2f43f4cc05e7067529436886e60378
Fix cg_clif testing coretests
[ { "path": "build_system/tests.rs", "patch": "@@ -151,7 +151,7 @@ const EXTENDED_SYSROOT_SUITE: &[TestCase] = &[\n apply_patches(\n &runner.dirs,\n \"coretests\",\n- &runner.stdlib_source.join(\"library/core/tests\"),\n+ &runner.stdlib_source.join(\"libra...
2025-01-23T15:23:30
huggingface/transformers
39c37fe45c12bc2f936313330fe5c82319adb6e3
738ecd17d869577d263eb1fba3fee0ab8ec5b5a2
Fix incorrect Boolean value in deepspeed example (#25788)
[ { "path": "docs/source/en/main_classes/deepspeed.md", "patch": "@@ -1412,7 +1412,7 @@ the full fp32 mode, by explicitly disabling the otherwise default fp16 mixed pre\n ```json\n {\n \"fp16\": {\n- \"enabled\": \"false\",\n+ \"enabled\": false,\n }\n }\n ```", "additions": 1, "...
2023-08-29T07:22:37
nodejs/node
e48d58b8b26bd6f1a59cfb57307906b9b0350272
c1b3b95939884b20a6312822091b9fec2ef9f31f
assert: fix AssertionError, assign error code Using `assert.AssertionError()` without the `new` keyword results in a non-intuitive error: ```js > assert.AssertionError({}) TypeError: Cannot assign to read only property 'name' of function 'function ok(value, message) { if (!value) fail(value, true, message, '==', as...
[ { "path": "lib/assert.js", "patch": "@@ -27,6 +27,13 @@ const { isSet, isMap } = process.binding('util');\n const objectToString = require('internal/util').objectToString;\n const Buffer = require('buffer').Buffer;\n \n+var errors;\n+function lazyErrors() {\n+ if (!errors)\n+ errors = require('internal/...
2017-04-25T20:18:25
rust-lang/rust
9e5c6a2898fe49c984600ba34d05d8c6ad3dd50e
b6a384194204f34b70fe738e809848ee274b9681
Fix cg_clif testing coretests
[ { "path": "compiler/rustc_codegen_cranelift/build_system/tests.rs", "patch": "@@ -151,7 +151,7 @@ const EXTENDED_SYSROOT_SUITE: &[TestCase] = &[\n apply_patches(\n &runner.dirs,\n \"coretests\",\n- &runner.stdlib_source.join(\"library/core/tests\"),\n+ &...
2025-01-23T15:23:30
ggml-org/llama.cpp
0c509239445088f21265580b86733c5b184261d9
fccf9cae83e6c6cd31a0ecb403d237638e427d0a
clip : use smart pointer (⚠️ breaking change) (#12869) * clip : use smart pointers * fix warmup * add forward declaration * misisng include * fix include (2) * composite * simplify batch ptr * fix conflict
[ { "path": "examples/llava/clip-impl.h", "patch": "@@ -1,5 +1,6 @@\n #include \"ggml.h\"\n #include \"gguf.h\"\n+#include \"clip.h\"\n \n #include \"clip.h\"\n \n@@ -202,23 +203,31 @@ static void clip_log_internal(enum ggml_log_level level, const char * format, ..\n // cpp wrappers\n //\n \n+// wrapper for c...
2025-04-11T10:09:39
huggingface/transformers
738ecd17d869577d263eb1fba3fee0ab8ec5b5a2
50573c648ae953dcc1b94d663651f07fb02268f4
Arde/fsdp activation checkpointing (#25771) * add FSDP config option to enable activation-checkpointing * update docs * add checks and remove redundant code * fix formatting error
[ { "path": "docs/source/en/main_classes/trainer.md", "patch": "@@ -456,6 +456,10 @@ as the model saving with FSDP activated is only available with recent fixes.\n If `\"True\"`, FSDP explicitly prefetches the next upcoming all-gather while executing in the forward pass. \n - `limit_all_gathers` can be ...
2023-08-29T07:22:14
nodejs/node
c1b3b95939884b20a6312822091b9fec2ef9f31f
d0c968ea57560f3035c60d41eb761feb95894787
doc: add WHATWG file URLs in fs module Update fs module documentation adding WHATWG file URLS support for relevant fs functions/classes. PR-URL: https://github.com/nodejs/node/pull/12670 Fixes: https://github.com/nodejs/node/issues/12341 Ref: https://github.com/nodejs/node/pull/10739 Reviewed-By: James M Snell <jasne...
[ { "path": "doc/api/fs.md", "patch": "@@ -94,6 +94,95 @@ Error: EISDIR: illegal operation on a directory, read\n <stack trace.>\n ```\n \n+## WHATWG URL object support\n+<!-- YAML\n+added: v7.6.0\n+-->\n+\n+> Stability: 1 - Experimental\n+\n+For most `fs` module functions, the `path` or `filename` argume...
2017-04-25T14:20:58
ggml-org/llama.cpp
ec6c09d0fac1f2699c3ea1994e10482cb4b95e0f
8ac9f5d765f2b1b7f821873618c0cff68ca59bc8
convert : Llama4 RoPE fix (#12889)
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -1750,7 +1750,7 @@ def generate_extra_tensors(self) -> Iterable[tuple[str, Tensor]]:\n \n low_freq_wavelen = old_context_len / low_freq_factor\n high_freq_wavelen = old_context_len / high_freq_factor\n- assert low...
2025-04-11T07:49:09
vuejs/vue
2b588b754e5d9c2eea31c56eb735afd6ce37ec5c
43211fd519f462af2530556d905b38d942f61294
Update ComponentOptions (#3651) * Update ComponentOptions * Make ComponentOptions as a Generic Interface * Update some interfaces and types related to ComponentOptions * Update tests * Fix
[ { "path": "types/index.d.ts", "patch": "@@ -6,12 +6,12 @@ import * as VNode from \"./vnode\";\n // `Vue` in `export = Vue` must be a namespace\n // All available types are exported via this namespace\n declare namespace Vue {\n- export type ComponentOptions = Options.ComponentOptions;\n+ export type Compo...
2016-09-13T23:59:14
golang/go
026b98a2a230ef378e8f802f8671f421c127e258
b720014743d7de2e706bb6b54ca914653d86f76c
[dev.link] cmd/link: add Errorf method on context taking new sym Add a Link method that takes a loader sym index instead of a sym.Symbol. Change-Id: If59e246cb1adc9066080f019be135387fc1b2fcd Reviewed-on: https://go-review.googlesource.com/c/go/+/208228 Reviewed-by: Cherry Zhang <cherryyz@google.com>
[ { "path": "src/cmd/link/internal/ld/util.go", "patch": "@@ -5,6 +5,7 @@\n package ld\n \n import (\n+\t\"cmd/link/internal/loader\"\n \t\"cmd/link/internal/sym\"\n \t\"encoding/binary\"\n \t\"fmt\"\n@@ -38,6 +39,18 @@ func Exitf(format string, a ...interface{}) {\n \tExit(2)\n }\n \n+// afterErrorAction upd...
2019-11-20T16:06:39
huggingface/transformers
50573c648ae953dcc1b94d663651f07fb02268f4
886b6be081e1bc28e8c6cbc93eba934f83677ab2
[idefics] fix vision's `hidden_act` (#25787) [idefics] fix vision's hidden_act
[ { "path": "src/transformers/models/idefics/configuration_idefics.py", "patch": "@@ -57,7 +57,7 @@ class IdeficsVisionConfig(PretrainedConfig):\n Number of attention heads for each attention layer in the Transformer encoder.\n image_num_channels (`int`, *optional*, defaults to `3`):\n ...
2023-08-28T14:37:37
nodejs/node
4677766d210c2dfb19f9c8d930bba99b390fde1c
ff001c12b032c33dd54c6bcbb0bdba4fe549ec27
test: enable test-debugger-pid Now that `node debug` is an alias for `node inspect`, it's possible that `node-debug-pid` can run reliably. Modify for current behavior and move from `disabled` to `parallel`. PR-URL: https://github.com/nodejs/node/pull/12770 Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Col...
[ { "path": "test/parallel/test-debugger-pid.js", "patch": "@@ -8,10 +8,9 @@ let buffer = '';\n // connect to debug agent\n const interfacer = spawn(process.execPath, ['debug', '-p', '655555']);\n \n-console.error(process.execPath, 'debug', '-p', '655555');\n interfacer.stdout.setEncoding('utf-8');\n interfac...
2017-04-30T22:54:18
vuejs/vue
45ff6218c15f118d926a27ac90e274f3c999d77f
d0c13c7e6672d5f36e88179ca75d8c04b9eb0115
handle multiline atribute value parsing in IE (fix #3663)
[ { "path": "flow/compiler.js", "patch": "@@ -14,6 +14,7 @@ declare type CompilerOptions = {\n preserveWhitespace?: boolean;\n isFromDOM?: boolean;\n shouldDecodeTags?: boolean;\n+ shouldDecodeNewlines?: boolean;\n \n // runtime user-configurable\n delimiters?: [string, string]; // template delimit...
2016-09-13T12:43:25
ggml-org/llama.cpp
0fed24c34787d2aa916ed204db88889591ad6e55
47ba87d0a4f91eb181ea60f8a7fc2539b123aeaf
ggml: fix compilation error s390x (#12848) * ggml: fixes #12846 compilation error Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> Co-authored-by: Aleksei Nikiforov <aleksei.nikiforov@ibm.com> * ggml: add documentation for code change Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> Co-authored-by: Aleksei Nikiforov <a...
[ { "path": "ggml/src/ggml-cpu/simd-mappings.h", "patch": "@@ -855,13 +855,17 @@ static inline __vector float __lzs_f16cx4_load(const ggml_fp16_t * x) {\n tmp[i] = GGML_FP16_TO_FP32(x[i]);\n }\n \n- return vec_xl(0, tmp);\n+ // note: keep type-cast here to prevent compiler bugs\n+ // see:...
2025-04-11T05:20:07
huggingface/transformers
886b6be081e1bc28e8c6cbc93eba934f83677ab2
ed915cff9751e3e41ebb4733b87c45c938daf116
Add type hints for several pytorch models (batch-4) (#25749) * Add type hints for MGP STR model * Add missing type hints for plbart model * Add type hints for Pix2struct model * Add missing type hints to Rag model and tweak the docstring * Add missing type hints to Sam model * Add missing type hints to ...
[ { "path": "src/transformers/models/mgp_str/modeling_mgp_str.py", "patch": "@@ -380,7 +380,13 @@ def get_input_embeddings(self) -> nn.Module:\n return self.embeddings.proj\n \n @add_start_docstrings_to_model_forward(MGP_STR_INPUTS_DOCSTRING)\n- def forward(self, pixel_values, output_attentions...
2023-08-28T13:31:33
golang/go
c6fea80b9582d7c4f86bf88b404ac6ebb33359fd
9a5468edff1b0f8e3b6be02ed59b238679cf5c2f
[dev.link] cmd/link: add SymVersion loader method Add a loader method to retrieve the version from a loader.Sym (useful mainly for debugging at the moment). Change-Id: I82e0e316bb86eb41b9cf366e656a0f848cf3424e Reviewed-on: https://go-review.googlesource.com/c/go/+/212617 Reviewed-by: Jeremy Faller <jeremy@golang.org>...
[ { "path": "src/cmd/link/internal/loader/loader.go", "patch": "@@ -607,6 +607,21 @@ func (l *Loader) SymName(i Sym) string {\n \treturn strings.Replace(osym.Name, \"\\\"\\\".\", r.pkgprefix, -1)\n }\n \n+// Returns the version of the i-th symbol.\n+func (l *Loader) SymVersion(i Sym) int {\n+\tif l.IsExternal...
2019-12-26T18:39:04
vuejs/vue
6f8316fe8f8e0a0697af9a625004097ad59eadc9
673dec6040bcfc510866761b38439b9d34dd91f7
toObject should not mutate original objects (fix #3657)
[ { "path": "src/shared/util.js", "patch": "@@ -170,8 +170,8 @@ export function isPlainObject (obj: any): boolean {\n * Merge an Array of Objects into a single Object.\n */\n export function toObject (arr: Array<any>): Object {\n- const res = arr[0] || {}\n- for (let i = 1; i < arr.length; i++) {\n+ cons...
2016-09-11T10:17:59
rust-lang/rust
97005678c38fd391c9b502d011cc3f3d4434a18a
80faf203515bf3be214ad3ffc019b55b026b1220
reduce `Box::default` stack copies in debug mode The `Box::new(T::default())` implementation of `Box::default` only had two stack copies in debug mode, compared to the current version, which has four. By avoiding creating any `MaybeUninit<T>`'s and just writing `T` directly to the `Box` pointer, the stack usage in deb...
[ { "path": "library/alloc/src/boxed.rs", "patch": "@@ -1730,7 +1730,20 @@ impl<T: Default> Default for Box<T> {\n /// Creates a `Box<T>`, with the `Default` value for T.\n #[inline]\n fn default() -> Self {\n- Box::write(Box::new_uninit(), T::default())\n+ let mut x: Box<mem::MaybeU...
2025-01-26T08:36:50
ggml-org/llama.cpp
1d2b613445bab6b179296aa63c8ee346fb947cc4
eb420e11484ef32cc1abedb2a26ecef1bbf1e31b
tests : fix init order (#0) ggml-ci
[ { "path": "tests/test-backend-ops.cpp", "patch": "@@ -2965,7 +2965,7 @@ struct test_upscale : public test_case {\n test_upscale(ggml_type type = GGML_TYPE_F32,\n std::array<int64_t, 4> ne = {512, 512, 3, 1},\n int32_t scale_factor = 2, ggml_scale_mode mode = GGML_SCALE_MODE_NEARE...
2025-04-10T21:04:25
nodejs/node
eb535c5154306e9024a80ee16ecabaee0bfcef62
d56a7e640f766f15980b28d15bbf02bf60975ab2
doc: deprecate vm.runInDebugContext Docs-only deprecation for v8.0.0. Runtime deprecation planned for v9.0.0. Removal planned for v10.0.0. PR-URL: https://github.com/nodejs/node/pull/12243 Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <j...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -590,6 +590,16 @@ Type: Runtime\n `node debug` corresponds to the legacy CLI debugger which has been replaced with\n a V8-inspector based CLI debugger available through `node inspect`.\n \n+<a id=\"DEP0069\"></a>\n+### DEP0069: vm.runInDebugContext(string)\n...
2017-05-03T18:38:56
huggingface/transformers
ed915cff9751e3e41ebb4733b87c45c938daf116
cb91ec67b54c1a8a9a24825165161c90fe7c0e51
Add type hints for pytorch models (final batch) (#25750) * Add type hints for table_transformer * Add type hints to Timesformer model * Add type hints to Timm Backbone model * Add type hints to TVLT family models * Add type hints to Vivit family models * Use the typing instance instead of the python bui...
[ { "path": "src/transformers/models/table_transformer/modeling_table_transformer.py", "patch": "@@ -17,7 +17,7 @@\n \n import math\n from dataclasses import dataclass\n-from typing import Dict, List, Optional, Tuple\n+from typing import Dict, List, Optional, Tuple, Union\n \n import torch\n from torch import...
2023-08-28T13:31:22
golang/go
dcd3b2c173b77d93be1c391e3b5f932e0779fb1f
4f757179543e06daec58df6af5884516f8bceb86
runtime: check whether scavAddr is in inUse on scavengeOne fast path This change makes it so that we check whether scavAddr is actually mapped before trying to look at the summary for the fast path, since we may segfault if that that part of the summary is not mapped in. Previously this wasn't a problem because we wou...
[ { "path": "src/runtime/mgcscavenge.go", "patch": "@@ -413,7 +413,10 @@ func (s *pageAlloc) scavengeOne(max uintptr, locked bool) uintptr {\n \n \t// Check the chunk containing the scav addr, starting at the addr\n \t// and see if there are any free and unscavenged pages.\n-\tif s.summary[len(s.summary)-1][c...
2019-12-26T19:49:39
vuejs/vue
673dec6040bcfc510866761b38439b9d34dd91f7
b47d773c58de077e40edd54a3f5bde2bdfa5fd3d
fix duplicate slot warning spelling
[ { "path": "src/core/instance/render.js", "patch": "@@ -164,7 +164,7 @@ export function renderMixin (Vue: Class<Component>) {\n // warn duplicate slot usage\n if (slotNodes && process.env.NODE_ENV !== 'production') {\n slotNodes._rendered && warn(\n- `Duplicate presense of slot \"${name}...
2016-09-10T08:41:12
rust-lang/rust
80faf203515bf3be214ad3ffc019b55b026b1220
2f0ad2a71e4a4528bb80bcb24bf8fa4e50cb87c2
add test for Box::default's stack usage in debug mode
[ { "path": "tests/codegen/box-default-debug-copies.rs", "patch": "@@ -0,0 +1,25 @@\n+//@ compile-flags: -Copt-level=0\n+\n+// Test to make sure that `<Box<T>>::default` does not create too many copies of `T` on the stack.\n+// in debug mode. This regressed in dd0620b86721ae8cae86736443acd3f72ba6fc32 to\n+// ...
2025-01-26T08:23:02
ggml-org/llama.cpp
cb79c2e7fa28e874694c14598c1fd2fde82263e1
fe92821ea9ae53f3088cf2699a9e102448295fa0
ggml: don't include arm_neon.h when using CUDA 12 with ARM Neon (ggml/1187) fix #1186
[ { "path": "ggml/src/ggml-impl.h", "patch": "@@ -16,6 +16,14 @@\n #include <arm_sve.h>\n #endif // __ARM_FEATURE_SVE\n \n+#if defined(__ARM_NEON) && !defined(__CUDACC__) && !defined(__MUSACC__)\n+// if YCM cannot find <arm_neon.h>, make a symbolic link to it, for example:\n+//\n+// $ ln -sfn /Library/Devel...
2025-04-10T12:23:08
nodejs/node
d56a7e640f766f15980b28d15bbf02bf60975ab2
6c2daf0ce9cffbadf51359ddfb804f5a6107737c
src: do proper StringBytes error handling - Return `MaybeLocal`s from `StringBytes::Encode` - Add an `error` out parameter to pass JS exceptions to the callers (instead of directly throwing) - Simplify some of the string generation methods in `string_bytes.cc` by unifying the `EXTERN_APEX` logic - Reduce usage of ...
[ { "path": "lib/buffer.js", "patch": "@@ -567,34 +567,30 @@ Buffer.prototype.copy = function(target, targetStart, sourceStart, sourceEnd) {\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n Buffer.prototype.to...
2017-04-30T16:53:04
huggingface/transformers
686c68f64c9d0181bd54d4d2e2446543c3eca1fa
960807f62e53676723ab8281019219864ef3db4d
Add docstrings and fix VIVIT examples (#25628) * fix docstrings and examples * docstring update * add missing whitespace
[ { "path": "src/transformers/models/git/convert_git_to_pytorch.py", "patch": "@@ -200,6 +200,17 @@ def prepare_video():\n np.random.seed(0)\n \n def sample_frame_indices(clip_len, frame_sample_rate, seg_len):\n+ \"\"\"\n+ Sample a given number of frame indices from the video.\n+\n+ ...
2023-08-26T19:08:47
vuejs/vue
179ec92019dd098487c720ba8d1667bbedb9c380
100a2969aa5c64bd71758c79881cf4531e9907be
fix lint
[ { "path": "src/core/instance/render.js", "patch": "@@ -36,11 +36,11 @@ export function renderMixin (Vue: Class<Component>) {\n _parentVnode\n } = vm.$options\n \n- if (vm._isMounted) { \n- // clone slot nodes on re-renders \n- for (const key in vm.$slots) { \n- vm.$slot...
2016-09-08T11:55:45
rust-lang/rust
40c2c641c2ddf4eaf1e9e8c0991d4f8644c267ec
913592373d40ec6c67774fcf32143bc548b4b6ac
fix broken link of UI test in the book
[ { "path": "book/src/development/basics.md", "patch": "@@ -75,7 +75,7 @@ or if you modify a test file to add a test case.\n > _Note:_ This command may update more files than you intended. In that case\n > only commit the files you wanted to update.\n \n-[UI test]: https://rustc-dev-guide.rust-lang.org/tests/...
2025-01-26T06:43:48
ggml-org/llama.cpp
e4bf72d631434b38656cb97e2411826d900433e8
8b9cc7cdd8a0dcf0176c60c755322c95b5965299
scripts : fix sync-ggml-am.sh
[ { "path": "scripts/sync-ggml-am.sh", "patch": "@@ -158,13 +158,13 @@ if [ -f $SRC_LLAMA/ggml-src.patch ]; then\n # scripts/gen-authors.sh -> scripts/gen-authors.sh\n \n cat ggml-src.patch | sed -E \\\n- -e 's/(^[[:space:]]| [ab]\\/)CMakeLists.txt/\\1ggml\\/CMakeLists.txt/g' \\\n- -e 's...
2025-04-10T20:59:01
golang/go
4f757179543e06daec58df6af5884516f8bceb86
2d6f8cc2cdd5993eb8dc80655735a38ef067af6e
io: show ErrUnexpectedEOF in ExampleReadAtLeast Fixes #36245 Change-Id: I10ce50b0cc28b15f4e7be85b8f12cf9d0e4fac96 Reviewed-on: https://go-review.googlesource.com/c/go/+/212404 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
[ { "path": "src/io/example_test.go", "patch": "@@ -59,7 +59,7 @@ func ExampleCopyN() {\n func ExampleReadAtLeast() {\n \tr := strings.NewReader(\"some io.Reader stream to be read\\n\")\n \n-\tbuf := make([]byte, 33)\n+\tbuf := make([]byte, 14)\n \tif _, err := io.ReadAtLeast(r, buf, 4); err != nil {\n \t\tlo...
2019-12-23T23:27:46
nodejs/node
6c2daf0ce9cffbadf51359ddfb804f5a6107737c
9990be2919fb73b2285118a236dc6f7adbdf7cef
crypto: throw proper errors if out enc is UTF-16 Throw `Error`s instead of hard crashing when the `.digest()` output encoding is UTF-16. Fixes: https://github.com/nodejs/node/issues/9817 PR-URL: https://github.com/nodejs/node/pull/12752 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@...
[ { "path": "src/node_crypto.cc", "patch": "@@ -3798,6 +3798,10 @@ void Hmac::HmacDigest(const FunctionCallbackInfo<Value>& args) {\n encoding = ParseEncoding(env->isolate(), args[0], BUFFER);\n }\n \n+ if (encoding == UCS2) {\n+ return env->ThrowError(\"hmac.digest() does not support UTF-16\");\n+ ...
2017-04-29T22:48:46
huggingface/transformers
960807f62e53676723ab8281019219864ef3db4d
015f8e110d270a0ad42de4ae5b98198d69eb1964
[idefics] small fixes (#25764)
[ { "path": "src/transformers/models/idefics/__init__.py", "patch": "@@ -35,7 +35,6 @@\n _import_structure[\"modeling_idefics\"] = [\n \"IDEFICS_PRETRAINED_MODEL_ARCHIVE_LIST\",\n \"IdeficsForVisionText2Text\",\n- \"IdeficsGatedCrossAttentionLayer\",\n \"IdeficsModel\",\n ...
2023-08-25T17:59:29
vuejs/vue
1c4ca4bc08b0faf1b457aa02d8a96749e232fb16
7a2c986722447f270354221c13a84deea2e100fd
fix lint
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -82,7 +82,7 @@ export function createPatchFunction (backend) {\n }\n \n function createElm (vnode, insertedVnodeQueue, nested) {\n- let i, elm\n+ let i\n const data = vnode.data\n vnode.isRootInsert = !nested\n if (isDef(data)) {\n@@ -11...
2016-09-08T11:17:30
golang/go
2d6f8cc2cdd5993eb8dc80655735a38ef067af6e
cd1b9c1d5a7bb8ea6ebec223ce11e91897584ef4
doc/go1.14: mention increased number of EINTR errors Updates #36281 Change-Id: I3c4487caaf47566212dc62322b2e884e695ea7f1 Reviewed-on: https://go-review.googlesource.com/c/go/+/212657 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
[ { "path": "doc/go1.14.html", "patch": "@@ -258,6 +258,23 @@ <h2 id=\"runtime\">Runtime</h2>\n <code>plan9/*</code>.\n </p>\n \n+<p>\n+ A consequence of the implementation of preemption is that on Unix\n+ systems, including Linux and macOS systems, programs built with Go\n+ 1.14 will receive more signal...
2019-12-26T23:57:13
ggml-org/llama.cpp
8b9cc7cdd8a0dcf0176c60c755322c95b5965299
64eda5deb9859e87a020e56bab5d2f9ca956f1de
llava : introduce libmtmd (#12849) * wip llava2 * migrated gemma3 to llava2 * add timings * correct pre/postfix * fix missing include * fix compilation unused var warn * update llava2_tokenize * change name llava2 --> mtmd * improve api * refine helpers * Update examples/llava/mtmd.cpp Co-authored-by: Georg...
[ { "path": "examples/llava/CMakeLists.txt", "patch": "@@ -1,3 +1,5 @@\n+# llava (legacy)\n+\n add_library(llava OBJECT\n llava.cpp\n llava.h\n@@ -22,12 +24,41 @@ if (BUILD_SHARED_LIBS)\n install(TARGETS llava_shared LIBRARY)\n endif()\n \n+# mtmd\n+\n+add_library(mtmd OBJECT\n+ ...
2025-04-10T20:57:16
vuejs/vue
4afccc8eece43956f6f84189923a60d9a5a45e36
f25482dd93a367b1b5ac4c52fb103015279c87cb
proper slot duplication warning (fix #3595)
[ { "path": "flow/component.js", "patch": "@@ -93,6 +93,8 @@ declare interface Component {\n _f: (id: string) => Function;\n // renderList\n _l: (val: any, render: Function) => ?Array<VNode>;\n+ // renderSlot\n+ _t: (name: string, fallback: ?Array<VNode>) => ?Array<VNode>;\n // apply v-bind object\n...
2016-09-08T09:47:22
huggingface/transformers
015f8e110d270a0ad42de4ae5b98198d69eb1964
74081cb5fa52540bbdde620942bd3a657af85c8e
[`CodeLlama`] Add support for `CodeLlama` (#25740) * add all * Revert "Delete .github directory" This reverts commit 9b0ff7b052e2b20b629a26fb13606b78a42944d1. * make conversion script backward compatible * fixup * more styling * copy to llama changes * fix repo consistency * nits * document ...
[ { "path": "README.md", "patch": "@@ -318,6 +318,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[CLIP](https://huggingface.co/docs/transformers/model_doc/clip)** (from OpenAI) released with the paper [Learning Transferable Visual Models From Natural Language Supe...
2023-08-25T16:57:40
golang/go
cd1b9c1d5a7bb8ea6ebec223ce11e91897584ef4
075c20cea8a1efda0e8d5d33a1995a220ad27b8c
runtime: disable pageAlloc tests on OpenBSD in short mode This change disables pageAlloc tests on OpenBSD in short mode because pageAlloc holds relatively large virtual memory reservations and we make two during the pageAlloc tests. The runtime may also be carrying one such reservation making the virtual memory requir...
[ { "path": "src/runtime/mgcscavenge_test.go", "patch": "@@ -272,6 +272,9 @@ func TestPallocDataFindScavengeCandidate(t *testing.T) {\n \n // Tests end-to-end scavenging on a pageAlloc.\n func TestPageAllocScavenge(t *testing.T) {\n+\tif GOOS == \"openbsd\" && testing.Short() {\n+\t\tt.Skip(\"skipping because...
2019-12-19T17:44:58
ggml-org/llama.cpp
64eda5deb9859e87a020e56bab5d2f9ca956f1de
fe5b78c89670b2f37ecb216306bed3e677b49d9f
convert : ability to lazy-load safetensors remotely without downloading to disk (#12820) * gguf util : add SafetensorRemote * fix style * convert: add --remote option * convert : allow using lazy remote tensors It's a bit slow for now since everything is blocking and single-threaded. * correct metadata.name * sm...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -65,6 +65,7 @@ class Model:\n model_name: str | None\n metadata_override: Path | None\n dir_model_card: Path\n+ remote_hf_model_id: str | None\n \n # subclasses should define this!\n model_arch: gguf.MODEL_ARCH\n@@ -73,7 +74,7 @@ def __i...
2025-04-10T15:24:44
vuejs/vue
f25482dd93a367b1b5ac4c52fb103015279c87cb
f541097486c18f7778cc4d12490bc9a46cd0faf1
tiny comment fix
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -332,7 +332,7 @@ export function createPatchFunction (backend) {\n // reuse element for static trees.\n // note we only do this if the vnode is cloned -\n // if the new node is not cloned it means the render functions have been\n- // reset by t...
2016-09-08T09:11:39
nodejs/node
9990be2919fb73b2285118a236dc6f7adbdf7cef
b2ab41e5ae6213b17de8031771585030aea046e2
src: turn buffer type-CHECK into exception Turn a `CHECK()` that could be brought to fail using public APIs into throwing an error. Fixes: https://github.com/nodejs/node/issues/12152 PR-URL: https://github.com/nodejs/node/pull/12753 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmai...
[ { "path": "src/stream_base.cc", "patch": "@@ -189,9 +189,14 @@ int StreamBase::Writev(const FunctionCallbackInfo<Value>& args) {\n \n int StreamBase::WriteBuffer(const FunctionCallbackInfo<Value>& args) {\n CHECK(args[0]->IsObject());\n- CHECK(Buffer::HasInstance(args[1]));\n+\n Environment* env = Envi...
2017-04-29T23:48:37
huggingface/transformers
74081cb5fa52540bbdde620942bd3a657af85c8e
0040469bb8e718f4ffafef829e497805df1aa1fb
fix a typo in docsting (#25759) * fix a typo in docsting * Update src/transformers/modeling_utils.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> --------- Co-authored-by: statelesshz <jihuazhong1@huawei.com> Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -304,7 +304,7 @@ def shard_checkpoint(\n \n <Tip warning={true}>\n \n- If one of the model's weight is bigger that `max_sahrd_size`, it will end up in its own sub-checkpoint which will\n+ If one of the model's weight is bigger than `max_...
2023-08-25T15:46:56
ggml-org/llama.cpp
11d07e1e69138b46375e9267b31acd58e3813577
b0091ecc1e5c0f689be856fade3803a534f35c9f
Fixes #12823 (#12830) * Including limits file on AIX * Fixes #12823
[ { "path": "ggml/src/ggml-cpu/simd-mappings.h", "patch": "@@ -392,7 +392,11 @@ static inline void __avx_f32cx8_store(ggml_fp16_t *x, __m256 y) {\n #define GGML_F16_VEC_LOAD(p, i) (i & 0x1) ? \\\n vec_extract_fp32_from_shorth(vec_xl(0, p - GGML_F16_EPR)) : \\\n vec_extract_fp32_from_shor...
2025-04-09T23:18:01
vuejs/vue
f541097486c18f7778cc4d12490bc9a46cd0faf1
63e4757fbd7e17babe4e9bd4cb0af7d84e3f2a5f
Expose all types via index.d.ts (#3608) * expose all types via index.d.ts * Fix typo
[ { "path": "types/index.d.ts", "patch": "@@ -1,6 +1,33 @@\n import {Vue as _Vue} from \"./vue\";\n+import * as Options from \"./options\";\n+import * as Plugin from \"./plugin\";\n+import * as VNode from \"./vnode\";\n+\n // `Vue` in `export = Vue` must be a namespace\n-declare namespace Vue {}\n+// All avai...
2016-09-08T08:26:01
golang/go
c170b14c2c1cfb2fd853a37add92a82fd6eb4318
2e320a240d0b99b6810f452cf8554f6e79f0222e
doc/go1.14: change hash/maphash package link Package name and documentation link were wrong. Change-Id: I274906afc3cf7a3d88e3da76549cd6ab008fd0c7 Reviewed-on: https://go-review.googlesource.com/c/go/+/212538 Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "doc/go1.14.html", "patch": "@@ -334,13 +334,13 @@ <h2 id=\"library\">Core library</h2>\n TODO\n </p>\n \n-<dl id=\"bytes/hash\"><dt><a href=\"/pkg/bytes/hash/\">bytes/hash</a></dt>\n+<dl id=\"hash/maphash\"><dt><a href=\"/pkg/hash/maphash\">hash/maphash</a></dt>\n <dd>\n <p><!-- CL 186877 -...
2019-12-24T14:28:16
nodejs/node
8aca66a1f32e436b187e99959c52e112de7147b8
21653b6901cf46fe2893ba0a4c7f079d17e47917
test: fix warning in n-api reference test Add cast to avoid warning during build of addon. PR-URL: https://github.com/nodejs/node/pull/12730 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "test/addons-napi/test_reference/test_reference.c", "patch": "@@ -60,10 +60,10 @@ napi_value CheckExternal(napi_env env, napi_callback_info info) {\n \n NAPI_ASSERT(env, argtype == napi_external, \"Expected an external value.\")\n \n- int* data;\n+ void* data;\n NAPI_CALL(env, napi_get_value...
2017-04-28T19:56:21
huggingface/transformers
4b796978656e461177a83d58ec3c2b06152c63db
4d9e45f3ef624cab41f605d7439862ce23ca806a
🚨🚨🚨 [`Refactor`] Move third-party related utility files into `integrations/` folder 🚨🚨🚨 (#25599) * move deepspeed to `lib_integrations.deepspeed` * more refactor * oops * fix slow tests * Fix docs * fix docs * addess feedback * address feedback * final modifs for PEFT * fixup * ok n...
[ { "path": "docs/source/en/main_classes/deepspeed.md", "patch": "@@ -2065,20 +2065,20 @@ In this case you usually need to raise the value of `initial_scale_power`. Setti\n \n ## Non-Trainer Deepspeed Integration\n \n-The [`~deepspeed.HfDeepSpeedConfig`] is used to integrate Deepspeed into the 🤗 Transformers...
2023-08-25T15:13:34
vuejs/vue
9e88707940088cb1f4cd7dd210c9168a50dc347c
73486cb5f5862a443b42c2aff68b82320218cbcd
chore: fix spelling mistakes (#13216) [skip ci]
[ { "path": "CHANGELOG.md", "patch": "@@ -3,7 +3,7 @@\n \n ### Bug Fixes\n \n-* **lifecycle:** esnure component effect scopes are disconnected ([56ce7f8](https://github.com/vuejs/vue/commit/56ce7f8c573116ed6683149206cf35c987249d42)), closes [#13134](https://github.com/vuejs/vue/issues/13134)\n+* **lifecycle:*...
2024-10-10T07:24:14
mrdoob/three.js
291280b6a55b2e17526352745e84b62a66140055
99cc9afd4d8b5ffa9ab6f9251b0cf56cbe9415c9
WebGPUTextureUtils: Fix `copyTextureToBuffer()` dispose buffer (#33366)
[ { "path": "src/renderers/webgpu/utils/WebGPUTextureUtils.js", "patch": "@@ -692,7 +692,9 @@ class WebGPUTextureUtils {\n \n \t\tawait readBuffer.mapAsync( GPUMapMode.READ );\n \n-\t\tconst buffer = readBuffer.getMappedRange();\n+\t\tconst buffer = readBuffer.getMappedRange().slice();\n+\n+\t\treadBuffer.des...
2026-04-11T03:18:26
golang/go
6299ca285a0a6bf7d2b1bfbb03b6c3288b846bdf
4a9e479d06754923aad320c53ab02371266f6b57
net/http: fix data race in TestClientRedirectUseResponse There is a data race between the assignment of ts, and the access of ts.URL in the server handler. The data race seems to be more common when running the test against our HTTP/3 implementation. Fix the issue by deriving ts.URL via the given Request in the serve...
[ { "path": "src/net/http/client_test.go", "patch": "@@ -484,7 +484,11 @@ func testClientRedirectUseResponse(t *testing.T, mode testMode) {\n \t\tif strings.Contains(r.URL.Path, \"/other\") {\n \t\t\tio.WriteString(w, \"wrong body\")\n \t\t} else {\n-\t\t\tw.Header().Set(\"Location\", ts.URL+\"/other\")\n+\t\...
2026-04-10T17:48:35
denoland/deno
8157260173d6f55534f688020a44ac5e2f7bbc61
1ececcbcd1a1d541bb6598c2d9aeb86b13451d48
fix(permissions): normalize IPv4-mapped IPv6 addresses in net permission checks (#33223) ## Summary Normalize IPv4-mapped IPv6 addresses (e.g. `::ffff:127.0.0.1`) to their IPv4 equivalent before storing or comparing `Host::Ip` values in the permission system. Without this, `--deny-net=127.0.0.1` does not block conne...
[ { "path": "runtime/permissions/lib.rs", "patch": "@@ -1730,6 +1730,19 @@ pub enum SubdomainWildcards {\n Disabled,\n }\n \n+/// Normalize IPv4-mapped IPv6 addresses (e.g. `::ffff:127.0.0.1`) to\n+/// their IPv4 equivalent so that permission checks treat them identically\n+/// to the bare IPv4 form.\n+fn n...
2026-04-09T16:53:31