repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
vuejs/vue
2a5fb41d1cd7445b6aacd2e888df1b397b1899dd
01b09e6bcdbfadd45c014a6be4f9fca5e3896969
re-implement mergeVNodeHook to prevent memory leak (fix #4990)
[ { "path": "src/core/vdom/helpers/merge-hook.js", "patch": "@@ -1,18 +1,34 @@\n /* @flow */\n \n-export function mergeVNodeHook (def: Object, hookKey: string, hook: Function, key: string) {\n- key = key + hookKey\n- const injectedHash: Object = def.__injected || (def.__injected = {})\n- if (!injectedHash[...
2017-02-23T00:02:47
ggml-org/llama.cpp
9e31bec4fd53634c9e5b04650488a09a055f5dab
5a8ae3053ced350ed300ba91600519fcad1c6ba7
context : fix pos_min initialization upon error decode (#14008) ggml-ci
[ { "path": "src/llama-context.cpp", "patch": "@@ -1058,7 +1058,10 @@ int llama_context::decode(llama_batch & inp_batch) {\n \n if (!res) {\n // the last ubatch failed or was aborted -> remove all positions of that ubatch from the KV cache\n- llama_pos pos_min[LLAMA_MAX_PARALLEL...
2025-06-05T06:06:29
nodejs/node
df5d8e031a4f886fc79bbe7190a4885e496a0225
7d9dfdaea3aff33535167f528115115543430f2f
src: remove process._inspectorEnbale This commit removes process._inspectorEnbale which was spelled incorrectly, and is being properly implemented in a separate PR. Refs: https://github.com/nodejs/node/pull/12949 PR-URL: https://github.com/nodejs/node/pull/13460 Reviewed-By: Refael Ackermann <refack@gmail.com> Review...
[ { "path": "src/node.cc", "patch": "@@ -3400,13 +3400,7 @@ void SetupProcessObject(Environment* env,\n READONLY_PROPERTY(process, \"traceDeprecation\", True(env->isolate()));\n }\n \n- // TODO(refack): move the following 4 to `node_config`\n- // --inspect\n- if (debug_options.inspector_enabled()) {\...
2017-06-05T02:06:57
huggingface/transformers
975003eacb959011a7bb6fc6413904d84de06726
e8fdd7875def7be59e2c9b823705fbf003163ea0
fix a typo in flax T5 attention - attention_mask variable is misnamed (#26663) * fix a typo in flax t5 attention * fix the typo in flax longt5 attention
[ { "path": "src/transformers/models/longt5/modeling_flax_longt5.py", "patch": "@@ -545,7 +545,7 @@ def __call__(\n # During fast autoregressive decoding, we feed one position at a time,\n # and cache the keys and values step by step.\n if self.causal and (self.has_variable(\"cache\", ...
2023-10-10T18:36:32
golang/go
8bdd24df6afa746cede600351feb2aa4395a63ea
f5b5d77ee2ea0c2edfa600c5245df869e2177615
build: in clean.bash, look for 'go' in GOROOT/bin instead of GOBIN Updates #14340 Updates #32674 Fixes #36659 Change-Id: I5bfaba4e53dab894d113dd5065794d66f1a25f2b Reviewed-on: https://go-review.googlesource.com/c/go/+/215478 Reviewed-by: Bryan C. Mills <bcmills@google.com>
[ { "path": "src/clean.bash", "patch": "@@ -11,7 +11,7 @@ if [ ! -f run.bash ]; then\n fi\n export GOROOT=\"$(cd .. && pwd)\"\n \n-gobin=\"${GOBIN:-../bin}\"\n+gobin=\"${GOROOT}\"/bin\n if ! \"$gobin\"/go help >/dev/null 2>&1; then\n \techo 'cannot find go command; nothing to clean' >&2\n \texit 1", "addi...
2020-01-21T00:50:27
rust-lang/rust
5413d2bd6fd23103a8f44b306cdc6da1e109b6a2
8ddd9c38f6165d40ca1ab82e1d2bf9890a047c3a
Add FIXME for auditing optional parameters passed to DIBuilder
[ { "path": "compiler/rustc_codegen_llvm/src/llvm/ffi.rs", "patch": "@@ -1712,6 +1712,10 @@ unsafe extern \"C\" {\n \n // FFI bindings for `DIBuilder` functions in the LLVM-C API.\n // Try to keep these in the same order as in `llvm/include/llvm-c/DebugInfo.h`.\n+//\n+// FIXME(#134001): Audit all `Option` par...
2024-12-07T13:10:39
vuejs/vue
01b09e6bcdbfadd45c014a6be4f9fca5e3896969
73c5614740bee7c439735a7cf57841981a2b9ac2
type for renderError option
[ { "path": "types/options.d.ts", "patch": "@@ -22,6 +22,7 @@ export interface ComponentOptions<V extends Vue> {\n el?: Element | String;\n template?: string;\n render?(this: V, createElement: CreateElement): VNode;\n+ renderError?: (h: () => VNode, err: Error) => VNode;\n staticRenderFns?: ((createE...
2017-02-22T18:17:18
ggml-org/llama.cpp
0d3984424f2973c49c4bcabe4cc0153b4f90c601
3e63a58ef7addec35408e2eb67850d7cdc935dc3
ggml-vulkan: adds support for op CONV_TRANSPOSE_1D (#13813) * * ggml-vulkan: adds op CONV_TRANSPOSE_1D * test-backend-ops: adds more spohisticated tests for CONV_TRANSPOSE_1D * Missing barrier added to shader. Number of additional tests reduced to 108. * * Fixes typo in variable name. * Removes extra whitespaces. ...
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -396,6 +396,7 @@ struct vk_device_struct {\n vk_pipeline pipeline_count_equal_i32;\n vk_pipeline pipeline_im2col_f32, pipeline_im2col_f32_f16;\n vk_pipeline pipeline_timestep_embedding_f32;\n+ vk_pipeline pipeline_conv_transpose_1...
2025-06-04T20:02:00
nodejs/node
ddba969321ba19576eae4455f5093b4bc4d1ff25
f29406d735405cc9f3d5f1083e84ecf2914d678d
test: fix build warning in addons-napi/test_object PR-URL: https://github.com/nodejs/node/pull/13412 Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "test/addons-napi/test_object/test_object.c", "patch": "@@ -3,6 +3,8 @@\n #include <string.h>\n #include <stdlib.h>\n \n+static int test_value = 3;\n+\n napi_value Get(napi_env env, napi_callback_info info) {\n size_t argc = 2;\n napi_value args[2];\n@@ -145,7 +147,7 @@ napi_value Wrap(napi_en...
2017-06-02T19:32:18
huggingface/transformers
e8fdd7875def7be59e2c9b823705fbf003163ea0
a9862a0f495bac3a6ecd5165686610fd5d91c848
[docstring] Fix docstring for `LlamaConfig` (#26685) * Your commit message here * fix LlamaConfig docstring * run make fixup * fix formatting after review reformat of the file to prevent script issues * rerun make fixup after reformat
[ { "path": "src/transformers/models/llama/configuration_llama.py", "patch": "@@ -58,24 +58,30 @@ class LlamaConfig(PretrainedConfig):\n by meanpooling all the original heads within that group. For more details checkout [this\n paper](https://arxiv.org/pdf/2305.13245.pdf). If it is not...
2023-10-10T15:05:48
golang/go
f5b5d77ee2ea0c2edfa600c5245df869e2177615
eb5cd0fb40f24d8480fd549ad36c34ed001ccf3d
cmd/compile: use immediates for MOVO of readonly sym file before after Δ % addr2line 4307760 4303616 -4144 -0.096% api 5968600 5968568 -32 -0.001% asm 5109928 5122120 +12192 +0.239% buildid 2843752 2839608 -4144 -0.146% cgo 4823768 4819624 -...
[ { "path": "src/cmd/compile/internal/ssa/gen/AMD64.rules", "patch": "@@ -2428,3 +2428,6 @@\n (MOVWload [off] {sym} (SB) _) && symIsRO(sym) -> (MOVLconst [int64(read16(sym, off, config.ctxt.Arch.ByteOrder))])\n (MOVLload [off] {sym} (SB) _) && symIsRO(sym) -> (MOVQconst [int64(read32(sym, off, config.ctxt.Arc...
2020-02-23T06:05:05
rust-lang/rust
8ddd9c38f6165d40ca1ab82e1d2bf9890a047c3a
949b4673ceebd767cc0b138392b420a050dc6ce0
Use `LLVMDIBuilderCreateDebugLocation` The LLVM-C binding takes an explicit context, whereas our binding obtained the context from the scope argument.
[ { "path": "compiler/rustc_codegen_llvm/src/debuginfo/mod.rs", "patch": "@@ -574,7 +574,7 @@ impl<'ll, 'tcx> DebugInfoCodegenMethods<'tcx> for CodegenCx<'ll, 'tcx> {\n (line, col)\n };\n \n- unsafe { llvm::LLVMRustDIBuilderCreateDebugLocation(line, col, scope, inlined_at) }\n+ ...
2025-02-01T03:00:20
vuejs/vue
8e854a9ed1b606890b53637f201432174bb7508a
29f6902d1959c35eb38ef110bee6c13124903442
only use click for v-model checkbox/radio in Chrome (fix #4796, #4896)
[ { "path": "src/core/util/env.js", "patch": "@@ -14,6 +14,7 @@ export const isIE9 = UA && UA.indexOf('msie 9.0') > 0\n export const isEdge = UA && UA.indexOf('edge/') > 0\n export const isAndroid = UA && UA.indexOf('android') > 0\n export const isIOS = UA && /iphone|ipad|ipod|ios/.test(UA)\n+export const isC...
2017-02-22T02:25:57
ggml-org/llama.cpp
3e63a58ef7addec35408e2eb67850d7cdc935dc3
2589ad3704559f4dd860f5f303b19349c688a28a
kv-cache : refactor the update/defrag mechanism (#13988) * kv-cache : refactor update mechanism ggml-ci * memory : improve status handling * defrag : reset head + add comments ggml-ci * cont : minor fixes ggml-ci
[ { "path": "src/llama-context.cpp", "patch": "@@ -429,30 +429,62 @@ const llama_kv_cache * llama_context::get_kv_self() const {\n return kv_self;\n }\n \n-bool llama_context::kv_self_update() {\n+void llama_context::kv_self_defrag_sched() {\n+ if (!memory) {\n+ return;\n+ }\n+\n+ memory_f...
2025-06-04T15:58:20
huggingface/transformers
a9862a0f495bac3a6ecd5165686610fd5d91c848
592f2eabd17cbdebd13dec54edf412f9f8232152
Fix Typo: table in deepspeed.md (#26705)
[ { "path": "docs/source/en/main_classes/deepspeed.md", "patch": "@@ -1224,6 +1224,7 @@ As long as you don't enable `offload_optimizer` you can mix and match DeepSpeed\n optimizers, with the exception of using the combination of HuggingFace scheduler and DeepSpeed optimizer:\n \n | Combos | HF Scheduler...
2023-10-10T09:50:10
nodejs/node
7cddcc971576aa4b22654132db1c9debbcc0839e
30a20bda7daf24d7ee6c1f8d07249a1f12e75aba
assert: fix deepEqual similar sets and maps bug This fixes a bug where deepEqual and deepStrictEqual would have incorrect behaviour in sets and maps containing multiple equivalent keys. PR-URL: https://github.com/nodejs/node/pull/13426 Fixes: https://github.com/nodejs/node/issues/13347 Refs: https://github.com/nodejs...
[ { "path": "lib/assert.js", "patch": "@@ -285,9 +285,12 @@ function _deepEqual(actual, expected, strict, memos) {\n return areEq;\n }\n \n-function setHasSimilarElement(set, val1, strict, memo) {\n- if (set.has(val1))\n+function setHasSimilarElement(set, val1, usedEntries, strict, memo) {\n+ if (set.has(...
2017-06-03T00:26:25
vuejs/vue
1861ee9570730149e01f225323c3a52392e5900f
a1d5b22e347aab9e8e4f63b01abf2d88dec428df
feat: renderError
[ { "path": "flow/options.js", "patch": "@@ -33,7 +33,8 @@ declare type ComponentOptions = {\n // DOM\n el?: string | Element;\n template?: string;\n- render: () => VNode;\n+ render: (h: () => VNode) => VNode;\n+ renderError?: (h: () => VNode, err: Error) => VNode;\n staticRenderFns?: Array<() => V...
2017-02-20T05:16:40
golang/go
eb5cd0fb40f24d8480fd549ad36c34ed001ccf3d
390c096ee99728b8e1b0218a775a39651baf057e
cmd/compile: mark Lsyms as readonly earlier The SSA backend has rules to read the contents of readonly Lsyms. However, this rule was failing to trigger for many readonly Lsyms. This is because the readonly attribute that was set on the Node.Name was not propagated to its Lsym until the dump globals phase, after SSA ru...
[ { "path": "src/cmd/compile/internal/gc/order.go", "patch": "@@ -207,7 +207,7 @@ func (o *Order) addrTemp(n *Node) *Node {\n \t\tn = defaultlit(n, nil)\n \t\tdowidth(n.Type)\n \t\tvstat := staticname(n.Type)\n-\t\tvstat.Name.SetReadonly(true)\n+\t\tvstat.MarkReadonly()\n \t\tvar s InitSchedule\n \t\ts.static...
2020-02-17T01:00:52
ggml-org/llama.cpp
0b4be4c435849b00dbd98b109cf7a22298d27b69
e0e806f52ebcd0ee285c994fe8fd8b8787d2cb0a
CUDA: fix FTZ in FA for Gemma 3 (#13991)
[ { "path": "ggml/src/ggml-cuda/fattn-mma-f16.cuh", "patch": "@@ -652,9 +652,12 @@ static __device__ __forceinline__ void flash_attn_ext_f16_iter(\n float KQ_max_scale[cols_per_thread];\n #pragma unroll\n for (int col = 0; col < cols_per_thread; ++col) {\n- KQ_max_scale[col] = expf(...
2025-06-04T06:57:05
huggingface/transformers
592f2eabd17cbdebd13dec54edf412f9f8232152
a5e6df82c00cb53ffe863008cbbedd813bcc508b
Control first downsample stride in ResNet (#26374) * control first downsample stride * reduce first only works for ResNetBottleNeckLayer * fix param name * fix style
[ { "path": "src/transformers/models/resnet/configuration_resnet.py", "patch": "@@ -59,6 +59,8 @@ class ResNetConfig(BackboneConfigMixin, PretrainedConfig):\n are supported.\n downsample_in_first_stage (`bool`, *optional*, defaults to `False`):\n If `True`, the first stage will...
2023-10-10T04:45:24
vuejs/vue
a1d5b22e347aab9e8e4f63b01abf2d88dec428df
3c0cdb553590db84a3bdb2a299947e7424e23464
throw error in ssr so it can be captured properly by renderer
[ { "path": "src/core/util/error.js", "patch": "@@ -1,5 +1,6 @@\n import config from '../config'\n import { warn } from './debug'\n+import { inBrowser } from './env'\n \n export function handleError (err, vm, type) {\n if (config.errorHandler) {\n@@ -8,8 +9,10 @@ export function handleError (err, vm, type) ...
2017-02-20T04:21:02
nodejs/node
30a20bda7daf24d7ee6c1f8d07249a1f12e75aba
efab7847c682d2e3d63223e8724d64480a7f8aec
test,module: make message check MUI dependent PR-URL: https://github.com/nodejs/node/pull/13393 Fixes: https://github.com/nodejs/node/issues/13376 Reviewed-By: Tobias Nießen <tniessen@tnie.de>
[ { "path": "test/parallel/test-module-loading-error.js", "patch": "@@ -22,23 +22,38 @@\n 'use strict';\n const common = require('../common');\n const assert = require('assert');\n+const { execSync } = require('child_process');\n \n-const error_desc = {\n+const errorMessagesByPlatform = {\n win32: ['%1 is n...
2017-06-03T14:20:11
golang/go
75619d199f88bc4d411cefcf5735cbbff78d1ae2
025a4faf5fd70b8be4a77d19762eb2b4da8754b0
bytes: deflake TestGrow by using testing.AllocsPerRun Fixes #36695 Change-Id: I4392246015252018b49f321a5a839cc68cc611d7 GitHub-Last-Rev: c2fb1f7ddbe9b80059eed69f31781abe0a1db185 GitHub-Pull-Request: golang/go#36732 Reviewed-on: https://go-review.googlesource.com/c/go/+/216237 Reviewed-by: Bryan C. Mills <bcmills@goog...
[ { "path": "src/bytes/buffer_test.go", "patch": "@@ -8,7 +8,6 @@ import (\n \t. \"bytes\"\n \t\"io\"\n \t\"math/rand\"\n-\t\"runtime\"\n \t\"testing\"\n \t\"unicode/utf8\"\n )\n@@ -495,20 +494,20 @@ func TestGrow(t *testing.T) {\n \tx := []byte{'x'}\n \ty := []byte{'y'}\n \ttmp := make([]byte, 72)\n-\tfor _,...
2020-02-26T18:19:18
ggml-org/llama.cpp
e0e806f52ebcd0ee285c994fe8fd8b8787d2cb0a
7e00e60ef86645a01fda738fef85b74afa016a34
kv-cache : fix unified::seq_rm to work with seq_id < 0 (#13985) ggml-ci
[ { "path": "src/llama-kv-cache-unified.cpp", "patch": "@@ -149,12 +149,27 @@ bool llama_kv_cache_unified::seq_rm(llama_seq_id seq_id, llama_pos p0, llama_pos\n p1 = std::numeric_limits<llama_pos>::max();\n }\n \n- for (uint32_t i = 0; i < cells.size(); ++i) {\n- if (!cells.pos_in(i, p0,...
2025-06-04T06:50:32
huggingface/transformers
a5e6df82c00cb53ffe863008cbbedd813bcc508b
87b4ade9e5e6424673652286c46ff3d5039c0503
[docstring] Fix docstrings for `CLIP` (#26691) fix docstrings for vanilla clip
[ { "path": "src/transformers/models/clip/configuration_clip.py", "patch": "@@ -168,24 +168,28 @@ class CLIPVisionConfig(PretrainedConfig):\n Dimensionality of the encoder layers and the pooler layer.\n intermediate_size (`int`, *optional*, defaults to 3072):\n Dimensionality o...
2023-10-09T15:39:05
vuejs/vue
3c0cdb553590db84a3bdb2a299947e7424e23464
3566d9296de28e679be0970c4eb52a938eaf2ecc
improve error handling for lifecycle hooks
[ { "path": "src/core/instance/lifecycle.js", "patch": "@@ -6,7 +6,7 @@ import { createEmptyVNode } from '../vdom/vnode'\n import { observerState } from '../observer/index'\n import { updateComponentListeners } from './events'\n import { resolveSlots } from './render-helpers/resolve-slots'\n-import { warn, va...
2017-02-20T04:19:44
nodejs/node
efab7847c682d2e3d63223e8724d64480a7f8aec
d081548858ae2c89e22c6e9a231644fba08e008e
http: assert parser.consume argument's type Unchecked argument conversion in Parser::Consume crashes node in an slightly undesirable manner - 'unreachable code' in parser. Make sure we validate the incoming type at the earliest point. PR-URL: https://github.com/nodejs/node/pull/12288 Fixes: https://github.com/nodejs...
[ { "path": "src/node_http_parser.cc", "patch": "@@ -496,6 +496,7 @@ class Parser : public AsyncWrap {\n static void Consume(const FunctionCallbackInfo<Value>& args) {\n Parser* parser;\n ASSIGN_OR_RETURN_UNWRAP(&parser, args.Holder());\n+ CHECK(args[0]->IsExternal());\n Local<External> strea...
2017-04-09T10:27:19
golang/go
e3b536a054603789ad8dc8481b88cf3c82eb4bf6
8992f7c4597dcc60b91e8b088fb31b49b9b55496
test: re-enable open-coded defer test on riscv64 Open-coded defers were fixed and re-enabled on riscv64, however this test was inadvertantly left disabled. Updates #36786 Change-Id: I128fc84baa3d51f50d173e19e52051dc4d9a07c3 Reviewed-on: https://go-review.googlesource.com/c/go/+/220920 Run-TryBot: Ian Lance Taylor <i...
[ { "path": "test/defererrcheck.go", "patch": "@@ -1,15 +1,11 @@\n // errorcheck -0 -l -d=defer\n-// +build !riscv64\n \n // Copyright 2019 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 // check that open-c...
2020-02-25T16:17:01
ggml-org/llama.cpp
7e00e60ef86645a01fda738fef85b74afa016a34
ea1431b0fa3a8108aac1e0a94a13ccc4a749963e
vulkan: fix warnings in perf logger querypool code (#13937)
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -444,7 +444,7 @@ struct vk_device_struct {\n // for GGML_VK_PERF_LOGGER\n std::unique_ptr<vk_perf_logger> perf_logger;\n vk::QueryPool query_pool;\n- uint32_t num_queries;\n+ int32_t num_queries;\n \n ~vk_device_struct() {\...
2025-06-03T18:30:22
huggingface/transformers
87b4ade9e5e6424673652286c46ff3d5039c0503
3257946fb737f597fe7e0bc10a7c9a00100c5971
Fix stale bot (#26692) * Fix stale bot * Comments
[ { "path": "scripts/stale.py", "patch": "@@ -37,19 +37,20 @@ def main():\n open_issues = repo.get_issues(state=\"open\")\n \n for issue in open_issues:\n+ print(issue)\n comments = sorted([comment for comment in issue.get_comments()], key=lambda i: i.created_at, reverse=True)\n ...
2023-10-09T14:39:57
vuejs/vue
3dc9338479c6c04925831b21ebec43677a918897
9ccffe72db6d4c35a137063519e6ec0a9c5c34a4
Warn when defining a method with same name as a prop (#4950) * Warn when defining a method with same name as a prop * update error message
[ { "path": "src/core/instance/state.js", "patch": "@@ -183,14 +183,23 @@ function createComputedGetter (key) {\n }\n \n function initMethods (vm: Component, methods: Object) {\n+ const props = vm.$options.props\n for (const key in methods) {\n vm[key] = methods[key] == null ? noop : bind(methods[key],...
2017-02-18T14:09:27
nodejs/node
d081548858ae2c89e22c6e9a231644fba08e008e
fc6f487f2e2eaa54e2de38b1cf9529dec5f8fcd5
net: fix permanent deopt PR-URL: https://github.com/nodejs/node/pull/13384 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
[ { "path": "lib/net.js", "patch": "@@ -949,8 +949,8 @@ Socket.prototype.connect = function() {\n // TODO(joyeecheung): use destructuring when V8 is fast enough\n normalized = normalizeArgs(args);\n }\n- const options = normalized[0];\n- const cb = normalized[1];\n+ var options = normalized[0];\n...
2017-06-02T06:10:11
golang/go
8992f7c4597dcc60b91e8b088fb31b49b9b55496
975c01342a25899962969833d8b2873dc8856a4f
cmd/go: escape $WORK in ccompile when -n is set Fixes #37012 Change-Id: I169807788c022042a2b5cf04f67ae41a7325fbcf GitHub-Last-Rev: 9e77301c7ab3125a6f21f2c9cd998503976a5d5d GitHub-Pull-Request: golang/go#37289 Reviewed-on: https://go-review.googlesource.com/c/go/+/219919 Reviewed-by: Bryan C. Mills <bcmills@google.com...
[ { "path": "src/cmd/go/internal/work/exec.go", "patch": "@@ -2129,9 +2129,8 @@ func (b *Builder) gfortran(a *Action, p *load.Package, workdir, out string, flag\n func (b *Builder) ccompile(a *Action, p *load.Package, outfile string, flags []string, file string, compiler []string) error {\n \tfile = mkAbs(p.D...
2020-02-26T15:02:36
vuejs/vue
2f520ba9eeee24479536b9621cf9b32cd463cc35
7f6c889a8811b29e571bba7b39f21284c090fa94
fix doc comment typo (#4954)
[ { "path": "src/core/instance/state.js", "patch": "@@ -58,7 +58,7 @@ function initProps (vm: Component, propsOptions: Object) {\n const propsData = vm.$options.propsData || {}\n const props = vm._props = {}\n // cache prop keys so that future props updates can iterate using Array\n- // instead of dyan...
2017-02-17T09:31:45
ggml-org/llama.cpp
bfb1e012a0b7658e8f00ed4333d059943ea9d648
363757628848a27a435bbf22ff9476e9aeda5f40
OpenCL: Add concat, tsembd, upscale, tanh, pad and repeat (#13840) * add concat, pad, repeat, tsembd, tanh, upscale * small fixes
[ { "path": "ggml/src/ggml-opencl/CMakeLists.txt", "patch": "@@ -95,6 +95,12 @@ set(GGML_OPENCL_KERNELS\n sub\n sum_rows\n transpose\n+ concat\n+ tsembd\n+ upscale\n+ tanh\n+ pad\n+ repeat\n )\n \n foreach (K ${GGML_OPENCL_KERNELS})", "additions": 6, "deletions": 0, "...
2025-06-02T23:53:36
huggingface/transformers
3257946fb737f597fe7e0bc10a7c9a00100c5971
d2f06dfffcf1b0bf5c9f96808b063f935b27991e
[docstring] Fix docstring for DonutImageProcessor (#26641) * removed donutimageprocessor from objects_to_ignore * added docstring for donutimageprocessor * readding donut file * moved docstring to correct location
[ { "path": "src/transformers/models/donut/image_processing_donut.py", "patch": "@@ -61,7 +61,7 @@ class DonutImageProcessor(BaseImageProcessor):\n Size of the image after resizing. The shortest edge of the image is resized to size[\"shortest_edge\"], with\n the longest edge resized to...
2023-10-09T14:32:13
nodejs/node
fc6f487f2e2eaa54e2de38b1cf9529dec5f8fcd5
e374e44a8a1bed599379fdcf4b5fe142c5e5187d
process: fix permanent deopt PR-URL: https://github.com/nodejs/node/pull/13384 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
[ { "path": "lib/internal/process/warning.js", "patch": "@@ -90,7 +90,7 @@ function setupProcessWarnings() {\n if (isDeprecation && process.noDeprecation) return;\n const trace = process.traceProcessWarnings ||\n (isDeprecation && process.traceDeprecation);\n- let msg = `$...
2017-06-02T06:09:58
ggml-org/llama.cpp
5582c49c3961269eca96822abfb87528e942dd07
c9bbc77931d223ed7e7cbcf1cb057bc02fd0db19
gemma : more consistent attention scaling for v2 and v3 (#13951) * gemma : fix attn scale for 27B * cont : apply scale before attn * cont : consistent attention scaling
[ { "path": "src/llama-model.cpp", "patch": "@@ -956,6 +956,11 @@ void llama_model::load_hparams(llama_model_loader & ml) {\n case 46: type = LLM_TYPE_27B; break;\n default: type = LLM_TYPE_UNKNOWN;\n }\n+\n+ // ref: https://github.com/goog...
2025-06-02T17:54:26
vuejs/vue
0598ab0c6438cdd07ba7d7bc0cbdbc19231f26f8
acec8db2c4b54ac6f9cda7ab8fcc3bdd213eb3ed
#4371 - Explicit transition durations (#4857) * Add transition explicit duration * Fix tests for explicit transition duration * Tweaks & default to milliseconds * Better tests * Better test for change value case * Fix transition duration tests * Better flow typing * Fix transition test * Revert...
[ { "path": "src/platforms/web/runtime/components/transition.js", "patch": "@@ -21,7 +21,8 @@ export const transitionProps = {\n leaveActiveClass: String,\n appearClass: String,\n appearActiveClass: String,\n- appearToClass: String\n+ appearToClass: String,\n+ duration: [Number, Object]\n }\n \n // i...
2017-02-15T23:37:09
huggingface/transformers
d2f06dfffcf1b0bf5c9f96808b063f935b27991e
3763101f8515f26b7902ea49f00685e36b789fe1
[docstring] Fix docstring for `CLIPImageProcessor` (#26676) fix docstring for CLIPImageProcessor
[ { "path": "src/transformers/models/clip/image_processing_clip.py", "patch": "@@ -59,7 +59,7 @@ class CLIPImageProcessor(BaseImageProcessor):\n Size of the image after resizing. The shortest edge of the image is resized to size[\"shortest_edge\"], with\n the longest edge resized to ke...
2023-10-09T12:22:44
golang/go
ee46f135a92c982d1dfcfd742729df372d70a69c
26aadfa0442249d4b55d7135134eb7ec0a43a850
cmd/compile: output cost while inlining function with Debug['m'] > 1 The existing implementation outputs inline cost iff function cannot be inlined with Debug['m'] > 1, the cost info is also useful if the function is inlineable. Fixes #36780 Change-Id: Ic96f6baf96aee25fb4b33d31d4d644dc2310e536 Reviewed-on: https://g...
[ { "path": "src/cmd/compile/internal/gc/inl.go", "patch": "@@ -225,7 +225,7 @@ func caninl(fn *Node) {\n \tfn.Type.FuncType().Nname = asTypesNode(n)\n \n \tif Debug['m'] > 1 {\n-\t\tfmt.Printf(\"%v: can inline %#v as: %#v { %#v }\\n\", fn.Line(), n, fn.Type, asNodes(n.Func.Inl.Body))\n+\t\tfmt.Printf(\"%v: c...
2020-01-29T03:47:49
vuejs/vue
acec8db2c4b54ac6f9cda7ab8fcc3bdd213eb3ed
8d885128371c81994715691c81d161b3768706dd
[WIP] Support for ref callback (#4807) * :sparkles: Tests for ref callback * :sparkles: Support for ref callback * Add test of inline ref callback * adjust ref implementation strategy * fix patch ref registration * fix tests * fix flow * fix test for phantomjs
[ { "path": "flow/component.js", "patch": "@@ -2,6 +2,10 @@ import type { Config } from '../src/core/config'\n import type VNode from '../src/core/vdom/vnode'\n import type Watcher from '../src/core/observer/watcher'\n \n+declare type Refs = {\n+ [key: string]: Component | Element | Array<Component | Element...
2017-02-15T22:29:13
nodejs/node
e374e44a8a1bed599379fdcf4b5fe142c5e5187d
8cc8358ef74a2ac0d0a662383977c7c80c75ff94
events: fix potential permanent deopt PR-URL: https://github.com/nodejs/node/pull/13384 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
[ { "path": "lib/events.js", "patch": "@@ -306,10 +306,25 @@ EventEmitter.prototype.prependListener =\n };\n \n function onceWrapper() {\n- this.target.removeListener(this.type, this.wrapFn);\n if (!this.fired) {\n+ this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n- t...
2017-06-02T06:09:19
ggml-org/llama.cpp
bfd322796cd838f906535ff3352624fc46338894
093e3f1feb16e25e58f7d61e01266c830dd424b8
mtmd : fix memory leak in mtmd_helper_eval_chunk_single (#13961) * mtmd : fix memory in mtmd_helper_eval_chunk_single * mtmd-cli : fix mem leak * Update tools/mtmd/mtmd-cli.cpp Co-authored-by: Georgi Gerganov <ggerganov@gmail.com> --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
[ { "path": "tools/mtmd/mtmd-cli.cpp", "patch": "@@ -70,6 +70,7 @@ struct mtmd_cli_context {\n llama_model * model;\n llama_context * lctx;\n const llama_vocab * vocab;\n+ common_sampler * smpl;\n llama_batch batch;\n int n_batch;\n \n@@ -89,8 +90,9 ...
2025-06-02T14:29:28
huggingface/transformers
3763101f8515f26b7902ea49f00685e36b789fe1
c7f01beece5b25f05c910b130da654283805543d
[docstring] Fix docstring CLIP configs (#26677) * fix docstrings for CLIP configs * black formatted
[ { "path": "src/transformers/models/clip/configuration_clip.py", "patch": "@@ -54,6 +54,8 @@ class CLIPTextConfig(PretrainedConfig):\n Dimensionality of the encoder layers and the pooler layer.\n intermediate_size (`int`, *optional*, defaults to 2048):\n Dimensionality of the ...
2023-10-09T10:34:01
golang/go
26aadfa0442249d4b55d7135134eb7ec0a43a850
cb74dcc172de2779a2f65ea830f687156c98ad50
cmd/vendor: create modules.txt even for unused deps `go mod vendor` should create vendor/modules.txt even when the only deps in go.mod are unused. Fixes: #36580 Change-Id: I92a746d3f013bc2bdc3d2cec6e14b16f606c2edd GitHub-Last-Rev: ea39a1c62294f42e5e5aab049f466189de0fd42d GitHub-Pull-Request: golang/go#36920 Reviewe...
[ { "path": "src/cmd/go/internal/modcmd/vendor.go", "patch": "@@ -123,6 +123,11 @@ func runVendor(cmd *base.Command, args []string) {\n \t\tfmt.Fprintf(os.Stderr, \"go: no dependencies to vendor\\n\")\n \t\treturn\n \t}\n+\n+\tif err := os.MkdirAll(vdir, 0777); err != nil {\n+\t\tbase.Fatalf(\"go mod vendor: ...
2020-02-13T06:02:10
vuejs/vue
8d885128371c81994715691c81d161b3768706dd
69771090511fb8072b5600f6c4d212026c8e7eea
ssr: resolve require() calls relative to bundle (fix #4936)
[ { "path": "package.json", "patch": "@@ -101,6 +101,7 @@\n \"nightwatch\": \"^0.9.9\",\n \"nightwatch-helpers\": \"^1.2.0\",\n \"phantomjs-prebuilt\": \"^2.1.1\",\n+ \"resolve\": \"^1.2.0\",\n \"rollup\": \"^0.41.4\",\n \"rollup-plugin-alias\": \"^1.2.0\",\n \"rollup-plugin-babel\"...
2017-02-15T17:07:07
ggml-org/llama.cpp
093e3f1feb16e25e58f7d61e01266c830dd424b8
663445b0deb21fb602176da030d4154197a4fca6
cmake : Handle mixed-case 'Power' strings in POWER CPU detection (#13966) Some systems report the CPU implementation as "Power11" instead of "POWER11". The existing CMake logic uses a case-sensitive regular expression to extract the CPU generation, which fails when the casing doesn't exactly match "POWER". This patch...
[ { "path": "ggml/src/ggml-cpu/CMakeLists.txt", "patch": "@@ -318,7 +318,8 @@ function(ggml_add_cpu_backend_variant_impl tag_name)\n execute_process(COMMAND bash -c \"prtconf |grep 'Implementation' | head -n 1\" OUTPUT_VARIABLE POWER10_M)\n endif()\n \n- string(REGEX MAT...
2025-06-02T12:18:36
nodejs/node
8cc8358ef74a2ac0d0a662383977c7c80c75ff94
aae0d4559c9904db4168c30eb45552600599a238
tools: fix node args passing in test runner This fixes a regression from 53c88fa4111 so that special arguments can once again be passed to the node executable when running tests. PR-URL: https://github.com/nodejs/node/pull/13384 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Refael Ackermann <refack@gma...
[ { "path": "tools/test.py", "patch": "@@ -817,6 +817,10 @@ def GetConfiguration(self, context):\n (file, pathname, description) = imp.find_module('testcfg', [ self.path ])\n module = imp.load_module('testcfg', file, pathname, description)\n self.config = module.GetConfiguration(context, sel...
2017-06-02T06:07:58
huggingface/transformers
c7f01beece5b25f05c910b130da654283805543d
740fc6a1daa2efcc0f4a38c43dc7c208067e66be
fix typos in idefics.md (#26648) * fix typos in idefics.md Two typos found in reviewing this documentation. 1) max_new_tokens=4, is not sufficient to generate "Vegetables" as indicated - you will get only "Veget". (incidentally - some mention of how to select this value might be useful as it seems to change in e...
[ { "path": "docs/source/en/tasks/idefics.md", "patch": "@@ -276,7 +276,7 @@ We can instruct the model to classify the image into one of the categories that\n >>> inputs = processor(prompt, return_tensors=\"pt\").to(\"cuda\")\n >>> bad_words_ids = processor.tokenizer([\"<image>\", \"<fake_token_around_image>\...
2023-10-09T10:18:02
vuejs/vue
69771090511fb8072b5600f6c4d212026c8e7eea
ef57aa250f57f92baa8d7c6c27f96ded20802a00
improve transition-group move detection (fix #4900, close #4911)
[ { "path": "src/platforms/web/runtime/components/transition-group.js", "patch": "@@ -12,13 +12,15 @@\n // nodes will remain where they should be.\n \n import { warn, extend } from 'core/util/index'\n+import { addClass, removeClass } from '../class-util'\n import { transitionProps, extractTransitionData } fro...
2017-02-15T14:59:43
golang/go
44fe355694798b5e1c55fc087e697886e93e633e
e6d7326fb661f9754300d6b9fc5fbb2ee2e4a46b
cmd/compile: canonicalize comparison argument order Ensure that any comparison between two values has the same argument order. This helps ensure that they can be eliminated during the lowered CSE pass which will be particularly important if we eliminate the Greater and Geq ops (see #37316). Example: CMP R0, R1 B...
[ { "path": "src/cmd/compile/internal/ssa/gen/386.rules", "patch": "@@ -492,6 +492,9 @@\n (CMPB x (MOVLconst [c])) -> (CMPBconst x [int64(int8(c))])\n (CMPB (MOVLconst [c]) x) -> (InvertFlags (CMPBconst x [int64(int8(c))]))\n \n+// Canonicalize the order of arguments to comparisons - helps with CSE.\n+(CMP(L|...
2020-02-23T22:08:24
ggml-org/llama.cpp
663445b0deb21fb602176da030d4154197a4fca6
7675c555a13c9f473249e59a54db35032ce8e0fc
sycl: quantize and reorder the input to q8_1 when reorder is enabled (#13826) * [WIP]: fuse q8 quantization and reorder * wip2: fuse q8 quantization and reorder * working q8 reorder commit * restored common.hpp * remove debug prints * remove unnecessary headers and remove trailing whitespace * Update ggml/src/gg...
[ { "path": "ggml/src/ggml-sycl/ggml-sycl.cpp", "patch": "@@ -1434,6 +1434,59 @@ static void quantize_q8_1(const float * __restrict__ x, void * __restrict__ vy,\n reinterpret_cast<sycl::half &>(y[ib].ds.y()) = sum;\n }\n \n+template <int ElementsPerWI>\n+static __dpct_inline__ void quantize_and_reorder_q8...
2025-06-02T09:12:20
huggingface/transformers
740fc6a1daa2efcc0f4a38c43dc7c208067e66be
8835bff6a0fb271bd71837390e67b1698b9f0d91
Avoid CI OOM (#26639) fix avoid oom Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".circleci/create_circleci_config.py", "patch": "@@ -311,7 +311,7 @@ def job_name(self):\n \"pip install -U --upgrade-strategy eager git+https://github.com/huggingface/accelerate\",\n ],\n parallelism=1,\n- pytest_num_workers=8,\n+ pytest_num_workers=6,\n )\n \n \n@@ -347,6 +...
2023-10-09T09:42:08
nodejs/node
062071a9c37fa10b3f17f11231e1dfbc3db015d1
7024c5a3026b9130a7dc3c8499dc49fb21b9fa90
errors,process: migrate to use internal/errors.js PR-URL: https://github.com/nodejs/node/pull/13285 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
[ { "path": "lib/internal/errors.js", "patch": "@@ -114,6 +114,7 @@ E('ERR_ARG_NOT_ITERABLE', '%s must be iterable');\n E('ERR_ASSERTION', (msg) => msg);\n E('ERR_CONSOLE_WRITABLE_STREAM',\n (name) => `Console expects a writable stream instance for ${name}`);\n+E('ERR_CPU_USAGE', (errMsg) => `Unable to obta...
2017-06-02T16:35:36
vuejs/vue
05c769bf4442d57f4593016d562bb702174ae295
f59aef08e62576fd574b334510233e0f48198789
fix .once with other modifiers that prevent execution of a handler (fix #4846)
[ { "path": "src/compiler/codegen/events.js", "patch": "@@ -19,11 +19,14 @@ const keyCodes: { [key: string]: number | Array<number> } = {\n const modifierCode: { [key: string]: string } = {\n stop: '$event.stopPropagation();',\n prevent: '$event.preventDefault();',\n- self: 'if($event.target !== $event.c...
2017-02-14T22:09:37
rust-lang/rust
5a5a5a39ad87a3a78e4a67da7bb7c53203381663
ececfaba78f150818b846b897f0fe8151258dd3e
Indentation fix to please clippy
[ { "path": "library/compiler-builtins/src/float/conv.rs", "patch": "@@ -344,8 +344,7 @@ where\n ///\n /// Parameters:\n /// - `fbits`: `abg(f)` bitcasted to an integer.\n-/// - `map_inbounds`: apply this transformation to integers that are within range (add the sign\n-/// back).\n+/// - `map_inbounds`: ap...
2025-01-31T23:14:22
golang/go
e6d7326fb661f9754300d6b9fc5fbb2ee2e4a46b
42b93b7fe616b685e9ea41514b15bc9c26d3eac8
cmd/link: default to internal linking for android/arm64 The bootstrapping process (make.bash) on all other platforms use internal linking. This change brings android/arm64 in line, fixing the scary warning on our self-hosted Corellium builders: warning: unable to find runtime/cgo.a The linkmode default is changed to...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -1871,7 +1871,9 @@ func externalLinkingForced(p *Package) bool {\n \t// Some targets must use external linking even inside GOROOT.\n \tswitch cfg.BuildContext.GOOS {\n \tcase \"android\":\n-\t\treturn true\n+\t\tif cfg.BuildContext.GOARCH != \"arm64\...
2019-11-15T23:30:19
ggml-org/llama.cpp
7675c555a13c9f473249e59a54db35032ce8e0fc
5e1c3aed4074480f63e914d6c44c93536ed1452a
gguf: fix failure on version == 0 (#13956)
[ { "path": "ggml/src/gguf.cpp", "patch": "@@ -347,25 +347,28 @@ struct gguf_context * gguf_init_from_file_impl(FILE * file, struct gguf_init_par\n int64_t n_tensors = 0;\n \n if (ok && gr.read(ctx->version)) {\n+ if (ok && ctx->version == 0) {\n+ GGML_LOG_ERROR(\"%s: bad GGUF versio...
2025-06-01T16:08:05
huggingface/transformers
8835bff6a0fb271bd71837390e67b1698b9f0d91
86a4e5a96bad760646950f18f12d1cb8c15cb906
fix links in README.md for the GPT, GPT-2, and Llama2 Models (#26640) * fix OpenAI GPT, GPT-2 links * fix Llama2 link
[ { "path": "README.md", "patch": "@@ -364,11 +364,11 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[Funnel Transformer](https://huggingface.co/docs/transformers/model_doc/funnel)** (from CMU/Google Brain) released with the paper [Funnel-Transformer: Filtering out ...
2023-10-09T09:34:44
nodejs/node
7024c5a3026b9130a7dc3c8499dc49fb21b9fa90
e6dcc3dfa9dbbf59cf6f67425e47c47bea70fe2c
zlib: revert back to Functions Using ES6 Classes broke userland code. Revert back to functions. PR-URL: https://github.com/nodejs/node/pull/13374 Fixes: https://github.com/nodejs/node/issues/13358 Ref: https://github.com/nodejs/node/pull/13370 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Acker...
[ { "path": "lib/zlib.js", "patch": "@@ -22,7 +22,6 @@\n 'use strict';\n \n const Buffer = require('buffer').Buffer;\n-const internalUtil = require('internal/util');\n const Transform = require('_stream_transform');\n const binding = process.binding('zlib');\n const assert = require('assert').ok;\n@@ -31,7 +3...
2017-06-01T18:23:59
vuejs/vue
0201d8ca1dd9b97d82cf91118aa0478708528989
97d36bc23f788974c6d16ba82e98375b1cac96fa
Add foreignObject as a dedicated SVG element (fixes #4813) (#4926) * Add foreignObject to isSVG list; Fix for #4813 * Remove extra comma, alphabetize
[ { "path": "src/platforms/web/util/element.js", "patch": "@@ -25,8 +25,8 @@ export const isHTMLTag = makeMap(\n // this map is intentionally selective, only covering SVG elements that may\n // contain child elements.\n export const isSVG = makeMap(\n- 'svg,animate,circle,clippath,cursor,defs,desc,ellipse,fi...
2017-02-14T19:36:36
rust-lang/rust
8e9422f94e6717721ffbad50862fcef9822c2537
7f36543a48e52912ac6664a70c0a5b9d86509eaf
Make comma separated lists of anything easier to make for errors Provide a new function `listify`, meant to be used in cases similar to `pluralize!`. When you have a slice of arbitrary elements that need to be presented to the user, `listify` allows you to turn that into a list of comma separated strings. This reduce...
[ { "path": "compiler/rustc_borrowck/src/diagnostics/mod.rs", "patch": "@@ -4,7 +4,7 @@ use std::collections::BTreeMap;\n \n use rustc_abi::{FieldIdx, VariantIdx};\n use rustc_data_structures::fx::FxIndexMap;\n-use rustc_errors::{Applicability, Diag, EmissionGuarantee, MultiSpan};\n+use rustc_errors::{Applica...
2025-01-31T20:36:44
golang/go
42b93b7fe616b685e9ea41514b15bc9c26d3eac8
7a03d79498a32eb099d6f82aa8b19e813630be65
fmt: do not remove trailing zeros for %g and %G with #(sharp) flag Fixes #36562 Change-Id: Id98ae9f7362cfb825b306c36649d505692d6d60e GitHub-Last-Rev: 405d51b12eb04da8cc3559c92f1546e69a8c1a19 GitHub-Pull-Request: golang/go#36588 Reviewed-on: https://go-review.googlesource.com/c/go/+/215001 Reviewed-by: Rob Pike <r@gol...
[ { "path": "src/fmt/fmt_test.go", "patch": "@@ -463,6 +463,15 @@ var fmtTests = []struct {\n \t{\"%#.4x\", 1.0, \"0x1.0000p+00\"},\n \t{\"%#.4g\", 1.0, \"1.000\"},\n \t{\"%#.4g\", 100000.0, \"1.000e+05\"},\n+\t{\"%#.4g\", 1.234, \"1.234\"},\n+\t{\"%#.4g\", 0.1234, \"0.1234\"},\n+\t{\"%#.4g\", 1.23, \"1.230\"...
2020-02-26T08:17:14
ggml-org/llama.cpp
5e1c3aed4074480f63e914d6c44c93536ed1452a
c496fe0b1da28618dd17bda8b0a6bf5004554080
convert : fix nomic-bert-moe mask token (#13757)
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -3889,6 +3889,12 @@ def _xlmroberta_set_vocab(self) -> None:\n SentencePieceTokenTypes.UNKNOWN,\n ] + toktypes[3:-1]\n \n+ if self.model_arch == gguf.MODEL_ARCH.NOMIC_BERT_MOE:\n+ # Add mask token missing f...
2025-06-01T16:07:21
huggingface/transformers
86a4e5a96bad760646950f18f12d1cb8c15cb906
2629c8f36ac57e546ea45e611536351289fe4944
Fixed malapropism error (#26660) Update test_integration.py Fixed malapropism clone>copy
[ { "path": "tests/bettertransformer/test_integration.py", "patch": "@@ -3,7 +3,7 @@\n #\n # Licensed under the Apache License, Version 2.0 (the \"License\");\n # you may not use this file except in compliance with the License.\n-# You may obtain a clone of the License at\n+# You may obtain a copy of the Lice...
2023-10-09T09:04:57
vuejs/vue
01151ce3fa3cb346443d086332ec053c389ee619
dfaf1265a2367df93ed5dc5484f7578c14174b9f
fix #4872, use context agnostic Function constructor check (#4928) * fix #4872, use context agnostic Function constructor check * use getType to check Function Constructor * fix negation
[ { "path": "src/core/util/props.js", "patch": "@@ -70,7 +70,8 @@ function getPropDefaultValue (vm: ?Component, prop: PropOptions, key: string): a\n return vm._props[key]\n }\n // call factory function for non-Function types\n- return typeof def === 'function' && prop.type !== Function\n+ // a value...
2017-02-14T18:40:57
nodejs/node
e6dcc3dfa9dbbf59cf6f67425e47c47bea70fe2c
5d9dc94509253845642e617f9d6d47ce0d09d7da
inspector: Allows reentry when paused This change allows reentering the message dispatch loop when the Node is paused. This is necessary when the pause happened as a result of the message sent by a debug frontend, such as evaluating a function with a breakpoint inside. Fixes: https://github.com/nodejs/node/issues/133...
[ { "path": "src/inspector_agent.cc", "patch": "@@ -203,7 +203,7 @@ class JsBindingsSessionDelegate : public InspectorSessionDelegate {\n callback_.Reset();\n }\n \n- bool WaitForFrontendMessage() override {\n+ bool WaitForFrontendMessageWhilePaused() override {\n return false;\n }\n \n@@ -393,7...
2017-05-31T22:14:52
ggml-org/llama.cpp
c496fe0b1da28618dd17bda8b0a6bf5004554080
e57bb87cede38341963a7a884630dbfb09c7dc00
convert : fix vocab padding code for bert models (#13954)
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -3814,7 +3814,7 @@ def _xlmroberta_set_vocab(self) -> None:\n remove_whitespaces = tokenizer.clean_up_tokenization_spaces\n precompiled_charsmap = b64decode(tokenizer_json[\"normalizer\"][\"precompiled_charsmap\"])\n \n- voca...
2025-06-01T15:23:11
huggingface/transformers
897a826d830e8b1e03eb482b165b5d88a7a08d5f
360ea8fc72619857eecf46bf89eead9d674c4bd3
docs(zh): review and punctuation & space fix (#26627)
[ { "path": "docs/source/zh/_toctree.yml", "patch": "@@ -1,8 +1,8 @@\n - sections:\n - local: index\n- title: 🤗 Transformers简介\n+ title: 🤗 Transformers 简介\n - local: quicktour\n title: 快速上手\n - local: installation\n title: 安装\n- title: 开始使用\n\\ No newline at end of file\n+ title: 开始使用"...
2023-10-06T16:24:28
golang/go
7a03d79498a32eb099d6f82aa8b19e813630be65
6052838bc325049505aba9c3b87256161f9e05e8
crypto/x509: load roots from colon separated SSL_CERT_DIR in loadSystemRoots "SSL_CERT_DIR" is meant to hold more than one directory, when a colon is used as a delimiter. However, we assumed it'd be a single directory for all root certificates. OpenSSL and BoringSSL properly respected the colon separated "SSL_CERT_DIR...
[ { "path": "src/crypto/x509/root_unix.go", "patch": "@@ -9,6 +9,7 @@ package x509\n import (\n \t\"io/ioutil\"\n \t\"os\"\n+\t\"strings\"\n )\n \n // Possible directories with certificate files; stop after successfully\n@@ -29,6 +30,8 @@ const (\n \n \t// certDirEnv is the environment variable which identifi...
2019-11-04T17:19:59
vuejs/vue
7259aefbe82516c63e9944a4dcc1dce1ac754bff
ebe27295dfee4fee0610563efe3c7fefca0a5d67
filter division expression with parentheses (fix #4838) (#4844) * filter division expression with parentheses (fix #4838) * verify also dot and square brackets * missed a link check sorry for the useless commit * added + - and _ support
[ { "path": "src/compiler/parser/filter-parser.js", "patch": "@@ -55,7 +55,7 @@ export function parseFilters (exp: string): string {\n p = exp.charAt(j)\n if (p !== ' ') break\n }\n- if (!p || !/[\\w$]/.test(p)) {\n+ if (!p || !/[\\w).\\]\\+\\-\\_$]/.test(p)) {\n ...
2017-02-14T18:30:11
nodejs/node
5d9dc94509253845642e617f9d6d47ce0d09d7da
ce8bce497c788a8d4788ff5da7d48cd98228e917
doc: fix nits in code examples of async_hooks.md * Make `require()` consistent. * Add missing argument. * Add missing `\n` in outputs. * Reduce string concatenations. * Update outputs. * Reword and fix a typo. PR-URL: https://github.com/nodejs/node/pull/13400 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By:...
[ { "path": "doc/api/async_hooks.md", "patch": "@@ -220,13 +220,11 @@ while `triggerId` shows *why* a resource was created.\n The following is a simple demonstration of `triggerId`:\n \n ```js\n-const async_hooks = require('async_hooks');\n-\n async_hooks.createHook({\n init(asyncId, type, triggerId) {\n ...
2017-06-02T13:17:58
ggml-org/llama.cpp
e57bb87cede38341963a7a884630dbfb09c7dc00
f3a4b1659ccc94ebdf3590d472b518377bfecc7a
ggml: check if non-native endian model is being loaded (#13943) * gguf: prevent non-native endian models from being loaded Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> * gguf: update error message Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> * gguf: make the non-native endian check more verbose Signed-off-by: A...
[ { "path": "ggml/src/gguf.cpp", "patch": "@@ -347,6 +347,20 @@ struct gguf_context * gguf_init_from_file_impl(FILE * file, struct gguf_init_par\n int64_t n_tensors = 0;\n \n if (ok && gr.read(ctx->version)) {\n+ /*\n+ * bit layout is different when reading non-native endian models.\n+ ...
2025-06-01T14:53:57
rust-lang/rust
d8b176f6836fa7efa0cdeb3488bceebbd5b219fb
7f36543a48e52912ac6664a70c0a5b9d86509eaf
Move fulfillment error derivation into new module
[ { "path": "compiler/rustc_trait_selection/src/solve/fulfill.rs", "patch": "@@ -1,25 +1,21 @@\n use std::marker::PhantomData;\n use std::mem;\n-use std::ops::ControlFlow;\n \n use rustc_data_structures::thinvec::ExtractIf;\n use rustc_infer::infer::InferCtxt;\n use rustc_infer::traits::query::NoSolution;\n-u...
2025-01-22T19:50:33
huggingface/transformers
360ea8fc72619857eecf46bf89eead9d674c4bd3
9ad815e412756bb55dbfb57de1cf54503a4b2f23
[docstring] Fix docstring for `AlbertConfig` (#26636) example fix docstring Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/albert/configuration_albert.py", "patch": "@@ -85,6 +85,12 @@ class AlbertConfig(PretrainedConfig):\n [Self-Attention with Relative Position Representations (Shaw et al.)](https://arxiv.org/abs/1803.02155).\n For more information on `\"relative_key_...
2023-10-06T15:36:22
vuejs/vue
f763fc23546c8163676abe24781676ac7f2ca569
9df7870b7f25e23384e2053f7bf539f494817096
small improvements on html-parser (#4932) * remove unnecessary code * not need to capture group when decoding attribute value * fix eslint
[ { "path": "src/compiler/parser/html-parser.js", "patch": "@@ -56,8 +56,8 @@ const decodingMap = {\n '&amp;': '&',\n '&#10;': '\\n'\n }\n-const encodedAttr = /&(lt|gt|quot|amp);/g\n-const encodedAttrWithNewLines = /&(lt|gt|quot|amp|#10);/g\n+const encodedAttr = /&(?:lt|gt|quot|amp);/g\n+const encodedAttr...
2017-02-14T14:05:00
golang/go
c46ffdd2eca339918ed30b6ba9d4715ba769d35d
089e482b3dd2026178c8ee5b90d9aadb6bf81239
runtime: guard VZEROUPPER on CPU feature In CL 219131 we inserted a VZEROUPPER instruction on darwin/amd64. The instruction is not available on pre-AVX machines. Guard it with CPU feature. Fixes #37459. Change-Id: I9a064df277d091be4ee594eda5c7fd8ee323102b Reviewed-on: https://go-review.googlesource.com/c/go/+/221057...
[ { "path": "src/runtime/cpuflags.go", "patch": "@@ -11,6 +11,7 @@ import (\n \n // Offsets into internal/cpu records for use in assembly.\n const (\n+\toffsetX86HasAVX = unsafe.Offsetof(cpu.X86.HasAVX)\n \toffsetX86HasAVX2 = unsafe.Offsetof(cpu.X86.HasAVX2)\n \toffsetX86HasERMS = unsafe.Offsetof(cpu.X86.Has...
2020-02-26T01:30:37
nodejs/node
5ca836c192a046d94f28e6f7cb31a3749671624b
0b432e08b167ef7b3304e3cbfa5bfcfb862d185c
doc,stream: clarify 'data', pipe() and 'readable' We stated that 'data' and pipe() are preferred over 'readable'. This commit clarifies that 'data' and pipe() are easier to understand, but 'readable' might result in increased throughput. Fixes: https://github.com/nodejs/node/issues/11587 PR-URL: https://github.com/no...
[ { "path": "doc/api/stream.md", "patch": "@@ -768,7 +768,8 @@ end\n ```\n \n *Note*: In general, the `readable.pipe()` and `'data'` event mechanisms are\n-preferred over the use of the `'readable'` event.\n+easier to understand than the `'readable'` event.\n+However, handling `'readable'` might result in inc...
2017-06-03T09:25:42
ggml-org/llama.cpp
d337252acf14a91a685c355fa4f3f599a8068207
af6f91db470da543dc32bc00c057aad8f060dfdb
cmake : Fix broken CMake error messages (ggml/1252)
[ { "path": "ggml/src/ggml-blas/CMakeLists.txt", "patch": "@@ -81,7 +81,7 @@ if (BLAS_FOUND)\n target_link_libraries (ggml-blas PRIVATE ${BLAS_LIBRARIES})\n target_include_directories(ggml-blas PRIVATE ${BLAS_INCLUDE_DIRS})\n else()\n- message(ERROR \"BLAS not found, please refer to \"\n- ...
2025-05-31T10:39:19
huggingface/transformers
9ad815e412756bb55dbfb57de1cf54503a4b2f23
27597fea076712d9ab0b5335933380ac36ea69dd
[`LlamaTokenizerFast`] Adds edge cases for the template processor (#26606) * make sure eos and bos are properly handled for fast tokenizer * fix code llama as well * nits * fix the conversion script as well * fix failing test
[ { "path": "src/transformers/convert_slow_tokenizer.py", "patch": "@@ -1192,32 +1192,8 @@ def pre_tokenizer(self, replacement, add_prefix_space):\n return None\n \n def post_processor(self):\n- # 3 possible case :\n- # - add_bos and add_eos : '<s>:0 $A:0 </s>:0' and '<s>:0 $A:0 </s>...
2023-10-06T14:40:54
vuejs/vue
7e1d07aad240b0d99ce4b62cf26002b39562fbfa
a5a00738b15f24980875709739b45c54d99ee150
Fix JSFiddle links (#4910) Use an inline script tag with unpkg to explicitly show what we're including. It allows to easily test regressions by appending @2.x.x at the end of the of the link. It also allows to directly check if the repro is using the latest version
[ { "path": ".github/CONTRIBUTING.md", "patch": "@@ -26,7 +26,7 @@ Hi! I’m really excited that you are interested in contributing to Vue.js. Befo\n \n - Issues with no clear repro steps will not be triaged. If an issue labeled \"need repro\" receives no further input from the issue author for more than 5 days...
2017-02-12T23:49:47
golang/go
089e482b3dd2026178c8ee5b90d9aadb6bf81239
0652c80e2afa14d62067be567c498c83a6485fd8
runtime: reorder race detector calls in slicecopy In rare circumstances, this helps report a race which would otherwise go undetected. Fixes #36794 Change-Id: I8a3c9bd6fc34efa51516393f7ee72531c34fb073 Reviewed-on: https://go-review.googlesource.com/c/go/+/220685 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Resu...
[ { "path": "src/runtime/race/testdata/slice_test.go", "patch": "@@ -5,6 +5,7 @@\n package race_test\n \n import (\n+\t\"sync\"\n \t\"testing\"\n )\n \n@@ -590,3 +591,18 @@ func TestRaceSlice3(t *testing.T) {\n \t_ = x[:1:i]\n \t<-done\n }\n+\n+var saved string\n+\n+func TestRaceSlice4(t *testing.T) {\n+\t// ...
2020-02-16T03:23:07
ggml-org/llama.cpp
a7b8d35f780ab3e7639ae5345442fb1ad10f0163
6eba72b71c677ce9aae33c422a6e67008137987a
sync : whisper.cpp (ggml/1250) * ggml : Fix backtrace breaking Windows build (whisper/3203) * sync : whisper.cpp ggml-ci --------- Co-authored-by: Daniel Tang <danielzgtg.opensource@gmail.com>
[ { "path": "ggml/src/ggml.c", "patch": "@@ -200,7 +200,7 @@ void ggml_print_backtrace(void) {\n }\n }\n #else\n-static void ggml_print_backtrace(void) {\n+void ggml_print_backtrace(void) {\n // platform not supported\n }\n #endif", "additions": 1, "deletions": 1, "language": "C" } ]
2025-05-29T10:29:50
nodejs/node
0b432e08b167ef7b3304e3cbfa5bfcfb862d185c
7637347ae670e2bcee7b2da2f4731dec9065431e
doc: resume a stream after pipe() and unpipe() Clarifies the behavior of streams when _readableState.flowing is false. resume() must be called explicitly for the 'data' event to be emitted again. Fixes: https://github.com/nodejs/node/issues/1041 PR-URL: https://github.com/nodejs/node/pull/13329 Reviewed-By: James M S...
[ { "path": "doc/api/stream.md", "patch": "@@ -595,17 +595,31 @@ possible states:\n * `readable._readableState.flowing = true`\n \n When `readable._readableState.flowing` is `null`, no mechanism for consuming the\n-streams data is provided so the stream will not generate its data.\n-\n-Attaching a listener fo...
2017-05-31T06:51:50
vuejs/vue
1f4cf63e8a7b8c04292207a17bf7f536ca2d08f8
af619151c6ea9f39ea551770916c1fb6da7f6e41
tweak template compilation error output
[ { "path": "src/compiler/error-detector.js", "patch": "@@ -55,7 +55,7 @@ function checkFor (node: ASTElement, text: string, errors: Array<string>) {\n \n function checkIdentifier (ident: ?string, type: string, text: string, errors: Array<string>) {\n if (typeof ident === 'string' && !identRE.test(ident)) {...
2017-02-07T00:50:13
huggingface/transformers
27597fea076712d9ab0b5335933380ac36ea69dd
e840aa67e89a728a2f8512dd7d6905d8d13e6f7f
remove SharedDDP as it is deprecated (#25702) * remove SharedDDP as it was drepracated * apply review suggestion * make style * Oops,forgot to remove the compute_loss context manager in Seq2SeqTrainer. * remove the unnecessary conditional statement * keep the logic of IPEX * clean code * mix preci...
[ { "path": "examples/legacy/seq2seq/seq2seq_trainer.py", "patch": "@@ -19,7 +19,6 @@\n from torch.utils.data import DistributedSampler, RandomSampler\n \n from transformers import PreTrainedModel, Trainer, logging\n-from transformers.integrations import is_fairscale_available\n from transformers.models.fsmt....
2023-10-06T14:03:11
golang/go
0652c80e2afa14d62067be567c498c83a6485fd8
f0ee49b5bcde39ac6c36d3837666aa9a36383066
cmd/go: emit an error for extraneous files in GOROOT/src in module mode If there's a go file immediately in GOROOT/src, it was probably accidentally added by the user. Since that package shouldn't exist, return an error if a user tries to list it. We're only making this change for GOPATH mode because we don't want to ...
[ { "path": "src/cmd/go/internal/modload/import.go", "patch": "@@ -126,6 +126,8 @@ func Import(path string) (m module.Version, dir string, err error) {\n \t\t}\n \t\tdir := filepath.Join(cfg.GOROOT, \"src\", path)\n \t\treturn module.Version{}, dir, nil\n+\t} else if pathIsStd && path == cfg.GOROOTsrc {\n+\t\...
2020-01-24T22:21:48
ggml-org/llama.cpp
fedf034a98378059274e4243d2a370a243335e73
8726392d3d927fe3e504868d3548d694496ee37e
ggml : Print backtrace on uncaught C++ exceptions (ggml/1232) The goal is to have what users call "full logs" contain the backtrace. This is registered upon ggml_init. Also fixes a minor fd leak on Linux.
[ { "path": "ggml/src/CMakeLists.txt", "patch": "@@ -196,6 +196,7 @@ add_library(ggml-base\n ../include/ggml-opt.h\n ../include/gguf.h\n ggml.c\n+ ggml.cpp\n ggml-alloc.c\n ggml-backend.cpp\n ggml-opt.cpp", "additions": 1, ...
2025-05-28T00:58:46
vuejs/vue
a0a619f6119c4cc6c71934c29fe3e62d3d608da9
bf1f5f18e2c0e5710410ac841583feb6fd99cdec
fix sfc parser hanging on trailing ill-formatted brackets (fix vue-loader/#628)
[ { "path": "src/compiler/parser/html-parser.js", "patch": "@@ -168,8 +168,8 @@ export function parseHTML (html, options) {\n parseEndTag(stackedTag, index - endTagLength, index)\n }\n \n- if (html === last && options.chars) {\n- options.chars(html)\n+ if (html === last) {\n+ options...
2017-02-06T23:24:13
huggingface/transformers
e840aa67e89a728a2f8512dd7d6905d8d13e6f7f
87499420bff74122a404d1bb0db2e57e6d1ecfe9
Fix failing `MusicgenTest .test_pipeline_text_to_audio` (#26586) * fix * fix * Fix * Fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/test_pipeline_mixin.py", "patch": "@@ -502,8 +502,12 @@ def validate_test_components(test_case, task, model, tokenizer, processor):\n if tokenizer is not None:\n config_vocab_size = getattr(model.config, \"vocab_size\", None)\n # For CLIP-like models\n- if config_...
2023-10-06T13:53:59
nodejs/node
7637347ae670e2bcee7b2da2f4731dec9065431e
4d89e3c261ebd67baf4ac3d17033419e1b3075f2
doc: add missing backticks to doc/api/tls.md PR-URL: https://github.com/nodejs/node/pull/13394 Fixes: https://github.com/nodejs/node/issues/13382 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jeremiah Senkpi...
[ { "path": "doc/api/tls.md", "patch": "@@ -782,7 +782,7 @@ changes:\n verification fails; `err.code` contains the OpenSSL error code. Defaults to\n `true`.\n * `NPNProtocols` {string[]|Buffer[]|Uint8Array[]|Buffer|Uint8Array}\n- An array of strings, Buffer`s or `Uint8Array`s, or a single `Buffer...
2017-06-02T11:54:15
golang/go
f0ee49b5bcde39ac6c36d3837666aa9a36383066
46f9aea80197bfdf4c024c3f5a71be51a2facf59
mime: fix ExtensionsByType bug when there are duplicates Also, sort them so the results aren't random. Thanks to @junedev for the bug report & repro. Fixes #36524 Change-Id: Ic9197ebeceddfb3d0aee895d8fc12ce4d205b164 Reviewed-on: https://go-review.googlesource.com/c/go/+/214680 Reviewed-by: Ian Lance Taylor <iant@go...
[ { "path": "src/mime/type.go", "patch": "@@ -7,6 +7,7 @@ package mime\n \n import (\n \t\"fmt\"\n+\t\"sort\"\n \t\"strings\"\n \t\"sync\"\n )\n@@ -49,7 +50,7 @@ func setMimeTypes(lowerExt, mixExt map[string]string) {\n \t\t\tpanic(err)\n \t\t}\n \t\tvar exts []string\n-\t\tif ei, ok := extensions.Load(k); ok...
2020-01-14T18:15:25
ggml-org/llama.cpp
c04621711a893cbd09cff6c927cb005bc6749e36
0fc16b42e8793364918e830c234c1f3caec29dae
parallel : fix n_junk == 0 (#13952)
[ { "path": "examples/parallel/parallel.cpp", "patch": "@@ -158,7 +158,7 @@ int main(int argc, char ** argv) {\n common_params params;\n \n params.n_predict = 128;\n- params.n_junk = 0;\n+ params.n_junk = 1;\n \n if (!common_params_parse(argc, argv, params, LLAMA_EXAMPLE_PARALLEL)) {\n ...
2025-06-01T08:42:16
huggingface/transformers
87499420bff74122a404d1bb0db2e57e6d1ecfe9
ea52ed9dc8f94369e05c50cdfb0058e946cfb491
fix RoPE t range issue for fp16 (#26602)
[ { "path": "src/transformers/models/falcon/modeling_falcon.py", "patch": "@@ -108,7 +108,7 @@ def __init__(self, head_dim: int, base=10000, max_position_embeddings=2048):\n \n def _set_cos_sin_cache(self, seq_len, device, dtype):\n self.seq_len_cached = seq_len\n- t = torch.arange(seq_len,...
2023-10-06T11:04:54
vuejs/vue
f968e6ba3a1b22cce51a924b055f030d29017f6a
ec7fca8495528bda169c44ac660747bf2a8000a8
fix v-pre end check for unary tags
[ { "path": "src/compiler/parser/index.js", "patch": "@@ -52,13 +52,25 @@ export function parse (\n transforms = pluckModuleFunction(options.modules, 'transformNode')\n postTransforms = pluckModuleFunction(options.modules, 'postTransformNode')\n delimiters = options.delimiters\n+\n const stack = []\n ...
2017-02-06T23:00:43
nodejs/node
1dc3272bb9c2ecd442efd5b978a852a7da31c1e9
8741e3c7501cbe66696bd3fad4a0a923e76ba11d
test: improve async hooks test error messages Improve error messages in the async hooks tests, mostly by removing unhelpful `message` parameters for assertions. PR-URL: https://github.com/nodejs/node/pull/13243 Reviewed-By: Kunal Pathak <kunal.pathak@microsoft.com> Reviewed-By: Andreas Madsen <amwebdk@gmail.com> Revi...
[ { "path": "test/async-hooks/init-hooks.js", "patch": "@@ -1,11 +1,11 @@\n 'use strict';\n // Flags: --expose-gc\n \n+require('../common');\n const assert = require('assert');\n const async_hooks = require('async_hooks');\n const util = require('util');\n const print = process._rawDebug;\n-require('../common...
2017-05-26T15:53:06
ggml-org/llama.cpp
51fa76f172957c9916e43aeb581f82c533e12394
12d0188c0dc6146ffde6d277a93f232ccbe699f8
mtmd : drop `_shared` from `libmtmd` name, merge helpers into libmtmd (⚠️ breaking change) (#13917) * mtmd : fix missing public header * no object * apply suggestion from Georgi * rm mtmd-helper, merge it to mtmd * missing vendor include dir
[ { "path": "tools/mtmd/CMakeLists.txt", "patch": "@@ -1,53 +1,50 @@\n # mtmd\n \n-add_library(mtmd OBJECT\n+find_package(Threads REQUIRED)\n+\n+add_library(mtmd\n mtmd.cpp\n mtmd-audio.cpp\n mtmd.h\n clip.cpp\n clip.h\n clip-impl.h\n- ...
2025-05-31T08:14:29
golang/go
46f9aea80197bfdf4c024c3f5a71be51a2facf59
583419e5d2a893e369095355035f4ebb18bb85f8
misc/wasm: avoid implicit boolean to number conversion Fixes #36561 Change-Id: I20cbf95ef4fd7c5c255a93ed3ec3e027a0ce2bc2 Reviewed-on: https://go-review.googlesource.com/c/go/+/214944 Reviewed-by: Richard Musiol <neelance@gmail.com>
[ { "path": "misc/wasm/wasm_exec.js", "patch": "@@ -440,7 +440,7 @@\n \n \t\t\t\t\t// func valueInstanceOf(v ref, t ref) bool\n \t\t\t\t\t\"syscall/js.valueInstanceOf\": (sp) => {\n-\t\t\t\t\t\tthis.mem.setUint8(sp + 24, loadValue(sp + 8) instanceof loadValue(sp + 16));\n+\t\t\t\t\t\tthis.mem.setUint8(sp + 24...
2020-01-15T20:26:56
huggingface/transformers
64845307b362f4dfff1a783d7bce0f3407e92c34
65aabafe2ff2735f6351b23983f4cec45dbb134c
Remove unnecessary unsqueeze - squeeze in rotary positional embedding (#26162) * remove unnecessary unsqueeze-squeeze in llama * correct other models * fix * revert gpt_neox_japanese * fix copie * fix test
[ { "path": "src/transformers/models/deprecated/open_llama/modeling_open_llama.py", "patch": "@@ -118,17 +118,17 @@ def _set_cos_sin_cache(self, seq_len, device, dtype):\n freqs = torch.einsum(\"i,j->ij\", t, self.inv_freq)\n # Different from paper, but it uses a different permutation in order...
2023-10-06T09:25:15