repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
golang/go
6dbcc8b8651909442ff823231daba096f447a163
17e97322fb0605206d8503a321bd24eca17afd34
cmd/go: make "finding" logging deterministic In CL 204777, I made the "finding" messages in cachingRepo only print after a “longish” delay, on the theory that they would help diagnose slow or stuck fetches. However, as I've been testing Go 1.14 beta 1, I've found that these messages are mostly just noise, and the fac...
[ { "path": "src/cmd/go/internal/modfetch/cache.go", "patch": "@@ -13,7 +13,6 @@ import (\n \t\"os\"\n \t\"path/filepath\"\n \t\"strings\"\n-\t\"time\"\n \n \t\"cmd/go/internal/base\"\n \t\"cmd/go/internal/cfg\"\n@@ -28,8 +27,6 @@ import (\n \n var PkgMod string // $GOPATH/pkg/mod; set by package modload\n \n...
2020-01-07T20:33:08
huggingface/transformers
a4dd53d88e4852f023332d284ff07a01afcd5681
3587769c08ffaf42c99f6882d4ad76d3a3669e5e
Update-llama-code (#25826) * some bug fixes * updates * Update code_llama.md Co-authored-by: Omar Sanseviero <osanseviero@users.noreply.github.com> * Add co author Co-authored-by: pcuenca <pedro@latenitesoft.com> * add a test * fixup * nits * some updates * fix-coies * adress comments ...
[ { "path": "docs/source/en/model_doc/code_llama.md", "patch": "@@ -49,6 +49,8 @@ Here is a sample usage\n python src/transformers/models/llama/convert_llama_weights_to_hf.py \\\n --input_dir /path/to/downloaded/llama/weights --model_size 7B --output_dir /output/path\n ```\n+Note that executing the script...
2023-09-01T18:40:40
vuejs/vue
3446d1485d36b91ef42c53268cb69ecb047538a5
5925ad3bd2781a05484dde5bf7a22604ad66ebf5
support functional components as named slot (fix #3872)
[ { "path": "src/core/instance/render.js", "patch": "@@ -232,7 +232,7 @@ export function resolveSlots (\n child = children[i]\n // named slots should only be respected if the vnode was rendered in the\n // same context.\n- if (child.context === context &&\n+ if ((child.context === context ||...
2016-10-11T02:41:14
ggml-org/llama.cpp
7604a7d6b80e78eef8f275fc700d0f64820d672f
b3b6d862cfdf190e1b9ad961639a25f5ebc0c7e3
metal : fix floating-point range of attention scores in FA kernels (#13090) ggml-ci
[ { "path": "ggml/src/ggml-metal/ggml-metal.metal", "patch": "@@ -3192,7 +3192,7 @@ kernel void kernel_flash_attn_ext(\n \n {\n float S[Q] = { [0 ... Q-1] = 0.0f };\n- float M[Q] = { [0 ... Q-1] = -__FLT16_MAX__/2 };\n+ float M[Q] = { [0 ... Q-1] = -__FLT_MAX__/2 };\n \n // t...
2025-04-24T07:38:30
nodejs/node
99da8e8e02a874a0a044889f863c45700509d02c
059f2960503eec1418c32226646f5a2af6ae85f0
util: add util.promisify() Add `util.promisify(function)` for creating promisified functions. Includes documentation and tests. Fixes: https://github.com/nodejs/CTC/issues/12 PR-URL: https://github.com/nodejs/node/pull/12442 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Matteo Collina <matteo.co...
[ { "path": "doc/api/util.md", "patch": "@@ -399,6 +399,86 @@ util.inspect.defaultOptions.maxArrayLength = null;\n console.log(arr); // logs the full array\n ```\n \n+## util.promisify(original)\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+* `original` {Function}\n+\n+Takes a function following the common Node.j...
2017-04-14T16:28:16
rust-lang/rust
f630f7f410e38e55ed095a3ccc0131ddccbf6a3f
b5741a36a897dd93936d31ea0c1688f1399a2e06
Clarify WindowsMut (Lending)Iterator fixes 133628
[ { "path": "library/core/src/slice/mod.rs", "patch": "@@ -1099,10 +1099,15 @@ impl<T> [T] {\n /// assert!(iter.next().is_none());\n /// ```\n ///\n- /// There's no `windows_mut`, as that existing would let safe code violate the\n- /// \"only one `&mut` at a time to the same thing\" rule. H...
2025-01-20T14:37:52
golang/go
17e97322fb0605206d8503a321bd24eca17afd34
817afe83578d869b36e8697344bb2d557c86b264
runtime: overwrite asyncPreempt PC when injecting sigpanic on Windows On Windows, it might be possible that SuspendThread suspends a thread right between when an exception happens and when the exception handler runs. (This is my guess. I don't know the implementation detail of Windows exceptions to be sure.) In this c...
[ { "path": "src/runtime/signal_windows.go", "patch": "@@ -129,7 +129,14 @@ func exceptionhandler(info *exceptionrecord, r *context, gp *g) int32 {\n \t// make the trace look like a call to runtime·sigpanic instead.\n \t// (Otherwise the trace will end at runtime·sigpanic and we\n \t// won't get to see who fa...
2020-01-08T23:23:51
vuejs/vue
5925ad3bd2781a05484dde5bf7a22604ad66ebf5
f9bef75a3425213d2f1ff3bc7fb27322617bc233
tweak select IE fix to reduce duplicate call
[ { "path": "src/platforms/web/runtime/directives/model.js", "patch": "@@ -20,7 +20,7 @@ if (isIE9) {\n }\n \n export default {\n- bind (el, binding, vnode) {\n+ inserted (el, binding, vnode) {\n if (process.env.NODE_ENV !== 'production') {\n if (!modelableTagRE.test(vnode.tag)) {\n warn(\...
2016-10-11T01:23:49
huggingface/transformers
16d6e3087cd35cb08ee24137900340d6924103dd
53e2fd785b2792e20f13189d30d1d4ef7d9cf673
Better error message for pipeline loading (#25912) * update * update * update * update --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/pipelines/base.py", "patch": "@@ -19,6 +19,7 @@\n import os\n import pickle\n import sys\n+import traceback\n import types\n import warnings\n from abc import ABC, abstractmethod\n@@ -248,6 +249,7 @@ def infer_framework_load_model(\n if len(class_tuple) == 0:\n ...
2023-09-01T14:09:12
nodejs/node
f72376d3230be7c968e392d59680bd01f8c20360
cf980b0311ec37154c3ad70bffe69b2b929c7660
test: add skipIfInspectorDisabled to debugger-pid Currently this test will fail if node was configured --without-ssl. PR-URL: https://github.com/nodejs/node/pull/12882 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: ...
[ { "path": "test/parallel/test-debugger-pid.js", "patch": "@@ -1,5 +1,6 @@\n 'use strict';\n const common = require('../common');\n+common.skipIfInspectorDisabled();\n const assert = require('assert');\n const spawn = require('child_process').spawn;\n ", "additions": 1, "deletions": 0, "language"...
2017-05-07T12:10:32
ggml-org/llama.cpp
ecda2ec4b347031a9b8a89ee2efc664ce63f599c
eb1776b15a32d832f1266deeeab75b9d255c5849
mtmd : Support Pixtral 12B (#13065) * add pixtral text model (vision is wip) * cgraph ok, just missing 2D RoPE * fix bad rebase * first working version * fix problem with img_break token * support dynamic image size * update docs * update test script
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -776,6 +776,9 @@ def get_vocab_base_pre(self, tokenizer) -> str:\n if chkhsh == \"a1336059768a55c99a734006ffb02203cd450fed003e9a71886c88acf24fdbc2\":\n # ref: https://huggingface.co/THUDM/glm-4-9b-hf\n res = \"glm4\"\n+ i...
2025-04-23T18:21:59
golang/go
77c13021dd401945711ff40f16a5040a075fcef9
4b1b18d1060b82d4df273e23d81033dfacf4d5bb
net/http: document that ParseForm consumes Request.Body Fixes #35620 Change-Id: I71bc56ec7a7507d14b4f013177b4b816bb1a2094 Reviewed-on: https://go-review.googlesource.com/c/go/+/212458 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
[ { "path": "src/net/http/request.go", "patch": "@@ -1223,17 +1223,17 @@ func parsePostForm(r *Request) (vs url.Values, err error) {\n // For all requests, ParseForm parses the raw query from the URL and updates\n // r.Form.\n //\n-// For POST, PUT, and PATCH requests, it also parses the request body as a for...
2019-12-24T00:08:11
vuejs/vue
f9bef75a3425213d2f1ff3bc7fb27322617bc233
74e4e11b4478439e581818c483d27038cbbd62fb
fix select multiple first option auto-selected in Chrome/FF (fix #3852)
[ { "path": "src/platforms/web/runtime/modules/attrs.js", "patch": "@@ -68,6 +68,15 @@ function setAttr (el: Element, key: string, value: any) {\n }\n \n export default {\n- create: updateAttrs,\n+ create: function initAttrs (_: VNodeWithData, vnode: VNodeWithData) {\n+ updateAttrs(_, vnode)\n+ // #38...
2016-10-11T01:23:25
huggingface/transformers
024acd271b60568bba214901a9e71d67c44353dc
4ece3b9433ea0bedff0d64fe00623c35766d7d44
fix FSDP model resume optimizer & scheduler (#25852) * fix FSDP resume optimizer & scheduler * improve trainer code quality --------- Co-authored-by: machi04 <machi04@meituan.com>
[ { "path": "src/transformers/trainer.py", "patch": "@@ -223,6 +223,7 @@\n TRAINING_ARGS_NAME = \"training_args.bin\"\n TRAINER_STATE_NAME = \"trainer_state.json\"\n OPTIMIZER_NAME = \"optimizer.pt\"\n+OPTIMIZER_NAME_BIN = \"optimizer.bin\"\n SCHEDULER_NAME = \"scheduler.pt\"\n SCALER_NAME = \"scaler.pt\"\n \...
2023-09-01T09:50:42
ggml-org/llama.cpp
658987cfc9d752dca7758987390d5fb1a7a0a54a
dc39a5e7a84815a90fa0c515ed8927870cf858c9
CUDA: noncont MMVQ + batched bs1 MUL_MAT_ID (#13014) * CUDA: noncont MMVQ + batched bs1 MUL_MAT_ID * fix logic for RoPE support, CUDA graphs
[ { "path": "ggml/src/ggml-cuda/ggml-cuda.cu", "patch": "@@ -1410,6 +1410,11 @@ static void ggml_cuda_op_mul_mat(\n const int64_t ne0 = dst->ne[0];\n const int64_t ne1 = dst->ne[1];\n \n+ // const int64_t nb10 = src1->nb[0];\n+ const int64_t nb11 = src1->nb[1];\n+ const int64_t nb12 = src1->n...
2025-04-22T19:27:40
nodejs/node
cf980b0311ec37154c3ad70bffe69b2b929c7660
771568a5a5bdd2bf8a9f9fe3c9cc80c81387b43a
net: check and throw on error for getsockname This commit attempts fix a TODO in net.js: TODO(bnoordhuis) Check err and throw? PR-URL: https://github.com/nodejs/node/pull/12871 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Refael Ackermann <refa...
[ { "path": "lib/net.js", "patch": "@@ -1473,8 +1473,10 @@ Object.defineProperty(Server.prototype, 'listening', {\n Server.prototype.address = function() {\n if (this._handle && this._handle.getsockname) {\n var out = {};\n- this._handle.getsockname(out);\n- // TODO(bnoordhuis) Check err and throw...
2017-05-06T10:33:28
vuejs/vue
74e4e11b4478439e581818c483d27038cbbd62fb
8d2fc8e8ac435c6f37aa91d4e58c78797f99bdd9
fix v-on handler with whitespaces (fix #3893)
[ { "path": "src/compiler/codegen/events.js", "patch": "@@ -1,6 +1,6 @@\n /* @flow */\n \n-const simplePathRE = /^[A-Za-z_$][\\w$]*(?:\\.[A-Za-z_$][\\w$]*|\\['.*?'\\]|\\[\".*?\"\\]|\\[\\d+\\]|\\[[A-Za-z_$][\\w$]*\\])*$/\n+const simplePathRE = /^\\s*[A-Za-z_$][\\w$]*(?:\\.[A-Za-z_$][\\w$]*|\\['.*?'\\]|\\[\".*?...
2016-10-10T23:30:19
golang/go
4b1b18d1060b82d4df273e23d81033dfacf4d5bb
daacf269802eaa856705063159b55b5e752e7058
runtime: use FP offsets for pipe/pipe2 on freebsd/arm64 and linux/arm64 This is more readable and less error-prone than using RSP offsets. Suggested during review of CL 212765. Change-Id: I070190abeeac8eae5dbd414407602619d9d57422 Reviewed-on: https://go-review.googlesource.com/c/go/+/213577 Run-TryBot: Ian Lance Tay...
[ { "path": "src/runtime/sys_freebsd_arm64.s", "patch": "@@ -129,7 +129,7 @@ ok:\n \n // func pipe() (r, w int32, errno int32)\n TEXT runtime·pipe(SB),NOSPLIT|NOFRAME,$0-12\n-\tADD\t$8, RSP, R0\n+\tMOVD\t$r+0(FP), R0\n \tMOVW\t$0, R1\n \tMOVD\t$SYS_pipe2, R8\n \tSVC\n@@ -141,7 +141,7 @@ ok:\n \n // func pipe2...
2020-01-07T06:14:51
huggingface/transformers
4ece3b9433ea0bedff0d64fe00623c35766d7d44
ef10dbce5cbc9a8b6a0a90b04378ca96f4023aa1
add VITS model (#24085) * add VITS model * let's vits * finish TextEncoder (mostly) * rename VITS to Vits * add StochasticDurationPredictor * ads flow model * add generator * correctly set vocab size * add tokenizer * remove processor & feature extractor * add PosteriorEncoder * add mi...
[ { "path": "README.md", "patch": "@@ -489,6 +489,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[VitDet](https://huggingface.co/docs/transformers/main/model_doc/vitdet)** (from Meta AI) released with the paper [Exploring Plain Vision Transformer Backbones for Obj...
2023-09-01T09:50:06
ggml-org/llama.cpp
dc39a5e7a84815a90fa0c515ed8927870cf858c9
ab47dec3d37aa1927c2ec590e166b76141374ed3
mtmd : support SmolVLM (version 1 and 2) (#13050) * mtmd : support SmolVLM (version 1 and 2) * correct chat template * fix n_patches * scale_factor is an int * add more models to test
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -419,8 +419,12 @@ def get_model_part_names(dir_model: Path, prefix: str, suffix: str) -> list[str]\n def load_hparams(dir_model: Path):\n with open(dir_model / \"config.json\", \"r\", encoding=\"utf-8\") as f:\n hparams = json.load(f)\n...
2025-04-22T14:24:54
vuejs/vue
de199f9bbd7ac8a2ad949b4e8677badb1536a027
f59e903d0b695eb1427eef4516589a1b56c11116
allow 2 root nodes with v-if and v-else (#3887) * allow 2 root nodes with v-if and v-else * fix compiler-options test with less specific text
[ { "path": "src/compiler/parser/index.js", "patch": "@@ -153,8 +153,9 @@ export function parse (\n checkRootConstraints(root)\n } else if (process.env.NODE_ENV !== 'production' && !stack.length && !warned) {\n // allow 2 root elements with v-if and v-else\n- if ((root.attrsMap.ha...
2016-10-09T20:33:23
nodejs/node
dd0624676c4b464e051e2ca0809d03b87d2fe546
212a7a609d605c13294034f2f403632b626edf4c
meta: fix nits in README.md collaborators list PR-URL: https://github.com/nodejs/node/pull/12866 Fixes: https://github.com/nodejs/node/issues/12865 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Sn...
[ { "path": "README.md", "patch": "@@ -193,7 +193,7 @@ more information about the governance of the Node.js project, see\n **Evan Lucas** &lt;evanlucas@me.com&gt; (he/him)\n * [fhinkel](https://github.com/fhinkel) -\n **Franziska Hinkelmann** &lt;franziska.hinkelmann@gmail.com&gt;\n-* [fishrock123](https://gi...
2017-05-05T22:41:29
golang/go
daacf269802eaa856705063159b55b5e752e7058
7d98da8d3174b167b8408ef89836d6ec85ad3dc0
cmd/go: fix TestScript/test_main_twice The TMPDIR environment variable isn't always available. Use $WORK/tmp instead, to fix this test on Windows. Change-Id: I521c470430c6eea4d1f2fc7db749d38178a03a13 Reviewed-on: https://go-review.googlesource.com/c/go/+/213680 Run-TryBot: Michael Matloob <matloob@golang.org> Reviewe...
[ { "path": "src/cmd/go/testdata/script/test_main_twice.txt", "patch": "@@ -1,6 +1,6 @@\n [short] skip\n \n-env GOCACHE=$TMPDIR\n+env GOCACHE=$WORK/tmp\n go test -v multimain\n stdout -count=2 notwithstanding # check tests ran twice\n ", "additions": 1, "deletions": 1, "language": "Plain Text" }...
2020-01-07T21:25:34
huggingface/transformers
9c5acca0028b550e1328ba7e2f16418fe0a0c634
2be8a9098e06262bdd5c16b5e8a70f145df88e96
[`InstructBlip`] FINAL Fix instructblip test (#25887) fix instructblip test
[ { "path": "tests/models/instructblip/test_modeling_instructblip.py", "patch": "@@ -538,7 +538,7 @@ def test_inference_vicuna_7b(self):\n logits = model(**inputs).logits\n \n expected_slice = torch.tensor(\n- [[-3.4727, -11.8203, 8.3828], [-5.1172, -11.3438, 7.7656], [-4.0742, ...
2023-08-31T15:01:27
vuejs/vue
addb461e3c8c9b2041c0f44892cdb58a40b26b64
adae5caaeea2c8bd18e21a87d83ed7251b862a67
fix ssr bundle renderer error on commonjs exports (fix #3867)
[ { "path": "src/server/run-in-vm.js", "patch": "@@ -30,7 +30,7 @@ export default function runInVm (code, _context = {}) {\n compiledWrapper.call(m.exports, m.exports, require, m)\n const res = Object.prototype.hasOwnProperty.call(m.exports, 'default')\n ? m.exports.default\n- : m\n+ :...
2016-10-07T21:42:42
rust-lang/rust
05364239a802375f8806827c322331a23bc90fa9
b2728d5426bab1d8c39709768c7e22b7f66dde5d
fix doc for std::sync::mpmc
[ { "path": "library/std/src/sync/mpmc/mod.rs", "patch": "@@ -18,7 +18,7 @@\n //! infinite buffer.\n //!\n //! 2. A synchronous, bounded channel. The [`sync_channel`] function will\n-//! return a `(SyncSender, Receiver)` tuple where the storage for pending\n+//! return a `(Sender, Receiver)` tuple wh...
2025-01-22T12:11:24
ggml-org/llama.cpp
7b53389c24a507564be39e1ea82746a39749059b
243453533e029334181dda50d911d5fc5a2b2486
metal : add memory pool for temp allocs (#12850) * metal : add memory pool for temp allocs (wip) [no ci] * cont : free buffers from the heap * cont : resize heap [no ci] * cont : refactor heap [no ci] * cont : heap for each cmd buffer [no ci] * cont : fix free * wip * cont : fix alignment [no ci] * cont : not ...
[ { "path": "ggml/src/ggml-metal/ggml-metal.m", "patch": "@@ -44,8 +44,8 @@\n // note: assumes single GPU device - the default one\n // TODO: support multiple GPU devices\n static struct ggml_backend_metal_device_context {\n- id<MTLDevice> mtl_device;\n- int mtl_device_ref_count;\n+ id<MTLD...
2025-04-22T13:15:51
nodejs/node
f6247a945ca8c41ba8738883d948282f36b9671c
ea1b8a5cbcf4a4882c25f57176f8fd00728bffb3
assert: restore TypeError if no arguments In Node 7.x, calling `throw new assert.AssertionError()` resulted in a TypeError. In current master, the same call does not result in an error but, due to the default option, it results in uninformative output ("undefined undefined undefined"). This change removes the defaul...
[ { "path": "lib/assert.js", "patch": "@@ -47,7 +47,7 @@ const assert = module.exports = ok;\n \n // TODO(jasnell): Consider moving AssertionError into internal/errors.js\n class AssertionError extends Error {\n- constructor(options = {}) {\n+ constructor(options) {\n if (typeof options !== 'object' || ...
2017-05-05T05:09:09
golang/go
7d98da8d3174b167b8408ef89836d6ec85ad3dc0
52a9210a2c91098b667c2c8890c24dec89b5dfff
cmd/go: fix test broken by incorrect comments I accidentally used // instead of #. Change-Id: I2c9b9d40dd83994ce80fc837e8d992d3807f3e24 Reviewed-on: https://go-review.googlesource.com/c/go/+/213659 Run-TryBot: Michael Matloob <matloob@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
[ { "path": "src/cmd/go/testdata/script/build_import_comment.txt", "patch": "@@ -1,6 +1,6 @@\n-// TODO: add a go.mod file and test with GO111MODULE explicitly on and off.\n-// We only report the 'expects import' error when modules are disabled.\n-// Do we report comment parse errors or conflicts in module mod...
2020-01-07T19:43:00
vuejs/vue
adae5caaeea2c8bd18e21a87d83ed7251b862a67
463c9c9e086f919e61fe7fa74f1a8f0695693de3
Make forAlias regex lazy (fixes #3846) (#3859) The current forAliasRE has the first rule greedy (`.*?`), which will attempt to match whatever it can. This exposes a bug (#3846), where the regex fails if the template happens to have " in " or " of " in its last group. For instance, with the template `for key in [{bo...
[ { "path": "src/compiler/parser/index.js", "patch": "@@ -16,7 +16,7 @@ import {\n } from '../helpers'\n \n export const dirRE = /^v-|^@|^:/\n-export const forAliasRE = /(.*)\\s+(?:in|of)\\s+(.*)/\n+export const forAliasRE = /(.*?)\\s+(?:in|of)\\s+(.*)/\n export const forIteratorRE = /\\(([^,]*),([^,]*)(?:,([...
2016-10-07T21:40:17
huggingface/transformers
2be8a9098e06262bdd5c16b5e8a70f145df88e96
a39ebbf87978fe3b129efbf9d4a6dfeefcacf08c
Save image_processor while saving pipeline (ImageSegmentationPipeline) (#25884) * Save image_processor while saving pipeline (ImageSegmentationPipeline) * Fix black issues
[ { "path": "src/transformers/pipelines/base.py", "patch": "@@ -872,6 +872,9 @@ def save_pretrained(self, save_directory: str, safe_serialization: bool = False)\n if self.feature_extractor is not None:\n self.feature_extractor.save_pretrained(save_directory)\n \n+ if self.image_proc...
2023-08-31T14:08:20
ggml-org/llama.cpp
243453533e029334181dda50d911d5fc5a2b2486
1d735c0b4fa0551c51c2f4ac888dd9a01f447985
llava : update documentations (#13055) * llava : update documentations * fix typo
[ { "path": "common/arg.cpp", "patch": "@@ -976,14 +976,13 @@ static void common_params_print_completion(common_params_context & ctx_arg) {\n \"llama-gritlm\",\n \"llama-imatrix\",\n \"llama-infill\",\n- \"llama-llava-cli\",\n+ \"llama-mtmd-cli\",\n \"llama-llava-...
2025-04-22T08:37:00
nodejs/node
0a734fec885409a09b9d18319e4ea7f6f25e6a3e
42958d1a75db003120557e3beb6ccf99a03f4043
test: fix napi test_reference for recent V8 PR-URL: https://github.com/nodejs/node/pull/12864 Ref: https://github.com/nodejs/node/pull/12551#issuecomment-297949361 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
[ { "path": "test/addons-napi/test_reference/test.js", "patch": "@@ -33,19 +33,6 @@ assert.strictEqual(test_reference.finalizeCount, 0);\n assert.strictEqual(test_reference.finalizeCount, 1);\n }\n \n-{\n- // Weak reference\n- let value = test_reference.createExternalWithFinalize();\n- assert.strictEqual...
2017-05-05T12:43:54
golang/go
249c85d3aab2ad2d0bcbf36efe606fdd66f25c72
98418c998c73075b050f6e52088f8dbc4cbdf7ef
net/http: avoid writing to Transport.ProxyConnectHeader Previously, we accidentally wrote the Proxy-Authorization header for the initial CONNECT request to the shared ProxyConnectHeader map when it was non-nil. Fixes #36431 Change-Id: I5cb414f391dddf8c23d85427eb6973f14c949025 Reviewed-on: https://go-review.googlesou...
[ { "path": "src/net/http/transport.go", "patch": "@@ -1559,15 +1559,16 @@ func (t *Transport) dialConn(ctx context.Context, cm connectMethod) (pconn *pers\n \t\tif hdr == nil {\n \t\t\thdr = make(Header)\n \t\t}\n+\t\tif pa := cm.proxyAuth(); pa != \"\" {\n+\t\t\thdr = hdr.Clone()\n+\t\t\thdr.Set(\"Proxy-Aut...
2020-01-07T17:03:28
vuejs/vue
c2e6bf863756828fd1437eca299bb1e6b8fb6d91
6541e68aaa9fefbad0d3d96c02b5097749dc89a4
Fix links to docs in Readme (#3858) * Fix links to docs in Readme Fix #3857 * Rename reactivity system link to docs in readme
[ { "path": "README.md", "patch": "@@ -58,8 +58,8 @@ Vue.js is an MIT-licensed open source project. Its ongoing development is made p\n \n Vue.js is a library for building interactive web interfaces. It provides data-reactive components with a simple and flexible API. Core features include:\n \n-- [Dead simpl...
2016-10-05T20:04:32
huggingface/transformers
a39ebbf87978fe3b129efbf9d4a6dfeefcacf08c
3b39b906183ed08d9961908eb73104aeea345d11
[`CodeLlama`] Fix CI (#25890) * Fix coellama * style
[ { "path": "src/transformers/models/code_llama/tokenization_code_llama_fast.py", "patch": "@@ -151,14 +151,17 @@ def __init__(\n self.update_post_processor()\n \n self.vocab_file = vocab_file\n- self.can_save_slow_tokenizer = False if not self.vocab_file else True\n \n self._pr...
2023-08-31T14:06:56
ggml-org/llama.cpp
2016f07bd106c73699ecbaace80f55db5ed95dac
6602304814e679cc8c162bb760a034aceb4f8965
convert : experimental support for `--mmproj` flag (#13023) * convert : experimental support for `--mmproj` flag * fix bad ctrl+f replace * fix style * split into subclasses TextModel and VisionModel * rename Mode --> ModelBase * small fix * correct CLIP_VISION arch name (because existing GGUF already use it) *...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -42,11 +42,19 @@ class SentencePieceTokenTypes(IntEnum):\n BYTE = 6\n \n \n-AnyModel = TypeVar(\"AnyModel\", bound=\"type[Model]\")\n+class ModelType(IntEnum):\n+ TEXT = 1\n+ VISION = 2\n \n \n-class Model:\n- _model_classes: dict[str, type[Model]...
2025-04-20T21:29:36
vuejs/vue
c835ce57ff4e0ba3617a189bb2736599f1ffb471
e6d224c3c5ca3ff6a365326ba615d116764b68f2
Allow text nodes on static templates in components (#3826) Fix #3824
[ { "path": "src/core/instance/render.js", "patch": "@@ -117,8 +117,10 @@ export function renderMixin (Vue: Class<Component>) {\n tree = this._staticTrees[index] = this.$options.staticRenderFns[index].call(this._renderProxy)\n if (Array.isArray(tree)) {\n for (let i = 0; i < tree.length; i++) {\...
2016-10-05T19:13:14
golang/go
bc9194752749640c61c339140cf11d13e6262a6a
25a14b19abd3b9e16f47c6249fda1998431ce5be
runtime: correct assembly for openbsd/arm64 Correct the pipe and pipe2 implementations by using the correct RSP offsets, used to store and return the file descriptor array. Fix setNonblock by using the correct immediate value for O_NONBLOCK and replace EOR (exclusive OR) with ORR. Also correct the write1 implementat...
[ { "path": "src/runtime/sys_openbsd_arm64.s", "patch": "@@ -65,7 +65,7 @@ TEXT runtime·read(SB),NOSPLIT|NOFRAME,$0\n \n // func pipe() (r, w int32, errno int32)\n TEXT runtime·pipe(SB),NOSPLIT|NOFRAME,$0-12\n-\tMOVD\tRSP, R0\n+\tMOVD\t$r+0(FP), R0\n \tMOVW\t$0, R1\n \tMOVD\t$101, R8\t\t// sys_pipe2\n \tSVC\n...
2020-01-06T17:25:57
huggingface/transformers
3b39b906183ed08d9961908eb73104aeea345d11
99fc3ac8ac2d79f19e983b63c2992b78f4509111
[`TokenizerFast`] `can_save_slow_tokenizer` as a property for when `vocab_file`'s folder was removed (#25626) * pad token should be None by default * fix tests * nits * check if isfile vocabfile * add warning if sp model folder was deleted * save SPM when missing folder for sloz * update the ` can_sa...
[ { "path": "src/transformers/models/albert/tokenization_albert_fast.py", "patch": "@@ -165,7 +165,10 @@ def __init__(\n self.remove_space = remove_space\n self.keep_accents = keep_accents\n self.vocab_file = vocab_file\n- self.can_save_slow_tokenizer = False if not self.vocab_f...
2023-08-31T12:17:26
ggml-org/llama.cpp
6602304814e679cc8c162bb760a034aceb4f8965
66168204be9559dc841f06f0025f3da01d9a8546
llava: fix errors in clip.h on certain compilers (#13030)
[ { "path": "examples/llava/clip.h", "patch": "@@ -30,12 +30,13 @@ struct clip_image_size {\n int height;\n };\n \n+struct clip_image_f32;\n struct clip_image_u8_batch;\n struct clip_image_f32_batch;\n \n struct clip_context_params {\n bool use_gpu;\n- ggml_log_level verbosity;\n+ enum ggml_log_...
2025-04-20T10:15:41
nodejs/node
42958d1a75db003120557e3beb6ccf99a03f4043
cbd6fde9a38687491452e01927da0c69d2c37564
test: refactor test-querystring - change URIError constructor to regular expression in assert.throws - use block-scope for tests that spans multiple statements PR-URL: https://github.com/nodejs/node/pull/12661 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By...
[ { "path": "test/parallel/test-querystring.js", "patch": "@@ -254,7 +254,7 @@ qsWeirdObjects.forEach(function(testCase) {\n // invalid surrogate pair throws URIError\n assert.throws(function() {\n qs.stringify({ foo: '\\udc00' });\n-}, URIError);\n+}, /^URIError: URI malformed$/);\n \n // coerce numbers to...
2017-04-25T18:03:58
vuejs/vue
1c79c56a3edc832d3b9e0bb34d31dacd9ff3390e
156cfb9892d3359d548e27abf5d8b78b421a5a92
revert npm main field (fix SSR externalization)
[ { "path": "package.json", "patch": "@@ -2,7 +2,7 @@\n \"name\": \"vue\",\n \"version\": \"2.0.0\",\n \"description\": \"Reactive, component-oriented view layer for modern web interfaces.\",\n- \"main\": \"dist/vue.js\",\n+ \"main\": \"dist/vue.common.js\",\n \"typings\": \"types/index.d.ts\",\n ...
2016-09-30T21:03:26
golang/go
25a14b19abd3b9e16f47c6249fda1998431ce5be
edf3ec987ff51584c3bfdaeef7d0a24646d0fb4b
runtime: fix typo in comment Change-Id: I96db053184e5e72864514d5421a97774545cc2dd GitHub-Last-Rev: f1451ab626563f82f1703a559e4cb6d66665a7b6 GitHub-Pull-Request: golang/go#36425 Reviewed-on: https://go-review.googlesource.com/c/go/+/213597 Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "src/runtime/os_linux.go", "patch": "@@ -343,7 +343,7 @@ func minit() {\n \tminitSignals()\n \n \t// Cgo-created threads and the bootstrap m are missing a\n-\t// procid. We need this for asynchronous preemption and its\n+\t// procid. We need this for asynchronous preemption and it's\n \t// useful ...
2020-01-07T10:26:48
ggml-org/llama.cpp
fb28f4f80efb5a2990a6a240433b02e259b0dbb1
37b9f0d29d7301dd0ec5dfae8f357ccee96325d7
gguf-py : fix upload python package workflow (#13020)
[ { "path": "gguf-py/pyproject.toml", "patch": "@@ -1,6 +1,6 @@\n [tool.poetry]\n name = \"gguf\"\n-version = \"0.16.1\"\n+version = \"0.16.2\"\n description = \"Read and write ML models in GGUF for GGML\"\n authors = [\"GGML <ggml@ggml.ai>\"]\n packages = [\n@@ -23,7 +23,7 @@ numpy = \">=1.17\"\n tqdm = \">=...
2025-04-19T14:26:38
huggingface/transformers
e95bcaeef0bd6b084b7615faae411a14d50bcfee
f8468b4facb2e46a1766a256b9fe47b0865d6854
fix ds z3 checkpointing when `stage3_gather_16bit_weights_on_model_save=False` (#25817) * fix ds z3 checkpointing when `stage3_gather_16bit_weights_on_model_save=False` * refactoring
[ { "path": "src/transformers/trainer.py", "patch": "@@ -93,6 +93,7 @@\n nested_numpify,\n nested_xla_mesh_reduce,\n reissue_pt_warnings,\n+ remove_dummy_checkpoint,\n )\n from .trainer_utils import (\n PREFIX_CHECKPOINT_DIR,\n@@ -2780,12 +2781,8 @@ def save_model(self, output_dir: Optional...
2023-08-31T09:47:53
nodejs/node
cbd6fde9a38687491452e01927da0c69d2c37564
152966dbb5fc184a7cf12ce9e0ac0c0cbe8714d4
doc: improve path.posix.normalize docs Add section to path docs that explains that path.posix.normalize does not replace Windows slashes with POSIX slashes because POSIX does not recognize / as a valid path separator. Fixes: https://github.com/nodejs/node/issues/12298 PR-URL: https://github.com/nodejs/node/pull/12700...
[ { "path": "doc/api/path.md", "patch": "@@ -318,8 +318,9 @@ The `path.normalize()` method normalizes the given `path`, resolving `'..'` and\n `'.'` segments.\n \n When multiple, sequential path segment separation characters are found (e.g.\n-`/` on POSIX and `\\` on Windows), they are replaced by a single in...
2017-04-27T16:22:03
vuejs/vue
8ef603b7c3a11a823f148aa2d86a4d243c35927d
51aa3e594ac0e194b8a0daa3b91a685287b27b07
test <template> key warning, fix coverage
[ { "path": "test/unit/modules/compiler/parser.spec.js", "patch": "@@ -120,6 +120,11 @@ describe('parser', () => {\n expect('Cannot use v-for on stateful component root element').toHaveBeenWarned()\n })\n \n+ it('warn <template> key', () => {\n+ parse('<div><template v-for=\"i in 10\" :key=\"i\"></t...
2016-09-30T18:18:47
ggml-org/llama.cpp
6408210082cc0a61b992b487be7e2ff2efbb9e36
aff9d107b066c9d464f7ab1324280acfdcebf569
main : Fix Ctrl+D/newline handling (#12951) This restores the behavior from #491. This does not affect Ctrl+D's ability to terminate --multiline-input lines (#1040). This also actually implements #587: "If the user wants the text to end in a newline, this should be accomplished by explicitly adding a newline by using...
[ { "path": "examples/main/main.cpp", "patch": "@@ -865,9 +865,22 @@ int main(int argc, char ** argv) {\n console::set_display(console::reset);\n display = true;\n \n- // Add tokens to embd only if the input buffer is non-empty\n- // Entering a emp...
2025-04-18T20:02:55
huggingface/transformers
716bb2e3910fd4872064c55b0d8bc3dad754d129
1c6f072db0c17c7d82bb0d3b7529d57ebc9a0f2f
[ViTDet] Fix doc tests (#25880) Fix docstrings
[ { "path": "src/transformers/models/vitdet/modeling_vitdet.py", "patch": "@@ -27,7 +27,6 @@\n from ...modeling_outputs import BackboneOutput, BaseModelOutput\n from ...modeling_utils import PreTrainedModel\n from ...utils import (\n- add_code_sample_docstrings,\n add_start_docstrings,\n add_start_...
2023-08-30T20:49:03
golang/go
edf3ec987ff51584c3bfdaeef7d0a24646d0fb4b
f266cce6763aeb1b9200dcf193826dcfba5127b7
runtime: correct setNonblock on linux/arm64 The current code uses EOR (exclusive OR), which will result in the O_NONBLOCK flag being toggled rather than being set. Other implementations use OR, hence this is likely a bug. Change-Id: I5dafa9c572452070bd37789c8a731ad6d04a86cd Reviewed-on: https://go-review.googlesource...
[ { "path": "src/runtime/sys_linux_arm64.s", "patch": "@@ -688,7 +688,7 @@ TEXT runtime·setNonblock(SB),NOSPLIT|NOFRAME,$0-4\n \tMOVD\t$SYS_fcntl, R8\n \tSVC\n \tMOVD\t$0x800, R2 // O_NONBLOCK\n-\tEOR\tR0, R2\n+\tORR\tR0, R2\n \tMOVW\tfd+0(FP), R0 // fd\n \tMOVD\t$4, R1\t// F_SETFL\n \tMOVD\t$SYS_fcntl, R8", ...
2020-01-06T17:31:23
nodejs/node
7e5f500c9861708e221e1e5e1d42e92af234583b
3fd890a06edc82612ed52cd191c8181eee788744
assert: improve deepEqual perf for large input Use a Map instead of an array for checking previously found cyclic references. This reduces complexity for an array-of-objects case from O(n²) to O(n·log n). Fixes: https://github.com/nodejs/node/issues/12842 PR-URL: https://github.com/nodejs/node/pull/12849 Reviewed-By...
[ { "path": "lib/assert.js", "patch": "@@ -285,15 +285,24 @@ function _deepEqual(actual, expected, strict, memos) {\n // Note: this accounts for both named and indexed properties on Arrays.\n \n // Use memos to handle cycles.\n- memos = memos || { actual: [], expected: [] };\n- const actualIndex = memos...
2017-05-05T09:04:20
vuejs/vue
99ea0f8229f108baa54f8791758315e2eda4f779
b8369e802b120e450f56e4c5ff8e3435a9165c64
adjust named slot resolve check (fix #3819)
[ { "path": "flow/component.js", "patch": "@@ -52,7 +52,7 @@ declare interface Component {\n _isVue: true;\n _self: Component;\n _renderProxy: Component;\n- _renderParent: ?Component;\n+ _renderContext: ?Component;\n _watcher: Watcher;\n _watchers: Array<Watcher>;\n _data: Object;", "additio...
2016-09-30T18:15:10
huggingface/transformers
1c6f072db0c17c7d82bb0d3b7529d57ebc9a0f2f
9219d1427bf3e868c76fd495bb469cf5e1542242
Reduce CI output (#25876) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".circleci/create_circleci_config.py", "patch": "@@ -32,7 +32,8 @@\n \"RUN_PT_TF_CROSS_TESTS\": False,\n \"RUN_PT_FLAX_CROSS_TESTS\": False,\n }\n-COMMON_PYTEST_OPTIONS = {\"max-worker-restart\": 0, \"dist\": \"loadfile\", \"s\": None}\n+# Disable the use of {\"s\": None} as the output is ...
2023-08-30T16:15:07
ggml-org/llama.cpp
35370ba94593c3abc9550328377d461fc4f822b7
8d6600576318dfc6b091fca744b0fd36a5e5255f
server : use std::move whenever possible (#12936) * server : use std::move whenever possible * use r-value ref * Apply suggestions from code review Co-authored-by: Georgi Gerganov <ggerganov@gmail.com> * make task creation scoped * restore std::move * fix task_id not set correctly * apply changes from suggestio...
[ { "path": "examples/server/server.cpp", "patch": "@@ -1552,29 +1552,30 @@ struct server_queue {\n std::condition_variable condition_tasks;\n \n // callback functions\n- std::function<void(server_task)> callback_new_task;\n- std::function<void(void)> callback_update_slots;\n+ std::fun...
2025-04-18T17:58:12
golang/go
9d3d4461a5bca9f3df76873473eeccf5bc66fe4c
2863969cc3a5c17cc69a2d967911954b5cc1f7ad
Revert "cmd/link: skip symbol references when looking for missing symbols" This reverts commit 8adc1e00aa1a92a85b9d6f3526419d49dd7859dd. Reason for revert: The test added in this commit fails on several builders. Fixes #36389. Re-opens #33979. Change-Id: I31191098c36af00f7688749b3376686673b3ac68 Reviewed-on: https:...
[ { "path": "src/cmd/link/internal/ld/link.go", "patch": "@@ -136,7 +136,7 @@ func (ctxt *Link) ErrorUnresolved(s *sym.Symbol, r *sym.Reloc) {\n \t\t\t\tif v == -1 {\n \t\t\t\t\tcontinue\n \t\t\t\t}\n-\t\t\t\tif rs := ctxt.Syms.ROLookup(r.Sym.Name, v); rs != nil && rs.Type != sym.Sxxx && rs.Type != sym.SXREF ...
2020-01-06T15:32:43
vuejs/vue
b8369e802b120e450f56e4c5ff8e3435a9165c64
ef6945932f1cfd5e44111a5f1d0530e37b7d2ec3
fix test template typo
[ { "path": "test/unit/features/component/component-slot.spec.js", "patch": "@@ -316,7 +316,7 @@ describe('Component slot', () => {\n // #3254\n it('should not keep slot name when passed further down', () => {\n const vm = new Vue({\n- template: '<test><span slot=\"foo\">foo<span></test>',\n+ ...
2016-09-30T17:37:53
huggingface/transformers
459bc6738c162511fabf5b9102171db1fc8bb53e
72298178bcbb5f3cb34af5283ac36dad8b869fb5
Docs: fix example failing doctest in `generation_strategies.md ` (#25874)
[ { "path": "docs/source/en/generation_strategies.md", "patch": "@@ -332,7 +332,8 @@ The diversily penalty ensures the outputs are distinct across groups, and beam s\n \n >>> outputs = model.generate(**inputs, num_beams=5, num_beam_groups=5, max_new_tokens=30, diversity_penalty=1.0)\n >>> tokenizer.decode(out...
2023-08-30T15:23:44
nodejs/node
1c834e78ff4b1b194c07e27a479a76e6ead301ae
d74a545535868380b028c27dfcdf54e2d5f7c563
errors,test: migrating error to internal/errors PR-URL: https://github.com/nodejs/node/pull/11505 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "lib/assert.js", "patch": "@@ -513,7 +513,9 @@ function _throws(shouldThrow, block, expected, message) {\n var actual;\n \n if (typeof block !== 'function') {\n- throw new TypeError('\"block\" argument must be a function');\n+ const errors = lazyErrors();\n+ throw new errors.TypeError...
2017-02-21T16:43:26
ggml-org/llama.cpp
8d6600576318dfc6b091fca744b0fd36a5e5255f
b9154ecff93ff54dc554411eb844a2a654be49f2
SYCL: Refactor and enable FP16 in binary broadcast OPs (#12975) * SYCL: refactor move to a separate file * Fix binbcast * Remove duplicates * fix include formatting * fix typo
[ { "path": "ggml/src/ggml-sycl/backend.hpp", "patch": "@@ -13,6 +13,7 @@\n #ifndef GGML_SYCL_BACKEND_HPP\n #define GGML_SYCL_BACKEND_HPP\n \n+#include \"binbcast.hpp\"\n #include \"concat.hpp\"\n #include \"common.hpp\"\n #include \"conv.hpp\"", "additions": 1, "deletions": 0, "language": "Unknow...
2025-04-18T13:57:56
vuejs/vue
ef6945932f1cfd5e44111a5f1d0530e37b7d2ec3
47ee6abfc6d3584a825a61deb16ad03feb6105ec
Fix $createElement and Vue.extend (#3818) * Fix $createElement and extend * Add AsyncComponent
[ { "path": "types/index.d.ts", "patch": "@@ -6,6 +6,8 @@ import * as VNode from \"./vnode\";\n // `Vue` in `export = Vue` must be a namespace\n // All available types are exported via this namespace\n declare namespace Vue {\n+ export type Component = Options.Component;\n+ export type AsyncComponent = Opti...
2016-09-30T17:57:38
golang/go
fc5eee3c1d37131ca5887ed1d020f6cf83d20a92
c6e84263865fa418b4d4a60f077d02c10a0fff23
syscall: fix riscv64 syscall assembly RISCV has no instruction to store an immediate value to memory, or to subtract an immediate value. An immediate needs to be moved to a register first, or in the case of $0, the zero value register (ZERO or R0) can be used instead. Restore the original riscv-go code so that it comp...
[ { "path": "src/syscall/asm_linux_riscv64.s", "patch": "@@ -20,14 +20,14 @@ TEXT ·Syscall(SB),NOSPLIT,$0-56\n \tBLTU\tT0, A0, err\n \tMOV\tA0, r1+32(FP)\t// r1\n \tMOV\tA1, r2+40(FP)\t// r2\n-\tMOV\t$0, err+48(FP)\t// errno\n+\tMOV\tZERO, err+48(FP)\t// errno\n \tCALL\truntime·exitsyscall(SB)\n \tRET\n err:\...
2020-01-05T13:18:56
huggingface/transformers
72298178bcbb5f3cb34af5283ac36dad8b869fb5
f73c20970c5cf575dd341d18216c42bec0b8a0e5
fix max_memory for bnb (#25842)
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -96,6 +96,7 @@\n check_tied_parameters_on_same_device,\n find_tied_parameters,\n get_balanced_memory,\n+ get_max_memory,\n load_offloaded_weights,\n offload_weight,\n save_offload_index,\n@@ -...
2023-08-30T15:00:36
ggml-org/llama.cpp
b9154ecff93ff54dc554411eb844a2a654be49f2
2db9ba1464f3de0aceb2b5289963e69fc369cb66
mtmd : add methods to access `mtmd_image_tokens` (#12906) * mtmd : add more api around mtmd_image_tokens * mtmd : ability to calc image hash * shared_ptr for mtmd_image_tokens * move hash to user-define ID (fixed) * fix prompt_modified * rm redundant data member
[ { "path": "examples/llava/gemma3-cli.cpp", "patch": "@@ -184,18 +184,19 @@ static int eval_message(gemma3_context & ctx, common_chat_msg & msg, std::vector\n text.text = formatted_chat.prompt;\n text.add_special = add_bos;\n text.parse_special = true;\n- mtmd_input_chunks_ptr chunk...
2025-04-18T08:04:51
nodejs/node
fe15fe73c8abeb39f0477fc60bdc6aa4df4bbc1d
66904156966bf7a735a313e9396f02b0c832cd29
deps: backport ec1ffe3 from upstream V8 This commit adds lldbinit files from upstream V8 and also adds these so that they get installed when `make install` is run. Original commit message: [tools] add lldbinit The goal of this commit is to add the equivalent to gdbinit but for lldb. I've tried to replicate ...
[ { "path": "deps/v8/tools/lldb_commands.py", "patch": "@@ -0,0 +1,72 @@\n+# Copyright 2017 the V8 project authors. All rights reserved.\n+# Use of this source code is governed by a BSD-style license that can be\n+# found in the LICENSE file.\n+\n+import lldb\n+import re\n+\n+def jst(debugger, *args):\n+ \"\...
2017-03-27T07:37:42
vuejs/vue
47ee6abfc6d3584a825a61deb16ad03feb6105ec
6d4bdb5ff196c3c67786f78b8ed7a0abd56eb310
remove codegen v-for truthiness check (fix #3817)
[ { "path": "src/compiler/codegen/index.js", "patch": "@@ -89,7 +89,7 @@ function genFor (el: any): string {\n const iterator1 = el.iterator1 ? `,${el.iterator1}` : ''\n const iterator2 = el.iterator2 ? `,${el.iterator2}` : ''\n el.forProcessed = true // avoid recursion\n- return `(${exp})&&_l((${exp})...
2016-09-30T02:05:39
rust-lang/rust
9c972c0ea58716a7fcf434cdf96c7b451f82fcaf
fc0094f8d4eb91637ff540be7d9d87bfcdd2a208
compiler_fence: fix example
[ { "path": "library/core/src/sync/atomic.rs", "patch": "@@ -3727,33 +3727,33 @@ pub fn fence(order: Ordering) {\n ///\n /// # Examples\n ///\n-/// Without `compiler_fence`, the `assert_eq!` in following code\n-/// is *not* guaranteed to succeed, despite everything happening in a single thread.\n-/// To see w...
2025-01-26T02:09:50
golang/go
c6e84263865fa418b4d4a60f077d02c10a0fff23
8adc1e00aa1a92a85b9d6f3526419d49dd7859dd
all: fix typo in RuneSelf, runeSelf comments Fixes #36396 Change-Id: I52190f450fa9ac52fbf4ecdc814e954dc29029cd Reviewed-on: https://go-review.googlesource.com/c/go/+/213377 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Run-TryBot: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: Gobot Gobot <gobot@golang.org>
[ { "path": "src/runtime/utf8.go", "patch": "@@ -7,7 +7,7 @@ package runtime\n // Numbers fundamental to the encoding.\n const (\n \truneError = '\\uFFFD' // the \"error\" Rune or \"Unicode replacement character\"\n-\truneSelf = 0x80 // characters below Runeself are represented as themselves in a...
2020-01-06T02:16:26
huggingface/transformers
f73c20970c5cf575dd341d18216c42bec0b8a0e5
ed290b083751590ba79e3a699608c8e9b70d5d9e
Fix imports (#25869) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/integrations/integration_utils.py", "patch": "@@ -255,7 +255,7 @@ def _objective(trial, local_trainer, checkpoint_dir=None):\n ray.tune.report(objective=local_trainer.objective, **metrics, done=True)\n \n if not trainer._memory_tracker.skip_memory_metrics:\n- ...
2023-08-30T14:11:54
vuejs/vue
6d4bdb5ff196c3c67786f78b8ed7a0abd56eb310
82983231084d8649efd0eef9d613aa3e36f912da
fix style binding for falsy numbers (fix #3816)
[ { "path": "src/platforms/web/runtime/modules/style.js", "patch": "@@ -57,7 +57,7 @@ function updateStyle (oldVnode: VNodeWithData, vnode: VNodeWithData) {\n cur = style[name]\n if (cur !== oldStyle[name]) {\n // ie9 setting to null has no effect, must use empty string\n- el.style[normaliz...
2016-09-29T21:51:00
nodejs/node
66904156966bf7a735a313e9396f02b0c832cd29
0f3e69db41c2b6a1863f2454b028f3b3b28a9613
deps: cherry-pick a927f81c7 from V8 upstream Original commit message: [ValueSerializer] Allow wire format versions beginning with 13 to be deserialized in non-legacy mode. As of version 13, delegates do not need to worry about colliding tags with the tags reserved by v8, since v8 inserts a "host object" prefix...
[ { "path": "deps/v8/src/api.cc", "patch": "@@ -3273,10 +3273,9 @@ Maybe<bool> ValueDeserializer::ReadHeader(Local<Context> context) {\n RETURN_ON_FAILED_EXECUTION_PRIMITIVE(bool);\n DCHECK(read_header);\n \n- // TODO(jbroman): Today, all wire formats are \"legacy\". When a more supported\n- // format i...
2017-03-08T21:08:21
rust-lang/rust
cef97bce7b2a0e6ef2208aaa1ec267b800d646af
15c6f7e1a3a0e51c9b18ce5b9a391e0c324b751c
Add `TooGeneric` variant to `LayoutError` and emit `Unknown` one - `check-pass` test for a MRE of #135020 - fail test for #135138 - switch to `TooGeneric` for checking CMSE fn signatures - switch to `TooGeneric` for compute `SizeSkeleton` (for transmute) - fix broken tests
[ { "path": "compiler/rustc_const_eval/src/const_eval/error.rs", "patch": "@@ -140,7 +140,7 @@ where\n // Don't emit a new diagnostic for these errors, they are already reported elsewhere or\n // should remain silent.\n err_inval!(AlreadyReported(info)) => ErrorHandled::Reported(info, ...
2025-01-06T10:39:07
golang/go
8adc1e00aa1a92a85b9d6f3526419d49dd7859dd
3a6cd4c72d5c8fc6c86f074eadaaf3972e591973
cmd/link: skip symbol references when looking for missing symbols ErrorUnresolved attempts to find the missing symbol in another ABI, in order to provide more friendly error messages. However, in doing so it checks the same ABI and can find the symbol reference for the symbol that it is currently reporting the unresol...
[ { "path": "src/cmd/link/internal/ld/link.go", "patch": "@@ -136,7 +136,7 @@ func (ctxt *Link) ErrorUnresolved(s *sym.Symbol, r *sym.Reloc) {\n \t\t\t\tif v == -1 {\n \t\t\t\t\tcontinue\n \t\t\t\t}\n-\t\t\t\tif rs := ctxt.Syms.ROLookup(r.Sym.Name, v); rs != nil && rs.Type != sym.Sxxx {\n+\t\t\t\tif rs := ctx...
2019-08-30T15:02:04
huggingface/transformers
62399d6f3568d1436e3e0364a32d13e32bb78cb6
52574026b6740a3882d6dd1cbf1e1663d4cea27b
Add flax installation in daily doctest workflow (#25860) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/doctests.yml", "patch": "@@ -34,7 +34,7 @@ jobs:\n nvidia-smi\n \n - name: Install transformers in edit mode\n- run: python3 -m pip install -e .\n+ run: python3 -m pip install -e .[flax]\n \n - name: GPU visibility\n run: |", "addi...
2023-08-30T13:13:50
vuejs/vue
f1e37f6002712465e7d67a7e9f84b2c9900b896c
b5595476f12b778ee0989d008bc5cec62011cef8
do not add list key to text nodes (fix #3810)
[ { "path": "src/core/vdom/helpers.js", "patch": "@@ -35,7 +35,7 @@ export function normalizeChildren (\n applyNS(c, ns)\n }\n // default key for nested array children (likely generated by v-for)\n- if (c.key == null && nestedIndex != null) {\n+ if (c.tag && c...
2016-09-29T16:52:05
nodejs/node
0f3e69db41c2b6a1863f2454b028f3b3b28a9613
14dc300085e8bf2379a6dde0342f9a13ce1dd787
v8: fix gcc 7 build errors Porting https://github.com/nodejs/node/pull/12392 to master Ref: https://github.com/nodejs/node/pull/12392 Fixes: https://github.com/nodejs/node/issues/10388 PR-URL: https://github.com/nodejs/node/pull/12676 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@...
[ { "path": "deps/v8/src/objects-body-descriptors.h", "patch": "@@ -99,7 +99,7 @@ class FixedBodyDescriptor final : public BodyDescriptorBase {\n \n template <typename StaticVisitor>\n static inline void IterateBody(HeapObject* obj, int object_size) {\n- IterateBody(obj);\n+ IterateBody<StaticVisito...
2017-04-26T16:04:40
huggingface/transformers
52574026b6740a3882d6dd1cbf1e1663d4cea27b
1bf2f36daf6731f001ea88ae53ba96acfb6c8497
minor typo fix in PeftAdapterMixin docs (#25829) fix minor documentation typo
[ { "path": "src/transformers/integrations/peft.py", "patch": "@@ -346,7 +346,7 @@ def _dispatch_accelerate_model(\n offload_index: Optional[int] = None,\n ) -> None:\n \"\"\"\n- Optionnal re-dispatch the model and attach new hooks to the model in case the model has been loaded with...
2023-08-30T10:56:05
golang/go
2ee2c6232c3cb7e2927b964701a81c1591c410db
9df93e4d6d31674ee9ca7725bcf9dea2423d4aea
runtime: don't use R11 in nanotime1/walltime1 on ARM R11 a.k.a. REGTMP is the temp register used by the assembler. It may be clobbered if the assembler needs to synthesize instructions. In particular, in nanotime1/walltime1, the load of global variable runtime.iscgo clobbers it. So, avoid using R11 to hold a long-live...
[ { "path": "src/runtime/sys_linux_arm.s", "patch": "@@ -269,8 +269,8 @@ noswitch:\n \n \tMOVW\t$CLOCK_REALTIME, R0\n \tMOVW\t$8(R13), R1\t// timespec\n-\tMOVW\truntime·vdsoClockgettimeSym(SB), R11\n-\tCMP\t$0, R11\n+\tMOVW\truntime·vdsoClockgettimeSym(SB), R2\n+\tCMP\t$0, R2\n \tB.EQ\tfallback\n \n \t// Stor...
2019-12-30T16:26:17
vuejs/vue
e29b711cb522b614fea3992697114f1b9e5dc690
e468ba078ebeb1870e1a477b7d5be6473d2dfc9f
fix reference to backers.md (#3808)
[ { "path": "README.md", "patch": "@@ -12,7 +12,7 @@\n \n ## Supporting Vue.js\n \n-Vue.js is an MIT-licensed open source project. Its ongoing development is made possible thanks to the support by these awesome [backers](https://github.com/vuejs/vue/blob/dev/backers.md). If you'd like to join them, check out ...
2016-09-29T08:19:42
ggml-org/llama.cpp
971f245b3b5f3f55991bb779cb541b00f82eea1d
12b17501e6015ffe568ac54fdf08e6580833bf1b
llama : recognize IBM Granite 3.3 FIM tokens (#12988) The Granite's FIM tokens are very similar to Qwen's; it's just that they use underscore instead of a dash. So <fim_middle> for example instead of <fim-middle>. Opening up tokenizer_config.json in ibm-granite/granite-3.3-8b-base shows: ``` "<fim_prefix>", ...
[ { "path": "src/llama-vocab.cpp", "patch": "@@ -1841,6 +1841,7 @@ void llama_vocab::impl::load(llama_model_loader & ml, const LLM_KV & kv) {\n if (false\n || t.first == \"<|fim_prefix|>\" // Qwen\n || t.first == \"<fim-prefix>\"\n+ ...
2025-04-17T08:37:05
nodejs/node
14dc300085e8bf2379a6dde0342f9a13ce1dd787
7becb1969c0697f08d7763c217694a266c98657a
v8: fix stack overflow in recursive method HGlobalValueNumberingPhase::CollectSideEffectsOnPathsToDominatedBlock() used to self-recurse before this commit, causing stack overflows on systems with small stack sizes. Make it non-recursive by storing intermediate results in a heap-allocated list. Fixes: https://github....
[ { "path": "deps/v8/src/crankshaft/hydrogen-gvn.cc", "patch": "@@ -5,6 +5,8 @@\n #include \"src/crankshaft/hydrogen-gvn.h\"\n \n #include \"src/crankshaft/hydrogen.h\"\n+#include \"src/list.h\"\n+#include \"src/list-inl.h\"\n #include \"src/objects-inl.h\"\n #include \"src/v8.h\"\n \n@@ -651,19 +653,23 @@ Si...
2017-04-17T10:20:05
huggingface/transformers
8c75cfdaeeb9ae960cfdb0ba780d35add282b2df
dbc16f4404eca4a75459683d5135f6accea35a02
Update README.md (#25834) _toctree.yml file. broken link, now fixed.
[ { "path": "docs/README.md", "patch": "@@ -84,7 +84,7 @@ The `preview` command only works with existing doc files. When you add a complet\n Accepted files are Markdown (.md or .md).\n \n Create a file with its extension and put it in the source directory. You can then link it to the toc-tree by putting\n-the...
2023-08-29T19:02:57
golang/go
6bcddae1af34d251b88fe134c1d3a8f4b4c7b0b6
9c3869d25933f4e885e0174fde666dba3faca764
cmd/go: clarify stderr behavior for 'go help mod download' Fixes #36297 Change-Id: I2623e9ee386644eddfa9a348ba368c5f1a81f893 Reviewed-on: https://go-review.googlesource.com/c/go/+/213134 Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@g...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -1023,7 +1023,9 @@\n // execution. The \"go mod download\" command is useful mainly for pre-filling\n // the local cache or to compute the answers for a Go module proxy.\n //\n-// By default, download reports errors to standard error but is otherwise silent.\n...
2020-01-03T18:13:57
vuejs/vue
e468ba078ebeb1870e1a477b7d5be6473d2dfc9f
f7e878c808ae69ed3d9b84f72eb21d59a8baa1be
fix coverage
[ { "path": "src/core/util/env.js", "patch": "@@ -61,9 +61,13 @@ export const nextTick = (function () {\n // \"force\" the microtask queue to be flushed by adding an empty timer.\n if (isIOS) setTimeout(noop)\n }\n- } else if (typeof MutationObserver !== 'undefined' && isNative(MutationObserv...
2016-09-29T00:58:16
ggml-org/llama.cpp
12b17501e6015ffe568ac54fdf08e6580833bf1b
015022bb53387baa8b23817ac03743705c7d472b
opencl: fix incorrect local_size index in profiling log (#12868)
[ { "path": "ggml/src/ggml-opencl/ggml-opencl.cpp", "patch": "@@ -1521,7 +1521,7 @@ static void ggml_cl2_free(void) {\n info.cmd_complete_duration_ns/1.e6f,\n info.cmd_total_duration_ns/1.e6f,\n info.global_size[0], info.global_size[1], info.global_size[2],\n- in...
2025-04-16T21:25:57
nodejs/node
7becb1969c0697f08d7763c217694a266c98657a
bf5c309b5eec0511a58825b7a59d2835bf00a3d1
deps: limit regress/regress-crbug-514081 v8 test regress/regress-crbug-514081 allocates a 2G block of memory and if there are multiple variants running at the same time this can lead to crashes, OOM kills or the OS failing to allocate memory. This patch limits us to running a single variant of the test Fixes: https...
[ { "path": "deps/v8/test/mjsunit/mjsunit.status", "patch": "@@ -658,4 +658,13 @@\n 'whitespaces': [SKIP],\n }], # variant == wasm_traps\n \n+##############################################################################\n+# This test allocates a 2G block of memory and if there are multiple\n+# varients th...
2016-05-09T22:44:42
huggingface/transformers
dbc16f4404eca4a75459683d5135f6accea35a02
ce2d4bc6a1be4f3eb2dc3d1bd564a0892665b2c7
Support loading base64 images in pipelines (#25633) * support loading base64 images * add test * mention in docs * remove the logging * sort imports * update error message * Update tests/utils/test_image_utils.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> * rest...
[ { "path": "docs/source/en/pipeline_tutorial.md", "patch": "@@ -204,7 +204,7 @@ page.\n \n Using a [`pipeline`] for vision tasks is practically identical.\n \n-Specify your task and pass your image to the classifier. The image can be a link or a local path to the image. For example, what species of cat is sh...
2023-08-29T18:24:24
vuejs/vue
790c99cdb488883142d86122e006154882d3a30a
aefb34812ecfc54d231ca32e8bfddbb7377535d3
fix IE/Edge select remembering selection (#3803) * fix IE/Edge select remembering selection * Use const over let
[ { "path": "src/platforms/web/runtime/directives/model.js", "patch": "@@ -35,9 +35,11 @@ export default {\n setSelected(el, binding, vnode.context)\n /* istanbul ignore if */\n if (isIE || isEdge) {\n- nextTick(() => {\n+ const cb = () => {\n setSelected(el, binding,...
2016-09-28T19:32:59
golang/go
9c3869d25933f4e885e0174fde666dba3faca764
0d09b7e041e24fd2707282b5440e029019c73190
cmd/go: convert TestGoTestImportErrorStack to the script framework The literal string match had to be turned into a regexp, otherwise pretty straightforward. Part of converting all tests to script framework to improve test parallelism. Updates #36320 Updates #17751 Change-Id: I46f62312f02dc9adf83ed91c6f807420d29fbb...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -3220,20 +3220,6 @@ func TestGoTestRaceFailures(t *testing.T) {\n \ttg.grepBothNot(\"PASS\", \"something passed\")\n }\n \n-func TestGoTestImportErrorStack(t *testing.T) {\n-\tconst out = `package testdep/p1 (test)\n-\timports testdep/p2\n-\timports testdep/p3...
2019-12-31T00:45:29
ggml-org/llama.cpp
54a72720432810c89c2693f34908b60b88da1e46
84778e97703740d8ac5fb64e14d83b80eafa0f3c
CANN: Add x86 build ci (#12950) * CANN: Add x86 build ci * CANN: fix code format
[ { "path": ".github/workflows/build.yml", "patch": "@@ -1766,16 +1766,17 @@ jobs:\n if: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'Ascend NPU') }}\n defaults:\n run:\n- shell: bash -el {0}\n- runs-on: ubuntu-24.04-arm\n+ shell: ...
2025-04-15T11:08:55
rust-lang/rust
0b818aa6731abff6878582130b2733617b2587d5
913592373d40ec6c67774fcf32143bc548b4b6ac
fixed a missing description of the MSRV option for `manual_repeat_n`
[ { "path": "book/src/lint_configuration.md", "patch": "@@ -750,6 +750,7 @@ The minimum rust version that the project supports. Defaults to the `rust-versio\n * [`manual_pattern_char_comparison`](https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison)\n * [`manual_range_conta...
2025-01-26T19:54:40
huggingface/transformers
aade754b27f4496cd67c2d1bfb67ef0df0ffa5d1
d97fd871e5ba57b23b1775ef2939ffea128dd08d
🌐 [i18n-KO] Translated `community.md` to Korean (#25674) * docs: ko: community.md * feat: deepl draft * fix: manual edits * fix: resolve suggestions Co-authored-by: Hyeonseo Yun <0525yhs@gmail.com> Co-authored-by: SeongWooChoi <46990061+nuatmochoi@users.noreply.github.com> --------- Co-authored-by:...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -103,8 +103,8 @@\n title: (번역중) Benchmarks\n - local: in_translation\n title: (번역중) Notebooks with examples\n- - local: in_translation\n- title: (번역중) Community resources\n+ - local: community\n+ title: 커뮤니티 리소스\n - lo...
2023-08-29T15:47:24
nodejs/node
bf5c309b5eec0511a58825b7a59d2835bf00a3d1
5b63fabfd82fcd0e87e6e9dfdc744913903efa3a
build: fix V8 build on FreeBSD Use the -D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=1 flag because on FreeBSD std::pairs copy constructor is non-trivial. Refs: https://lists.freebsd.org/pipermail/freebsd-toolchain/2016-March/002094.html Refs: https://github.com/gliaskos/freebsd-chromium/blob/master/www/chromium/Makefile#L202-L20...
[ { "path": "common.gypi", "patch": "@@ -410,6 +410,9 @@\n 'libraries': [ '-lelf' ],\n }],\n ['OS==\"freebsd\"', {\n+ # Use this flag because on FreeBSD std::pairs copy constructor is non-trivial\n+ # https://lists.freebsd.org/pipermail/freebsd-toolchain/2016-March/002094.htm...
2017-05-05T12:50:44
vuejs/vue
467572830f2df938796fd94300c590765963c1cc
313ad8f87bda5d0d120547f86ceb4995272f988e
fix coverage
[ { "path": "src/core/util/env.js", "patch": "@@ -21,6 +21,7 @@ export const isIOS = UA && /iphone|ipad|ipod|ios/.test(UA)\n // detect devtools\n export const devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__\n \n+/* istanbul ignore next */\n function isNative (Ctor: Function): boolean {\n return ...
2016-09-27T02:56:08
golang/go
421cefdc59fe4797a75558860964e76b4d9befbd
c57665f4e62d713e3f4c20c3e8ea075f712b1c65
cmd/go: convert TestRunInternal to the script test framework This conversion is a bit weird, because the original test runs in the cmd/go directory, while the script test runs in the GOPATH directory. So even though it's not necessary for the new test, it changes dircectory to $WORK, so that its error message regexp c...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -1026,16 +1026,6 @@ func TestInternalPackagesOutsideGOROOTAreRespected(t *testing.T) {\n \ttg.grepBoth(`testinternal2(\\/|\\\\)p\\.go\\:3\\:8\\: use of internal package .*internal/w not allowed`, \"wrote error message for testdata/testinternal2\")\n }\n \n-fun...
2019-12-30T21:56:00
ggml-org/llama.cpp
daa422881a0ec7944771bcc8ff8de34d11f5bd3b
eccc7a1602f0752507de4aaad1008b9618a282c8
llama : DeepSeek V2/V3 MLA implementation (#12801) * Merged using squash to remove all noise commit messages * Force flash attention off for `LLM_ARCH_DEEPSEEK2` - embedding too large * Removed 3 conts (2x RoPE and 1x RMS-norm) * Changed to use `<cmath>` instead of `<math.h>` * Reverted removal of the 3 conts * U...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -4422,6 +4422,10 @@ def set_vocab(self):\n self._set_vocab_gpt2()\n \n def set_gguf_parameters(self):\n+\n+ # note: deepseek2 using MLA converts into MQA (ie: GQA with 1 group)\n+ self.hparams[\"num_key_value_heads\"] = 1\n+\n ...
2025-04-15T06:49:57
huggingface/transformers
d97fd871e5ba57b23b1775ef2939ffea128dd08d
a35f889acc91cb40bd8c6659691aeb27581a69b1
🌐 [i18n-KO] Translated `add_new_pipeline.md` to Korean (#25498) * dos: ko: add_new_pipeline.mdx * feat: chatgpt draft * fix: manual edits * docs: ko: add_new_pipeline Update _toctree * Update docs/source/ko/add_new_pipeline.md Co-authored-by: Wonhyeong Seo <wonhseo@kakao.com> * Update docs/source...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -132,7 +132,7 @@\n - local: perf_infer_gpu_one\n title: 하나의 GPU를 활용한 추론\n - local: perf_infer_gpu_many\n- title: 여러 GPU에서 추론\n+ title: 다중 GPU에서 추론\n - local: in_translation\n title: (번역중) Inference on Specialized Hardwar...
2023-08-29T15:38:44
vuejs/vue
313ad8f87bda5d0d120547f86ceb4995272f988e
43b489b11f81956fc832ddee4121cfd59287cc39
fix flow lifecycle method name [Vue@2.x] (#3762) fix lifecycle method name `init` to `beforeCreate`
[ { "path": "flow/options.js", "patch": "@@ -34,7 +34,7 @@ declare type ComponentOptions = {\n render: () => VNode;\n staticRenderFns?: Array<() => VNode>;\n // lifecycle\n- init?: Function;\n+ beforeCreate?: Function;\n created?: Function;\n beforeMount?: Function;\n mounted?: Function;", "...
2016-09-27T02:54:57
rust-lang/rust
3779b8e32e405e81d234531a3b4e29ed3c13db8e
c2270becb63d4c52a2740137db2e9b49246f9362
Consistently use the most significant bit of vector masks This improves the codegen for vector `select`, `gather`, `scatter` and boolean reduction intrinsics and fixes rust-lang/portable-simd#316. The current behavior of most mask operations during llvm codegen is to truncate the mask vector to <N x i1>, telling llvm...
[ { "path": "compiler/rustc_codegen_llvm/src/intrinsic.rs", "patch": "@@ -1182,6 +1182,60 @@ fn generic_simd_intrinsic<'ll, 'tcx>(\n }};\n }\n \n+ /// Returns the bitwidth of the `$ty` argument if it is an `Int` type.\n+ macro_rules! require_int_ty {\n+ ($ty: expr, $diag: expr) => {\n...
2023-01-04T22:55:40
huggingface/transformers
483861d52db59cf99219a0281695d1e7e8859218
33aa0af70c70d9a8205b0ff0d1d4e68807fbb173
Error with checking args.eval_accumulation_steps to gather tensors (#25819) * Update trainer.py (error with checking steps in args.eval_accumulation_steps to gather tensors) While the deprecated code has the correct check (line 3772): "if args.eval_accumulation_steps is not None and (step + 1) % args.eval_accumul...
[ { "path": "src/transformers/trainer.py", "patch": "@@ -3193,7 +3193,11 @@ def evaluation_loop(\n self.control = self.callback_handler.on_prediction_step(args, self.state, self.control)\n \n # Gather all tensors and put them back on the CPU if we have done enough accumulation steps.\n...
2023-08-29T14:06:41