repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
nodejs/node
4a7233c1788334c171d2280026333242df7d37af
7e3a3c962f09233c53cee7ebe381341d7c8b7162
lib: implement async_hooks API in core Implement async_hooks support in the following: * fatalException handler * process.nextTick * Timers * net/dgram/http PR-URL: https://github.com/nodejs/node/pull/12892 Ref: https://github.com/nodejs/node/pull/11883 Ref: https://github.com/nodejs/node/pull/8531 Reviewed-By: Andr...
[ { "path": "lib/_http_agent.js", "patch": "@@ -25,6 +25,8 @@ const net = require('net');\n const util = require('util');\n const EventEmitter = require('events');\n const debug = util.debuglog('http');\n+const async_id_symbol = process.binding('async_wrap').async_id_symbol;\n+const nextTick = require('intern...
2017-03-10T13:17:42
vuejs/vue
95bf0c000ef93418be366994b2ff846f3d7797fe
3bbac7e9f5beb86dbb023edbb043bdea501c98d3
Add guide for PR title (#3936) * update PR guide for a better release log * detail on pr title. and fix typo
[ { "path": ".github/CONTRIBUTING.md", "patch": "@@ -45,6 +45,7 @@ Hi! I’m really excited that you are interested in contributing to Vue.js. Befo\n - Provide convincing reason to add this feature. Ideally you should open a suggestion issue first and have it greenlighted before working on it.\n \n - If fixin...
2016-10-14T13:25:09
huggingface/transformers
6f125aaa4807d84e9004ce79035c7653aedfd630
52a46dc57bb653aa9dab440e4bb70988b15cdc7e
fix typo (#25981) rename doanloading to downloading
[ { "path": "src/transformers/modeling_tf_utils.py", "patch": "@@ -2574,7 +2574,7 @@ def from_pretrained(\n output_loading_info(`bool`, *optional*, defaults to `False`): Whether ot not to also return a\n dictionary containing missing keys, unexpected keys and error messages.\n ...
2023-09-05T10:13:06
ggml-org/llama.cpp
5f5e39e1ba5dbea814e41f2a15e035d749a520bc
eaea3253244dc4bbe07f6cd81325847ccc6cf93e
model : Nomic Embed Text V2 with Mixture-of-Experts (MoE) architecture (#12466) * Nomic Embed Text V2 with Mixture-of-Experts (MoE) architecture - Adds MoE-based embedding model supporting multilingual embeddings. - Selects architecture variant based on hyperparameter detection (MoE layers). - Removes unnecessary sub...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -78,7 +78,7 @@ class ModelBase:\n # subclasses should define this!\n model_arch: gguf.MODEL_ARCH\n \n- def __init__(self, dir_model: Path, ftype: gguf.LlamaFileType, fname_out: Path, is_big_endian: bool = False,\n+ def __init__(self, dir_model: P...
2025-04-28T19:52:15
vuejs/vue
3f8fa43819b74e2ea03adb3ca9a04c36e72cf6b7
d362d64633f00f8cbf1613c424d8852fb45c7596
fix duplicate attribute test case in IE
[ { "path": "test/unit/modules/compiler/parser.spec.js", "patch": "@@ -1,6 +1,7 @@\n import { parse } from 'compiler/parser/index'\n import { extend } from 'shared/util'\n import { baseOptions } from 'web/compiler/index'\n+import { isIE } from 'core/util/env'\n \n describe('parser', () => {\n it('simple ele...
2016-10-13T09:19:51
golang/go
563287ae0636a592880dc616b50fde217fa1100f
4ead7e8cc4fd5c09db7aba5c4f5fd5d957c82a24
Revert "os: handle long path in RemoveAll for windows" This reverts CL 214437. Does not fix the issue, and the test was wrong so it did not detect that it did not fix the issue. Updates #36375 Change-Id: I6a4112035a1e90f4fdafed6fdf4ec9dfc718b571 Reviewed-on: https://go-review.googlesource.com/c/go/+/214601 Reviewed...
[ { "path": "src/os/removeall_noat.go", "patch": "@@ -27,7 +27,6 @@ func removeAll(path string) error {\n \t}\n \n \t// Simple case: if Remove works, we're done.\n-\tpath = fixLongPath(path)\n \terr := Remove(path)\n \tif err == nil || IsNotExist(err) {\n \t\treturn nil", "additions": 0, "deletions": ...
2020-01-13T23:34:53
huggingface/transformers
fbbe1b8a406a09b47673f606f0af6f3d5e045575
feec56959afe480e57b2acc177111ae18a5ea757
Fix `test_load_img_url_timeout` (#25976) * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/utils/test_image_utils.py", "patch": "@@ -21,7 +21,7 @@\n import numpy as np\n import pytest\n from huggingface_hub.file_download import http_get\n-from requests import ReadTimeout\n+from requests import ConnectTimeout, ReadTimeout\n \n from tests.pipelines.test_pipelines_document_question_...
2023-09-05T09:34:28
nodejs/node
c0bde73f1bbfedd4e77ddf87cf0bcec7bac9a61e
fe2df3b842205d8dedffcc83de387d43579ec760
src: implement native changes for async_hooks Changes in the native code for the upcoming async_hooks module. These have been separated to help with review and testing. Changes include: * Introduce an async id stack that tracks recursive calls into async execution contexts. For performance reasons the id stack is ...
[ { "path": "src/async-wrap-inl.h", "patch": "@@ -36,18 +36,18 @@\n \n namespace node {\n \n-inline bool AsyncWrap::ran_init_callback() const {\n- return static_cast<bool>(bits_ & 1);\n+inline AsyncWrap::ProviderType AsyncWrap::provider_type() const {\n+ return provider_type_;\n }\n \n \n-inline AsyncWrap::...
2017-03-07T19:40:18
ggml-org/llama.cpp
eaea3253244dc4bbe07f6cd81325847ccc6cf93e
43ddab6eeeaab5a04fe5a364af0bafb0e4d35065
clip : fix model size display (#13153)
[ { "path": "examples/llava/clip.cpp", "patch": "@@ -1574,7 +1574,7 @@ struct clip_model_loader {\n clip_ctx & ctx_clip;\n std::string fname;\n \n- size_t model_size; // in bytes\n+ size_t model_size = 0; // in bytes\n \n // TODO @ngxson : we should not pass clip_ctx here, it should be clip_...
2025-04-28T19:23:19
vuejs/vue
d362d64633f00f8cbf1613c424d8852fb45c7596
a675221bb68e46710cd1bac1d0287c605fa61db4
update entities encoding/decoding (fix #3899)
[ { "path": "build/config.js", "patch": "@@ -38,7 +38,7 @@ const builds = {\n env: 'development',\n banner,\n alias: {\n- entities: './entity-decoder'\n+ he: './entity-decoder'\n }\n },\n // Runtime+compiler standalone production build.\n@@ -49,22 +49,22 @@ const builds = {\n ...
2016-10-13T09:05:35
huggingface/transformers
feec56959afe480e57b2acc177111ae18a5ea757
404ff8fc17599788a546818373be113b1fc8456a
Fix Detr CI (#25972) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/detr/test_modeling_detr.py", "patch": "@@ -606,7 +606,7 @@ def test_inference_panoptic_segmentation_head(self):\n torch_device\n )\n expected_number_of_segments = 5\n- expected_first_segment = {\"id\": 1, \"label_id\": 17, \"was_fused\": False, \"sc...
2023-09-05T09:19:56
golang/go
9ead772a921f0792db5630a3485a95c5a10c85df
5c44cc47c6e868c3b6c800b24e64182bcc213fe6
spec: uniformly format empty interfaces as "interface{}" Fixes #36526. Change-Id: Ic51a287579f139422cc1a7b2fb82d6732114b031 Reviewed-on: https://go-review.googlesource.com/c/go/+/214597 Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "doc/go_spec.html", "patch": "@@ -1,6 +1,6 @@\n <!--{\n \t\"Title\": \"The Go Programming Language Specification\",\n-\t\"Subtitle\": \"Version of Dec 13, 2019\",\n+\t\"Subtitle\": \"Version of Jan 13, 2020\",\n \t\"Path\": \"/ref/spec\"\n }-->\n \n@@ -5279,7 +5279,7 @@ <h4 id=\"For_range\">For st...
2020-01-13T21:01:28
rust-lang/rust
5082fd8b1ee31284be473fe4e8691677ff61c708
f753850659bdf5788332525f3fe395685929c682
Trim extra whitespace in fn ptr suggestion span Trim extra whitespace when suggesting removal of invalid qualifiers when parsing function pointer type. Fixes: #133083 Signed-off-by: Tyrone Wu <wudevelops@gmail.com>
[ { "path": "compiler/rustc_parse/src/errors.rs", "patch": "@@ -2830,19 +2830,21 @@ pub(crate) struct DynAfterMut {\n pub(crate) struct FnPointerCannotBeConst {\n #[primary_span]\n pub span: Span,\n- #[suggestion(code = \"\", applicability = \"maybe-incorrect\", style = \"verbose\")]\n #[label]...
2024-11-17T21:02:05
ggml-org/llama.cpp
43ddab6eeeaab5a04fe5a364af0bafb0e4d35065
1831f538f720d1d99fba146f24f0a8e970838cc4
fix(rpc): Improve input validation and error handling (#13069) * fix(rpc): Improve input validation and error handling The `rpc-server` was vulnerable to Denial of Service attacks via several RPC commands (`SET_TENSOR`, `GRAPH_COMPUTE`, etc.). Malformed messages could trigger failed assertions (e.g., invalid `ggml_ty...
[ { "path": "ggml/src/ggml-rpc/ggml-rpc.cpp", "patch": "@@ -982,8 +982,21 @@ bool rpc_server::buffer_clear(const rpc_msg_buffer_clear_req & request) {\n }\n \n ggml_tensor * rpc_server::deserialize_tensor(struct ggml_context * ctx, const rpc_tensor * tensor) {\n+ // Validate tensor type before using it\n+ ...
2025-04-28T18:00:20
nodejs/node
fe2df3b842205d8dedffcc83de387d43579ec760
f1ed19d98fe8c659d6f9130c47f10bbc27d800ef
async_wrap,src: add GetAsyncId() method Allow handles to retrieve their own uid's by adding a new method on the FunctionTemplates. Implementation of these into all other classes will come in a future commit. Add the method AsyncWrap::GetAsyncId() to all inheriting class objects so the uid of the handle can be retriev...
[ { "path": "src/async-wrap.cc", "patch": "@@ -180,6 +180,14 @@ static void SetupHooks(const FunctionCallbackInfo<Value>& args) {\n }\n \n \n+void AsyncWrap::GetAsyncId(const FunctionCallbackInfo<Value>& args) {\n+ AsyncWrap* wrap;\n+ args.GetReturnValue().Set(-1);\n+ ASSIGN_OR_RETURN_UNWRAP(&wrap, args.Ho...
2016-11-02T19:55:00
vuejs/vue
a675221bb68e46710cd1bac1d0287c605fa61db4
30bd34e965758f323dd8807a232b966f64d308f9
should not generate children for "is" component with inline-template (fix #3931)
[ { "path": "src/compiler/codegen/index.js", "patch": "@@ -230,7 +230,7 @@ function genSlot (el: ASTElement): string {\n }\n \n function genComponent (el: any): string {\n- const children = genChildren(el)\n+ const children = el.inlineTemplate ? null : genChildren(el)\n return `_h(${el.component},${genDat...
2016-10-13T07:42:27
huggingface/transformers
404ff8fc17599788a546818373be113b1fc8456a
d8e13b3e04da9e61c6f16df43815656f59688abd
Fix typo (#25966) * Update feature_extraction_clap.py * changed all lenght to length
[ { "path": "examples/legacy/seq2seq/seq2seq_training_args.py", "patch": "@@ -31,7 +31,7 @@ class Seq2SeqTrainingArguments(TrainingArguments):\n label_smoothing (:obj:`float`, `optional`, defaults to 0):\n The label smoothing epsilon to apply (if not zero).\n sortish_sampler (:obj:...
2023-09-05T08:12:25
golang/go
5c44cc47c6e868c3b6c800b24e64182bcc213fe6
5d8a61a43eea306b4426adf8b903135517b019c9
os: handle long path in RemoveAll for windows Fixes #36375 Change-Id: I407a1db23868880b83e73bc136d274659483fb69 Reviewed-on: https://go-review.googlesource.com/c/go/+/214437 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "src/os/removeall_noat.go", "patch": "@@ -27,6 +27,7 @@ func removeAll(path string) error {\n \t}\n \n \t// Simple case: if Remove works, we're done.\n+\tpath = fixLongPath(path)\n \terr := Remove(path)\n \tif err == nil || IsNotExist(err) {\n \t\treturn nil", "additions": 1, "deletions": ...
2020-01-11T18:53:20
ggml-org/llama.cpp
1831f538f720d1d99fba146f24f0a8e970838cc4
4e87962e34a4b257ec374c4baf6b1568554b81a9
llama-bench: add `-d` depth arg (#13096) * add depth param * update llama-bench README and add depth param * llama-bench: default params for depth arg for faster execution * Update examples/llama-bench/README.md Co-authored-by: Johannes Gäßler <johannesg@5d6.de> * fix buffer print ub * use user provided args * ...
[ { "path": "examples/llama-bench/README.md", "patch": "@@ -28,6 +28,7 @@ options:\n -p, --n-prompt <n> (default: 512)\n -n, --n-gen <n> (default: 128)\n -pg <pp,tg> (default: )\n+ -d, --n-depth <n> (...
2025-04-28T14:50:39
nodejs/node
f1ed19d98fe8c659d6f9130c47f10bbc27d800ef
d9f3ec8e0943d00c4cad724359bf9944f733f4c8
async_wrap: use more specific providers Instead of wrapping several providers into PROVIDER_CRYPTO, have them all be named after their class. Rename other providers to also match their class names. With the exception of Parser. Which is actually HTTPParser. Add PROVIDER_LENGTH to make better checks in WrapperInfo(). ...
[ { "path": "src/async-wrap.cc", "patch": "@@ -109,7 +109,9 @@ intptr_t RetainedAsyncInfo::GetSizeInBytes() {\n \n RetainedObjectInfo* WrapperInfo(uint16_t class_id, Local<Value> wrapper) {\n // No class_id should be the provider type of NONE.\n- CHECK_NE(NODE_ASYNC_ID_OFFSET, class_id);\n+ CHECK_GT(class...
2016-11-02T20:53:42
vuejs/vue
ff178ccc7eb9a00958240059078c7651359fce3d
8823fcc7a434f5eaea72e7a8c3a1e8f8c32f617a
fix directive rawName generation for raw render functions (fix #3930)
[ { "path": "src/core/vdom/modules/directives.js", "patch": "@@ -90,23 +90,17 @@ function normalizeDirectives (\n let i, dir\n for (i = 0; i < dirs.length; i++) {\n dir = dirs[i]\n- res[getRawDirName(dir)] = dir\n if (!dir.modifiers) {\n dir.modifiers = emptyModifiers\n }\n+ res[ge...
2016-10-13T07:18:21
ggml-org/llama.cpp
4e87962e34a4b257ec374c4baf6b1568554b81a9
fb0471d1753824e75474c24f82fbdd54c94dceda
mtmd : fix glm-edge redundant token count (#13139) * mtmd : fix glm-edge redundant token count * fix chat template * temporary disable GLMEdge test chat tmpl
[ { "path": "examples/llava/mtmd.cpp", "patch": "@@ -203,9 +203,6 @@ int32_t mtmd_tokenize(mtmd_context * ctx,\n }\n \n // llava-1.5, llava-1.6, Yi-VL, Yi-34B, granite: don't need to add prefix and suffix\n- // for glm-edge, we don't need to add because the tokens are already in the returned embedd...
2025-04-28T14:12:56
golang/go
5d8a61a43eea306b4426adf8b903135517b019c9
52c4488471ed52085a29e173226b3cbd2bf22b20
cmd/compile: print recursive types correctly Change the type printer to take a map of types that we're currently printing. When we happen upon a type that we're already in the middle of printing, print a reference to it instead. A reference to another type is built using the offset of the first byte of that type's st...
[ { "path": "src/cmd/compile/internal/gc/fmt.go", "patch": "@@ -5,6 +5,7 @@\n package gc\n \n import (\n+\t\"bytes\"\n \t\"cmd/compile/internal/types\"\n \t\"cmd/internal/src\"\n \t\"fmt\"\n@@ -650,23 +651,55 @@ var basicnames = []string{\n \tTBLANK: \"blank\",\n }\n \n-func typefmt(t *types.Type, flag F...
2020-01-09T22:58:18
vuejs/vue
6e96a657d8c96d48f1ba6ad051aae1eff0d58c73
6ab10c0559094b6870b5c6601ae526ee579b796b
adjust component destroy logic (really fix #3882)
[ { "path": "src/core/instance/lifecycle.js", "patch": "@@ -187,6 +187,8 @@ export function lifecycleMixin (Vue: Class<Component>) {\n if (vm.$el) {\n vm.$el.__vue__ = null\n }\n+ // invoke destroy hooks on current rendered tree\n+ vm.__patch__(vm._vnode, null)\n }\n }\n ", "addition...
2016-10-12T21:43:08
nodejs/node
4b9d84df51f7c1d879e27f651cd84de4cb46e229
dd6e3f69a795a0ab1a27c5709869d00460f12a0d
tty_wrap: throw when uv_tty_init() returns error Also add checks in lib/tty.js and tests. PR-URL: https://github.com/nodejs/node/pull/12892 Ref: https://github.com/nodejs/node/pull/11883 Ref: https://github.com/nodejs/node/pull/8531 Reviewed-By: Andreas Madsen <amwebdk@gmail.com> Reviewed-By: Anna Henningsen <anna@ad...
[ { "path": "lib/tty.js", "patch": "@@ -37,6 +37,8 @@ exports.isatty = function(fd) {\n function ReadStream(fd, options) {\n if (!(this instanceof ReadStream))\n return new ReadStream(fd, options);\n+ if (fd >> 0 !== fd || fd < 0)\n+ throw new RangeError('fd must be positive integer: ' + fd);\n \n ...
2017-04-11T22:29:39
huggingface/transformers
040c4613c2fac59f16e333a630d9a69b6ff9ca5d
44d2c199f6c5fcc93b662d6d3aaa02f8e79c9c4b
Add type hints for tf models final batch (#25883) * Add missing type hints and consistency to `RegNet` models * Add missing type hints and consistency to `TFSamModel` * Add missing type hints to `TFSegformerDecodeHead` * Add missing type hints and consistency to `TransfoXL` family models * Add missing type...
[ { "path": "src/transformers/models/regnet/modeling_tf_regnet.py", "patch": "@@ -396,7 +396,7 @@ def call(\n pixel_values: tf.Tensor,\n output_hidden_states: Optional[bool] = None,\n return_dict: Optional[bool] = None,\n- training=False,\n+ training: bool = False,\n ...
2023-09-04T17:16:10
ggml-org/llama.cpp
5fa9e63be82225fb3249c76f39ddda3e5bdec0a3
a4c340f974f9b7ac0c1aae897aabaa54549a97e5
clip : refactor set input for cgraph + fix qwen2.5vl input (#13136) * clip : refactor set input for cgraph * more strict assert * minicpmv : use clip_n_mmproj_embd instead of copying the same code everywhere * split qwen2 and qwen2.5 code blocks * minor style fix
[ { "path": "examples/llava/clip.cpp", "patch": "@@ -170,8 +170,8 @@ struct clip_hparams {\n std::vector<int32_t> image_grid_pinpoints;\n int32_t image_crop_resolution;\n std::unordered_set<int32_t> vision_feature_layer;\n- int32_t attn_window_size;\n- int32_t n_wa_pattern;\n+ int32_t att...
2025-04-28T10:18:59
vuejs/vue
6ab10c0559094b6870b5c6601ae526ee579b796b
ea39d9f6b8220d24320fdef08070a01b94f241c6
fix v-for list auto-keying with nested <template> (fix #3913)
[ { "path": "src/compiler/optimizer.js", "patch": "@@ -75,6 +75,20 @@ function isStatic (node: ASTNode): boolean {\n !node.if && !node.for && // not v-if or v-for or v-else\n !isBuiltInTag(node.tag) && // not a built-in\n isPlatformReservedTag(node.tag) && // not a component\n+ !isDirectChildOf...
2016-10-12T21:12:12
golang/go
1d4d7825a70168492e440af59556bfd6734fa883
5d0075156a01a8c9973188dc06b78aadabeb69da
cmd/go/internal/modload: fix an erroneous comment about the test repo Updates #36489 Change-Id: I1ca215ba0a64a31d662134385b8be46bb4ba4434 Reviewed-on: https://go-review.googlesource.com/c/go/+/214282 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shur...
[ { "path": "src/cmd/go/internal/modload/query_test.go", "patch": "@@ -163,10 +163,14 @@ var queryTests = []struct {\n \t{path: queryRepoV2, query: \"v2.6.0-pre1\", vers: \"v2.6.0-pre1\"},\n \t{path: queryRepoV2, query: \"latest\", vers: \"v2.5.5\"},\n \n-\t// e0cf3de987e6 is the latest commit on the master b...
2020-01-10T14:37:32
nodejs/node
dd6e3f69a795a0ab1a27c5709869d00460f12a0d
13487c437cea783a91db775dd003b24a147b112e
src: fix comments re PER_ISOLATE macros PR-URL: https://github.com/nodejs/node/pull/12899 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James Snell <jasnell@gmail.com>
[ { "path": "src/env-inl.h", "patch": "@@ -36,7 +36,10 @@\n \n namespace node {\n \n-// Create string properties as internalized one byte strings.\n+inline IsolateData::IsolateData(v8::Isolate* isolate, uv_loop_t* event_loop,\n+ uint32_t* zero_fill_field) :\n+\n+// Create string...
2017-05-08T17:43:47
huggingface/transformers
44d2c199f6c5fcc93b662d6d3aaa02f8e79c9c4b
3a479672ea95b058b621dcdcd1d15b73f36dc25a
Fix smart check (#25955) * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/utils/generic.py", "patch": "@@ -76,14 +76,14 @@ def infer_framework_from_repr(x):\n Tries to guess the framework of an object `x` from its repr (brittle but will help in `is_tensor` to try the\n frameworks in a smart order, without the need to import the frameworks).\n ...
2023-09-04T16:54:34
ggml-org/llama.cpp
43f2b07193cbcccd266734320ea9b948f5a01926
e5d6c2554e7597665e26991a93fa2f3d16c79ad5
common : fix noreturn compile warning (#13151) ggml-ci
[ { "path": "common/arg.cpp", "patch": "@@ -673,8 +673,12 @@ static struct common_hf_file_res common_get_hf_file(const std::string &, const s\n return {};\n }\n \n-std::pair<long, std::vector<char>> common_remote_get_content(const std::string &, const common_remote_params &) {\n- throw std::runtime_err...
2025-04-28T08:57:19
vuejs/vue
ea39d9f6b8220d24320fdef08070a01b94f241c6
5d0999ac375f477a9f2746ea746081d07ee60c64
fix static node v-for nested check
[ { "path": "src/compiler/optimizer.js", "patch": "@@ -57,7 +57,7 @@ function markStaticRoots (node: ASTNode, isInFor: boolean) {\n }\n if (node.children) {\n for (let i = 0, l = node.children.length; i < l; i++) {\n- markStaticRoots(node.children[i], !!node.for)\n+ markStaticRoots...
2016-10-12T20:31:56
huggingface/transformers
3a479672ea95b058b621dcdcd1d15b73f36dc25a
034bc5d26ad7c0e284265d92d3da39d786138545
Fix failing test (#25963)
[ { "path": "src/transformers/modelcard.py", "patch": "@@ -459,7 +459,7 @@ def create_metadata(self):\n metadata = {}\n metadata = _insert_values_as_list(metadata, \"language\", self.language)\n metadata = _insert_value(metadata, \"license\", self.license)\n- if self.finetuned_f...
2023-09-04T16:53:50
nodejs/node
13487c437cea783a91db775dd003b24a147b112e
cfe7b34058716d9c9dfb143ecc865a30f433db5c
doc: add docs for server.address() for pipe case Add documentation for net.server.address() for the case it is listening on a pipe or unix domain socket instead an IP socket. PR-URL: https://github.com/nodejs/node/pull/12907 Fixes: https://github.com/nodejs/node/issues/12895 Reviewed-By: Refael Ackermann <refack@gmai...
[ { "path": "doc/api/net.md", "patch": "@@ -99,11 +99,14 @@ added: v0.1.90\n -->\n \n Returns the bound address, the address family name, and port of the server\n-as reported by the operating system.\n+as reported by the operating system if listening on an IP socket.\n Useful to find which port was assigned w...
2017-05-08T20:25:28
ggml-org/llama.cpp
e5d6c2554e7597665e26991a93fa2f3d16c79ad5
f0dd6a1926cdb2f4183a937deee40db26ef8f1da
llama-chat : fix typo GML --> GLM (#13143)
[ { "path": "src/llama-chat.cpp", "patch": "@@ -50,8 +50,8 @@ static const std::map<std::string, llm_chat_template> LLM_CHAT_TEMPLATES = {\n { \"deepseek3\", LLM_CHAT_TEMPLATE_DEEPSEEK_3 },\n { \"command-r\", LLM_CHAT_TEMPLATE_COMMAND_R },\n { \"llama3\", ...
2025-04-28T08:11:58
vuejs/vue
ceab0b71d0dd8247220564b2a651f7bea0a796d6
7ca58b6cdf985da1751c97290fb1e2fc9fb08f41
fix functional components that return string or nothing (fix #3919)
[ { "path": "src/core/vdom/create-component.js", "patch": "@@ -113,9 +113,11 @@ function createFunctionalComponent (\n slots: () => resolveSlots(children, context)\n }\n )\n- vnode.functionalContext = context\n- if (data.slot) {\n- (vnode.data || (vnode.data = {})).slot = data.slot\n+ if (vn...
2016-10-12T17:31:39
golang/go
5d0075156a01a8c9973188dc06b78aadabeb69da
ae0b735369317197773920ee282c68a01effaad3
runtime: add tests for checkptr We had a few test cases to make sure checkptr didn't have certain false positives, but none to test for any true positives. This CL fixes that. Updates #22218. Change-Id: I24c02e469a4af43b1748829a9df325ce510f7cc4 Reviewed-on: https://go-review.googlesource.com/c/go/+/214238 Run-TryBot...
[ { "path": "src/runtime/checkptr_test.go", "patch": "@@ -0,0 +1,46 @@\n+// Copyright 2020 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package runtime_test\n+\n+import (\n+\t\"internal/testenv\"\n+\t\"os/...
2020-01-09T23:26:01
huggingface/transformers
034bc5d26ad7c0e284265d92d3da39d786138545
d750eff62757a46160b6f73b95e8035c49c2971b
Add proper Falcon docs and conversion script (#25954) * Add proper Falcon docs and conversion script * Autodetect the decoder architecture instead of using an arg * Update docs now that we can autodetect * Fix doc error * Add doc to toctree * Quick doc update
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -313,6 +313,8 @@\n title: ErnieM\n - local: model_doc/esm\n title: ESM\n+ - local: model_doc/falcon\n+ title: Falcon\n - local: model_doc/flan-t5\n title: FLAN-T5\n - local: model_doc/flan-ul2", "...
2023-09-04T16:18:34
nodejs/node
cfe7b34058716d9c9dfb143ecc865a30f433db5c
317180ffe55516771a0ffa9414ccb9892a68952f
test: use assert regexp in tls no cert test Replace the `assert.throws` second argument from a Type to a `RegExp` matching the entire error message. Error message changes are `semver-major`, so we assert their content. PR-URL: https://github.com/nodejs/node/pull/12891 Refs: https://github.com/nodejs/node/pull/12603 R...
[ { "path": "test/parallel/test-tls-no-cert-required.js", "patch": "@@ -41,7 +41,8 @@ tls.createServer(assert.fail)\n tls.createServer({})\n .listen(0, common.mustCall(close));\n \n-assert.throws(() => tls.createServer('this is not valid'), TypeError);\n+assert.throws(() => tls.createServer('this is not val...
2017-05-08T01:17:58
ggml-org/llama.cpp
f0dd6a1926cdb2f4183a937deee40db26ef8f1da
69699be48a6b94570773532850667f1591dc5bbe
musa: fix typo in cc control (#13144) Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
[ { "path": "ggml/src/ggml-cuda/common.cuh", "patch": "@@ -78,13 +78,13 @@\n // Moore Threads\n #define GGML_CUDA_MUSA_ARCH_IS_QY1 (__MUSA_ARCH__ <= 210)\n \n-#define GGML_CUDA_CC_QY1 (GGML_MUSA_CC_OFFSET_MTHREADS + 0x210) // MTT S80, MTT S3000\n-#define GGML_CUDA_CC_QY2 (GGML_MUSA_CC_OFFSET_MTHREADS + 0x22...
2025-04-28T07:33:28
huggingface/transformers
d750eff62757a46160b6f73b95e8035c49c2971b
7cd01d4e384f7ce9c18a81a4decb2c2531542661
[VITS] Fix init test (#25945) * [VITS] Fix init test * add flaky decorator * style * max attempts Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com> * style --------- Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
[ { "path": "tests/models/vits/test_modeling_vits.py", "patch": "@@ -24,6 +24,7 @@\n \n from transformers import PretrainedConfig, VitsConfig\n from transformers.testing_utils import (\n+ is_flaky,\n is_torch_available,\n require_torch,\n slow,\n@@ -80,6 +81,10 @@ def __init__(\n durati...
2023-09-04T16:09:26
golang/go
ae0b735369317197773920ee282c68a01effaad3
6988e6d57939a9e1c499beab5e9811d6d21274d1
cmd/compile: emit only '/' in DWARF file names Make file names consistent, using only forward slashes in the path. Fixes #36495 Change-Id: I337119d6dff233ab9d4bfe757147ec25961ae021 Reviewed-on: https://go-review.googlesource.com/c/go/+/214286 Run-TryBot: Jeremy Faller <jeremy@golang.org> TryBot-Result: Gobot Gobot <...
[ { "path": "src/cmd/internal/obj/objfile.go", "patch": "@@ -106,7 +106,7 @@ func WriteObjFile(ctxt *Link, bout *bio.Writer, pkgpath string) {\n \tfileTable := ctxt.PosTable.DebugLinesFileTable()\n \tw.writeInt(int64(len(fileTable)))\n \tfor _, str := range fileTable {\n-\t\tw.writeString(str)\n+\t\tw.writeSt...
2020-01-10T16:36:44
nodejs/node
317180ffe55516771a0ffa9414ccb9892a68952f
e1cabf6fbdbcfe223a9a46ffe6730e73719d5ab5
test: fix flaky test-https-client-get-url Fixed test-https-client-get-url by waiting on HTTPS GET requests to finish before closing the server. PR-URL: https://github.com/nodejs/node/pull/12876 Fixes: https://github.com/nodejs/node/issues/12873 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Santiago Gi...
[ { "path": "test/parallel/test-https-client-get-url.js", "patch": "@@ -41,18 +41,21 @@ const options = {\n cert: fs.readFileSync(`${common.fixturesDir}/keys/agent1-cert.pem`)\n };\n \n-const server = https.createServer(options, common.mustCall(function(req, res) {\n+const server = https.createServer(option...
2017-05-08T16:51:35
ggml-org/llama.cpp
69699be48a6b94570773532850667f1591dc5bbe
85f36e5e7173eef7c671c778db44c034e1d0ab19
CUDA: fix q_nope_absorbed prec for DS 2 Lite f16 (#13137)
[ { "path": "ggml/include/ggml.h", "patch": "@@ -393,8 +393,8 @@ extern \"C\" {\n \n // precision\n enum ggml_prec {\n- GGML_PREC_DEFAULT,\n- GGML_PREC_F32,\n+ GGML_PREC_DEFAULT = 0, // stored as ggml_tensor.op_params, 0 by default\n+ GGML_PREC_F32 = 10,\n };\n \n ...
2025-04-28T07:29:26
golang/go
6988e6d57939a9e1c499beab5e9811d6d21274d1
e6bbe967edef58073918ffd197e44d1559c90737
cmd: update golang.org/x/mod to v0.2.0 (latest) This pulls in two new commits: a fix for a test broken on plan9 and a correction to a comment. Change-Id: I31cf046a5073872714c758894732b2fcc800ab6b Reviewed-on: https://go-review.googlesource.com/c/go/+/214289 Run-TryBot: Jay Conrod <jayconrod@google.com> Reviewed-by: B...
[ { "path": "src/cmd/go.mod", "patch": "@@ -7,7 +7,7 @@ require (\n \tgithub.com/ianlancetaylor/demangle v0.0.0-20180524225900-fc6590592b44 // indirect\n \tgolang.org/x/arch v0.0.0-20190815191158-8a70ba74b3a1\n \tgolang.org/x/crypto v0.0.0-20191011191535-87dc89f01550\n-\tgolang.org/x/mod v0.1.1-0.201911261619...
2020-01-10T18:05:54
vuejs/vue
a9417e4e4fcb91d445c15d79b6eec684d7e5c9c7
443ef1c26c299856709ff59aa2f9e7816fbd7908
select change event fix (#3922) * if select binding not changed, then needRest should be set to false, and no change event should be emitted * update code style
[ { "path": "src/platforms/web/runtime/directives/model.js", "patch": "@@ -60,7 +60,7 @@ export default {\n // option in the DOM.\n const needReset = el.multiple\n ? binding.value.some(v => hasNoMatchingOption(v, el.options))\n- : hasNoMatchingOption(binding.value, el.options)\n+ ...
2016-10-12T17:26:42
nodejs/node
e1cabf6fbdbcfe223a9a46ffe6730e73719d5ab5
57a08e2f70abb608e9c53985584fec891c35f7d1
doc, test: add note to response.getHeaders * also correct language for the same note for querystring.parse * add assertions for said note PR-URL: https://github.com/nodejs/node/pull/12887 Fixes: https://github.com/nodejs/node/issues/12885 Refs: https://github.com/nodejs/node/pull/12883 Reviewed-By: Anna Henningsen <a...
[ { "path": "doc/api/http.md", "patch": "@@ -556,7 +556,7 @@ Returns `request`.\n added: v0.1.17\n -->\n \n-This class inherits from [`net.Server`][] and has the following additional events:\n+This class inherits from [`net.Server`][] and has the following additional events:\n \n ### Event: 'checkContinue'\n ...
2017-05-07T18:50:10
ggml-org/llama.cpp
85f36e5e7173eef7c671c778db44c034e1d0ab19
c0a97b762e5ec767dc414f0dc4979befd4c09a52
arg : fix unused variable (#13142)
[ { "path": "common/arg.cpp", "patch": "@@ -673,7 +673,7 @@ static struct common_hf_file_res common_get_hf_file(const std::string &, const s\n return {};\n }\n \n-std::pair<long, std::vector<char>> common_remote_get_content(const std::string & url, const common_remote_params & params) {\n+std::pair<long, ...
2025-04-28T05:16:59
huggingface/transformers
f435003e0c2dd152a2117d11c0ab6fcd4f2d84c0
604a6c51ae0b4ce5e8213ea86ed9c71373223a5d
[MMS] Fix pip install in docs (#25949)
[ { "path": "docs/source/en/model_doc/mms.md", "patch": "@@ -174,7 +174,7 @@ documentation under [VITS](https://huggingface.co/docs/transformers/main/en/mode\n \n To use the MMS model, first update to the latest version of the Transformers library:\n \n-```\n+```bash\n pip install --upgrade transformers accel...
2023-09-04T10:53:41
vuejs/vue
864ef21a7d679697b5e135d2b81aa71b495b2656
03ea9f0b57467637c67adcd97139ed61dc218d55
fix deeply nested keep-alive components not being destroyed (fix #3882)
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -202,7 +202,10 @@ export function createPatchFunction (backend) {\n if (isDef(i = data.hook) && isDef(i = i.destroy)) i(vnode)\n for (i = 0; i < cbs.destroy.length; ++i) cbs.destroy[i](vnode)\n }\n- if (isDef(i = vnode.child) && !data.keepA...
2016-10-12T03:58:53
golang/go
8b774103d3f833775e7e214bf51a37b3cfa39615
79ccbe1b67b9c481c73bd6b310849bbcf13954a5
src/go.mod: update x/crypto to drop broken poly1305 arm assembly This imports CL 213880. Fixes #35511 Change-Id: I55d18713bdac8fa556ba5a2aced922f80d1ac970 Reviewed-on: https://go-review.googlesource.com/c/go/+/214078 Reviewed-by: Cherry Zhang <cherryyz@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
[ { "path": "src/go.mod", "patch": "@@ -3,7 +3,7 @@ module std\n go 1.14\n \n require (\n-\tgolang.org/x/crypto v0.0.0-20191111213947-16651526fdb4\n+\tgolang.org/x/crypto v0.0.0-20200109152110-61a87790db17\n \tgolang.org/x/net v0.0.0-20191126235420-ef20fe5d7933\n \tgolang.org/x/sys v0.0.0-20190529130038-5219a...
2020-01-09T15:23:25
ggml-org/llama.cpp
c0a97b762e5ec767dc414f0dc4979befd4c09a52
ced44be34290fab450f8344efa047d8a08e723b4
llama-bench : Add `--override-tensors` arg (#12922) * Add --override-tensors option to llama-bench * Correct llama-bench --override-tensors to --override-tensor * llama-bench: Update --override-tensors parsing to match --tensor-split, appear in test matrix. * Make new llama-bench util functions static to fix Ubuntu...
[ { "path": "examples/llama-bench/llama-bench.cpp", "patch": "@@ -36,6 +36,46 @@ static uint64_t get_time_ns() {\n return std::chrono::nanoseconds(clock::now().time_since_epoch()).count();\n }\n \n+static bool tensor_buft_override_equal(const llama_model_tensor_buft_override& a, const llama_model_tensor_b...
2025-04-27T21:48:26
huggingface/transformers
604a6c51ae0b4ce5e8213ea86ed9c71373223a5d
d4407a3bd13b8ec3978b9ba8e4e45cb11f230437
Update README.md (#25941) fixed a typo
[ { "path": "notebooks/README.md", "patch": "@@ -19,7 +19,7 @@ limitations under the License.\n You can find here a list of the official notebooks provided by Hugging Face.\n \n Also, we would like to list here interesting content created by the community.\n-If you wrote some notebook(s) leveraging 🤗 Transfo...
2023-09-04T10:28:21
rust-lang/rust
f895e31d590d5c10e8cdb19e042f631e435c683f
55459598c250d985eb5f840306dfb59f267c03b6
Fix SIMD codegen tests on LLVM 20 The splat contents are printed differently on LLVM 20.
[ { "path": "tests/codegen/simd-intrinsic/simd-intrinsic-generic-gather.rs", "patch": "@@ -23,7 +23,7 @@ extern \"rust-intrinsic\" {\n #[no_mangle]\n pub unsafe fn gather_f32x2(pointers: Vec2<*const f32>, mask: Vec2<i32>,\n values: Vec2<f32>) -> Vec2<f32> {\n- // CHECK: [[A:%[0-9...
2025-01-27T14:10:42
vuejs/vue
03ea9f0b57467637c67adcd97139ed61dc218d55
7570a3c566969bbb5afb5bfa2c2c068aecae379c
fix flow
[ { "path": "flow/compiler.js", "patch": "@@ -52,6 +52,7 @@ declare type ASTElementHandlers = {\n \n declare type ASTDirective = {\n name: string;\n+ rawName: string;\n value: string;\n arg: ?string;\n modifiers: ?{ [key: string]: true };", "additions": 1, "deletions": 0, "language": "Jav...
2016-10-12T00:50:28
ggml-org/llama.cpp
ced44be34290fab450f8344efa047d8a08e723b4
e291450b7602d7a36239e4ceeece37625f838373
llama-chat : fix wrong template in GLM4-0414 (#13140) * fix wrong template in GLM4-0414 * fix spaces * no bos token since it is already in the template * moved the chatgml4 check to higher priority * restored template for old GLM models * moved the GLM4 template check in the correct place with correct check
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -5154,7 +5154,7 @@ def set_vocab(self):\n special_vocab._set_special_token(\"eos\", tokenizer.get_added_vocab()[\"<|endoftext|>\"])\n special_vocab._set_special_token(\"eot\", tokenizer.get_added_vocab()[\"<|user|>\"])\n special_vocab._...
2025-04-27T19:57:32
golang/go
56d6b87972c9852570fe017ac5fa153314c21992
65219650fff0cd8317b3f031784c4471f3fd7073
runtime: change checkptr to use throw instead of panic Updates #34964. Change-Id: I5afb2c1e77a9a47358a1d0d108c4a787d7172b94 Reviewed-on: https://go-review.googlesource.com/c/go/+/214217 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Austin Clements <austin...
[ { "path": "src/runtime/checkptr.go", "patch": "@@ -6,45 +6,22 @@ package runtime\n \n import \"unsafe\"\n \n-type ptrAlignError struct {\n-\tptr unsafe.Pointer\n-\telem *_type\n-\tn uintptr\n-}\n-\n-func (e ptrAlignError) RuntimeError() {}\n-\n-func (e ptrAlignError) Error() string {\n-\treturn \"runtim...
2020-01-09T22:01:41
huggingface/transformers
d4407a3bd13b8ec3978b9ba8e4e45cb11f230437
51e1e8120bc569c3f60f7c73ff6e38a90e6229f7
Update autoclass_tutorial.md (#25929) fixed typos
[ { "path": "docs/source/en/autoclass_tutorial.md", "patch": "@@ -16,7 +16,7 @@ rendered properly in your Markdown viewer.\n \n # Load pretrained instances with an AutoClass\n \n-With so many different Transformer architectures, it can be challenging to create one for your checkpoint. As a part of 🤗 Transfor...
2023-09-04T10:16:49
vuejs/vue
7570a3c566969bbb5afb5bfa2c2c068aecae379c
1fa3844dc26745b4cb855b0934bd1b132ba33d9b
test for directive refactor (fix #3848)
[ { "path": "src/core/vdom/helpers.js", "patch": "@@ -68,16 +68,17 @@ export function getFirstComponentChild (children: ?Array<any>) {\n export function mergeVNodeHook (def: Object, hookKey: string, hook: Function, key: string) {\n key = key + hookKey\n const injectedHash = def.__injected || (def.__inject...
2016-10-12T00:49:10
rust-lang/rust
5f2072c18803f3993641949c0edc576738e07525
ad0aea432356b5687684a370d4c309989de1a549
Fix syntactic highlighting for renames
[ { "path": "src/tools/rust-analyzer/crates/ide/src/syntax_highlighting/highlight.rs", "patch": "@@ -669,6 +669,12 @@ fn highlight_name_by_syntax(name: ast::Name) -> Highlight {\n STATIC => SymbolKind::Static,\n IDENT_PAT => SymbolKind::Local,\n FORMAT_ARGS_ARG => SymbolKind::Local,\n+...
2025-01-27T13:45:37
nodejs/node
5d0a770c129c00e3942263b429f8efa4c42efba9
147048a0d3e255d2a0604f3ab7c8f62252cb8252
deps: ICU 59.1 bump * No feature changes. * Bug fixes. * Details: http://site.icu-project.org/download/59 Fixes: https://github.com/nodejs/node/issues/12077 PR-URL: https://github.com/nodejs/node/pull/12486 Refs: https://github.com/nodejs/node/issues/7844 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Mi...
[ { "path": "LICENSE", "patch": "@@ -100,7 +100,7 @@ The externally maintained libraries used by Node.js are:\n \"\"\"\n COPYRIGHT AND PERMISSION NOTICE (ICU 58 and later)\n \n- Copyright © 1991-2016 Unicode, Inc. All rights reserved.\n+ Copyright © 1991-2017 Unicode, Inc. All rights reserved.\n ...
2017-04-13T23:25:08
ggml-org/llama.cpp
e291450b7602d7a36239e4ceeece37625f838373
59e991c23cc44cb5fb657e7b9358cac21fb79828
musa: fix build warning (#13129) Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
[ { "path": "ggml/src/ggml-cuda/cpy.cu", "patch": "@@ -639,6 +639,8 @@ void ggml_cuda_cpy(ggml_backend_cuda_context & ctx, const ggml_tensor * src0, gg\n if(ctx.cuda_graph->use_cpy_indirection && !disable_indirection_for_this_node) {\n ctx.cuda_graph->graph_cpynode_index = graph_cpynode_index;\n ...
2025-04-27T11:22:49
golang/go
199bc0003d3a2444da604f0d073efc550632bae6
10bfe5b9617c77c4e5e7cfb2a369b649110cc3c6
doc/go1.14: -d=checkptr is not yet recommended on Windows Hopefully we'll have the remaining safety violations in the standard library ironed out by 1.15. We also fix a minor (but important) typo while we're here. Updates #34964, #34972. Change-Id: Ic72fd4d9411b749f8c0cea87e95ab68347009893 Reviewed-on: https://go-r...
[ { "path": "doc/go1.14.html", "patch": "@@ -301,9 +301,9 @@ <h2 id=\"compiler\">Compiler</h2>\n This release adds <code>-d=checkptr</code> as a compile-time option\n for adding instrumentation to check that Go code is following\n <code>unsafe.Pointer</code> safety rules dynamically.\n- This option is ...
2020-01-09T17:44:52
huggingface/transformers
51e1e8120bc569c3f60f7c73ff6e38a90e6229f7
0f0e1a2c2bff68541a5b9770d78e0fb6feb7de72
Update community.md (#25928) fixed a few typos
[ { "path": "docs/source/en/community.md", "patch": "@@ -1,4 +1,4 @@\n-<!--⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be\n+<!--⚠️ Note that this file is in Markdown but contains specific syntax for our doc-builder (similar to MDX) that m...
2023-09-04T10:16:34
vuejs/vue
5300ef7819e12d8b114d808ea2ac85e36a6fff5c
d0cfd549ba24edc7dced17ef7b8f410c4ea197f0
fix style module removing styles with value 0 on update (fix #3905)
[ { "path": "src/platforms/web/runtime/modules/style.js", "patch": "@@ -49,7 +49,7 @@ function updateStyle (oldVnode: VNodeWithData, vnode: VNodeWithData) {\n }\n \n for (name in oldStyle) {\n- if (!style[name]) {\n+ if (style[name] == null) {\n el.style[normalize(name)] = ''\n }\n }", ...
2016-10-11T17:05:34
ggml-org/llama.cpp
59e991c23cc44cb5fb657e7b9358cac21fb79828
ca2bb89eac2097ab4620448737e58af8452e444b
Fixes Qwen2.5VL segfault during inference with https://github.com/ggml-org/llama.cpp/pull/12402 as has_qwen2vl_merger migration was incomplete (#13133)
[ { "path": "examples/llava/clip.cpp", "patch": "@@ -1718,7 +1718,8 @@ struct clip_model_loader {\n \n if (ctx_clip.proj_type == PROJECTOR_TYPE_MINICPMV\n || ctx_clip.proj_type == PROJECTOR_TYPE_GLM_EDGE\n- || ctx_clip.proj_type == PROJECTOR_TYPE_...
2025-04-27T10:43:37
nodejs/node
147048a0d3e255d2a0604f3ab7c8f62252cb8252
94eed0fb11d733c8d18b174ae9ba71ead3da4ca8
doc: fix broken links in n-api doc - fix 2 broken links - fix capitalization in description of napi_create_array-with-length PR-URL: https://github.com/nodejs/node/pull/12889 Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <c...
[ { "path": "doc/api/n-api.md", "patch": "@@ -952,7 +952,7 @@ The Array's length property is set to the passed-in length parameter.\n However, the underlying buffer is not guaranteed to be pre-allocated by the VM\n when the array is created - that behavior is left to the underlying VM\n implementation.\n-if t...
2017-05-07T23:46:11
vuejs/vue
d0cfd549ba24edc7dced17ef7b8f410c4ea197f0
8bb1e58df06f6ac41f8dfd00c91ec75f88091530
Revert "fix select multiple first option auto-selected in Chrome/FF (fix #3852)" This reverts commit f9bef75a3425213d2f1ff3bc7fb27322617bc233.
[ { "path": "src/platforms/web/runtime/modules/attrs.js", "patch": "@@ -68,15 +68,6 @@ function setAttr (el: Element, key: string, value: any) {\n }\n \n export default {\n- create: function initAttrs (_: VNodeWithData, vnode: VNodeWithData) {\n- updateAttrs(_, vnode)\n- // #3852: if the \"multiple\" a...
2016-10-11T16:53:51
golang/go
db48d458388e62aa1ae8947a5f5bbd60b467bcf6
49e94f19f0e0575fc14f6f83e5586762b263b864
[dev.link] cmd/link: handle multiple levels of overwrite Revamp the way that symbol overwrites are handled to deal with symbols that are overwritten more than once (such as "_cgo_mmap"). The scenario here is that a symbol can be overwritten twice, once during preload, and then again when host objects are read during i...
[ { "path": "src/cmd/link/internal/loader/loader.go", "patch": "@@ -428,12 +428,72 @@ func (l *Loader) growSyms(i int) {\n \tl.growAttrBitmaps(int(i) + 1)\n }\n \n+// getOverwrite returns the overwrite symbol for 'symIdx', while\n+// collapsing any chains of overwrites along the way. This is\n+// apparently n...
2019-12-18T20:14:46
ggml-org/llama.cpp
ca2bb89eac2097ab4620448737e58af8452e444b
2d451c80590b9ac250322769ac13d3b4870dbcf7
clip : Add Qwen2.5VL support (#12402) * implment vision model architecture, gguf convertor * handle window attention inputs * add debug utils * fix few incorrect tensor memory layout * move position id remap out of ggml to avoid int32 cuda operations * cleaning up * ignore transformers Qwen2_5_xxx type check * ...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -2554,11 +2554,12 @@ def set_vocab(self):\n except FileNotFoundError:\n self._set_vocab_gpt2()\n \n- def get_tensors(self) -> Iterator[tuple[str, Tensor]]:\n- for name, data in super().get_tensors():\n- if name.startswi...
2025-04-27T08:10:34
nodejs/node
94eed0fb11d733c8d18b174ae9ba71ead3da4ca8
824fb49a706dc8e12911d5d142aa8fc779fe59d2
test: use dynamic port instead of common.PORT Remove common.PORT from, test-net-connect-immediate-destroy, test-net-options-lookup, test-net-connect-local-error, test-net-connect-handle-econnrefused, test-net-socket-destroy-twice, test-net-better-error-messages-port-hostname, test-net-localerror, to reduce possibility...
[ { "path": "test/parallel/test-net-better-error-messages-port-hostname.js", "patch": "@@ -3,12 +3,13 @@ const common = require('../common');\n const net = require('net');\n const assert = require('assert');\n \n-const c = net.createConnection(common.PORT, '***');\n+// Using port 0 as hostname used is already...
2017-04-17T11:50:17
vuejs/vue
8bb1e58df06f6ac41f8dfd00c91ec75f88091530
71ef9d68f2e8f1cddff70ea42b178adf31454e29
fix multiple select render (#3908) * fix multiple select render. The mutliple attribute of select dosen't apply at first, so the mutli selected option dosen't work when patching * keep the vnode.data the same as before
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -115,7 +115,7 @@ export function createPatchFunction (backend) {\n }\n vnode.elm = vnode.ns\n ? nodeOps.createElementNS(vnode.ns, tag)\n- : nodeOps.createElement(tag)\n+ : nodeOps.createElement(tag, vnode)\n setScope(vn...
2016-10-11T16:53:30
golang/go
49e94f19f0e0575fc14f6f83e5586762b263b864
d5854bf8e63a5b4f8ffea6cd1a82ffcc7bb0b87b
[dev.link] cmd/link: propagate gotype symbol info in cloneToExternal This patch fixes a problem with the loader's cloneToExternal method, specifically that the new external clone created did not get the proper Gotype value from its orginal symbol. Change-Id: I9978140d285104d407bf55649fb6ed94959933f2 Reviewed-on: http...
[ { "path": "src/cmd/link/internal/loader/loader.go", "patch": "@@ -225,6 +225,7 @@ type extSymPayload struct {\n \tsize int64\n \tver int\n \tkind sym.SymKind\n+\tgotype Sym // Gotype (0 if not present)\n \trelocs []Reloc\n \tdata []byte\n }\n@@ -1524,6 +1525,9 @@ func (l *Loader) LoadFull(arch *sys...
2020-01-07T01:37:50
rust-lang/rust
86d5e295d6fb7ad2c738198a5de08d03bfe7470a
ad0aea432356b5687684a370d4c309989de1a549
Fix a missing standard token in semantic highlighting That was used as a fallback, causing a panic when the fallback was chosen. I also made sure this won't happen again by guaranteeing in the macro generating the tokens that they all exist.
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/lsp/semantic_tokens.rs", "patch": "@@ -24,15 +24,15 @@ macro_rules! define_semantic_token_types {\n }\n \n pub(crate) const SUPPORTED_TYPES: &[SemanticTokenType] = &[\n- $(SemanticTokenType::$standard,)*\n+ $(s...
2025-01-27T13:08:00
ggml-org/llama.cpp
295354ea6848a77bdee204ee1c971d9b92ffcca9
558a764713468f26f5a163d25a22100c9a04a48f
llama : fix K-shift with quantized K and BLAS backend (#13113)
[ { "path": "src/llama-context.cpp", "patch": "@@ -469,8 +469,7 @@ ggml_tensor * llama_context::build_rope_shift(\n ggml_tensor * shift,\n ggml_tensor * factors,\n float freq_base,\n- float freq_scale,\n- ggml_backend_buffer * bbuf) const {\n+ ...
2025-04-25T17:40:11
vuejs/vue
cc4c0669890206f14fd6aff5f7d59327d1e3f2e5
484e538df8e959bc6026c8b83ab63815ad23ef43
fix coverage
[ { "path": "src/core/util/props.js", "patch": "@@ -162,15 +162,14 @@ function getType (fn) {\n }\n \n function isBooleanType (fn) {\n- const isBoolean = (fnItem) => getType(fnItem) === 'Boolean'\n-\n if (!Array.isArray(fn)) {\n- return isBoolean(fn)\n+ return getType(fn) === 'Boolean'\n }\n for ...
2016-10-11T03:25:24
nodejs/node
2e3fef7628ed10aeb2c2eddec8bec68661d2836e
2bbabb1f8552b684cb9ae294807c6acc0e3170dc
n-api: Handle fatal exception in async callback - Create a handle scope before invoking the async completion callback, because it is basically always needed, easy for user code to forget, and this makes it more consistent with ordinary N-API function callbacks. - Check for an unhandled JS exception after i...
[ { "path": "doc/api/n-api.md", "patch": "@@ -2855,13 +2855,6 @@ will be invoked with a status value of `napi_cancelled`.\n The work should not be deleted before the `complete`\n callback invocation, even when it was cancelled.\n \n-**Note:** As mentioned in the section on memory management, if\n-the code to ...
2017-05-04T22:24:44
huggingface/transformers
0f0e1a2c2bff68541a5b9770d78e0fb6feb7de72
b1d475f6d249d37cb3d1bf417eaf2b1f8cff2b34
Fix typos (#25936) * fix typo * fix typo * fix typo * fix typos * fix typos * fix typo * fix typo * fix typo * fix typos * fix typo * fix typo * fix typo * fix typos * fix typos
[ { "path": "docs/source/en/accelerate.md", "patch": "@@ -133,4 +133,4 @@ accelerate launch train.py\n >>> notebook_launcher(training_function)\n ```\n \n-For more information about 🤗 Accelerate and it's rich features, refer to the [documentation](https://huggingface.co/docs/accelerate).\n\\ No newline at en...
2023-09-04T10:15:12
golang/go
10bfe5b9617c77c4e5e7cfb2a369b649110cc3c6
8ac98e7b3fcadc497c4ca7d8637ba9578e8159be
CONTRIBUTORS: first round of updates for Go 1.14 This update was automatically generated using the updatecontrib command: cd gotip go run golang.org/x/build/cmd/updatecontrib With minor manual changes based on publicly available information to canonicalize letter case and formatting for a few names. Actions taken...
[ { "path": "CONTRIBUTORS", "patch": "@@ -25,6 +25,7 @@\n # Please keep the list sorted.\n \n Aamir Khan <syst3m.w0rm@gmail.com>\n+Aaron Beitch <aaronb@arista.com>\n Aaron Cannon <cannona@fireantproductions.com>\n Aaron France <aaron.l.france@gmail.com>\n Aaron Jacobs <jacobsa@google.com>\n@@ -44,10 +45,12 @@...
2020-01-08T18:50:30
ggml-org/llama.cpp
edb18b6e8f5ea6509ad43057f8bb98fc557dbc4e
514c45608f93f66106a712dee1abe062099ce790
clip : fix pixtral on some GPU backends (#13097) * clip : fix pixtral on some GPU backends * refactor inp_raw set * rm outdated comment * fix dynamic size * add TODO
[ { "path": "examples/llava/clip.cpp", "patch": "@@ -554,15 +554,15 @@ static ggml_cgraph * clip_image_build_graph_siglip(clip_ctx * ctx, const clip_im\n }\n \n // implementation of the 2D RoPE without adding a new op in ggml\n+// this is not efficient (use double the memory), but works on all backends\n+// T...
2025-04-25T12:31:42
vuejs/vue
484e538df8e959bc6026c8b83ab63815ad23ef43
5b4b9269a52548034ff72c0fbd1cb20d897647f8
fix lint
[ { "path": "src/platforms/web/runtime/directives/model.js", "patch": "@@ -4,7 +4,7 @@\n */\n \n import { looseEqual, looseIndexOf } from 'shared/util'\n-import { warn, nextTick, isAndroid, isIE9, isIE, isEdge } from 'core/util/index'\n+import { warn, isAndroid, isIE9, isIE, isEdge } from 'core/util/index'\n...
2016-10-11T03:17:35
rust-lang/rust
9a0504b716eea94f9c5f24cedac7617dd1c60a3a
ad0aea432356b5687684a370d4c309989de1a549
Fix #[rustc_deprecated_safe_2024] It should be considered by the edition of the caller, not the callee. Technically we still don't do it correctly - we need the span of the method name (if it comes from a macro), but we don't keep it and this is good enough for now.
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/data.rs", "patch": "@@ -95,10 +95,10 @@ impl FunctionData {\n .map(Box::new);\n let rustc_allow_incoherent_impl = attrs.by_key(&sym::rustc_allow_incoherent_impl).exists();\n if flags.contains(FnFlags::HAS_UNSAFE_KW)\n- ...
2025-01-27T12:34:33
nodejs/node
2bbabb1f8552b684cb9ae294807c6acc0e3170dc
4cb5f3daa350421e4eb4622dc818633d3a0659b3
n-api: napi_get_cb_info should fill array When the number of args requested is greater than the actual number of args supplied to the function call, the remainder of the args array should be filled in with `undefined` values. Because of this bug, the remainder of the array was left uninitialized, which could cause a c...
[ { "path": "src/node_api.cc", "patch": "@@ -1524,7 +1524,7 @@ napi_status napi_get_cb_info(\n \n if (argv != nullptr) {\n CHECK_ARG(env, argc);\n- info->Args(argv, std::min(*argc, info->ArgsLength()));\n+ info->Args(argv, *argc);\n }\n if (argc != nullptr) {\n *argc = info->ArgsLength();"...
2017-05-05T18:38:21
huggingface/transformers
b1d475f6d249d37cb3d1bf417eaf2b1f8cff2b34
ab8cba824e3887d90cb9f4d5866fde9243f2c9fe
Skip offload tests for `ViTDet` (#25913) * update * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/vitdet/test_modeling_vitdet.py", "patch": "@@ -175,6 +175,21 @@ def setUp(self):\n self.model_tester = VitDetModelTester(self)\n self.config_tester = ConfigTester(self, config_class=VitDetConfig, has_text_modality=False, hidden_size=37)\n \n+ # TODO: Fix me (once t...
2023-09-04T09:35:39
ggml-org/llama.cpp
226251ed56b85190e18a1cca963c45b888f4953c
87616f0680947800ecba3e9f6bc6e101943bf8e6
embeddings : fix batch sizes (#13076) ggml-ci
[ { "path": "examples/embedding/embedding.cpp", "patch": "@@ -89,6 +89,13 @@ int main(int argc, char ** argv) {\n common_init();\n \n params.embedding = true;\n+\n+ // utilize the full context\n+ if (params.n_batch < params.n_ctx) {\n+ LOG_WRN(\"%s: setting batch size to %d\\n\", __func__...
2025-04-24T19:29:22
golang/go
8ac98e7b3fcadc497c4ca7d8637ba9578e8159be
509592d188f6a30bb65b27a24f4c6f68716ea063
runtime: add scavtrace debug flag and remove scavenge info from gctrace Currently, scavenging information is printed if the gctrace debug variable is >0. Scavenging information is also printed naively, for every page scavenged, resulting in a lot of noise when the typical expectation for GC trace is one line per GC. ...
[ { "path": "src/runtime/extern.go", "patch": "@@ -78,21 +78,6 @@ It is a comma-separated list of name=val pairs setting these named variables:\n \tIf the line ends with \"(forced)\", this GC was forced by a\n \truntime.GC() call.\n \n-\tSetting gctrace to any value > 0 also causes the garbage collector\n-\tt...
2019-12-27T16:48:23
vuejs/vue
5b4b9269a52548034ff72c0fbd1cb20d897647f8
be6e050b89c8bcb904a30a0a5f435430d118b985
avoid updating input value during IME composition (fix #3894)
[ { "path": "src/platforms/web/runtime/modules/dom-props.js", "patch": "@@ -34,7 +34,7 @@ function updateDOMProps (oldVnode: VNodeWithData, vnode: VNodeWithData) {\n elm._value = cur\n // avoid resetting cursor position when value is the same\n const strCur = cur == null ? '' : String(cur)\n...
2016-10-11T03:15:34
rust-lang/rust
90c76ad3cb1663592d875d0e2468a84961187800
f0b932e723f05035ced4f04ff069437d4015b3d1
Ignore specific `atan2` and `sin` tests on i586 There seems to be a case of unsoundness with the `i586` version of `atan2`. For the following test: assert_eq!(atan2(2.0, -1.0), atan(2.0 / -1.0) + PI);atan2(2.0, -1.0) The output is optimization-dependent. The new `release-checked` profile produces the following f...
[ { "path": "library/compiler-builtins/libm/src/math/atan2.rs", "patch": "@@ -114,12 +114,18 @@ pub fn atan2(y: f64, x: f64) -> f64 {\n }\n }\n \n-#[test]\n-fn sanity_check() {\n- assert_eq!(atan2(0.0, 1.0), 0.0);\n- assert_eq!(atan2(0.0, -1.0), PI);\n- assert_eq!(atan2(-0.0, -1.0), -PI);\n- a...
2025-01-27T11:37:01
huggingface/transformers
ab8cba824e3887d90cb9f4d5866fde9243f2c9fe
0afa5071bd84e44301750fdc594e33db102cf374
CI: hotfix (skip VitsModelTest::test_initialization)
[ { "path": "tests/models/vits/test_modeling_vits.py", "patch": "@@ -168,6 +168,8 @@ def test_model_forward(self):\n def test_determinism(self):\n pass\n \n+ # TODO: Fix me (ydshieh)\n+ @unittest.skip(\"currently failing\")\n def test_initialization(self):\n config, inputs_dict =...
2023-09-04T07:06:11
nodejs/node
4cb5f3daa350421e4eb4622dc818633d3a0659b3
e429f9a42af94f039621a1bf9f21ad424aa00558
fs: throw on invalid callbacks for async functions If an asynchronous function is passed no callback function, there is no way to return the result. This patch throws an error if the callback passed is not valid or none passed at all. PR-URL: https://github.com/nodejs/node/pull/12562 Reviewed-By: James M Snell <jasn...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -150,9 +150,10 @@ explicitly via error event handlers set on the domain instead.\n <a id=\"DEP0013\"></a>\n ### DEP0013: fs async function without callback\n \n-Type: Runtime\n+Type: End-of-Life\n \n-Calling an asynchronous function without a callback is dep...
2017-04-21T04:46:15
ggml-org/llama.cpp
87616f0680947800ecba3e9f6bc6e101943bf8e6
63b4911494afe04778c61b9c19019341d71c99fc
ggml : fix trailing whitespaces (#0)
[ { "path": "ggml/src/ggml.c", "patch": "@@ -4069,7 +4069,7 @@ struct ggml_tensor * ggml_conv_2d_dw_direct(\n int stride1,\n int pad0,\n int pad1,\n- int dilation0, \n+ int dilation...
2025-04-24T14:22:27
vuejs/vue
be6e050b89c8bcb904a30a0a5f435430d118b985
86f0d114ec6f3aa670ec5cba82b75d5dfc05c119
fix `mounted` not called for manually mounted instance with parent (fix #3898)
[ { "path": "src/core/instance/lifecycle.js", "patch": "@@ -64,9 +64,9 @@ export function lifecycleMixin (Vue: Class<Component>) {\n vm._update(vm._render(), hydrating)\n }, noop)\n hydrating = false\n- // root instance, call mounted on self\n- // mounted is called for child components in ...
2016-10-11T03:03:21
golang/go
957259b7e2c40cf9955469ce93b35bdc0289e942
6dbcc8b8651909442ff823231daba096f447a163
runtime: protect against external code calling ExitProcess On Windows, we implement asynchronous preemption using SuspendThread to suspend other threads in our process. However, SuspendThread is itself actually asynchronous (it enqueues a kernel "asynchronous procedure call" and returns). Unfortunately, Windows' ExitP...
[ { "path": "src/runtime/cgocall.go", "patch": "@@ -90,6 +90,11 @@ import (\n type cgoCallers [32]uintptr\n \n // Call from Go to C.\n+//\n+// This must be nosplit because it's used for syscalls on some\n+// platforms. Syscalls may have untyped arguments on the stack, so\n+// it's not safe to grow or scan the...
2020-01-08T14:58:42
rust-lang/rust
0c10339f899fb003dfbc85fe664cf3e907e0e4c0
8231e8599e238ff4e717639bd68c6abb8579fe8d
Overhaul examples for PermissionsExt This fixes #91707 by including one overarching example, instead of the small examples that can be misleading.
[ { "path": "library/std/src/os/unix/fs.rs", "patch": "@@ -276,63 +276,89 @@ impl FileExt for fs::File {\n }\n \n /// Unix-specific extensions to [`fs::Permissions`].\n+///\n+/// # Examples\n+///\n+/// ```no_run\n+/// use std::fs::{File, Permissions};\n+/// use std::io::{ErrorKind, Result as IoResult};\n+/// ...
2025-01-24T15:26:33
huggingface/transformers
0afa5071bd84e44301750fdc594e33db102cf374
a4dd53d88e4852f023332d284ff07a01afcd5681
Update model_memory_anatomy.md (#25896) typo fixes
[ { "path": "docs/source/en/model_memory_anatomy.md", "patch": "@@ -76,7 +76,7 @@ GPU memory occupied: 0 MB.\n \n That looks good: the GPU memory is not occupied as we would expect before we load any models. If that's not the case on \n your machine make sure to stop all processes that are using GPU memory. H...
2023-09-01T19:27:01
vuejs/vue
86f0d114ec6f3aa670ec5cba82b75d5dfc05c119
3446d1485d36b91ef42c53268cb69ecb047538a5
fix dependency collection for multi-nested arrays (fix #3883)
[ { "path": "src/core/observer/index.js", "patch": "@@ -155,10 +155,7 @@ export function defineReactive (\n childOb.dep.depend()\n }\n if (Array.isArray(value)) {\n- for (let e, i = 0, l = value.length; i < l; i++) {\n- e = value[i]\n- e && e.__ob__ && ...
2016-10-11T02:55:15
nodejs/node
e429f9a42af94f039621a1bf9f21ad424aa00558
faf6654ff75e0f275afddfd980387235c3ddf103
doc: fix typo in streams.md Slight grammar change to the readable event:`error` PR-URL: https://github.com/nodejs/node/pull/12924 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
[ { "path": "doc/api/stream.md", "patch": "@@ -684,7 +684,7 @@ added: v0.9.4\n * {Error}\n \n The `'error'` event may be emitted by a Readable implementation at any time.\n-Typically, this may occur if the underlying stream in unable to generate data\n+Typically, this may occur if the underlying stream is una...
2017-05-09T16:48:45
ggml-org/llama.cpp
c6e8cc28c15166dba15629dba6a7366d4d5955ca
b10d8bfdb1dac40cce34e8860ca5ec7d950c3a44
ggml : Depthwise 2D convolution (ggml/1152) * ggml-cpu : kernels for faster depthwise 2D convolution * fix compile: remove static after moving to ops.cpp * add dilation for depthwise_conv_2d * review: rename to ggml_conv_2d_dw_direct, remove redundant struct keywords, pass by ref, whitespace * review: rename depth...
[ { "path": "ggml/include/ggml.h", "patch": "@@ -481,6 +481,7 @@ extern \"C\" {\n GGML_OP_CONV_TRANSPOSE_1D,\n GGML_OP_IM2COL,\n GGML_OP_IM2COL_BACK,\n+ GGML_OP_CONV_2D_DW,\n GGML_OP_CONV_TRANSPOSE_2D,\n GGML_OP_POOL_1D,\n GGML_OP_POOL_2D,\n@@ -677,6 +678...
2025-04-17T12:16:45
rust-lang/rust
e4e7c95048e9625fb33f5264e4ccff149c95d466
ec89b7d2930ac9ddb97a7545b79bb2c6ee444c66
Fix a mistake in condition
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/diagnostics/expr.rs", "patch": "@@ -550,7 +550,7 @@ pub fn record_literal_missing_fields(\n ) -> Option<(VariantId, Vec<LocalFieldId>, /*has spread expr*/ bool)> {\n let (fields, has_spread_expr, has_ellipsis) = match expr {\n Expr::RecordLit ...
2025-01-26T15:58:26