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
vuejs/vue
62405aa9035d5f547c0440263f16f21c1325f100
405d8e9f4c3201db2ae0e397d9191d9b94edc219
revert: fix(v-model): fix input listener with modifier blocking v-model update This reverts commit 6f312d636c3d6049dc9e60007f88ea871b8e8173 because the change is no longer needed after switching nextTick to use MessageChannel.
[ { "path": "src/core/vdom/helpers/update-listeners.js", "patch": "@@ -5,22 +5,18 @@ import { cached, isUndef } from 'shared/util'\n \n const normalizeEvent = cached((name: string): {\n name: string,\n- plain: boolean,\n once: boolean,\n capture: boolean,\n- passive: boolean,\n- handler?: Function\n+...
2017-10-09T20:30:07
rust-lang/rust
b0b0b25c9c01cb0a593e1b1d0ca27220b0051c0c
0ea2ce4f6db70e7b7c66c9844e2c07b2e3ff6bc0
Remove unnecessary abort_if_errors from cg_clif
[ { "path": "src/lib.rs", "patch": "@@ -209,7 +209,6 @@ impl CodegenBackend for CraneliftCodegenBackend {\n metadata: EncodedMetadata,\n need_metadata_module: bool,\n ) -> Box<dyn Any> {\n- tcx.dcx().abort_if_errors();\n info!(\"codegen crate {}\", tcx.crate_name(LOCAL_CRATE...
2025-02-06T16:02:44
ggml-org/llama.cpp
11490b36723d511d75fb601995c79b5c363ba3a2
66625a59a54d0a7504eda4c4e83abfcd83ba1cf8
CANN: Improve loading efficiency after converting weights to NZ format. (#14985) * CANN: Improve loading efficiency after converting weights to NZ format. * CANN: fix typo
[ { "path": "docs/backend/CANN.md", "patch": "@@ -310,5 +310,7 @@ Specifies the memory pool management strategy:\n \n Controls automatic cleanup of the memory pool. This option is only effective when using the prio or leg memory pool strategies.\n \n-## TODO\n-- Support more models and data types.\n+### GGML_...
2025-07-31T11:47:20
huggingface/transformers
b97cab7e6d3934c566e6cc8daf3e2f76d92397d5
8f577dca4f2e9153d152afffe209fee643a90124
Remove-auth-token (#27060) * don't use `use_auth_token`internally * let's use token everywhere * fixup
[ { "path": "docs/source/en/hpo_train.md", "patch": "@@ -99,7 +99,7 @@ Define a `model_init` function and pass it to the [`Trainer`], as an example:\n ... config=config,\n ... cache_dir=model_args.cache_dir,\n ... revision=model_args.model_revision,\n-... use_auth_token=True if...
2023-11-13T13:20:54
golang/go
fcb8f8384ac62eb029926bb1f3602825fa61b261
2568d323f603417c74f3b7030a6108362234d427
cmd/api: make NewWatcher populate its own package and import metadata This partially undoes the optimizations of CL 177597, but makes up some of the difference by caching the package list and import metadata and making the initial calls concurrently, including in TestMain. That reduces the critical path from two seque...
[ { "path": "src/cmd/api/goapi.go", "patch": "@@ -26,6 +26,7 @@ import (\n \t\"runtime\"\n \t\"sort\"\n \t\"strings\"\n+\t\"sync\"\n )\n \n func goCmd() string {\n@@ -138,68 +139,37 @@ func main() {\n \t\tc.Compiler = build.Default.Compiler\n \t}\n \n-\tvar pkgNames []string\n-\tif flag.NArg() > 0 {\n-\t\tpkg...
2020-03-20T19:15:35
vuejs/vue
405d8e9f4c3201db2ae0e397d9191d9b94edc219
37533fd71e4fe002c909d6b167873cad5097f6b9
fix: prevent memory leak due to circular reference in vnodes fix #6759
[ { "path": "src/core/instance/lifecycle.js", "patch": "@@ -133,6 +133,10 @@ export function lifecycleMixin (Vue: Class<Component>) {\n if (vm.$el) {\n vm.$el.__vue__ = null\n }\n+ // release circular reference (#6759)\n+ if (vm.$vnode) {\n+ vm.$vnode.parent = null\n+ }\n }\n }\n...
2017-10-09T15:48:19
ggml-org/llama.cpp
e9192bec564780bd4313ad6524d20a0ab92797db
41e78c567e9a8c652e405f4f909deb598deecd31
quantize : fix using combined imatrix GGUFs (multiple datasets) (#14973)
[ { "path": "tools/quantize/quantize.cpp", "patch": "@@ -311,7 +311,7 @@ static int load_imatrix(const std::string & imatrix_file, std::vector<std::strin\n int64_t n_datasets = gguf_get_arr_n(ctx_gguf, dataset_idx);\n imatrix_datasets.reserve(n_datasets);\n for (int64_t i = 0; i < n_datasets; ++i)...
2025-07-30T19:11:56
vuejs/vue
37533fd71e4fe002c909d6b167873cad5097f6b9
96b97448118de0939bf5f77c9b74cf1613a5a107
refactor: improve errorCaptured propagation behavior
[ { "path": "src/core/util/error.js", "patch": "@@ -8,12 +8,15 @@ export function handleError (err: Error, vm: any, info: string) {\n if (vm) {\n let cur = vm\n while ((cur = cur.$parent)) {\n- if (cur.$options.errorCaptured) {\n- try {\n- const propagate = cur.$options.errorCap...
2017-10-09T13:51:54
huggingface/transformers
8f577dca4f2e9153d152afffe209fee643a90124
7b998cabeeb5ec45c6fd0762461d5b4a85fc0481
Fixed typo in error message (#27461) "past key much have a shape" -> "past key must have a shape"
[ { "path": "src/transformers/models/mistral/modeling_mistral.py", "patch": "@@ -372,7 +372,7 @@ def forward(\n \n if past_key.shape[-2] != self.config.sliding_window - 1:\n raise ValueError(\n- f\"past key much have a shape of (`batch_size, num_heads...
2023-11-13T11:43:01
nodejs/node
c6ce500edf364692efa9d46bc1bd9e959611f7da
6809429cfa035b35ca8c83815e644234092f53be
async_hooks: C++ Embedder API overhaul * Fix AsyncHooksGetTriggerAsyncId such it corresponds to async_hooks.triggerAsyncId and not async_hooks.initTriggerId. * Use an async_context struct instead of two async_uid values. This change was necessary since the fixing AsyncHooksGetTriggerAsyncId otherwise makes it impo...
[ { "path": "src/async-wrap.cc", "patch": "@@ -741,40 +741,51 @@ Local<Value> AsyncWrap::MakeCallback(const Local<Function> cb,\n /* Public C++ embedder API */\n \n \n-async_uid AsyncHooksGetExecutionAsyncId(Isolate* isolate) {\n+async_id AsyncHooksGetExecutionAsyncId(Isolate* isolate) {\n return Environmen...
2017-07-06T06:20:03
golang/go
91b8b130dda2c3a5933baee439e3fed1098e8318
16cfab8d89ec26a71356c73378ab92eafa6a7356
test: make runindir tests pass regardless of whether module mode is in use The "runindir" tests used "go run", but relied on relative imports (which are not supported by "go run" in module mode). Instead, such tests must use fully-qualified imports, which require either a go.mod file (in module mode) or that the packa...
[ { "path": "test/fixedbugs/issue29612.dir/main.go", "patch": "@@ -12,8 +12,8 @@ package main\n import (\n \t\"fmt\"\n \n-\tssa1 \"./p1/ssa\"\n-\tssa2 \"./p2/ssa\"\n+\tssa1 \"issue29612.dir/p1/ssa\"\n+\tssa2 \"issue29612.dir/p2/ssa\"\n )\n \n func main() {", "additions": 2, "deletions": 2, "langua...
2020-03-24T20:18:02
ggml-org/llama.cpp
e228de94496636681b36690247d96f97d5f76c0d
73a8e5ca0372f4dcaf1aed4e42261723da0914aa
cmake : Fix BLAS link interface (ggml/1316)
[ { "path": "ggml/cmake/ggml-config.cmake.in", "patch": "@@ -34,8 +34,8 @@ if (NOT GGML_SHARED_LIB)\n \n if (GGML_BLAS)\n find_dependency(BLAS)\n- list(APPEND GGML_CPU_INTERFACE_LINK_LIBRARIES ${BLAS_LIBRARIES})\n- list(APPEND GGML_CPU_INTERFACE_LINK_OPTIONS ${BLAS_LINKER_FLAGS})\n...
2025-07-30T12:53:16
vuejs/vue
2876ed870c5368a1767fbeddf06e94b55ebd6234
35e55ecd42d0d5dcb476aca79c91186b8f3dc226
fix: resolve async component default for native dynamic import fix #6751
[ { "path": "src/core/vdom/helpers/resolve-async-component.js", "patch": "@@ -6,13 +6,17 @@ import {\n isDef,\n isUndef,\n isTrue,\n- isObject\n+ isObject,\n+ hasSymbol\n } from 'core/util/index'\n \n import { createEmptyVNode } from 'core/vdom/vnode'\n \n-function ensureCtor (comp, base) {\n- if (c...
2017-10-07T06:43:10
huggingface/transformers
7b998cabeeb5ec45c6fd0762461d5b4a85fc0481
9d87cd2ce286c1d8e88e129b04a4bd0db6754522
Fix some Wav2Vec2 related models' doctest (#27462) * fix * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/wav2vec2/tokenization_wav2vec2.py", "patch": "@@ -603,7 +603,7 @@ def decode(\n >>> feature_extractor = AutoFeatureExtractor.from_pretrained(\"facebook/wav2vec2-base-960h\")\n \n >>> # load first sample of English common_voice\n- >>> dataset = load_d...
2023-11-13T11:37:46
nodejs/node
c45df83b54744ce5b9dcb20b9f8a8355085991a4
46d7cb88c7f8b416e667c52de80e6766115b3781
src: --abort-on-uncaught-exception in NODE_OPTIONS Allow --abort-on-uncaught-exception in NODE_OPTIONS, its useful to enable for post-mortem debugging. PR-URL: https://github.com/nodejs/node/pull/13932 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/cli.md", "patch": "@@ -457,6 +457,7 @@ Node options that are allowed are:\n - `--zero-fill-buffers`\n \n V8 options that are allowed are:\n+- `--abort-on-uncaught-exception`\n - `--max_old_space_size`\n \n ### `NODE_PENDING_DEPRECATION=1`", "additions": 1, "deletions": 0, "lan...
2017-06-26T18:24:33
golang/go
242b38c1716066d6489b00007885302c1e42fb75
ea93ddfaeb2a797717ae6230d1166d842bc44655
[dev.link] cmd/link: relocating Errorf() to ErrorReporter Add an Errorf method to ErrorReporter. The hope is that we can consolidate error handling/reporting in this helper, and eventually do away with Link.Errorf and the global Errorf function (which can be removed once we've eliminated enough uses of *sym.Symbol). ...
[ { "path": "src/cmd/link/internal/ld/errors.go", "patch": "@@ -5,7 +5,10 @@ package ld\n \n import (\n \t\"cmd/internal/obj\"\n+\t\"cmd/link/internal/loader\"\n \t\"cmd/link/internal/sym\"\n+\t\"fmt\"\n+\t\"os\"\n \t\"sync\"\n )\n \n@@ -15,13 +18,15 @@ type unresolvedSymKey struct {\n }\n \n type lookupFn fu...
2020-03-19T12:17:54
rust-lang/rust
046451d0b4c3bf098afd0ea3bfa497ef665005c1
abe6846897906baf52199927f3e0acd63c5fbfb7
Throw ub error when invoking non-vararg shim with vararg import
[ { "path": "src/tools/miri/src/helpers.rs", "patch": "@@ -999,6 +999,11 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {\n &'a [OpTy<'tcx>; N]: TryFrom<&'a [OpTy<'tcx>]>,\n {\n self.check_abi_and_shim_symbol_clash(abi, exp_abi, link_name)?;\n+ if abi.c_variadic {\n...
2025-02-06T06:45:35
vuejs/vue
6dac3dbe441302cebb945b675f78f8e7247e2a97
514b90b64770cba9f905d2dff59dfa0e064e580c
feat: rename catchError -> errorCaptured
[ { "path": "src/core/util/error.js", "patch": "@@ -8,12 +8,12 @@ export function handleError (err: Error, vm: any, info: string) {\n if (vm) {\n let cur = vm\n while ((cur = cur.$parent)) {\n- if (cur.$options.catchError) {\n+ if (cur.$options.errorCaptured) {\n try {\n- ...
2017-10-06T20:35:27
ggml-org/llama.cpp
73a8e5ca0372f4dcaf1aed4e42261723da0914aa
92b8810ec7aa6d778bc287cc918443cf67b962e2
vulkan : fix 32-bit builds (ggml/1313) The pipeline member can be cast to VkPipeline. This is a VkPipeline_T* on 64 bit but a uint64_t on 32 bit. Cf. VK_DEFINE_NON_DISPATCHABLE_HANDLE documentation.
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -1341,7 +1341,7 @@ static void ggml_vk_create_pipeline_func(vk_device& device, vk_pipeline& pipelin\n vk::DebugUtilsObjectNameInfoEXT duoni;\n duoni.objectType = vk::ObjectType::ePipeline;\n duoni.pObjectName = pipeline->...
2025-07-30T12:52:26
nodejs/node
46d7cb88c7f8b416e667c52de80e6766115b3781
8520e6f2804fad64fb50b91c80553715d3c83bd4
tools: eslint - use `error` and `off` PR-URL: https://github.com/nodejs/node/pull/14061 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Franziska Hink...
[ { "path": ".eslintrc.yaml", "patch": "@@ -13,39 +13,39 @@ parserOptions:\n rules:\n # Possible Errors\n # http://eslint.org/docs/rules/#possible-errors\n- no-control-regex: 2\n- no-debugger: 2\n- no-dupe-args: 2\n- no-dupe-keys: 2\n- no-duplicate-case: 2\n- no-empty-character-class: 2\n- no-ex-as...
2017-07-03T16:51:45
golang/go
6b6414cab49fcc035e1f20bafdb723077e7d36bb
97585092f590072209110bce336f57506984c02b
math: correct Atan2(±y,+∞) = ±0 on s390x The s390x assembly implementation was previously only handling this case correctly for x = -Pi. Update the special case handling for any y. Fixes #35446 Change-Id: I355575e9ec8c7ce8bd9db10d74f42a22f39a2f38 Reviewed-on: https://go-review.googlesource.com/c/go/+/223420 Run-Try...
[ { "path": "src/math/all_test.go", "patch": "@@ -827,6 +827,8 @@ var vfatan2SC = [][2]float64{\n \t{+Pi, Inf(-1)},\n \t{+Pi, 0},\n \t{+Pi, Inf(1)},\n+\t{1.0, Inf(1)},\n+\t{-1.0, Inf(1)},\n \t{+Pi, NaN()},\n \t{Inf(1), Inf(-1)},\n \t{Inf(1), -Pi},\n@@ -864,6 +866,8 @@ var atan2SC = []float64{\n \tPi, ...
2020-03-14T05:24:38
rust-lang/rust
a983b58b0c174a5fb68ba506a2560c71849555b7
66d6064f9eb888018775e08f84747ee6f39ba28e
Generate correct terminate block under Wasm EH This fixes failing LLVM assertions during insnsel. Improves #135665.
[ { "path": "compiler/rustc_codegen_ssa/src/mir/block.rs", "patch": "@@ -1703,15 +1703,32 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {\n let mut cs_bx = Bx::build(self.cx, llbb);\n let cs = cs_bx.catch_switch(None, None, &[cp_llbb]);\n \n- // Th...
2025-01-28T11:37:40
vuejs/vue
514b90b64770cba9f905d2dff59dfa0e064e580c
db138e2254d71f6b96e033acf66ba43ad269841a
fix: add slot v-bind warning (#6736) close #6677
[ { "path": "src/core/instance/render-helpers/render-slot.js", "patch": "@@ -1,6 +1,6 @@\n /* @flow */\n \n-import { extend, warn } from 'core/util/index'\n+import { extend, warn, isObject } from 'core/util/index'\n \n /**\n * Runtime helper for rendering <slot>\n@@ -15,6 +15,12 @@ export function renderSlot...
2017-10-06T19:48:00
ggml-org/llama.cpp
1e15bfd42c3938506e0da5939bf7f42780965f01
a118d80233d3bf92569c051346fd2638f87bf202
graph : fix stack-use-after-return (#14960) ggml-ci
[ { "path": "src/llama-graph.h", "patch": "@@ -144,7 +144,7 @@ class llm_graph_input_pos_bucket : public llm_graph_input_i {\n \n ggml_tensor * pos_bucket = nullptr; // I32 [n_batch, n_batch]\n \n- const llama_hparams & hparams;\n+ const llama_hparams hparams;\n };\n \n class llm_graph_input_pos_buc...
2025-07-30T10:52:11
huggingface/transformers
7ee995fd9c692761c4601ddbffa2ac2ec9f27b0b
ed115b347347a1292dfd88a85d5bd9b8250c66e7
Make `examples_torch_job` faster (#27437) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".circleci/create_circleci_config.py", "patch": "@@ -397,6 +397,7 @@ def job_name(self):\n \n examples_torch_job = CircleCIJob(\n \"examples_torch\",\n+ additional_env={\"OMP_NUM_THREADS\": 8},\n cache_name=\"torch_examples\",\n install_steps=[\n \"sudo apt-get -y update && ...
2023-11-10T19:05:05
nodejs/node
8520e6f2804fad64fb50b91c80553715d3c83bd4
e36917bdc159326665d1e8d14703596780ba0c3a
lib: fix urlObject parameter name in url.format Documentation, error message, and code now use the same argument name. PR-URL: https://github.com/nodejs/node/pull/14031 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "lib/url.js", "patch": "@@ -550,22 +550,23 @@ function autoEscapeStr(rest) {\n }\n \n // format a parsed object into a url string\n-function urlFormat(obj, options) {\n+function urlFormat(urlObject, options) {\n // ensure it's an object, and not a string url.\n- // If it's an obj, this is a no-...
2017-07-03T07:09:11
golang/go
f4fe89108c42bde3978fda8b826acbcd77db6076
efb0ac4ce6a95435f8fba8c7f77becf083e8eaad
test: re-enable atomic intrinsic related tests on riscv64 riscv64 now has atomic intrinsics, so re-enable the atomic intrinsic tests. Fixes #36765 Change-Id: I838f27570a94d7fa5774c43f1ca5f4df2ca104cf Reviewed-on: https://go-review.googlesource.com/c/go/+/223560 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by...
[ { "path": "test/inline_sync.go", "patch": "@@ -1,4 +1,4 @@\n-// +build !nacl,!386,!wasm,!arm,!riscv64,!gcflags_noopt\n+// +build !nacl,!386,!wasm,!arm,!gcflags_noopt\n // errorcheck -0 -m\n \n // Copyright 2019 The Go Authors. All rights reserved.\n@@ -14,9 +14,6 @@\n // of the sync fast paths. This test sh...
2020-03-15T15:58:23
ggml-org/llama.cpp
a118d80233d3bf92569c051346fd2638f87bf202
61550f8231dc0aa478e2f537c5009ede6878ce22
embeddings: fix extraction of CLS pooling results (#14927) * embeddings: fix extraction of CLS pooling results * merge RANK pooling into CLS case for inputs
[ { "path": "src/llama-graph.cpp", "patch": "@@ -188,38 +188,23 @@ void llm_graph_input_mean::set_input(const llama_ubatch * ubatch) {\n \n void llm_graph_input_cls::set_input(const llama_ubatch * ubatch) {\n const int64_t n_tokens = ubatch->n_tokens;\n- const int64_t n_seq_tokens = ubatch->n_seq_t...
2025-07-30T05:25:05
vuejs/vue
2503e13de58c7f8286c77c2668118ed30b69d79d
3c65239ad406f371564c1b5d8303b772e5c5a7d1
chore: fix sponsor logo width
[ { "path": "README.md", "patch": "@@ -124,8 +124,7 @@ Funds donated via Patreon goes directly to support Evan You's full-time work on\n </td>\n <td align=\"center\" valign=\"middle\">\n <a href=\"http://tooltwist.com\" target=\"_blank\">\n- <img width=\"14\n- 0px\" src=\...
2017-10-05T20:49:57
nodejs/node
e36917bdc159326665d1e8d14703596780ba0c3a
c9b6d95161e996245e424e428e5c350d4ce52948
n-api: fix -Wmaybe-uninitialized compiler warning Not an actual bug, as far as I can tell, the compiler is simply not smart enough to figure out that the offending code path isn't reached with an uninitialized value. PR-URL: https://github.com/nodejs/node/pull/14053 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.c...
[ { "path": "src/node_api.cc", "patch": "@@ -2323,7 +2323,7 @@ napi_status napi_instanceof(napi_env env,\n }\n \n if (env->has_instance_available) {\n- napi_value value, js_result, has_instance = nullptr;\n+ napi_value value, js_result = nullptr, has_instance = nullptr;\n napi_status status = na...
2017-07-03T10:11:35
golang/go
60a964ea45db28eb7a4ca291008473da7d3d2c70
191118a8213d486389763afe31be0d2dd3f9ed6a
cmd/internal/obj/ppc64: fix PCALIGN on ppc64le This fixes a potential issue with the previous implementation of PCALIGN on ppc64. Previously PCALIGN was processed inside of asmout and indicated the padding size by setting the value in the optab, changing it back after the alignment instructions were added. Now PCALIGN...
[ { "path": "src/cmd/internal/obj/ppc64/asm9.go", "patch": "@@ -627,8 +627,6 @@ func addpad(pc, a int64, ctxt *obj.Link) int {\n \t\t}\n \tcase 16:\n \t\tswitch pc % 16 {\n-\t\t// When currently aligned to 4, avoid 3 NOPs and set to\n-\t\t// 8 byte alignment which should still help.\n \t\tcase 4, 12:\n \t\t\t...
2020-03-17T13:24:47
huggingface/transformers
e1c3ac25515839146c93427e55941de9cee3401e
00dc856233a4539ded53520db6606a4b152c30be
Add Phi-1 and Phi-1_5 (#26170) * only dir not even init * init * tokenizer removed and reference of codegen added * modeling file updated a lot remaining app_rotary_emb * conversion script done * conversion script fixed, a lot of factoring done and most tests pass * added token_clf and extractive_QA_...
[ { "path": "README.md", "patch": "@@ -443,6 +443,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[PEGASUS-X](https://huggingface.co/docs/transformers/model_doc/pegasus_x)** (from Google) released with the paper [Investigating Efficiently Extending Transformers for...
2023-11-10T15:28:30
vuejs/vue
b3cd9bc3940eb1e01da7081450929557d9c1651e
e34c6b78bd77d5eff86a83525a71f1e2f90607a4
feat: add catchError option also propagate error thrown in renderError() to global handler
[ { "path": "src/core/instance/render.js", "patch": "@@ -101,14 +101,21 @@ export function renderMixin (Vue: Class<Component>) {\n try {\n vnode = render.call(vm._renderProxy, vm.$createElement)\n } catch (e) {\n- handleError(e, vm, `render function`)\n+ handleError(e, vm, `render`)\n ...
2017-10-05T18:59:38
ggml-org/llama.cpp
1a67fcc30677e96dda76bb1b290788e7d8852b51
204f2cf168dc01ca7b200b1510e0ff585ca9a92e
common : avoid logging partial messages (which can contain broken UTF-8 sequences) (#14937) * bug-fix: don't attempt to log partial parsed messages to avoid crash due to unfinished UTF-8 sequences
[ { "path": "common/chat.cpp", "patch": "@@ -1944,6 +1944,8 @@ common_chat_msg common_chat_parse(const std::string & input, bool is_partial, co\n }\n }\n auto msg = builder.result();\n- LOG_DBG(\"Parsed message: %s\\n\", common_chat_msgs_to_json_oaicompat<json>({msg}).at(0).dump().c_str());...
2025-07-29T15:05:38
vuejs/vue
6d1f4cb89a156bf5f84942b1031354aa93916cb7
6e41679a96582da3e0a60bdbf123c33ba0e86b31
fix: fallback to Promise in non-DOM environments
[ { "path": "src/core/util/env.js", "patch": "@@ -103,6 +103,12 @@ export const nextTick = (function () {\n timerFunc = () => {\n port.postMessage(1)\n }\n+ } else if (typeof Promise !== 'undefined' && isNative(Promise)) {\n+ // use microtask in non-DOM environments, e.g. Weex\n+ const p ...
2017-10-05T05:01:08
huggingface/transformers
68afca3e699cf0d8e53598e75f21508a1bcabdd5
7e9f10ac94c626780cf9e17485e73aec2c644bf2
[`AttentionMaskConverter`] ]Fix-mask-inf (#27114) * fix? * actual fix * fixups * add dataclass to the attention mask converter * refine testing suite * make sure there are no overflows * update the test
[ { "path": "src/transformers/modeling_attn_mask_utils.py", "patch": "@@ -11,11 +11,13 @@\n # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n # See the License for the specific language governing permissions and\n # limitations under the License.\n+from dataclasses import dataclass\...
2023-11-10T14:22:43
nodejs/node
c9b6d95161e996245e424e428e5c350d4ce52948
0fd4c73e5cda23dfb5b8e54dc11e07e547e9d576
n-api: use Maybe version of Object::SetPrototype() Fixes the following deprecation warning: ../src/node_api.cc:2020:30: warning: 'bool v8::Object::SetPrototype(v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations] wrapper->SetPrototype(proto); ../src/node_api.cc:20...
[ { "path": "src/node_api.cc", "patch": "@@ -2017,8 +2017,8 @@ napi_status napi_wrap(napi_env env,\n \n // Insert the wrapper into the object's prototype chain.\n v8::Local<v8::Value> proto = obj->GetPrototype();\n- wrapper->SetPrototype(proto);\n- obj->SetPrototype(wrapper);\n+ CHECK(wrapper->SetProto...
2017-07-03T10:07:16
golang/go
191118a8213d486389763afe31be0d2dd3f9ed6a
825ae71e567593d3a28b7dddede8745701273c52
internal/poll: assume we have CancelIoEX on Windows As of the Go 1.11 release we require at least Windows 7, so CancelIoEx is always available. This lets us simplify the code to not require dedicated threads to handle I/O requests. Fixes #37956 Change-Id: If1dc4ac4acb61c43e4f2a9f26f225869050262a5 Reviewed-on: https...
[ { "path": "src/internal/poll/fd_windows.go", "patch": "@@ -9,7 +9,6 @@ import (\n \t\"internal/race\"\n \t\"internal/syscall/windows\"\n \t\"io\"\n-\t\"runtime\"\n \t\"sync\"\n \t\"syscall\"\n \t\"unicode/utf16\"\n@@ -22,18 +21,6 @@ var (\n \tioSync uint64\n )\n \n-// CancelIo Windows API cancels all outst...
2020-03-24T04:11:01
ggml-org/llama.cpp
bbd0f917797e9d524680f1b30d34a46eb06d7651
0a5036bee9cfb946870689db4400e9e0d17844c9
server-bench: make seed choice configurable (#14929) * server-bench: make seed choice configurable * Update scripts/server-bench.py Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> * Update scripts/server-bench.py Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> * fix error formatting ...
[ { "path": "scripts/server-bench.py", "patch": "@@ -32,11 +32,12 @@ def get_prompts_text(dataset_name: str, n_prompts: int) -> Optional[list[str]]:\n return ret\n \n \n-def get_prompt_lengths_rng(n_prompts: int, prompt_length_min: int, prompt_length_max: int) -> list[int]:\n+def get_prompt_lengths_rng(n_...
2025-07-29T08:40:50
vuejs/vue
6e41679a96582da3e0a60bdbf123c33ba0e86b31
1780b1f07b9d3910bac5b101cb65b645f67b1df5
fix: use MessageChannel for nextTick fix #6566, #6690
[ { "path": "src/core/util/env.js", "patch": "@@ -1,7 +1,6 @@\n /* @flow */\n-/* globals MutationObserver */\n+/* globals MessageChannel */\n \n-import { noop } from 'shared/util'\n import { handleError } from './error'\n \n // can we use __proto__?\n@@ -80,41 +79,29 @@ export const nextTick = (function () {\...
2017-10-05T04:52:47
ggml-org/llama.cpp
bda62193b2a6bebbf515c3c389303094a44458c1
c556418b600ad5792440942079d93e393595688b
test-backend-ops : extend test case filtering (#14865) * Extend test case filtering 1. Allow passing multiple (comma-separated?) ops to test-backend-ops. This can be convenient when working on a set of ops, when you'd want to test them together (but without having to run every single op). For example: `test-backend-...
[ { "path": "tests/test-backend-ops.cpp", "patch": "@@ -35,6 +35,7 @@\n #include <random>\n #include <regex>\n #include <string>\n+#include <string_view>\n #include <thread>\n #include <vector>\n \n@@ -1047,7 +1048,37 @@ struct test_case {\n return t;\n }\n \n- bool eval(ggml_backend_t backend1...
2025-07-28T16:04:27
golang/go
825ae71e567593d3a28b7dddede8745701273c52
e3cf0525b0ecfaeb9381108e8c7181cdc2abee57
runtime: fix code so defer record is not added to g0 defer list during panic newdefer() actually adds the new defer to the current g's defer chain. That happens even if we are on the system stack, in which case the g will be the g0 stack. For open-coded defers, we call newdefer() (only during panic processing) while o...
[ { "path": "src/runtime/defer_test.go", "patch": "@@ -335,3 +335,69 @@ func recurseFn(level int, maxlevel int) {\n \t\tpanic(\"recurseFn panic\")\n \t}\n }\n+\n+// Try to reproduce issue #37688, where a pointer to an open-coded defer struct is\n+// mistakenly held, and that struct keeps a pointer to a stack-...
2020-03-20T16:31:20
nodejs/node
0fd4c73e5cda23dfb5b8e54dc11e07e547e9d576
aa8655a0da2f5ca7937e5d73ee0c83afa464e8f3
async_hooks: fix default nextTick triggerAsyncId In the case where triggerAsyncId is null it should default to the current executionAsyncId. This worked but as a side-effect the resource object was changed too. This fix also makes the null check more strict. EmitInitS is not a documented API, thus there is no reason ...
[ { "path": "lib/async_hooks.js", "patch": "@@ -322,9 +322,7 @@ function emitInitS(asyncId, type, triggerAsyncId, resource) {\n \n // This can run after the early return check b/c running this function\n // manually means that the embedder must have used initTriggerId().\n- if (!Number.isSafeInteger(trig...
2017-07-05T13:01:18
huggingface/transformers
7e9f10ac94c626780cf9e17485e73aec2c644bf2
9dd58c53dd420550142bb30ed4861670eabb0cc0
Add CLVP (#24745) * init commit * attention arch done except rotary emb * rotary emb done * text encoder working * outputs matching * arch first pass done * make commands done, tests and docs remaining * all tests passed, only docs remaining * docs done * doc-builder fix * convert script ...
[ { "path": "README.md", "patch": "@@ -321,6 +321,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[CLAP](https://huggingface.co/docs/transformers/model_doc/clap)** (from LAION-AI) released with the paper [Large-scale Contrastive Language-Audio Pretraining with Feat...
2023-11-10T13:49:10
vuejs/vue
1780b1f07b9d3910bac5b101cb65b645f67b1df5
aa1356e83de1112660e7a88ff955f49d64bb5b1f
build: fix weex build
[ { "path": "package.json", "patch": "@@ -23,7 +23,7 @@\n \"dev:weex:compiler\": \"rollup -w -c build/config.js --environment TARGET:weex-compiler \",\n \"build\": \"node build/build.js\",\n \"build:ssr\": \"npm run build -- web-runtime-cjs,web-server-renderer\",\n- \"build:weex\": \"npm run bu...
2017-10-04T22:23:53
ggml-org/llama.cpp
c556418b600ad5792440942079d93e393595688b
db16e2831c0f344f041af3d067db81c42b16eb22
llama-bench : use local GPUs along with RPC servers (#14917) Currently if RPC servers are specified with '--rpc' and there is a local GPU available (e.g. CUDA), the benchmark will be performed only on the RPC device(s) but the backend result column will say "CUDA,RPC" which is incorrect. This patch is adding all local...
[ { "path": "tools/llama-bench/llama-bench.cpp", "patch": "@@ -950,6 +950,7 @@ struct cmd_params_instance {\n }\n static std::vector<ggml_backend_dev_t> devices;\n devices.clear();\n+ // RPC devices should always come first for performance reasons...
2025-07-28T15:59:04
golang/go
e3cf0525b0ecfaeb9381108e8c7181cdc2abee57
355f53f0a0a5d79032068d4914d7aea3435084ec
runtime: always use GetQueuedCompletionStatusEx on Windows We used to fall back to GetQueuedCompletionStatus if GetQueuedCompletionStatus was not available, but as of Go 1.11 we require Windows 7 or later, so GetQueuedCompletionStatusEx is always available. Fixes #37957 Change-Id: I7d8d49a92ab7b1f5afdc54a442f696aaf4...
[ { "path": "src/runtime/netpoll_windows.go", "patch": "@@ -75,7 +75,7 @@ func netpollBreak() {\n // delay > 0: block for up to that many nanoseconds\n func netpoll(delay int64) gList {\n \tvar entries [64]overlappedEntry\n-\tvar wait, qty, key, flags, n, i uint32\n+\tvar wait, qty, flags, n, i uint32\n \tvar...
2020-03-24T03:42:29
huggingface/transformers
fd685cfd593e1e254f7fbbe9ee91aa679fa51199
184f60dcec6f7f664687a9e211e8d2216052b05d
[`Quantization`] Add str to enum conversion for AWQ (#27320) * add str to enum conversion * fixup * Apply suggestions from code review Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> --------- Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
[ { "path": "src/transformers/utils/quantization_config.py", "patch": "@@ -44,6 +44,16 @@ class AWQLinearVersion(str, Enum):\n GEMM = \"gemm\"\n GEMV = \"gemv\"\n \n+ @staticmethod\n+ def from_str(version: str):\n+ version = version.lower()\n+ if version == \"gemm\":\n+ ...
2023-11-10T12:45:00
vuejs/vue
8295f716657ffe516f30e84f29ca94f4a0aefabf
dae173d96d15f47de6ce6961354d5c05e4273005
fix: warn slot-scope when used as a prop
[ { "path": "src/core/instance/state.js", "patch": "@@ -18,6 +18,7 @@ import {\n bind,\n noop,\n hasOwn,\n+ hyphenate,\n isReserved,\n handleError,\n nativeWatch,\n@@ -84,9 +85,11 @@ function initProps (vm: Component, propsOptions: Object) {\n const value = validateProp(key, propsOptions, pro...
2017-10-04T21:31:58
nodejs/node
aa8655a0da2f5ca7937e5d73ee0c83afa464e8f3
5c6c02996b7f0d21fd92e75937dedbda0dc44ac7
async-hooks,net: ensure asyncId=null if no handle If the .listen() hasn't been called on the server, there is no handle object. In this case use null as the triggerAsyncId. Fixes: https://github.com/nodejs/node/issues/13548 PR-URL: https://github.com/nodejs/node/pull/13938 Reviewed-By: James M Snell <jasnell@gmail.co...
[ { "path": "lib/net.js", "patch": "@@ -1558,7 +1558,8 @@ Server.prototype.getConnections = function(cb) {\n const self = this;\n \n function end(err, connections) {\n- nextTick(self[async_id_symbol], cb, err, connections);\n+ const asyncId = self._handle ? self[async_id_symbol] : null;\n+ nextTi...
2017-07-05T12:58:02
ggml-org/llama.cpp
db16e2831c0f344f041af3d067db81c42b16eb22
cd1fce6d4f9c191f1c7429cc96f61281c3b63ffc
ggml-cpu : deduplicate scalar implementations (#14897) * remove redundant code in riscv * remove redundant code in arm * remove redundant code in loongarch * remove redundant code in ppc * remove redundant code in s390 * remove redundant code in wasm * remove redundant code in x86 * remove fallback headers * f...
[ { "path": "ggml/src/ggml-cpu/arch/arm/quants.c", "patch": "@@ -1236,44 +1236,10 @@ void ggml_vec_dot_tq1_0_q8_K(int n, float * GGML_RESTRICT s, size_t bs, const vo\n *s = sumf;\n \n #else\n- const uint8_t pow3[6] = {1, 3, 9, 27, 81, 243};\n-\n- float sumf = 0.0f;\n-\n- for (int i = 0; i < nb; +...
2025-07-28T15:40:24
golang/go
355f53f0a0a5d79032068d4914d7aea3435084ec
f95ff37cb06652b5b4dd244e72b939a36258c273
runtime: don't call wakeNetPoller during timerModifying Reduce the length of time that other timer functions can see timerModifying. In particular avoid system calls. Fixes #38023 Change-Id: I1b61229c668e6085d9ee6dca9488a90055386c36 Reviewed-on: https://go-review.googlesource.com/c/go/+/224902 Run-TryBot: Ian Lance ...
[ { "path": "src/runtime/time.go", "patch": "@@ -251,11 +251,6 @@ func addtimer(t *timer) {\n \t}\n \tt.status = timerWaiting\n \n-\taddInitializedTimer(t)\n-}\n-\n-// addInitializedTimer adds an initialized timer to the current P.\n-func addInitializedTimer(t *timer) {\n \twhen := t.when\n \n \tpp := getg()....
2020-03-23T18:38:49
huggingface/transformers
184f60dcec6f7f664687a9e211e8d2216052b05d
cf32c941350cb296e4c2c9e26a9274291d515e90
add attention_mask and position_ids in assisted model (#26892) * add attention_mask and position_ids in assisted model * fix bug * fix attention mask * fix attention_mask * check assist inputs * check assist input ids length * fix assist model type * set assist attention mask device
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -4488,11 +4488,6 @@ def assisted_decoding(\n else:\n num_assistant_tokens = assistant_model.generation_config.num_assistant_tokens\n \n- # check if assistant model accepts encoder_outputs\n- assistant_accepts_en...
2023-11-10T11:05:15
vuejs/vue
2431d3d74396b33a2a120a835cfe7a776f06e277
2b5c83af6d8b15510424af4877d58c261ea02e16
chore: fix warning space
[ { "path": "src/core/instance/proxy.js", "patch": "@@ -15,10 +15,10 @@ if (process.env.NODE_ENV !== 'production') {\n \n const warnNonPresent = (target, key) => {\n warn(\n- `Property or method \"${key}\" is not defined on the instance but` +\n+ `Property or method \"${key}\" is not defined o...
2017-10-04T02:25:52
ggml-org/llama.cpp
cd1fce6d4f9c191f1c7429cc96f61281c3b63ffc
00fa15fedc79263fa0285e6a3bbb0cfb3e3878a2
SYCL: Add set_rows support for quantized types (#14883) * SYCL: Add set_rows support for quantized types This commit adds support for GGML_OP_SET_ROWS operation for various quantized tensor types (Q8_0, Q5_1, Q5_0, Q4_1, Q4_0, IQ4_NL) and BF16 type in the SYCL backend. The quantization/dequantization copy kernels w...
[ { "path": "ggml/src/ggml-sycl/cpy.cpp", "patch": "@@ -1,31 +1,12 @@\n #include \"cpy.hpp\"\n \n #include <float.h>\n-#include <string>\n \n #include \"dequantize.hpp\"\n #include \"ggml-sycl/common.hpp\"\n #include \"ggml-sycl/presets.hpp\"\n #include \"ggml.h\"\n \n-static __dpct_inline__ int best_index_in...
2025-07-28T15:02:15
golang/go
f95ff37cb06652b5b4dd244e72b939a36258c273
c785633941299f5a0f76b5689b3becf47e1239b2
cmd/go: clarify behavior with no arguments in 'go help mod download' 'go mod download' is equivalent to 'go mod download all'. Fixes #38031 Change-Id: I7aec7e5a1370a3e248eba6daad9a75ec21f33a83 Reviewed-on: https://go-review.googlesource.com/c/go/+/225201 Run-TryBot: Jay Conrod <jayconrod@google.com> Reviewed-by: Dan...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -1017,7 +1017,8 @@\n //\n // Download downloads the named modules, which can be module patterns selecting\n // dependencies of the main module or module queries of the form path@version.\n-// With no arguments, download applies to all dependencies of the main ...
2020-03-24T17:33:46
vuejs/vue
2b5c83af6d8b15510424af4877d58c261ea02e16
ae347a52259b24507a9c747c80d78a6beaa36de0
fix: handle errors in errorHandler close #6714
[ { "path": "src/core/util/error.js", "patch": "@@ -6,16 +6,24 @@ import { inBrowser } from './env'\n \n export function handleError (err: Error, vm: any, info: string) {\n if (config.errorHandler) {\n- config.errorHandler.call(null, err, vm, info)\n- } else {\n- if (process.env.NODE_ENV !== 'product...
2017-10-03T22:23:43
huggingface/transformers
cf32c941350cb296e4c2c9e26a9274291d515e90
740cd935900dea019109a5ad5bc083128105b207
Run all tests if `circleci/create_circleci_config.py` is modified (#27413) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "utils/tests_fetcher.py", "patch": "@@ -948,7 +948,7 @@ def infer_tests_to_run(\n print(f\"\\n### IMPACTED FILES ###\\n{_print_list(impacted_files)}\")\n \n # Grab the corresponding test files:\n- if \"setup.py\" in modified_files:\n+ if any(x in modified_files for x in [\"setup.py\"...
2023-11-09T21:01:06
ggml-org/llama.cpp
00fa15fedc79263fa0285e6a3bbb0cfb3e3878a2
946b1f685909c8c9c044f145bce819c02f327eaa
mtmd : add support for Voxtral (#14862) * mtmd : add support for Voxtral * clean up * fix python requirements * add [BEGIN_AUDIO] token * also support Devstral conversion * add docs and tests * fix regression for ultravox * minor coding style improvement * correct project activation fn * Apply suggestions fro...
[ { "path": ".gitignore", "patch": "@@ -82,6 +82,7 @@ models/*\n models-mnt\n !models/.editorconfig\n !models/ggml-vocab-*.gguf*\n+!models/templates\n \n # Zig\n zig-out/", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "convert_hf_to_gguf.py", "patch": "@@ -1900,6 ...
2025-07-28T13:01:48
vuejs/vue
ae347a52259b24507a9c747c80d78a6beaa36de0
6ad44e13e990951ff152a0fd7042613c5a87f1c0
fix: ensure nextTick are passed to errorHandler (#6730)
[ { "path": "src/core/util/env.js", "patch": "@@ -89,7 +89,7 @@ export const nextTick = (function () {\n /* istanbul ignore if */ // $flow-disable-line\n if (typeof Promise !== 'undefined' && isNative(Promise)) {\n var p = Promise.resolve()\n- var logError = err => { console.error(err) }\n+ var ...
2017-10-03T22:06:13
nodejs/node
15599cbc977af3bc2a94365adc6687ca5e2bde04
5100cc6851e5513b9e11f7e6244436ba48c79f2b
tools: update: eslint-plugin-markdown@1.0.0-beta.7 * Remove pinning of eslint-plugin-markdown An issue affecting Node.js source has been fixed in eslint-plugin-markdown so we don't need to pin it to beta-4 anymore. Refs: https://github.com/eslint/eslint-plugin-markdown/issues/69 * Update eslint-plugin-markdow...
[ { "path": "doc/api/dns.md", "patch": "@@ -65,7 +65,7 @@ section if a custom port is used.\n \n For example:\n \n-<!-- eslint-disable -->\n+<!-- eslint-disable semi-->\n ```js\n [\n '4.4.4.4',\n@@ -314,7 +314,7 @@ function will contain an array of objects with the following properties:\n \n For example:\n ...
2017-07-03T00:05:59
huggingface/transformers
740cd935900dea019109a5ad5bc083128105b207
51a98c40eee1e2825b4ebe1f4b279133b9ea8426
Fix `Owlv2` checkpoint name and a default value in `Owlv2VisionConfig` (#27402) * fix * fix * fix * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/owlv2/configuration_owlv2.py", "patch": "@@ -32,13 +32,13 @@\n }\n \n \n-# Copied from transformers.models.owlvit.configuration_owlvit.OwlViTTextConfig with OwlViT->Owlv2, owlvit-base-patch-16->owlv2-base-patch16, owlvit->owlv2, OWL-ViT->OWLv2\n+# Copied from transformers....
2023-11-09T20:39:03
golang/go
c785633941299f5a0f76b5689b3becf47e1239b2
e0deacd1c096367ba341b43413ec5ccea8253db2
Revert "cmd/compile: convert 386 port to use addressing modes pass" This reverts commit CL 222782. Reason for revert: Reverting to see if 386 errors go away Update #37881 Change-Id: I74f287404c52414db1b6ff1649effa4ed9e5cc0c Reviewed-on: https://go-review.googlesource.com/c/go/+/225218 Reviewed-by: Bryan C. Mills <b...
[ { "path": "src/cmd/compile/internal/ssa/addressingmodes.go", "patch": "@@ -11,8 +11,8 @@ func addressingModes(f *Func) {\n \tdefault:\n \t\t// Most architectures can't do this.\n \t\treturn\n-\tcase \"amd64\", \"386\":\n-\t\t// TODO: s390x?\n+\tcase \"amd64\":\n+\t\t// TODO: 386, s390x?\n \t}\n \n \tvar tmp...
2020-03-24T16:48:05
rust-lang/rust
4385a9e06384238f1c6be7fe0f9646e17812f851
59588250ad973ce69bd15879314c9769e65f36b3
Debuginfo for function ZSTs should have alignment of 8 bits, not 1 bit
[ { "path": "compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs", "patch": "@@ -319,19 +319,16 @@ fn build_subroutine_type_di_node<'ll, 'tcx>(\n // This is actually a function pointer, so wrap it in pointer DI.\n let name = compute_debuginfo_type_name(cx.tcx, fn_ty, false);\n let (size, align) ...
2025-02-06T12:01:29
ggml-org/llama.cpp
946b1f685909c8c9c044f145bce819c02f327eaa
6c6e397affc4fac717e718364fb4b635cec6433a
CUDA: fix pointer incrementation in FA (#14916)
[ { "path": "ggml/src/ggml-cuda/fattn-vec-f16.cuh", "patch": "@@ -174,7 +174,10 @@ static __global__ void flash_attn_vec_ext_f16(\n K += blockIdx.y*D * nb11;\n V += blockIdx.y*D * nb21;\n maskh += blockIdx.y*D;\n- for (int k_VKQ_0 = blockIdx.y*D; k_VKQ_0 < ne11; k_VKQ_0 += gridDim.y*D) ...
2025-07-28T12:30:22
vuejs/vue
6ad44e13e990951ff152a0fd7042613c5a87f1c0
baabd6d14016c730fe40a4202ae9b8f75e80041c
fix(ref): preserve ref on components after removing root element (#6718) fix #6632, #6641
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -697,6 +697,8 @@ export function createPatchFunction (backend) {\n insert.fns[i]()\n }\n }\n+ } else {\n+ registerRef(ancestor)\n }\n ancestor = ancestor.parent\n ...
2017-10-03T22:04:23
huggingface/transformers
e38348ae8fa54f60e4110546e33d496808620850
c8b6052ff681e3ca8dab168dfd524b9fbbceb5bd
Fix RequestCounter to make it more future-proof (#27406) * Fix RequestCounter to make it more future-proof * code quality
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -29,14 +29,15 @@\n import tempfile\n import time\n import unittest\n+from collections import defaultdict\n from collections.abc import Mapping\n from io import StringIO\n from pathlib import Path\n from typing import Callable, Dict, Iterable, Itera...
2023-11-09T17:53:26
nodejs/node
5100cc6851e5513b9e11f7e6244436ba48c79f2b
996a62e08af550c171caf8acf2137301dbbbbe29
tools: use no-use-before-define ESLint rule Also fix repl and url libs for the rule. PR-URL: https://github.com/nodejs/node/pull/14032 Refs: http://eslint.org/docs/rules/no-use-before-define Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
[ { "path": ".eslintrc.yaml", "patch": "@@ -78,6 +78,9 @@ rules:\n no-delete-var: 2\n no-undef: 2\n no-unused-vars: [2, {args: none}]\n+ no-use-before-define: [2, {classes: true,\n+ functions: false,\n+ variables: false}]\n \n # Node.js and Comm...
2017-07-01T18:51:22
golang/go
9dcd6b32c80bd481602a959995af7c898ed62503
ade988623eb396fc2e11635362ad5162e6ab6a5e
crypto: implement Hash.String Fixes #33430 Change-Id: I323323b3136dd7b408005c3bb5ea05e3b566bd38 Reviewed-on: https://go-review.googlesource.com/c/go/+/224937 Run-TryBot: Katie Hockman <katie@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Filippo Valsorda <filippo@golang.org>
[ { "path": "src/crypto/crypto.go", "patch": "@@ -20,6 +20,51 @@ func (h Hash) HashFunc() Hash {\n \treturn h\n }\n \n+func (h Hash) String() string {\n+\tswitch h {\n+\tcase MD4:\n+\t\treturn \"MD4\"\n+\tcase MD5:\n+\t\treturn \"MD5\"\n+\tcase SHA1:\n+\t\treturn \"SHA-1\"\n+\tcase SHA224:\n+\t\treturn \"SHA-...
2020-03-23T14:11:43
rust-lang/rust
89da3614e53a1fbebf61ec58c32ca26e371211ae
59588250ad973ce69bd15879314c9769e65f36b3
compiler: make rustc_target have less weird reexports rustc_target has had a lot of weird reexports for various reasons, but now we're at a point where we can actually start reducing their number. We remove weird shadowing-dependent behavior and import directly from rustc_abi instead of doing weird renaming imports. ...
[ { "path": "compiler/rustc_target/src/asm/mod.rs", "patch": "@@ -1,11 +1,11 @@\n use std::fmt;\n use std::str::FromStr;\n \n+use rustc_abi::Size;\n use rustc_data_structures::fx::{FxHashMap, FxIndexSet};\n use rustc_macros::{Decodable, Encodable, HashStable_Generic};\n use rustc_span::Symbol;\n \n-use crate:...
2024-11-03T04:44:31
ggml-org/llama.cpp
6c6e397affc4fac717e718364fb4b635cec6433a
afc0e8969896ada62238da07b98731e5a4b12ba4
model : add support for SmallThinker series (#14898) * support smallthinker * support 20b softmax, 4b no sliding window * new build_moe_ffn_from_probs, and can run 4b * fix 4b rope bug * fix python type check * remove is_moe judge * remove set_dense_start_swa_pattern function and modify set_swa_pattern function ...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -7589,6 +7589,88 @@ def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iter\n return [(self.map_tensor_name(name), data_torch)]\n \n \n+@ModelBase.register(\"SmallThinkerForCausalLM\")\n+class SmallThinkerModel(TextModel):\n+ ...
2025-07-28T11:47:00
vuejs/vue
baabd6d14016c730fe40a4202ae9b8f75e80041c
c5d0fa0503631b53338e5255bc8640da4b2fd4cb
fix(compiler): warn when inline-template component has no children (fix #6703) (#6715)
[ { "path": "src/compiler/codegen/index.js", "patch": "@@ -309,7 +309,7 @@ function genDirectives (el: ASTElement, state: CodegenState): string | void {\n function genInlineTemplate (el: ASTElement, state: CodegenState): ?string {\n const ast = el.children[0]\n if (process.env.NODE_ENV !== 'production' &&...
2017-10-03T22:00:52
huggingface/transformers
c8b6052ff681e3ca8dab168dfd524b9fbbceb5bd
c5037b459e117b9286c611092f38663f6cb763b0
Final fix of the accelerate installation issue (#27408) * fix * [test-all] commit * fix * [test-all] commit * [test-all] commit * fix * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".circleci/create_circleci_config.py", "patch": "@@ -283,7 +283,7 @@ def job_name(self):\n \"pip install --upgrade --upgrade-strategy eager pip\",\n \"pip install -U --upgrade-strategy eager .[sklearn,tf-cpu,torch,testing,sentencepiece,torch-speech,vision]\",\n \"pip instal...
2023-11-09T17:52:29
nodejs/node
996a62e08af550c171caf8acf2137301dbbbbe29
f2149d4ea44c56cb9d7458b7b3c83b838f96c72f
doc: fix padding mode of crypto.publicDecrypt PR-URL: https://github.com/nodejs/node/pull/14036 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Vse Mozhet Byt <vsemozh...
[ { "path": "doc/api/crypto.md", "patch": "@@ -1643,8 +1643,8 @@ added: v1.1.0\n - `key` {string} A PEM encoded private key.\n - `passphrase` {string} An optional passphrase for the private key.\n - `padding` {crypto.constants} An optional padding value defined in\n- `crypto.constants`, which may be:...
2017-07-02T03:18:30
golang/go
20b46c7c697ce9d833141abe9aa0ea6101f00ae2
9ef61d58c015e7bc297ed4404e34af5f3d514257
runtime: negate errno value for mips pipe/pipe2 The callers expect negative errno values, so negate them when necessary. No test because there is no reasonable way to make pipe/pipe2 fail. This was reported on a system on which pipe2 returned ENOSYS. Fixes #37997 Change-Id: I3ad6cbbc2521cf495f8df6ec991a3f781122b508...
[ { "path": "src/runtime/sys_linux_mips64x.s", "patch": "@@ -117,6 +117,8 @@ TEXT runtime·pipe(SB),NOSPLIT|NOFRAME,$0-12\n \tMOVV\tR0, R5\n \tMOVV\t$SYS_pipe2, R2\n \tSYSCALL\n+\tBEQ\tR7, 2(PC)\n+\tSUBVU\tR2, R0, R2\t// caller expects negative errno\n \tMOVW\tR2, errno+8(FP)\n \tRET\n \n@@ -126,6 +128,8 @@ TE...
2020-03-22T19:57:36
ggml-org/llama.cpp
7f97599581fcf0c37432dd3b1f503b91bed97695
bf78f5439ee8e82e367674043303ebf8e92b4805
quantize : update README.md (#14905) * Update README.md * Fix trailing whitespace * Update README.md Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> --------- Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
[ { "path": "tools/quantize/README.md", "patch": "@@ -1,18 +1,25 @@\n # quantize\n \n+This tool takes a GGUF input model file, typically in a high-precision format like F32 or BF16, and converts it to a quantized format.\n+Quantization reduces the precision of model weights (e.g., from 32-bit floats to 4-bit ...
2025-07-27T21:31:11
vuejs/vue
cf3be87b68260d9d7e9f3480d9aefeb8bad69e2e
c64f9ae1649175ee8cac1c7ecf3283897c948202
refactor: improve error msg for non-reactive properties (#6735) close #6657
[ { "path": "src/core/instance/proxy.js", "patch": "@@ -15,9 +15,11 @@ if (process.env.NODE_ENV !== 'production') {\n \n const warnNonPresent = (target, key) => {\n warn(\n- `Property or method \"${key}\" is not defined on the instance but ` +\n- `referenced during render. Make sure to declare...
2017-10-03T15:45:38
rust-lang/rust
694b245b2032d2cfb45daa0339c6ee2a1b084757
f09701ab6acb6db235317c8ed73bb6e923814f35
Fix docs for `#[clippy::format_args]`
[ { "path": "book/src/attribs.md", "patch": "@@ -5,7 +5,7 @@ To do this, Clippy provides attributes that can be applied to items in the 3rd p\n \n ## `#[clippy::format_args]`\n \n-_Available since Clippy v1.84_\n+_Available since Clippy v1.85_\n \n This attribute can be added to a macro that supports `format!...
2025-02-06T08:21:49
nodejs/node
f2149d4ea44c56cb9d7458b7b3c83b838f96c72f
5b1d12a092c2c38ecb3da0d9b59c702c625e7ae3
doc, util, console: clarify ambiguous docs Add clarification to the documentation on util.format() and console.log() regarding how excessive arguments are treated when the first argument is a non-format string compared to when it is not a string at all. PR-URL: https://github.com/nodejs/node/pull/14027 Fixes: https:/...
[ { "path": "doc/api/console.md", "patch": "@@ -246,9 +246,7 @@ console.log('count:', count);\n // Prints: count: 5, to stdout\n ```\n \n-If formatting elements (e.g. `%d`) are not found in the first string then\n-[`util.inspect()`][] is called on each argument and the resulting string\n-values are concatenat...
2017-07-01T13:10:36
vuejs/vue
c64f9ae1649175ee8cac1c7ecf3283897c948202
a5e5b31455e0d64f834dd691b7488e0e105d32c3
fix: properly render value on <progress> in IE/Edge fix #6666
[ { "path": "src/platforms/web/runtime/modules/attrs.js", "patch": "@@ -1,6 +1,6 @@\n /* @flow */\n \n-import { isIE9 } from 'core/util/env'\n+import { isIE9, isEdge } from 'core/util/env'\n \n import {\n extend,\n@@ -42,8 +42,9 @@ function updateAttrs (oldVnode: VNodeWithData, vnode: VNodeWithData) {\n ...
2017-10-03T04:02:27
ggml-org/llama.cpp
89d1029559bd2968f76db854f9f113d73e34527c
f1a4e72de5950ab7136aeadddd675caf30dd6b3f
vulkan : add fp16 support for the conv_2d kernel (#14872) * add f16 to conv_2d testing * weaken conv2d test error threshold
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -484,6 +484,7 @@ struct vk_device_struct {\n vk_pipeline pipeline_rwkv_wkv7_f32;\n vk_pipeline pipeline_opt_step_adamw_f32;\n vk_pipeline pipeline_conv2d_f32;\n+ vk_pipeline pipeline_conv2d_f16_f32;\n vk_pipeline pipeline_conv...
2025-07-27T10:04:33
golang/go
9ef61d58c015e7bc297ed4404e34af5f3d514257
f0e8b81aa34120e21642c569912bde00ccd33393
syscall/js: make wasm_exec.js compatible with Webpack In Webpack, require("fs") will always be empty. This behavior throws an error: "fs.writeSync is not function". It happens when you did "fmt.Println". This PR avoids such problem and use polyfill in wasm_exec.js on Webpack. Change-Id: I55f2c75ce86b7f84d2d92e8e217b5...
[ { "path": "misc/wasm/wasm_exec.js", "patch": "@@ -27,7 +27,10 @@\n \t}\n \n \tif (!global.fs && global.require) {\n-\t\tglobal.fs = require(\"fs\");\n+\t\tconst fs = require(\"fs\");\n+\t\tif (Object.keys(fs) !== 0) {\n+\t\t\tglobal.fs = fs;\n+\t\t}\n \t}\n \n \tconst enosys = () => {", "additions": 4, ...
2020-03-21T06:52:58
huggingface/transformers
cf2a3f37bfac2142f1d081760f787c9db263f895
3258ff93304078b9e27d752e6c19d3813f664855
Fix fuyu checkpoint repo in `FuyuConfig` (#27399) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/fuyu/configuration_fuyu.py", "patch": "@@ -22,7 +22,7 @@\n logger = logging.get_logger(__name__)\n \n FUYU_PRETRAINED_CONFIG_ARCHIVE_MAP = {\n- \"adept/fuyu-8b-base\": \"https://huggingface.co/adept/fuyu-8b-base/resolve/main/config.json\",\n+ \"adept/fuyu-8b\": \"htt...
2023-11-09T14:47:46
vuejs/vue
cf1ff5b0dc3d15c1e16821cb5e4fc984c74f07c1
894d380e40d213771285ffdbee8f0305cbc15bd8
fix: use correct ns inside <foreignObject> as root node fix #6642
[ { "path": "src/core/vdom/create-element.js", "patch": "@@ -122,17 +122,18 @@ export function _createElement (\n }\n }\n \n-function applyNS (vnode, ns) {\n+function applyNS (vnode, ns, force) {\n vnode.ns = ns\n if (vnode.tag === 'foreignObject') {\n // use default namespace inside foreignObject\n...
2017-10-02T21:35:47
nodejs/node
a577bde917c5cbc20c15972b9fe50a8c0adf5e94
4dd7d09723aa29ae164cf37031ed08dc6b532c0e
lib: fix off-by-one indentation In preparation for more robust indentation linting, fix an off-by-one indentation in lib/http_server.js. PR-URL: https://github.com/nodejs/node/pull/14064 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Vse Mozhet Byt <vsemozh...
[ { "path": "lib/_http_server.js", "patch": "@@ -187,7 +187,7 @@ function writeHead(statusCode, reason, obj) {\n statusCode |= 0;\n if (statusCode < 100 || statusCode > 999) {\n throw new errors.RangeError('ERR_HTTP_INVALID_STATUS_CODE',\n- originalStatusCode);\n+ ...
2017-07-03T20:21:33
ggml-org/llama.cpp
1dc9614e0673e794d2e2bf88ba04f7d57b63a57b
446595b9b3a113d9ba10506922c3a156cca9d477
llama : fix kq_scale for the attention layers of PLaMo2 (#14892) * Fix dimensions for expand * Change dimensions to copy states to cache * Fix the default value for plamo2 conversion * Fix scale given to build_attn * Update src/llama-model.cpp Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> * Upda...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -3791,7 +3791,7 @@ def set_gguf_parameters(self):\n self.gguf_writer.add_block_count(block_count)\n self.gguf_writer.add_head_count(hparams.get(\"num_attention_heads\", 32))\n self.gguf_writer.add_layer_norm_rms_eps(hparams.get(\"rms_no...
2025-07-27T07:38:44
huggingface/transformers
3258ff93304078b9e27d752e6c19d3813f664855
791ec370d1f20e331c4267e95cb3edbb1dc0cfdc
use `pytest.mark` directly (#27390) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/bark/test_modeling_bark.py", "patch": "@@ -20,7 +20,7 @@\n import tempfile\n import unittest\n \n-from pytest import mark\n+import pytest\n \n from transformers import (\n BarkCoarseConfig,\n@@ -877,7 +877,7 @@ def test_resize_embeddings_untied(self):\n \n @require_flash_attn...
2023-11-09T12:32:54
golang/go
6a9d850b82172225b55bd65e830b1e325b17a724
fb2a6343defa5259df3032fef771057843e799ce
cmd/go: list test packages even when the main package has an error List test packages (when list is run with -e) even when the main package has an error. This is useful to get complete data for go/packages. Fixes #37971 Change-Id: If6ba0270a319ea5e003d1ed8b1ad39e479e95509 Reviewed-on: https://go-review.googlesource....
[ { "path": "src/cmd/go/internal/list/list.go", "patch": "@@ -472,9 +472,6 @@ func runList(cmd *base.Command, args []string) {\n \t\tc := cache.Default()\n \t\t// Add test binaries to packages to be listed.\n \t\tfor _, p := range pkgs {\n-\t\t\tif p.Error != nil {\n-\t\t\t\tcontinue\n-\t\t\t}\n \t\t\tif len(...
2020-03-23T17:52:37
vuejs/vue
0f2cb09444e8b2a5fa41aaf8c94e6f2f43e00c2f
dd505438296dcbaae74fd28061600cea07cf25c0
fix: work around old Chrome bug fix #6601
[ { "path": "src/platforms/web/runtime/modules/dom-props.js", "patch": "@@ -28,6 +28,11 @@ function updateDOMProps (oldVnode: VNodeWithData, vnode: VNodeWithData) {\n if (key === 'textContent' || key === 'innerHTML') {\n if (vnode.children) vnode.children.length = 0\n if (cur === oldProps[key]...
2017-10-02T21:11:36
rust-lang/rust
9ea2b6501e3bd3a6a3d030e1215593f00d8f9ed8
bcfd0d1aba7b63dd2b571771885375f9e1f66d1f
add test to check for popping wrong items co-authored-by: Alex Macleod <alex@macleod.io>
[ { "path": "tests/ui/use_self.fixed", "patch": "@@ -691,3 +691,24 @@ mod issue_13092 {\n }\n }\n }\n+\n+mod crash_check_13128 {\n+ struct A;\n+\n+ impl A {\n+ fn a() {\n+ struct B;\n+\n+ // pushes a NoCheck\n+ impl Iterator for &B {\n+ ...
2024-09-06T18:15:55
ggml-org/llama.cpp
9b8f3c6c776d77045ee4f7f13fdf7863dfe59e5b
c7f3169cd523140a288095f2d79befb20a0b73f4
musa: fix build warnings (unused variable) (#14869) Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
[ { "path": "ggml/src/ggml-cuda/fattn-mma-f16.cuh", "patch": "@@ -1330,14 +1330,16 @@ static __global__ void flash_attn_ext_f16(\n ne01, ne02, stride_Q1, stride_Q2, stride_K, stride_V, stride_mask, jt, kb0_start_kernel, kb0_stop_kernel);\n #else\n GGML_UNUSED(Q); GGML_UNUSED(K); GGML_UNUSED(V); G...
2025-07-26T02:36:02
nodejs/node
4dd7d09723aa29ae164cf37031ed08dc6b532c0e
2d2986ae72f2f5c63d95a94f05fa996d9f0609f1
test: skip test-fs-readdir-ucs2 if no support If the filesystem does not support UCS2, do not run the test. PR-URL: https://github.com/nodejs/node/pull/14029 Fixes: https://github.com/nodejs/node/issues/14028 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ref...
[ { "path": "test/parallel/parallel.status", "patch": "@@ -13,7 +13,6 @@ prefix parallel\n [$system==macos]\n \n [$arch==arm || $arch==arm64]\n-test-fs-readdir-ucs2 : PASS,FLAKY\n test-npm-install: PASS,FLAKY\n \n [$system==solaris] # Also applies to SmartOS", "additions": 0, "deletions": 1, ...
2017-07-01T15:14:28
golang/go
5113f5776620dfd0221bb876b9889c73d585371c
6aded2524cb77eeab907e64512c5f7c54b530756
cmd/go: define a build tag for any GOEXPERIMENT which is enabled. For each experiment that has been enabled in the toolchain, define a build tag with the same name (but prefixed by "goexperiment.") which can be used for compiling alternative files for the experiment. This allows changes for the experiment, like extra ...
[ { "path": "src/cmd/go/internal/work/init.go", "patch": "@@ -10,6 +10,7 @@ import (\n \t\"cmd/go/internal/base\"\n \t\"cmd/go/internal/cfg\"\n \t\"cmd/go/internal/load\"\n+\t\"cmd/internal/objabi\"\n \t\"cmd/internal/sys\"\n \t\"flag\"\n \t\"fmt\"\n@@ -34,6 +35,20 @@ func BuildInit() {\n \t\t}\n \t\tcfg.Buil...
2020-03-11T19:08:03
vuejs/vue
dd505438296dcbaae74fd28061600cea07cf25c0
5fe7dc28d1249737cea57a26d13a9e9342b9007f
docs: typo fix (#6729) https://github.com/vuejs/vue/blob/94512f3e8cee4030a1096121700ed49afab48073/src/platforms/web/entry-compiler.js#L5
[ { "path": "packages/vue-template-compiler/README.md", "patch": "@@ -90,7 +90,7 @@ This is used by default in `vue-loader@>=12` and can be disabled using the [`opt\n \n ---\n \n-### compiler.ssrCompileToFunction(template)\n+### compiler.ssrCompileToFunctions(template)\n \n > 2.4.0+\n ", "additions": 1, ...
2017-10-02T20:04:02
huggingface/transformers
791ec370d1f20e331c4267e95cb3edbb1dc0cfdc
c5d7754b1140aaad95ad36c5d9ddfda5abda19f6
Adds dvclive callback (#27352) * dvclive trainer callback * style fixes * dvclive link fixes
[ { "path": "docs/source/en/main_classes/callback.md", "patch": "@@ -44,6 +44,7 @@ By default, `TrainingArguments.report_to` is set to `\"all\"`, so a [`Trainer`] wi\n - [`~integrations.ClearMLCallback`] if [clearml](https://github.com/allegroai/clearml) is installed.\n - [`~integrations.DagsHubCallback`] if ...
2023-11-09T12:19:31
rust-lang/rust
e3e6e6ea4131db92ff23a0e32eb40a353f50f8f6
925718d8eb586d143de73e7eb3428cafb25077db
add bug 13092
[ { "path": "tests/ui/use_self.fixed", "patch": "@@ -667,3 +667,27 @@ mod issue_10371 {\n }\n }\n }\n+\n+mod issue_13092 {\n+ use std::cell::RefCell;\n+ macro_rules! macro_inner_item {\n+ ($ty:ty) => {\n+ fn foo(_: $ty) {\n+ fn inner(_: $ty) {}\n+ ...
2024-07-24T21:13:15
ggml-org/llama.cpp
c7f3169cd523140a288095f2d79befb20a0b73f4
793c0d7f46384001738c337d7afa46b45ae32745
ggml-cpu : disable GGML_NNPA by default due to instability (#14880) * docs: update s390x document for sentencepiece Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> (cherry picked from commit e086c5e3a7ab3463d8e0906efcfa39352db0a48d) * docs: update huggingface links + reword Signed-off-by: Aaron Teo <aaron.teo1@ibm.co...
[ { "path": "docs/build-s390x.md", "patch": "@@ -42,14 +42,14 @@ cmake --build build --config Release -j $(nproc)\n cmake --build build --config Release -j $(nproc)\n ```\n \n-- By default, NNPA is enabled when available. To disable it (not recommended):\n+- By default, NNPA is disabled by default...
2025-07-25T17:09:03
golang/go
5c9bd499e103709a181f7a1a895d221ae6e7ffc8
24925c7ed9da15fe780d0d2fce21bbaa707e8751
crypto/rsa,crypto/ecdsa,crypto/ed25519: implement PublicKey.Equal This makes all modern public keys in the standard library implement a common interface (below) that can be used by applications for better type safety and allows for checking that public (and private keys via Public()) are equivalent. interface { E...
[ { "path": "src/crypto/ecdsa/ecdsa.go", "patch": "@@ -62,6 +62,24 @@ type PublicKey struct {\n \tX, Y *big.Int\n }\n \n+// Equal reports whether pub and x have the same value.\n+//\n+// Two keys are only considered to have the same value if they have the same Curve value.\n+// Note that for example elliptic....
2020-03-18T00:34:51
vuejs/vue
4fd2ce813cd0a59bd544defe07f44a5731e45f84
4361a2b3aee55a30e0e6a779c1ef55cdf93a6f52
fix: allow an object's Symbols to be observed (#6704) Attempting to parseFloat on a Symbol throws the error `Cannot convert a Symbol value to a string`. A Symbol can be cast to a string using `.toString()` or `String()` though, so explicitly casting before parsing resolves the issue, allowing `Vue.set` to be cal...
[ { "path": "src/shared/util.js", "patch": "@@ -56,7 +56,7 @@ export function isRegExp (v: any): boolean {\n * Check if val is a valid array index.\n */\n export function isValidArrayIndex (val: any): boolean {\n- const n = parseFloat(val)\n+ const n = parseFloat(String(val))\n return n >= 0 && Math.flo...
2017-09-28T14:53:40
huggingface/transformers
9999b739685c51bba888cfd672f0f2d1c4de92d2
bc086a251699f7c22af0434a2eaa2024098ffaa0
Skip failing cache call tests (#27393) * Skip failing cache call tests * Fixup
[ { "path": "tests/models/auto/test_modeling_auto.py", "patch": "@@ -482,6 +482,9 @@ def test_model_from_flax_suggestion(self):\n with self.assertRaisesRegex(EnvironmentError, \"Use `from_flax=True` to load this model\"):\n _ = AutoModel.from_pretrained(\"hf-internal-testing/tiny-bert-flax...
2023-11-09T11:03:37