repo stringclasses 15
values | fix_commit stringlengths 40 40 | buggy_commit stringlengths 40 40 | message stringlengths 3 64.3k | files listlengths 1 300 | timestamp timestamp[s]date 2013-03-13 20:45:00 2026-04-11 07:48:46 |
|---|---|---|---|---|---|
ggml-org/llama.cpp | e592be15756ae546ba87bb5a5250b71248121971 | a0374a67e2924f2e845cdc59dd67d9a44065a89c | vulkan: fix rms_norm+mul fusion (#14545)
The fused operation was grabbing the epsilon value from the wrong place.
Add an env var to disable fusion.
Add some missing checks for supported shapes/types.
Handle fused rms_norm+mul in check_results. | [
{
"path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp",
"patch": "@@ -501,6 +501,8 @@ struct vk_device_struct {\n \n ggml_backend_buffer_type buffer_type;\n \n+ bool disable_fusion;\n+\n #ifdef GGML_VULKAN_MEMORY_DEBUG\n std::unique_ptr<vk_memory_logger> memory_logger;\n #endif\n@@ -1091,8 +1093,8 @@ s... | 2025-07-06T08:08:16 |
golang/go | f6a0d723859752a2e7c10a470eadd395ba6892a6 | eafb4d8f8f57f52cbb6792aeff535783525186c5 | cmd/compile/internal/syntax: various cleanups following CL 221603
1) Introduced setLit method to uniformly set the scanner state for
literals instead of directly manipulating the scanner fields.
2) Use a local variable 'ok' to track validity of literals instead
of relying on the side-effect of error reporters s... | [
{
"path": "src/cmd/compile/internal/syntax/scanner.go",
"patch": "@@ -50,16 +50,23 @@ func (s *scanner) init(src io.Reader, errh func(line, col uint, msg string), mod\n \n // errorf reports an error at the most recently read character position.\n func (s *scanner) errorf(format string, args ...interface{}) ... | 2020-03-05T22:14:54 |
rust-lang/rust | 804cce47d96d7b30f3798b51a1377c6697011c54 | 6a6c6b891bb0350b3f16abd3e84ff12dbd1b4c5b | Refactor contract builtin macro + error handling
Instead of parsing the different components of a function signature,
eagerly look for either the `where` keyword or the function body.
- Also address feedback to use `From` instead of `TryFrom` in cranelift
contract and ubcheck codegen. | [
{
"path": "compiler/rustc_builtin_macros/src/contracts.rs",
"patch": "@@ -35,98 +35,98 @@ impl AttrProcMacro for ExpandEnsures {\n }\n }\n \n-fn expand_injecting_circa_where_clause(\n+/// Expand the function signature to include the contract clause.\n+///\n+/// The contracts clause will be injected befo... | 2025-01-15T21:54:04 |
vuejs/vue | 68522cfdef34ef49157a66e09b6b7422587e2c04 | 13bb643d6fa6a2dba61b5ee191548cc9086cc602 | fix:the placeholder key in undefined when render async component (#5828) | [
{
"path": "src/platforms/web/runtime/components/transition.js",
"patch": "@@ -140,7 +140,9 @@ export default {\n // during entering.\n const id: string = `__transition-${this._uid}-`\n child.key = child.key == null\n- ? id + child.tag\n+ ? child.isComment\n+ ? id + 'comment'\n+ ... | 2017-06-06T01:37:06 |
huggingface/transformers | aa4198a238f915e7ac04bc43d28ddbcb7fe690df | 6f316016877197014193b9463b2fd39fa8f0c8e4 | [`T5Tokenizer`] Fix fast and extra tokens (#27085)
* v4.35.dev.0
* nit t5fast match t5 slow | [
{
"path": "src/transformers/models/t5/tokenization_t5_fast.py",
"patch": "@@ -118,17 +118,19 @@ def __init__(\n **kwargs,\n ):\n # Add extra_ids to the special token list\n- if extra_ids > 0 and additional_special_tokens is None:\n- additional_special_tokens = [f\"<extr... | 2023-10-27T06:18:24 |
ggml-org/llama.cpp | ddef99522d1ba74193b7394e803fab8db5c78bae | 668168814601d2aef6161ce49ab186bc74177ae7 | server : fix assistant prefilling when content is an array (#14360) | [
{
"path": "tools/server/tests/unit/test_chat_completion.py",
"patch": "@@ -132,6 +132,28 @@ def test_chat_template():\n assert res.body[\"__verbose\"][\"prompt\"] == \"<s> <|start_header_id|>system<|end_header_id|>\\n\\nBook<|eot_id|><|start_header_id|>user<|end_header_id|>\\n\\nWhat is the best book<|e... | 2025-07-05T07:17:14 |
nodejs/node | c474f8898755c827187da2e8e4196dec3c48e6c4 | 878990498a246488dfe5393ddc89b2b15f395a4d | lib: fix typos
PR-URL: https://github.com/nodejs/node/pull/13741
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> | [
{
"path": "lib/_tls_wrap.js",
"patch": "@@ -420,7 +420,7 @@ TLSSocket.prototype._init = function(socket, wrap) {\n \n // lib/net.js expect this value to be non-zero if write hasn't been flushed\n // immediately\n- // TODO(indutny): rewise this solution, it might be 1 before handshake and\n+ // TODO(in... | 2017-06-17T13:11:45 |
golang/go | eafb4d8f8f57f52cbb6792aeff535783525186c5 | 576fa692774137633b09dd244e1de36993dd2803 | cmd/internal/moddeps: set GO111MODULE explicitly for moddeps_test 'go' commands
This fixes observed failures using the following steps to reproduce:
go env -w GO111MODULE=off
go test cmd/internal/moddeps
Fixes #37749
Change-Id: I7761f0b20266ac911ad19a724ba2551beca3f267
Reviewed-on: https://go-review.googlesource.... | [
{
"path": "src/cmd/internal/moddeps/moddeps_test.go",
"patch": "@@ -47,6 +47,7 @@ func findGorootModules(t *testing.T) []gorootModule {\n \t\t\t// Use 'go list' to describe the module contained in this directory (but\n \t\t\t// not its dependencies).\n \t\t\tcmd := exec.Command(goBin, \"list\", \"-json\", \... | 2020-03-09T19:47:53 |
rust-lang/rust | d8d6128026cc09707b7520fda7d5669ad0833251 | 6606bb35a97ebe14dab0ad51e234a3cd3c91fece | Two minor `use` fixups.
I *think* this addresses what the `FIXME` comments are asking for. | [
{
"path": "compiler/rustc_middle/src/traits/mod.rs",
"patch": "@@ -21,13 +21,12 @@ use rustc_macros::{\n };\n use rustc_span::def_id::{CRATE_DEF_ID, LocalDefId};\n use rustc_span::{DUMMY_SP, Span, Symbol};\n-// FIXME: Remove this import and import via `solve::`\n-pub use rustc_type_ir::solve::BuiltinImplSou... | 2025-02-03T02:39:38 |
vuejs/vue | c3cdfcfa68126783307d74fca22b136cd41c474a | b4dd0be4fc20eb51681c9cf50189081fc8117e14 | fix out-in transition for async components (fix #5760) | [
{
"path": "src/platforms/web/runtime/components/transition.js",
"patch": "@@ -72,19 +72,23 @@ function isSameChild (child: VNode, oldChild: VNode): boolean {\n return oldChild.key === child.key && oldChild.tag === child.tag\n }\n \n+function isAsyncPlaceholder (node: VNode): boolean {\n+ return node.isCo... | 2017-06-05T11:01:23 |
huggingface/transformers | 8214d6e7b1d6ac25859ad745ccebdf73434e166d | d7cb5e138ec1ccc848a554574b1a89f0dfaf0e90 | add exllamav2 arg (#26437)
* add_ xllamav2 arg
* add test
* style
* add check
* add doc
* replace by use_exllama_v2
* fix tests
* fix doc
* style
* better condition
* fix logic
* add deprecate msg | [
{
"path": "docs/source/en/main_classes/quantization.md",
"patch": "@@ -128,12 +128,22 @@ For 4-bit model, you can use the exllama kernels in order to a faster inference\n \n ```py\n import torch\n-gptq_config = GPTQConfig(bits=4, disable_exllama=False)\n+gptq_config = GPTQConfig(bits=4)\n+model = AutoModelF... | 2023-10-26T14:15:05 |
nodejs/node | 4ca3b9cd6afa98d77528b74637aa4793fc65c063 | 6e69421e53c4e7969202464ff1f2654a50443988 | doc: fix api docs style
doc/api/async_hooks.md
+ L198: Missing code-language flag
+ L239: Missing code-language flag
+ L317: Missing code-language flag
+ L347: Missing code-language flag
doc/api/fs.md
+ L2857: Unused definition
PR-URL: https://github.com/nodejs/node/pull/13700
Reviewed-By: Refael Ackermann... | [
{
"path": "doc/api/async_hooks.md",
"patch": "@@ -195,7 +195,7 @@ The `type` is a string that represents the type of resource that caused\n `init` to be called. Generally, it will correspond to the name of the\n resource's constructor.\n \n-```\n+```text\n FSEVENTWRAP, FSREQWRAP, GETADDRINFOREQWRAP, GETNAME... | 2017-06-15T13:57:00 |
rust-lang/rust | 6606bb35a97ebe14dab0ad51e234a3cd3c91fece | bd6eb05ccd3eaff622992255144a55ddbaf328e2 | Fix an inconsistent import. | [
{
"path": "compiler/rustc_middle/src/thir/visit.rs",
"patch": "@@ -1,8 +1,7 @@\n use super::{\n- AdtExpr, Arm, Block, ClosureExpr, Expr, ExprKind, InlineAsmExpr, InlineAsmOperand, Pat,\n- PatKind, Stmt, StmtKind, Thir,\n+ AdtExpr, AdtExprBase, Arm, Block, ClosureExpr, Expr, ExprKind, InlineAsmExpr,... | 2025-02-02T23:11:54 |
golang/go | 576fa692774137633b09dd244e1de36993dd2803 | 093049b3709eda7537ece92a2991918cf53782d6 | cmd/go: extract module zip files in place
Previously, we extracted module zip files to temporary directories
with random names, then renamed them to their final locations. This
failed with ERROR_ACCESS_DENIED on Windows if any file in the
temporary was open. Antivirus programs did this occasionally. Retrying
the renam... | [
{
"path": "src/cmd/go/internal/modfetch/fetch.go",
"patch": "@@ -57,11 +57,10 @@ func Download(mod module.Version) (dir string, err error) {\n }\n \n func download(mod module.Version) (dir string, err error) {\n-\t// If the directory exists, and no .partial file exists,\n-\t// the module has already been co... | 2020-02-25T16:00:08 |
vuejs/vue | da1fc3ddc97fb78621f518d03c549ebecc9b1108 | 11b7d5dff276caa54da3ef5b52444c0e2c5bbf41 | improve: add missing html and svg tag (#5688)
* imporve: add missing html and svg tag
* reivew
* fix: review | [
{
"path": "src/platforms/web/util/element.js",
"patch": "@@ -19,7 +19,7 @@ export const isHTMLTag = makeMap(\n 'button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,' +\n 'output,progress,select,textarea,' +\n 'details,dialog,menu,menuitem,summary,' +\n- 'content,element,shadow,temp... | 2017-05-30T05:33:48 |
huggingface/transformers | d7cb5e138ec1ccc848a554574b1a89f0dfaf0e90 | 4864d08d3e267e0914ac71606fb5e6cb36134c30 | [Llama FA2] Re-add _expand_attention_mask and clean a couple things (#27074)
* clean
* clean llama
* fix more
* make style
* Apply suggestions from code review
* Apply suggestions from code review
* Update src/transformers/models/llama/modeling_llama.py
* Update src/transformers/models/llama/model... | [
{
"path": "src/transformers/models/falcon/modeling_falcon.py",
"patch": "@@ -148,7 +148,7 @@ def to_4d(\n self,\n attention_mask_2d: torch.Tensor,\n query_length: int,\n- key_value_length: int,\n+ key_value_length: Optional[int] = None,\n dtype: torch.dtype = to... | 2023-10-26T11:06:21 |
ggml-org/llama.cpp | b81510a7b78f7c5a6f069c4f3d0e569b9d287913 | ef797db357e44ecb7437fa9d22f4e1614104b342 | test-backend-ops: add support for specifying output format (#14368)
* test-backend-ops: add support for specifying output format
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com>
* Address review comments
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com>
* Add build_commit and build_number in test_result
Signed-o... | [
{
"path": "tests/test-backend-ops.cpp",
"patch": "@@ -24,10 +24,12 @@\n #include <array>\n #include <cfloat>\n #include <cinttypes>\n+#include <cstdarg>\n #include <cstdint>\n #include <cstdio>\n #include <cstdlib>\n #include <cstring>\n+#include <ctime>\n #include <future>\n #include <memory>\n #include <r... | 2025-07-05T04:10:53 |
nodejs/node | aaa80dfd8a385c8b8c53398b03bf53a62c9e4645 | 0fdb67be9f7b973db68d397121bf80959a60836c | test: delete outdated fixtures/stdio-filter.js
PR-URL: https://github.com/nodejs/node/pull/13712
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Reviewed-By: James M Snell <jasnell... | [
{
"path": "test/fixtures/stdio-filter.js",
"patch": "@@ -1,32 +0,0 @@\n-// Copyright Joyent, Inc. and other Node contributors.\n-//\n-// Permission is hereby granted, free of charge, to any person obtaining a\n-// copy of this software and associated documentation files (the\n-// \"Software\"), to deal in t... | 2017-06-16T01:46:01 |
vuejs/vue | 11b7d5dff276caa54da3ef5b52444c0e2c5bbf41 | b182ac40697edbe8253d4bd68b6ac09e93259e1c | Add handleError during event handling (#5709)
* Add handleError during event handling
Currently handleError is used to handle errors during lifecycle hooks.
This commit adds this functionality in to the event handling for
consistency.
* style tweak | [
{
"path": "src/core/instance/events.js",
"patch": "@@ -1,7 +1,13 @@\n /* @flow */\n \n+import {\n+ tip,\n+ toArray,\n+ hyphenate,\n+ handleError,\n+ formatComponentName\n+} from '../util/index'\n import { updateListeners } from '../vdom/helpers/index'\n-import { toArray, tip, hyphenate, formatComponent... | 2017-05-29T06:24:25 |
rust-lang/rust | bd598f3be3b8ba2a63c5b32be7120dc8b121e966 | 81035da5511ff2f1bd47aefd5a7ff6733df6d419 | Update stdarch-gen-arm path generation.
Fix both the instructions for how to regenerate each `generated.rs`, and
the logic for inferring the correct output path from each input
`.spec.yml`. | [
{
"path": "library/stdarch/crates/core_arch/src/aarch64/neon/generated.rs",
"patch": "@@ -1,9 +1,9 @@\n // This code is automatically generated. DO NOT MODIFY.\n //\n-// Instead, modify `crates/stdarch-gen2/spec/` and run the following command to re-generate this file:\n+// Instead, modify `crates/stdarch-g... | 2025-01-28T17:07:19 |
golang/go | 093049b3709eda7537ece92a2991918cf53782d6 | cf82feabb634ece598044ffe98ff445daec35c0a | cmd/go: make module zip extraction more robust
Currently, we extract module zip files to temporary directories, then
atomically rename them into place. On Windows, this can fail with
ERROR_ACCESS_DENIED if another process (antivirus) has files open
before the rename. In CL 220978, we repeated the rename operation in a... | [
{
"path": "src/cmd/go/internal/modcmd/verify.go",
"patch": "@@ -6,6 +6,7 @@ package modcmd\n \n import (\n \t\"bytes\"\n+\t\"errors\"\n \t\"fmt\"\n \t\"io/ioutil\"\n \t\"os\"\n@@ -67,12 +68,10 @@ func verifyMod(mod module.Version) bool {\n \t\t_, zipErr = os.Stat(zip)\n \t}\n \tdir, dirErr := modfetch.Downl... | 2020-02-28T21:31:19 |
huggingface/transformers | 4864d08d3e267e0914ac71606fb5e6cb36134c30 | 15cd096288d369eb8b190432c04a588198d191a5 | Add-support for commit description (#26704)
* fix
* update
* revert
* add dosctring
* good to go
* update
* add a test | [
{
"path": "src/transformers/utils/hub.py",
"patch": "@@ -724,6 +724,7 @@ def _upload_modified_files(\n token: Optional[Union[bool, str]] = None,\n create_pr: bool = False,\n revision: str = None,\n+ commit_description: str = None,\n ):\n \"\"\"\n Uploads al... | 2023-10-26T10:37:09 |
ggml-org/llama.cpp | 7b63a71a6b0f54effe9b94073d4d0519dcf53676 | 0c2ee38ab729f3f6a7c28dc4c5dcd8d5f0cbf8fc | Fix conditional enabling following arch checks for ggml-sycl (#14504)
Signed-off-by: nscipione <nicolo.scipione@codeplay.com> | [
{
"path": "ggml/src/ggml-sycl/ggml-sycl.cpp",
"patch": "@@ -83,7 +83,7 @@ static ggml_sycl_device_info ggml_sycl_init() {\n \n info.devices[i].cc =\n 100 * prop.get_major_version() + 10 * prop.get_minor_version();\n- info.devices[i].opt_feature.reorder = !device.ext_oneapi_archite... | 2025-07-03T09:00:03 |
vuejs/vue | b182ac40697edbe8253d4bd68b6ac09e93259e1c | e274c96881f8b14486587e93f404be489454d781 | Warn when a inject has been not provided (#5681)
* warn when a inject has been not provided
* typo
* typo
* fix when undefined is provided
* use util hasOwn
* refactor
* test case
* Revert "test case"
This reverts commit 08f0a8b6c3837fc34ddd264712b8c30a05c165e5.
* test case | [
{
"path": "src/core/instance/inject.js",
"patch": "@@ -3,6 +3,7 @@\n import { hasSymbol } from 'core/util/env'\n import { warn } from '../util/index'\n import { defineReactive } from '../observer/index'\n+import { hasOwn } from 'shared/util'\n \n export function initProvide (vm: Component) {\n const provi... | 2017-05-29T05:49:49 |
rust-lang/rust | 0a8331f681e6b82183947cf82b25566bfab3750e | 111280125101ab0fd0219148c9a74c8bc3dc694e | Express contracts as part of function header and lower it to the contract lang items
includes post-developed commit: do not suggest internal-only keywords as corrections to parse failures.
includes post-developed commit: removed tabs that creeped in into rustfmt tool source code.
includes post-developed commit, plac... | [
{
"path": "clippy_utils/src/ast_utils/mod.rs",
"patch": "@@ -362,18 +362,21 @@ pub fn eq_item_kind(l: &ItemKind, r: &ItemKind) -> bool {\n defaultness: ld,\n sig: lf,\n generics: lg,\n+ contract: lc,\n body: lb,\n }),... | 2025-01-09T00:38:25 |
nodejs/node | 6b9500bfc29f9917f13f0957ab719a9c09b3ea78 | 81c004537875206800f9c18bd20997d410079815 | v8: fix RegExp nits in v8_prof_polyfill.js
* Do not repeat RegExp creation in cycle.
* Use sufficient string instead of RegExp in split().
PR-URL: https://github.com/nodejs/node/pull/13709
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <tar... | [
{
"path": "lib/internal/v8_prof_polyfill.js",
"patch": "@@ -105,12 +105,13 @@ function versionCheck() {\n function macCppfiltNm(out) {\n // Re-grouped copy-paste from `tickprocessor.js`\n const FUNC_RE = /^([0-9a-fA-F]{8,16} [iItT] )(.*)$/gm;\n+ const CLEAN_RE = /^[0-9a-fA-F]{8,16} [iItT] /;\n let en... | 2017-06-15T23:17:10 |
golang/go | cf82feabb634ece598044ffe98ff445daec35c0a | 211ee9f07cb454058fab5914117c19f33a7f64de | net: use t.Deadline instead of an arbitrary read deadline in TestDialParallelSpuriousConnection
Also increase the default deadline to 5s, since it empirically
doesn't need to be short and 1s seems to be too slow on some platforms.
Fixes #37795
Change-Id: Ie6bf3916b107401235a1fa8cb0f22c4a98eb2dae
Reviewed-on: https:/... | [
{
"path": "src/net/dial_test.go",
"patch": "@@ -441,6 +441,14 @@ func TestDialParallelSpuriousConnection(t *testing.T) {\n \t\tt.Skip(\"both IPv4 and IPv6 are required\")\n \t}\n \n+\tvar readDeadline time.Time\n+\tif td, ok := t.Deadline(); ok {\n+\t\tconst arbitraryCleanupMargin = 1 * time.Second\n+\t\tre... | 2020-03-11T15:03:35 |
huggingface/transformers | efba1a1744fbcecdc3060db6c9c3c592d665d2ae | 90412401e6d86973fa3ff41875f3d4dbe1b8a926 | Bump`flash_attn` version to `2.1` (#27079)
* pin FA-2 to `2.1`
* fix on modeling | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -1273,15 +1273,15 @@ def _check_and_enable_flash_attn_2(\n \n if not is_flash_attn_2_available():\n raise ImportError(\n- \"Flash Attention 2.0 is not available. Please refer to the documentation of https://githu... | 2023-10-26T09:21:04 |
ggml-org/llama.cpp | 9067487c4411efb20400103fcccfdd389c80d428 | d4cdd9c1c3cebdafca735958597de4ff7b7c0f54 | ggml : fix FA mask dim 2 and 3 (#14505)
* ggml : fix FA mask dim 2 and 3
ggml-ci
* backends : unsupport batched FA in CUDA and Vulkan
ggml-ci
* vulkan : disable FA for mask->ne[2] != 1 | [
{
"path": "ggml/include/ggml.h",
"patch": "@@ -1983,15 +1983,16 @@ extern \"C\" {\n \n #define GGML_KQ_MASK_PAD 64\n \n- // q: [n_embd_k, n_batch, n_head, ne3]\n- // k: [n_embd_k, n_kv, n_head_kv, ne3]\n- // v: [n_embd_v, n_kv, n_head_kv, ne3] !! not transposed !!\n- ... | 2025-07-03T07:46:57 |
vuejs/vue | e6de9a5de28d466b5d4e57e6d5d3baf13d8349b0 | d333a498e93acf2d2844fd396e8544658958a3c6 | Add types for vue-server-renderer (fix #5772) (#5775)
* add types for vue-server-renderer
* add a new line to the end of files
* make RenderCallback's err to be nullable
* fix the server side directive types
* make stricter the types of the server bundle and the client manifest | [
{
"path": "packages/vue-server-renderer/package.json",
"patch": "@@ -3,6 +3,7 @@\n \"version\": \"2.3.3\",\n \"description\": \"server renderer for Vue 2.0\",\n \"main\": \"index.js\",\n+ \"types\": \"types/index.d.ts\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://gith... | 2017-05-28T12:08:58 |
nodejs/node | 51898575ae2cc179699cc0c56cfc97ae22b235fc | a8979a605434b0a07395c9764caafef362f3875e | test: check zlib version for createDeflateRaw
We are currenly builing Node with --shared-zlib which happens to be
version 1.2.8. The test for zlib.createDeflateRaw is expected to fail
but does not when using version 1.2.8.
As far as I can tell the fix referred to in the comments was
introduced in version 1.2.9:
- Rej... | [
{
"path": "test/parallel/test-zlib-failed-init.js",
"patch": "@@ -6,11 +6,15 @@ const assert = require('assert');\n const zlib = require('zlib');\n \n // For raw deflate encoding, requests for 256-byte windows are rejected as\n-// invalid by zlib.\n-// (http://zlib.net/manual.html#Advanced)\n-assert.throws(... | 2017-06-15T11:29:30 |
huggingface/transformers | 90412401e6d86973fa3ff41875f3d4dbe1b8a926 | 3c2692407dabf8ac35a9dcc3f15ef5f076206190 | Bring back `set_epoch` for Accelerate-based dataloaders (#26850)
* Working tests!
* Fix sampler
* Fix
* Update src/transformers/trainer.py
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
* Fix check
* Clean
---------
Co-authored-by: Arthur <48595927+ArthurZucker@users.no... | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -200,6 +200,11 @@\n save_fsdp_model,\n save_fsdp_optimizer,\n )\n+ DATA_SAMPLERS = [RandomSampler]\n+ if version.parse(accelerate_version) > version.parse(\"0.23.0\"):\n+ from accelerate.data_loader import See... | 2023-10-26T09:20:11 |
golang/go | b136f0c17bdd463207d43e73aef810fa1f14bdee | 96dc04412d18cc999af21cecb22dea9e7b896360 | cmd/compile: fix buggy AMD64 rewrite from CL 213058
CL 213058's "bonus optimization I noticed while working on this"
turns out to be buggy. It would be correct for CMP, but not TEST.
Fix it to use TEST semantics instead.
This was breaking compilation with the upcoming Spectre mode.
Change-Id: If2d4c3798ed182f35f0244... | [
{
"path": "src/cmd/compile/internal/ssa/gen/AMD64.rules",
"patch": "@@ -1254,7 +1254,10 @@\n (CMPWconst (ANDLconst _ [m]) [n]) && 0 <= int16(m) && int16(m) < int16(n) -> (FlagLT_ULT)\n (CMPBconst (ANDLconst _ [m]) [n]) && 0 <= int8(m) && int8(m) < int8(n) -> (FlagLT_ULT)\n \n-(TEST(Q|L)const [c] (MOV(Q|L)co... | 2020-03-11T04:02:04 |
rust-lang/rust | 38eff16d0aa029706a0b5845961f9b5ccddfd999 | 777def87d58ee067e1df2e94a99fc099bcb15189 | Express contracts as part of function header and lower it to the contract lang items
includes post-developed commit: do not suggest internal-only keywords as corrections to parse failures.
includes post-developed commit: removed tabs that creeped in into rustfmt tool source code.
includes post-developed commit, plac... | [
{
"path": "compiler/rustc_ast/src/ast.rs",
"patch": "@@ -3348,11 +3348,18 @@ pub struct Impl {\n pub items: ThinVec<P<AssocItem>>,\n }\n \n+#[derive(Clone, Encodable, Decodable, Debug, Default)]\n+pub struct FnContract {\n+ pub requires: Option<P<Expr>>,\n+ pub ensures: Option<P<Expr>>,\n+}\n+\n #... | 2025-01-09T00:38:25 |
ggml-org/llama.cpp | 5d46babdc2d4675d96ebcf23cac098a02f0d30cc | e17991c466ac835b2c71bd813c1ca7ff8dd97b94 | llama : initial Mamba-2 support (#9126)
* llama : initial Mamba-2 support
* ggml : SIMD ggml_ssm_scan for Mamba-2
* ggml : improve ggml_mul speed when masking recurrent states
* llama : support running Mamba-Codestral-7B-v0.1
* llama : fix Mamba-2 conv state saving
* ggml : make the ggml_mul fast broadcast path m... | [
{
"path": "convert_hf_to_gguf.py",
"patch": "@@ -4781,6 +4781,14 @@ def set_gguf_parameters(self):\n class MambaModel(TextModel):\n model_arch = gguf.MODEL_ARCH.MAMBA\n \n+ def __init__(self, dir_model: Path, *args, **kwargs):\n+ # Avoid using AutoConfig for hparams\n+ hparams = kwargs.... | 2025-07-02T17:10:24 |
huggingface/transformers | ba5144f7a95d58e25bb8cc578dac3b2589e91278 | c34c50cdc01ed5a5dc73a2f36466d07e6fe9fb4e | 🌐 [i18n-ZH] Translate custom_models.md into Chinese (#27065)
* docs(zh): translate custom_models.md
* minor fix in customer_models
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> | [
{
"path": "docs/source/zh/_toctree.yml",
"patch": "@@ -21,4 +21,6 @@\n title: 使用多语言模型进行推理\n - local: create_a_model\n title: 使用特定于模型的 API\n+ - local: custom_models\n+ title: 共享自定义模型\n title: 开发者指南",
"additions": 2,
"deletions": 0,
"language": "YAML"
},
{
"path": "docs/sou... | 2023-10-25T18:20:32 |
nodejs/node | 7bdb5ca6207dbfc2ef9b253dd68588c3cf8b1cff | fcd82e760106ed7bd7aea634b65fe9faac7c8e7c | test: add crypto check to test-tls-wrap-econnreset
Currently, there are a few test-tls-wrap-econnreset test that fail when
Node is configured --without-ssl:
Error: Node.js is not compiled with openssl crypto support
This commit adds crypto checks and skips these tests if no crypto
support unavailable.
PR-URL: https:... | [
{
"path": "test/parallel/test-tls-wrap-econnreset-localaddress.js",
"patch": "@@ -1,6 +1,10 @@\n 'use strict';\n \n const common = require('../common');\n+if (!common.hasCrypto) {\n+ common.skip('missing crypto');\n+ return;\n+}\n const assert = require('assert');\n const net = require('net');\n const tls... | 2017-06-15T05:21:03 |
golang/go | 035c018d40c0a7895880e235048d425ea3e3fa6b | c6fef1fb52e9660ce2226a19508fdaacf71e46a9 | runtime: skip TestSignalIgnoreSIGTRAP on known-flaky OpenBSD builders
This test is flaky, and the cause is suspected to be an OpenBSD kernel bug.
Since there is no obvious workaround on the Go side, skip the test on
builders whose versions are known to be affected.
Fixes #17496
Change-Id: Ifa70061eb429e1d949f0fa8a9e... | [
{
"path": "src/runtime/crash_unix_test.go",
"patch": "@@ -15,6 +15,7 @@ import (\n \t\"os/exec\"\n \t\"path/filepath\"\n \t\"runtime\"\n+\t\"strings\"\n \t\"sync\"\n \t\"syscall\"\n \t\"testing\"\n@@ -288,6 +289,12 @@ func TestSignalExitStatus(t *testing.T) {\n }\n \n func TestSignalIgnoreSIGTRAP(t *testing... | 2020-03-11T13:39:54 |
ggml-org/llama.cpp | 307e79d33d4cdd9f1d6c42fc861724e6ba12b98f | d7f5f4e578d1f60b0835d1734a50438c309b3e5c | opencl : fix possible buffer overflow in dump_tensor (#14490) | [
{
"path": "ggml/src/ggml-opencl/ggml-opencl.cpp",
"patch": "@@ -3199,7 +3199,7 @@ static void dump_tensor(ggml_backend_t backend, const struct ggml_tensor * tenso\n \n // Open file and dump.\n char fname[512];\n- sprintf(fname, \"./tensor-dumps/%s.txt\", tensor->name);\n+ snprintf(fname, sizeo... | 2025-07-02T12:38:10 |
huggingface/transformers | c34c50cdc01ed5a5dc73a2f36466d07e6fe9fb4e | ba073ea9e34a43f0ca02c77f3b92b5480a163cc7 | [`docs`] Add `MaskGenerationPipeline` in docs (#27063)
* add `MaskGenerationPipeline` in docs
* Update __init__.py
* fix repo consistency and clarify docstring
* add on check docstirngs
* actually we do have a tf sam
* oops | [
{
"path": "docs/source/en/main_classes/pipelines.md",
"patch": "@@ -481,6 +481,12 @@ Pipelines available for multimodal tasks include the following.\n - __call__\n - all\n \n+### MaskGenerationPipeline\n+\n+[[autodoc]] MaskGenerationPipeline\n+ - __call__\n+ - all\n+\n ### VisualQuestionAnswer... | 2023-10-25T17:31:36 |
vuejs/vue | f3757eb37bfe38cb2e8d87983a1f83d31ea9d30a | 05195b862528e7e6c48bc4183cec41114d43b2d6 | feat: Add `defer` to body scripts (#5704)
* fix: prefetch should not have `as` attribute
* feat: Add `async` to body script tags
* Use defer instead of async
* Use defer instead of async | [
{
"path": "src/server/template-renderer/index.js",
"patch": "@@ -209,7 +209,7 @@ export default class TemplateRenderer {\n const async = this.getUsedAsyncFiles(context)\n const needed = [initial[0]].concat(async || [], initial.slice(1))\n return needed.filter(isJS).map(file => {\n- ... | 2017-05-22T09:47:55 |
nodejs/node | fcd82e760106ed7bd7aea634b65fe9faac7c8e7c | 460ee75f7ea36fdb5da15ce868a37a881e0a06d9 | test: improve http test reliability
Fake the socket handle to ensure an immediate error is returned
uniformly across all platforms.
PR-URL: https://github.com/nodejs/node/pull/13693
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "test/parallel/test-http-client-immediate-error.js",
"patch": "@@ -5,8 +5,36 @@\n \n const common = require('../common');\n const assert = require('assert');\n+const net = require('net');\n const http = require('http');\n-const req = http.get({ host: '127.0.0.1', port: 1 });\n-req.on('error', comm... | 2017-06-15T07:28:29 |
golang/go | 6bed304244493508191501ad63fdc74b41e19653 | 3af92acb9f6bf68bfba2bebb0fe11367f4442761 | test: fix issue 15992 test wrong function call
Change-Id: I623ae5faffce456b34d97a2a0aa277ecbf1990f0
Reviewed-on: https://go-review.googlesource.com/c/go/+/217699
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com> | [
{
"path": "test/fixedbugs/issue15992.go",
"patch": "@@ -28,7 +28,7 @@ func main() {\n \tfmt.Println(n, a)\n \n \tb := []byte{1, 2, 3}\n-\tn = copy(f(b))\n+\tn = copy(g(b))\n \tfmt.Println(n, b)\n \n \tm := map[int]int{0: 0}",
"additions": 1,
"deletions": 1,
"language": "Go"
}
] | 2020-02-05T03:32:44 |
ggml-org/llama.cpp | d7f5f4e578d1f60b0835d1734a50438c309b3e5c | c8a4e470f65c3a932e18eddc5fba1844876d7463 | simple-chat : fix context-exceeded condition (#14494)
* simple-chat : fix context-exceeded condition
ggml-ci
* cont : fix n_ctx_used computation
ggml-ci | [
{
"path": "examples/simple-chat/simple-chat.cpp",
"patch": "@@ -113,15 +113,16 @@ int main(int argc, char ** argv) {\n while (true) {\n // check if we have enough space in the context to evaluate this batch\n int n_ctx = llama_n_ctx(ctx);\n- int n_ctx_used = llama_... | 2025-07-02T11:12:07 |
huggingface/transformers | ba073ea9e34a43f0ca02c77f3b92b5480a163cc7 | a64f8c1f878c2730a5b4048adf4b5c2dd7cabd8f | [DOCS] minor fixes in README.md (#27048)
minor fixes | [
{
"path": "README.md",
"patch": "@@ -69,7 +69,7 @@ limitations under the License.\n \n These models can be applied on:\n \n-* 📝 Text, for tasks like text classification, information extraction, question answering, summarization, translation, text generation, in over 100 languages.\n+* 📝 Text, for tasks li... | 2023-10-25T17:21:13 |
vuejs/vue | f061d802d36a5f88a4b37c598fe4b4c17ab5f238 | 55d8bfd6fdda38f31b17cffa07e5ab743c9f2670 | fix v-if false rendering | [
{
"path": "src/server/optimizing-compiler/codegen.js",
"patch": "@@ -135,7 +135,7 @@ function elementToSegments (el, state): Array<StringSegment> {\n el.ifProcessed = true\n return [{\n type: EXPRESSION,\n- value: genIf(el, state, elementToString, '\"\"')\n+ value: genIf(el, state, e... | 2017-05-18T08:53:35 |
nodejs/node | af1a551965ac990e91fa5924d95e99450a6f0814 | 6e2c29bcabb0507262167494a1fd9bc583cae690 | async_hooks: proper id stacking for Promises
Until now, the async_hooks PromiseHook did not register the Promise’s
async id and trigger id on the id stack, so inside the `.then()` handler
those ids would be invalid.
To fix this, add push and pop calls to its `before` and `after` parts,
respectively. Some care needs t... | [
{
"path": "src/async-wrap.cc",
"patch": "@@ -333,12 +333,7 @@ void PromiseWrap::GetParentId(Local<String> property,\n \n static void PromiseHook(PromiseHookType type, Local<Promise> promise,\n Local<Value> parent, void* arg) {\n- Local<Context> context = promise->CreationContext();\... | 2017-06-09T19:27:02 |
golang/go | fae87a2223e1fa959a20017742455200fe3c35f1 | 5db3c8f1fd93b63236be0c4fe35e6f704582fbe1 | runtime: fix problem with repeated panic/recover/re-panics and open-coded defers
In the open-code defer implementation, we add defer struct entries to the defer
chain on-the-fly at panic time to represent stack frames that contain open-coded
defers. This allows us to process non-open-coded and open-coded defers in the... | [
{
"path": "src/runtime/defer_test.go",
"patch": "@@ -6,6 +6,7 @@ package runtime_test\n \n import (\n \t\"fmt\"\n+\t\"os\"\n \t\"reflect\"\n \t\"runtime\"\n \t\"testing\"\n@@ -281,3 +282,56 @@ func TestDeferForFuncWithNoExit(t *testing.T) {\n \tfor {\n \t}\n }\n+\n+// Test case approximating issue #37664, w... | 2020-03-05T20:46:04 |
ggml-org/llama.cpp | 68b3cd65141586ef13a698baa9029627f038f102 | de569441470332ff922c23fb0413cc957be75b25 | ggml : Callback before abort (#14481)
* Add a callback that will be called just before abort. This allows apps without a console to display a message to the user and save data if needed.
* Return previous callback to allow callback chaining
* style fixes
---------
Co-authored-by: Diego Devesa <slarengh@gmail.com> | [
{
"path": "ggml/include/ggml.h",
"patch": "@@ -314,6 +314,13 @@\n extern \"C\" {\n #endif\n \n+ // Function type used in fatal error callbacks\n+ typedef void (*ggml_abort_callback_t)(const char * error_message);\n+\n+ // Set the abort callback (passing null will restore original abort functionalit... | 2025-07-02T05:19:31 |
huggingface/transformers | a64f8c1f878c2730a5b4048adf4b5c2dd7cabd8f | 0baa9246cb1ddac355db1df7824a521426599eb7 | [docstring] fix incorrect llama docstring: encoder -> decoder (#27071)
fix incorrect docstring: encoder -> decoder | [
{
"path": "src/transformers/models/llama/configuration_llama.py",
"patch": "@@ -47,9 +47,9 @@ class LlamaConfig(PretrainedConfig):\n intermediate_size (`int`, *optional*, defaults to 11008):\n Dimension of the MLP representations.\n num_hidden_layers (`int`, *optional*, defaults ... | 2023-10-25T16:09:04 |
vuejs/vue | 66387a46398b020eded55c4529a21e1c0f451dfb | 41acdc0ff145653cf3a86a4f108fae3125ad291a | fix enumerated/boolean attr | [
{
"path": "src/server/optimizing-compiler/modules.js",
"patch": "@@ -11,6 +11,11 @@ import {\n isRenderableAttr\n } from 'web/server/util'\n \n+import {\n+ isBooleanAttr,\n+ isEnumeratedAttr\n+} from 'web/util/attrs'\n+\n import type { StringSegment } from './codegen'\n import type { CodegenState } from... | 2017-05-18T08:19:37 |
nodejs/node | 6e2c29bcabb0507262167494a1fd9bc583cae690 | b7473c2117d5b43e4ed5ccbe069d5fe91918289e | inspector: perform DNS lookup for host
PR-URL: https://github.com/nodejs/node/pull/13478
Fixes: https://github.com/nodejs/node/issues/13477
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> | [
{
"path": "src/inspector_agent.cc",
"patch": "@@ -702,13 +702,7 @@ void Url(const FunctionCallbackInfo<Value>& args) {\n \n if (ids.empty()) return;\n \n- std::string url = \"ws://\";\n- url += io->host();\n- url += \":\";\n- url += std::to_string(io->port());\n- url += \"/\";\n- url += ids[0];\n-\n... | 2017-06-05T17:17:20 |
ggml-org/llama.cpp | 343b6e94b61674ac94e64ede7b7ea3365793f7ed | 6a746cf9c40f8d93d13eb8a6c2b989a15e7fa61a | CANN: update aclnnGroupedMatmulV2 to aclnnGroupedMatmulV3 (#14411)
* [CANN]update to aclnnGroupedMatmulV2
Signed-off-by: noemotiovon <757486878@qq.com>
* Support MUL_MAT_ID on 310p
Signed-off-by: noemotiovon <757486878@qq.com>
* fix editorconfig
Signed-off-by: noemotiovon <757486878@qq.com>
---------
Signed-off... | [
{
"path": "ggml/src/ggml-cann/aclnn_ops.cpp",
"patch": "@@ -65,7 +65,7 @@\n #include <aclnnop/aclnn_eq_tensor.h>\n #include <aclnnop/aclnn_gt_scalar.h>\n #include <aclnnop/aclnn_pow.h>\n-#include <aclnnop/aclnn_grouped_matmul_v2.h>\n+#include <aclnnop/aclnn_grouped_matmul_v3.h>\n #include <aclnnop/aclnn_fus... | 2025-07-01T08:47:30 |
golang/go | 5db3c8f1fd93b63236be0c4fe35e6f704582fbe1 | c6f678b6efd6622d335e6d4b659282bb2d16f5ba | cmd/link: fix for package name attr testpoint in dwarf_test.go
Tighten up a testpoint that looks for the compile unit
DW_AT_go_package_name attribute. The linker code that injects this
attribute was accidentally broken on the dev.link branch, but in a way
that wasn't detected by the test (attr was generated, but alway... | [
{
"path": "src/cmd/link/internal/ld/dwarf_test.go",
"patch": "@@ -1239,6 +1239,7 @@ func TestPackageNameAttr(t *testing.T) {\n \t}\n \n \trdr := d.Reader()\n+\truntimeUnitSeen := false\n \tfor {\n \t\te, err := rdr.Next()\n \t\tif err != nil {\n@@ -1254,12 +1255,26 @@ func TestPackageNameAttr(t *testing.T) ... | 2020-02-07T19:00:26 |
huggingface/transformers | 0baa9246cb1ddac355db1df7824a521426599eb7 | 06e782da4e58f93a60c6bedc84b5991abaae58f5 | Fix TypicalLogitsWarper tensor OOB indexing edge case (#26579)
* Fix TypicalLogitsWarper tensor OOB indexing edge case
This can be triggerd fairly quickly with low precision e.g. bfloat16 and typical_p = 0.99.
* Shift threshold index by one
* Use explicit named arg for clamp min | [
{
"path": "src/transformers/generation/logits_process.py",
"patch": "@@ -492,8 +492,8 @@ def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor) -> to\n cumulative_probs = sorted_logits.softmax(dim=-1).cumsum(dim=-1)\n \n # Remove tokens with cumulative mass above the thre... | 2023-10-25T10:36:43 |
vuejs/vue | 41acdc0ff145653cf3a86a4f108fae3125ad291a | 2f4ad14d9f010054178e3a02d0044e8ac8f5d5ce | fix v-html/v-text on root element | [
{
"path": "src/server/optimizing-compiler/optimizer.js",
"patch": "@@ -60,8 +60,7 @@ function walk (node: ASTNode, isRoot?: boolean) {\n }\n }\n if (node.ssrOptimizability == null ||\n- node.attrsMap['v-html'] ||\n- node.attrsMap['v-text']\n+ (!isRoot && (node.attrsMap['v-html']... | 2017-05-18T08:07:49 |
ggml-org/llama.cpp | 497be7c01dab243100f9c42e0a763a746e42d038 | 79b33b231774d5c39c8df018e9a276becae6d41a | ggml-quants : rename best_mad to best_error (ggml/1283)
This commit renames the variable `best_mad` to `best_error` in the
`make_qkx2_quants` function.
The motivation for this is that the name `best_mad` can be somewhat
confusing if mean absolute deviation (MAD) is not in use. | [
{
"path": "ggml/src/ggml-quants.c",
"patch": "@@ -568,14 +568,14 @@ static float make_qkx2_quants(int n, int nmax, const float * GGML_RESTRICT x, co\n }\n float iscale = nmax/(max - min);\n float scale = 1/iscale;\n- float best_mad = 0;\n+ float best_error = 0;\n for (int i = 0; i < n;... | 2025-06-24T04:10:16 |
nodejs/node | 64812f57287551016006d1e95b9e5812d2ce75fb | 00aac57df934b4727a3e6fc8cf70db40216f29ee | src: fix decoding base64 with whitespace
`max_i` should also include the characters that were just read by
`base64_decode_group_slow()`.
PR-URL: https://github.com/nodejs/node/pull/13660
Fixes: https://github.com/nodejs/node/issues/13636
Fixes: https://github.com/nodejs/node/issues/13657
Reviewed-By: James M Snell <j... | [
{
"path": "src/base64.h",
"patch": "@@ -99,10 +99,9 @@ size_t base64_decode_fast(char* const dst, const size_t dstlen,\n unbase64(src[i + 3]);\n // If MSB is set, input contains whitespace or is not valid base64.\n if (v & 0x80808080) {\n- const size_t old_i = i;\n if (!base64_dec... | 2017-06-13T15:18:37 |
golang/go | c6f678b6efd6622d335e6d4b659282bb2d16f5ba | 2b8e60d464515634462ca472ca09c791e2cbf6ae | cmd/go/internal/lockedfile: use a retry loop to suppress EDEADLK on AIX and Solaris
AIX, Solaris, and Illumos all appear to implement fcntl deadlock
detection at the granularity of processes. However, we are acquiring
and releasing file locks on individual goroutines running
concurrently: our locking occurs at a much ... | [
{
"path": "src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go",
"patch": "@@ -13,19 +13,19 @@\n // or an F_OFD_SETLK command for 'fcntl', that allows for better concurrency and\n // does not require per-inode bookkeeping in the application.\n //\n-// TODO(bcmills): If we add a build tag for ... | 2020-03-05T21:17:45 |
vuejs/vue | 24bde02e5b49aea5fb7d854e2df3af15f5e3d783 | bdd3f5d05d851d44f0d4a0a6aaabf48e2481e918 | fix ssrNode children normalization | [
{
"path": "src/server/optimizing-compiler/codegen.js",
"patch": "@@ -57,8 +57,6 @@ function genSSRElement (el: ASTElement, state: CodegenState): string {\n return genSSRChildren(el, state) || 'void 0'\n }\n \n- // TODO optimize merge sibling nodes\n-\n switch (el.ssrOptimizability) {\n case opt... | 2017-05-18T05:44:17 |
ggml-org/llama.cpp | 0a5a3b5cdfd887cf0f8e09d9ff89dee130cfcdde | 745f11fed09ba2303f3f494efb12286d382608e5 | Add Conv2d for CPU (#14388)
* Conv2D: Add CPU version
* Half decent
* Tiled approach for F32
* remove file
* Fix tests
* Support F16 operations
* add assert about size
* Review: further formatting fixes, add assert and use CPU version of fp32->fp16 | [
{
"path": "ggml/include/ggml.h",
"patch": "@@ -482,6 +482,7 @@ extern \"C\" {\n GGML_OP_CONV_TRANSPOSE_1D,\n GGML_OP_IM2COL,\n GGML_OP_IM2COL_BACK,\n+ GGML_OP_CONV_2D,\n GGML_OP_CONV_2D_DW,\n GGML_OP_CONV_TRANSPOSE_2D,\n GGML_OP_POOL_1D,\n@@ -1813,6 +18... | 2025-06-30T15:57:04 |
vuejs/vue | 7cf1e654a6bf903b17fba12025bbf298ce0d2a6b | 9fbca0dc792e94eb775a8f08694a04963dc20e07 | fix root node optimizability | [
{
"path": "src/server/optimizing-compiler/codegen.js",
"patch": "@@ -99,7 +99,7 @@ function genStringElement (el, state, stringifyChildren) {\n const children = genSSRChildren(el, state, true)\n return `_ssrNode(${\n flattenSegments(elementToOpenTagSegments(el, state))\n- }\",\"${el.tag}\"$... | 2017-05-17T08:41:22 |
nodejs/node | 00aac57df934b4727a3e6fc8cf70db40216f29ee | 06ca2057199f6a8065aa5450bde1f891de74eb40 | util: ignore invalid format specifiers
In util.format, if a percent sign without a known type is encountered,
just print it instead of silently ignoring it and the next character.
PR-URL: https://github.com/nodejs/node/pull/13674
Fixes: https://github.com/nodejs/node/issues/13665
Reviewed-By: Joyee Cheung <joyeec9h3@... | [
{
"path": "lib/util.js",
"patch": "@@ -113,6 +113,12 @@ exports.format = function(f) {\n str += f.slice(lastPos, i);\n str += '%';\n break;\n+ default: // any other character is not a correct placeholder\n+ if (lastPos < i)\n+ str += f.slice(lastPos... | 2017-06-14T08:46:50 |
golang/go | 29c5291f03c64d54c1ed643f1273acc507ddd6cc | 69d9664f18803b01927f27b607fa565301f7873e | [dev.link] cmd/link: fix buglet in compilationUnitByStartPC
The methods of compilationUnitByStartPC (used in DWARF generation)
were looking at comp unit sym.Symbols instead of loader.Sym's, which
will not be viable once the wavefront reaches DWARF gen phase two.
Rewrite the methods to use only loader.Sym.
Change-Id: ... | [
{
"path": "src/cmd/link/internal/ld/dwarf2.go",
"patch": "@@ -998,14 +998,14 @@ func (v compilationUnitByStartPC) Swap(i, j int) { v[i], v[j] = v[j], v[i] }\n \n func (v compilationUnitByStartPC) Less(i, j int) bool {\n \tswitch {\n-\tcase len(v[i].Textp) == 0 && len(v[j].Textp) == 0:\n+\tcase len(v[i].Text... | 2020-03-10T14:27:13 |
huggingface/transformers | 06e782da4e58f93a60c6bedc84b5991abaae58f5 | 9286f0ac3939a7081773fc66480f651a7d6a8404 | [`core`] Refactor of `gradient_checkpointing` (#27020)
* v1
* fix
* remove `create_custom_forward`
* fixup
* fixup
* add test and fix all failing GC tests
* remove all remaining `create_custom_forward` methods
* fix idefics bug
* fixup
* replace with `__call__`
* add comment
* quality | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -14,6 +14,7 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n import collections\n+import functools\n import gc\n import importlib.metadata\n import inspect\n@@ -1848,16 +1849,31 @@ def... | 2023-10-25T10:16:15 |
ggml-org/llama.cpp | caf5681fcb47dfe9bafee94ef9aa8f669ac986c7 | 83790b0e7e09ab17238b16452a33053a71dbdfad | server : support jinja extra template kwargs (Qwen3 enable_thinking feature), from command line and from client (#13196)
* initial commit for handling extra template kwargs
* enable_thinking and assistant prefill cannot be enabled at the same time
* can set chat_template_kwargs in command line
* added doc
* fixed ... | [
{
"path": "common/arg.cpp",
"patch": "@@ -2794,6 +2794,16 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n params.ssl_file_cert = value;\n }\n ).set_examples({LLAMA_EXAMPLE_SERVER}).set_env(\"LLAMA_ARG_SSL_CERT_FILE\"));\n+ add_opt(common_arg(\... | 2025-06-29T18:02:53 |
rust-lang/rust | 6005619bde6abacfdce096d1f67437323b63d8dc | 534d79adf938fc3839fad47832c7cf2b4927d7d9 | In "specify type" suggestion, skip type params that are already known
When we suggest specifying a type for an expression or pattern, like in a `let` binding, we previously would print the entire type as the type system knew it. We now look at the params that have *no* inference variables, so they are fully known to t... | [
{
"path": "compiler/rustc_trait_selection/src/error_reporting/infer/need_type_info.rs",
"patch": "@@ -18,6 +18,7 @@ use rustc_middle::ty::{\n TypeFoldable, TypeFolder, TypeSuperFoldable, TypeckResults,\n };\n use rustc_span::{BytePos, DUMMY_SP, FileName, Ident, Span, sym};\n+use rustc_type_ir::visit::Ty... | 2025-01-24T01:06:14 |
nodejs/node | 50b35460e34afcdc73d82cd5f29edf7f961771b8 | fe2caf6fb587a8373a4e45476a9c86f6b0993861 | test: fix nits in test-fs-mkdir-rmdir.js
* Add common.mustCall().
* Add check for error existence, not only for error details.
* Use test(), not match() in a boolean context.
* Properly reverse meanings of assert messages.
PR-URL: https://github.com/nodejs/node/pull/13680
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
... | [
{
"path": "test/parallel/test-fs-mkdir-rmdir.js",
"patch": "@@ -24,14 +24,15 @@ fs.rmdirSync(d);\n assert(!common.fileExists(d));\n \n // Similarly test the Async version\n-fs.mkdir(d, 0o666, function(err) {\n+fs.mkdir(d, 0o666, common.mustCall(function(err) {\n assert.ifError(err);\n \n- fs.mkdir(d, 0o6... | 2017-06-14T14:42:39 |
vuejs/vue | 9fbca0dc792e94eb775a8f08694a04963dc20e07 | 5b58526a525f67ed7a3dffcaf38a51ab2affd357 | remove unused, fix type | [
{
"path": "flow/component.js",
"patch": "@@ -1,6 +1,7 @@\n import type { Config } from '../src/core/config'\n import type VNode from '../src/core/vdom/vnode'\n import type Watcher from '../src/core/observer/watcher'\n+import type StringNode from '../src/server/optimizing-compiler/runtime-helpers'\n \n decla... | 2017-05-17T06:40:06 |
golang/go | efbab6dc7dabde698aebb72d15bbf6708dec7be8 | 24064a302c36b86f2f57932c71aeff876d2afc47 | [dev.link] cmd/link: fix up stray references to legacy "newdie" function
In a couple of places in the DWARF type generation code there were
calls to the older sym.Symbol "newdie" funtion as opposed to the
loader.Sym based method. This patch converts these to method calls.
Change-Id: I202957464b7c37063ff74e834ed7b76d1... | [
{
"path": "src/cmd/link/internal/ld/dwarf.go",
"patch": "@@ -882,7 +882,7 @@ func (d *dwctxt2) synthesizemaptypes(ctxt *Link, die *dwarf.DWDie) {\n \t\t\t\tt = d.defptrto(keytype)\n \t\t\t}\n \t\t\td.newrefattr(dwhk, dwarf.DW_AT_type, t)\n-\t\t\tfld := newdie(ctxt, dwhk, dwarf.DW_ABRV_ARRAYRANGE, \"size\", ... | 2020-03-10T14:01:11 |
huggingface/transformers | 6cbc1369a330860c128a1ba365f246751382c9e5 | a0fd34483febc7f3bda04f1e5ce1cea98221e847 | Fix RoPE config validation for FalconConfig + various config typos (#26929)
* Resolve incorrect ValueError in RoPE config for Falcon
* Add broken codeblock tag in Falcon Config
* Fix typo: an float -> a float
* Implement copy functionality for Fuyu and Persimmon
for RoPE scaling validation
* Make style | [
{
"path": "src/transformers/models/deprecated/open_llama/configuration_open_llama.py",
"patch": "@@ -69,8 +69,8 @@ class OpenLlamaConfig(PretrainedConfig):\n Whether to tie weight embeddings\n rope_scaling (`Dict`, *optional*):\n Dictionary containing the scaling configuratio... | 2023-10-24T17:37:09 |
ggml-org/llama.cpp | 83790b0e7e09ab17238b16452a33053a71dbdfad | f47c1d7106e49062279bcc57fc1077c0db61e278 | server : fix appearance of the chats list context menu for Safari (#14322) | [
{
"path": "tools/server/webui/src/components/Sidebar.tsx",
"patch": "@@ -231,7 +231,7 @@ function ConversationItem({\n >\n {conv.name}\n </button>\n- <div className=\"dropdown dropdown-end h-5\">\n+ <div tabIndex={0} className=\"dropdown dropdown-end h-5\">\n <BtnWithTo... | 2025-06-29T17:29:57 |
rust-lang/rust | 62d0771ad43cd0b04e0d790dd64e35f702d4637a | 6825f176d657df5d73287c71421aef10c5b23e89 | fix `json-*.rs` and `E0462` tests for compare-modes | [
{
"path": "tests/ui/error-codes/E0462.rs",
"patch": "@@ -1,6 +1,6 @@\n //@ aux-build:found-staticlib.rs\n \n-//@ normalize-stderr: \"\\.nll/\" -> \"/\"\n+//@ normalize-stderr: \"E0462\\..+/auxiliary/\" -> \"E0462/auxiliary/\"\n //@ normalize-stderr: \"\\\\\\?\\\\\" -> \"\"\n //@ normalize-stderr: \"(lib)?fo... | 2025-02-03T19:15:37 |
vuejs/vue | ebca266d10febb5ab5ca0cfbcd0dfbff2f2c2170 | 34bc14e7679e0d779ff361b7a42e900ad5043798 | fix: prefetch should not have `as` attribute (#5683) | [
{
"path": "src/server/template-renderer/index.js",
"patch": "@@ -181,7 +181,7 @@ export default class TemplateRenderer {\n }\n return this.prefetchFiles.map(file => {\n if (!alreadyRendered(file)) {\n- return `<link rel=\"prefetch\" href=\"${this.publicPath}/${file}\" as=\"scrip... | 2017-05-16T16:18:02 |
nodejs/node | fe2caf6fb587a8373a4e45476a9c86f6b0993861 | 9f9e3c0653cdeef597e0f7bc2f5db9d85f8f2ffc | test: fix test-inspector-port-zero-cluster
* re-implemented test to parse args instead of post binding (exit 12)
* saved failing case as known issue
PR-URL: https://github.com/nodejs/node/pull/13373
Fixes: https://github.com/nodejs/node/issues/13343
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "test/inspector/inspector.status",
"patch": "@@ -5,6 +5,5 @@ prefix inspector\n # sample-test : PASS,FLAKY\n \n [true] # This section applies to all platforms\n-test-inspector-port-zero-cluster : PASS,FLAKY\n \n [$system==win32]",
"additions": 0,
"deletions": 1,
... | 2017-06-01T17:07:20 |
golang/go | 2b8e60d464515634462ca472ca09c791e2cbf6ae | 9f74f0afa6270e6735c1b6f59519cc88ff2ed1e4 | runtime: make typehash match compiler generated hashes exactly
If typehash (used by reflect) does not match the built-in map's hash,
then problems occur. If a map is built using reflect, and then
assigned to a variable of map type, the hash function can change. That
causes very bad things.
This issue is rare. MapOf c... | [
{
"path": "src/cmd/compile/internal/gc/alg.go",
"patch": "@@ -186,6 +186,7 @@ func algtype1(t *types.Type) (AlgKind, *types.Type) {\n \n // genhash returns a symbol which is the closure used to compute\n // the hash of a value of type t.\n+// Note: the generated function must match runtime.typehash exactly.... | 2020-03-06T22:01:26 |
huggingface/transformers | a0fd34483febc7f3bda04f1e5ce1cea98221e847 | 9333bf0769561c048700377c2e0813221ab9d2c9 | Add a default decoder_attention_mask for EncoderDecoderModel during training (#26752)
* Add a default decoder_attention_mask for EncoderDecoderModel during training
Since we are already creating the default decoder_input_ids from the labels, we should also
create a default decoder_attention_mask to go with it.
... | [
{
"path": "src/transformers/models/encoder_decoder/modeling_encoder_decoder.py",
"patch": "@@ -620,6 +620,8 @@ def forward(\n decoder_input_ids = shift_tokens_right(\n labels, self.config.pad_token_id, self.config.decoder_start_token_id\n )\n+ if decoder_at... | 2023-10-24T17:26:16 |
ggml-org/llama.cpp | f47c1d7106e49062279bcc57fc1077c0db61e278 | a5d1fb6212298db1be1639db4c03adb2c522ee13 | SYCL: disable faulty fp16 exp kernel (#14395)
* SYCL: disable faulty fp16 CPU exponent for now
* Revert "SYCL: disable faulty fp16 CPU exponent for now"
This reverts commit ed0aab1ec31b4eb4b0f275dd7acd41d96a375202.
* SYCL: disable faulty fp16 CPU exponent for now
* Fix logic of disabling exponent kernel | [
{
"path": "ggml/src/ggml-sycl/ggml-sycl.cpp",
"patch": "@@ -4215,7 +4215,6 @@ static bool ggml_backend_sycl_device_supports_op(ggml_backend_dev_t dev, const g\n case GGML_UNARY_OP_GELU_QUICK:\n case GGML_UNARY_OP_GELU_ERF:\n case GGML_UNARY_OP_TANH:\n- ... | 2025-06-29T15:37:58 |
rust-lang/rust | 6825f176d657df5d73287c71421aef10c5b23e89 | bda6742797ada7b095697eb7d8671e2a7ac10731 | fix normalization in `E0271` test for compare-modes | [
{
"path": "tests/ui/diagnostic-width/E0271.ascii.stderr",
"patch": "@@ -15,7 +15,7 @@ note: expected this to be `Foo`\n LL | type Error = E;\n | ^\n = note: required for the cast from `Box<Result<..., ()>>` to `Box<...>`\n- = note: the full name for the type has been written to ... | 2025-02-03T19:08:21 |
vuejs/vue | 3cda98a541cd2c84847a9c53a7b38fccf1329a11 | 0b2f11036d86f1242370726fec230db77a49d95e | Added picture to isHTMLTag map (#5675)
This change will make sure the below error is not seen while unit testing components using <picture> in their template.
[Vue warn]: Unknown custom element: <picture> - did you register the component correctly? For recursive components, make sure to provide the "name" option. | [
{
"path": "src/platforms/web/util/element.js",
"patch": "@@ -11,7 +11,7 @@ export const namespaceMap = {\n export const isHTMLTag = makeMap(\n 'html,body,base,head,link,meta,style,title,' +\n 'address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,' +\n- 'div,dd,dl,dt,figcaption,figur... | 2017-05-16T01:21:54 |
nodejs/node | 9f9e3c0653cdeef597e0f7bc2f5db9d85f8f2ffc | 109e84bda7386481249144a40506edd3960f855b | doc: fix typo in changelog
PR-URL: https://github.com/nodejs/node/pull/13713
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> | [
{
"path": "CHANGELOG.md",
"patch": "@@ -28,7 +28,7 @@ release.\n <tr>\n <td valign=\"top\">\n <b><a href=\"doc/changelogs/CHANGELOG_V8.md#8.1.2\">8.1.2</a></b><br/>\n-<a href=\"doc/changelogs/CHANGELOG_V8.md#8.1.1\">8.1.1</a>><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V8.md#8.1.1\">8.1.1</a><br/>\n <a h... | 2017-06-16T02:10:08 |
huggingface/transformers | 13ef14e18e96656b31265836693b2d358894879b | 9da451713d5feac451505c09337ca07ff6d0dba0 | Fix config silent copy in from_pretrained (#27043)
* Fix config modeling utils
* fix more
* fix attn mask bug
* Update src/transformers/modeling_utils.py | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -3135,6 +3135,9 @@ def from_pretrained(\n with ContextManagers(init_contexts):\n model = cls(config, *model_args, **model_kwargs)\n \n+ # make sure we use the model's config since the __init__ call might have copied it\n... | 2023-10-24T17:05:37 |
golang/go | da07c59f246dad0119c486559bee89c86a8fc952 | 38ad3baf0054e926136d8a2cfe6458f41b544841 | debug/pe: copy some consts from cmd/link/internal/ld
This CL copies IMAGE_FILE_*, IMAGE_SUBSYSTEM_* and
IMAGE_DLLCHARACTERISTICS_* consts from cmd/link/internal/ld package.
The consts are also used in cmd/go and debug/pe tests. So avoid the
duplication.
The consts are defined in
https://docs.microsoft.com/en-us/win... | [
{
"path": "src/cmd/go/go_test.go",
"patch": "@@ -2208,15 +2208,10 @@ func testBuildmodePIE(t *testing.T, useCgo bool) {\n \t\t\tt.Fatal(err)\n \t\t}\n \t\tdefer f.Close()\n-\t\tconst (\n-\t\t\tIMAGE_FILE_RELOCS_STRIPPED = 0x0001\n-\t\t\tIMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA = 0x0020\n-\t\t\... | 2020-03-09T06:49:13 |
rust-lang/rust | bda6742797ada7b095697eb7d8671e2a7ac10731 | 7daf4cf911c30e48c78f5e155c029397fdd82392 | fix `crateresolve*.rs` tests and duplicates for compare modes
- duplicates of crateresolve1 are used in a couple error-codes tests
- also fix the note in crateresolve1 to link to these other duplicates,
now that E0523 has been merged into E0464 | [
{
"path": "tests/ui/crate-loading/crateresolve1.rs",
"patch": "@@ -2,11 +2,11 @@\n //@ aux-build:crateresolve1-2.rs\n //@ aux-build:crateresolve1-3.rs\n \n-//@ normalize-stderr: \"\\.nll/\" -> \"/\"\n+//@ normalize-stderr: \"crateresolve1\\..+/auxiliary/\" -> \"crateresolve1/auxiliary/\"\n //@ normalize-std... | 2025-02-03T19:02:26 |
vuejs/vue | 7694c855642d6765f9ebfe925d9a73ba8198b183 | da1db7af31b397eab1608217d1f6dee26f753a59 | fix static tree optimization for v-else(-if) conditions | [
{
"path": "src/compiler/optimizer.js",
"patch": "@@ -55,6 +55,15 @@ function markStatic (node: ASTNode) {\n node.static = false\n }\n }\n+ if (node.ifConditions) {\n+ for (let i = 1, l = node.ifConditions.length; i < l; i++) {\n+ const block = node.ifConditions[i].block\n+ ... | 2017-05-15T04:05:19 |
ggml-org/llama.cpp | a5d1fb6212298db1be1639db4c03adb2c522ee13 | a0535ffa0d35fccfec3e1a0a3bfc9dbb6054d7c0 | ggml : fix unmerged GGML_FPxx_TO_FPxx refactoring (#14443) | [
{
"path": "ggml/src/ggml-cpu/vec.h",
"patch": "@@ -913,8 +913,8 @@ inline static void ggml_vec_reglu_f32 (const int n, float * y, const float * x,\n \n inline static void ggml_vec_reglu_f16 (const int n, ggml_fp16_t * y, const ggml_fp16_t * x, const ggml_fp16_t * g) {\n for (int i = 0; i < n; ++i) {\n- ... | 2025-06-29T12:38:10 |
nodejs/node | 109e84bda7386481249144a40506edd3960f855b | 62e940dfa6eb93644b29af45584559077f62996d | src: remove void casts for clear_error_on_return
There are a number of void casts of clear_error_on_return which is a
usage of the RAII idiom. The ClearErrorOnReturn struct only has a
destructor and no constructor which I believe was an issue in GCC
prior to version 4.8.0, which lead to a unused variable warning.
I'm... | [
{
"path": "src/node_crypto.cc",
"patch": "@@ -768,7 +768,6 @@ void SecureContext::AddCACert(const FunctionCallbackInfo<Value>& args) {\n SecureContext* sc;\n ASSIGN_OR_RETURN_UNWRAP(&sc, args.Holder());\n ClearErrorOnReturn clear_error_on_return;\n- (void) &clear_error_on_return; // Silence compiler... | 2017-06-13T18:42:21 |
huggingface/transformers | 9da451713d5feac451505c09337ca07ff6d0dba0 | 41496b95da5d34368a13538548c85527377972a6 | Device agnostic testing (#25870)
* adds agnostic decorators and availability fns
* renaming decorators and fixing imports
* updating some representative example tests
bloom, opt, and reformer for now
* wip device agnostic functions
* lru cache to device checking functions
* adds `TRANSFORMERS_TEST_DEVI... | [
{
"path": "docs/source/en/testing.md",
"patch": "@@ -525,6 +525,25 @@ Certain devices will require an additional import after importing `torch` for th\n ```bash\n TRANSFORMERS_TEST_BACKEND=\"torch_npu\" pytest tests/utils/test_logging.py\n ```\n+Alternative backends may also require the replacement of devic... | 2023-10-24T14:49:26 |
golang/go | 92d1fb7cb45fea67584c48ba590a4158864029b7 | a79ac2b819db2680ba835b9a76de9bcce10c5099 | cmd/cgo: updated exported function parameter names
Functions that are exported through cgo will now retain their
parameter names provided that their parameter names use only
ASCII characters.
Fixes #37746
Change-Id: Ia5f643e7d872312e81c224febd1f81ce14425c32
GitHub-Last-Rev: 220959bebae7d654d96530498f40e3a2abe95080
G... | [
{
"path": "src/cmd/cgo/out.go",
"patch": "@@ -22,6 +22,7 @@ import (\n \t\"regexp\"\n \t\"sort\"\n \t\"strings\"\n+\t\"unicode\"\n )\n \n var (\n@@ -802,6 +803,24 @@ func (p *Package) packedAttribute() string {\n \treturn s + \"))\"\n }\n \n+// exportParamName returns the value of param as it should be\n+//... | 2020-03-10T00:22:01 |
rust-lang/rust | 0d907c17a8258b012f6b1e327709ef5789128167 | 23ab0f2cdc1f2563e258f29c37741154a2f084d6 | Make error message less awkward | [
{
"path": "compiler/rustc_hir_typeck/src/check.rs",
"patch": "@@ -117,17 +117,17 @@ pub(super) fn check_fn<'a, 'tcx>(\n \n fcx.typeck_results.borrow_mut().liberated_fn_sigs_mut().insert(fn_id, fn_sig);\n \n- let return_or_body_span = match decl.output {\n- hir::FnRetTy::DefaultReturn(_) => bod... | 2025-02-02T14:58:12 |
vuejs/vue | 0b2f11036d86f1242370726fec230db77a49d95e | d6bd667e1a984378cf27d688f69b02a1f7332482 | fix typo (#5667) | [
{
"path": "packages/vue-server-renderer/README.md",
"patch": "@@ -4,5 +4,5 @@\n \n This package offers Node.js server-side rendering for Vue 2.0.\n \n-- [API Reference](ssr.vuejs.org/en/api.html)\n+- [API Reference](https://ssr.vuejs.org/en/api.html)\n - [Vue.js Server-Side Rendering Guide](https://ssr.vuej... | 2017-05-14T03:53:12 |
huggingface/transformers | 41496b95da5d34368a13538548c85527377972a6 | b18e31407c1e0933a51c0e53f7777b6a47d034f8 | Add fuyu device map (#26949)
* add _no_split_modules
* style
* fix _no_split_modules
* add doc | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -1507,6 +1507,35 @@ def _tie_or_clone_weights(self, output_embeddings, input_embeddings):\n if hasattr(output_embeddings, \"out_features\") and hasattr(input_embeddings, \"num_embeddings\"):\n output_embeddings.out_features = i... | 2023-10-24T13:10:23 |
ggml-org/llama.cpp | a0535ffa0d35fccfec3e1a0a3bfc9dbb6054d7c0 | bd9c981d7226107f18deb8344c3301450311bb8b | ggml : implement REGLU/GEGLU/SWIGLU ops (#14158)
* implement unary REGLU/GEGLU/SWIGLU cpu ops
* relax constraints
* duplicate shape of source
* fix ggml_vec_geglu_f16
* special case gated ops
* implement unary REGLU/GEGLU/SWIGLU cuda ops
* tighten constraints again
* refactor into GGML_GLU_OP
* metal : add glu... | [
{
"path": "ggml/include/ggml.h",
"patch": "@@ -520,6 +520,8 @@ extern \"C\" {\n GGML_OP_CROSS_ENTROPY_LOSS_BACK,\n GGML_OP_OPT_STEP_ADAMW,\n \n+ GGML_OP_GLU,\n+\n GGML_OP_COUNT,\n };\n \n@@ -543,6 +545,14 @@ extern \"C\" {\n GGML_UNARY_OP_COUNT,\n };\n \n+ e... | 2025-06-29T09:04:10 |
nodejs/node | 62e940dfa6eb93644b29af45584559077f62996d | 2777a7e04f9a116937296ecd1a7ebd4a32766df6 | doc: fix a few n-api doc issues
- Add doc for napi_create_string_latin1().
- Fix signatures where c string was specified instead of napi_value.
- Fix return type of napi_callback.
- Update to specify that napi_escape_handle() can only be called once
for a given scope.
PR-URL: https://github.com/nodejs/node/pull/136... | [
{
"path": "doc/api/n-api.md",
"patch": "@@ -406,11 +406,12 @@ added: v8.0.0\n -->\n ```C\n NODE_EXTERN napi_status napi_create_error(napi_env env,\n- const char* msg,\n+ napi_value msg,\n ... | 2017-06-13T05:02:52 |
rust-lang/rust | 2ea95f867012e91fa742e60b7b6424abf86c05cf | f2c4ccd852f68fb36dedc033239cb7c0fb1921ef | rustdoc: clean up a bunch of ts-expected-error declarations in main
This mostly consists of handling potentially-null input and adding
more global functions to the list of globals. | [
{
"path": "src/librustdoc/html/static/js/main.js",
"patch": "@@ -196,23 +196,26 @@ function switchDisplayedElement(elemToDisplay) {\n removeClass(el, \"hidden\");\n \n const mainHeading = elemToDisplay.querySelector(\".main-heading\");\n- // @ts-expect-error\n- if (mainHeading && searchState.r... | 2025-01-29T20:11:17 |
vuejs/vue | 38759a695779b74065947f2cc3e0c010d50c2c6c | 8d54aecdd04202d39659a7625eef846673064ab3 | fix test case in IE | [
{
"path": "test/unit/modules/vdom/create-element.spec.js",
"patch": "@@ -170,12 +170,12 @@ describe('create-element', () => {\n return h('div', [[...list, input]])\n }\n }).$mount()\n- expect(vm.$el.innerHTML).toBe('<span>0</span><input value=\"a\" type=\"text\">')\n+ expect(vm.$el.i... | 2017-05-09T16:37:41 |
golang/go | a79ac2b819db2680ba835b9a76de9bcce10c5099 | 08dee51e59413ea57d758cd8b9f330a95d7abf23 | cmd/vet: add ifaceassert and stringintconv checks
This change re-vendors x/tools to add the ifaceassert and stringintconv
checks to cmd/vet.
Fixes #32479.
Updates #4483.
Change-Id: I6bd30b0a3278592dfab4bd247036404ddaff09e4
Reviewed-on: https://go-review.googlesource.com/c/go/+/221339
Run-TryBot: Ian Lance Taylor <ia... | [
{
"path": "src/cmd/go.mod",
"patch": "@@ -8,6 +8,5 @@ require (\n \tgolang.org/x/crypto v0.0.0-20200214034016-1d94cc7ab1c6\n \tgolang.org/x/mod v0.2.0\n \tgolang.org/x/sys v0.0.0-20200219091948-cb0a6d8edb6c // indirect\n-\tgolang.org/x/tools v0.0.0-20200219195521-7c4b6277d74d\n-\tgolang.org/x/xerrors v0.0.0... | 2020-02-27T08:44:13 |
ggml-org/llama.cpp | bd9c981d7226107f18deb8344c3301450311bb8b | 27208bf657cfe7262791df473927225e48efe482 | vulkan: Add fusion support for RMS_NORM+MUL (#14366)
* vulkan: Add fusion support for RMS_NORM+MUL
- Add a use_count to ggml_tensor, so we can detect if an output is used more than once.
- Change the ggml-vulkan rms_norm shader to optionally multiply by another tensor.
- Add detection logic and basic fusion logic in ... | [
{
"path": "ggml/include/ggml-backend.h",
"patch": "@@ -339,7 +339,7 @@ extern \"C\" {\n typedef bool (*ggml_backend_eval_callback)(int node_index, struct ggml_tensor * t1, struct ggml_tensor * t2, void * user_data);\n \n // Compare the output of two backends\n- GGML_API bool ggml_backend_compare_... | 2025-06-29T07:43:36 |
vuejs/vue | 8d54aecdd04202d39659a7625eef846673064ab3 | 3139605bb10fed0a0219e31a2117c533e31fe773 | async components: timeout should not trigger if already resolved (fix #5635) | [
{
"path": "src/core/vdom/helpers/resolve-async-component.js",
"patch": "@@ -97,11 +97,13 @@ export function resolveAsyncComponent (\n \n if (isDef(res.timeout)) {\n setTimeout(() => {\n- reject(\n- process.env.NODE_ENV !== 'production'\n- ? `timeout (... | 2017-05-09T15:35:09 |
nodejs/node | 2777a7e04f9a116937296ecd1a7ebd4a32766df6 | f462ad1f35dfb2e8827e383d46ba74058aedfcbc | inspector,cluster: fix inspect port assignment
* Adding --inspect-port with debug port, instead of parsing `execArgv`
* Export CLI debug options to `process.binding('config').debugOptions`
(currently used only in tests)
PR-URL: https://github.com/nodejs/node/pull/13619
Refs: https://github.com/nodejs/node/pull/965... | [
{
"path": "lib/internal/cluster/master.js",
"patch": "@@ -96,26 +96,16 @@ function setupSettingsNT(settings) {\n }\n \n function createWorkerProcess(id, env) {\n- var workerEnv = util._extend({}, process.env);\n- var execArgv = cluster.settings.execArgv.slice();\n- var debugPort = 0;\n- var debugArgvRE ... | 2017-06-11T19:01:27 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.