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
326aef4a6ab84d044d9ed807c5dc4326249aa856
fba78d45984ec27fcf93941a5c5d41606bc047e6
fix incorrect context for slot content created in functional components (fix #4315)
[ { "path": "src/core/instance/lifecycle.js", "patch": "@@ -146,7 +146,7 @@ export function lifecycleMixin (Vue: Class<Component>) {\n }\n // resolve slots + force update if has children\n if (hasChildren) {\n- vm.$slots = resolveSlots(renderChildren, vm._renderContext)\n+ vm.$slots = re...
2016-11-25T17:41:42
rust-lang/rust
615186586b76c831ddf3d9427f7e148f6b1c11bd
0cf275b9fe9d610678ded0bfcad262b8552a1b51
Fix typo
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/lib.rs", "patch": "@@ -156,12 +156,12 @@ fn completion_item_hash(item: &CompletionItem, is_ref_completion: bool) -> [u8;\n \n hasher.update([u8::from(item.ref_match.is_some())]);\n if let Some((ref_mode, text_size)) = &item.ref_match {\n- ...
2025-01-29T16:47:38
golang/go
1c241d28792fad017cbd64bae72ea3f3ee51e4df
25da21ddc935f1af1b10361c52984ddaaade9265
hash/maphash: mention that hash values do not persist in package docs Updates #36878 Fixes #37040 Change-Id: Ib0bd21481e5d9c3b3966c116966ecfe071243a24 Reviewed-on: https://go-review.googlesource.com/c/go/+/218297 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
[ { "path": "doc/go1.14.html", "patch": "@@ -616,6 +616,10 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <p>\n The hash functions are collision-resistant but not cryptographically secure.\n </p>\n+ <p>\n+ The hash value of a given byte sequence is consistent wit...
2020-02-06T19:18:22
huggingface/transformers
39df4eca739b0870f73dbcfdfa09179e3135c75d
7d6354e04794f3246bf9a0faf4fead080edeebb6
Fix `Error` not captured in PR doctesting (#26215) * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".circleci/create_circleci_config.py", "patch": "@@ -226,15 +226,26 @@ def to_dict(self):\n test_command += \" || true\"\n steps.append({\"run\": {\"name\": \"Run tests\", \"command\": test_command}})\n \n- check_test_command = f'if [ -s reports/{self.job_name}/failures_...
2023-09-19T15:27:51
vuejs/vue
16e3dae2455aa0f2955d95698c7dddb5b4c9440d
ae4db82c4b95b4daf50ac0898c4e715de079d25a
fix eslint and coverage
[ { "path": "src/core/instance/render.js", "patch": "@@ -4,7 +4,7 @@ import config from '../config'\n import VNode, { emptyVNode, cloneVNode, cloneVNodes } from '../vdom/vnode'\n import { normalizeChildren } from '../vdom/helpers/index'\n import {\n- warn, formatComponentName, bind, isObject, toObject, isSer...
2016-11-24T17:59:19
rust-lang/rust
0cf275b9fe9d610678ded0bfcad262b8552a1b51
2386e95072a8468df8e35c68c2c3b4b3ac8f1d9f
Fix #19071: ensure `completion_item_hash` serializes items uniquely Previously it may have been possible for different completion items to produce colliding hashes, not because of the hash but because of how the items were serialized into byte streams for hashing. See #19071 for details. The chances of that happening...
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/lib.rs", "patch": "@@ -79,32 +79,34 @@ fn completion_item_hash(item: &CompletionItem, is_ref_completion: bool) -> [u8;\n u8::from(relevance.requires_import),\n u8::from(relevance.is_private_editable),\n ]);\n- ...
2025-01-29T16:22:13
ggml-org/llama.cpp
c753d7bed0dc2cc2d5c42dfa9806cba91748392e
b2838049ccf50859cea4c390e81405c2fb01e820
server : proper error handling for missing elements in messages array (OpenAI compatible backend) (#13540)
[ { "path": "tools/server/utils.hpp", "patch": "@@ -643,6 +643,18 @@ static json oaicompat_completion_params_parse(\n throw std::runtime_error(\"Expected 'messages' to be an array\");\n }\n for (auto & msg : messages) {\n+ std::string role = json_value(msg, \"role\", std::string());\n+ ...
2025-05-15T06:40:58
vuejs/vue
ae4db82c4b95b4daf50ac0898c4e715de079d25a
7b389bc34e12442663de1939882b523345a9e46d
fix unexpected warnings in tests
[ { "path": "test/unit/features/component/component-keep-alive.spec.js", "patch": "@@ -265,7 +265,7 @@ describe('Component keep-alive', () => {\n <keep-alive>\n <component :is=\"view\" class=\"test\"></component>\n </keep-alive>\n- <transition>\n+ </tran...
2016-11-24T17:53:13
golang/go
25da21ddc935f1af1b10361c52984ddaaade9265
ab5d9f5831cd267e0d8e8954cfe9987b737aec9c
crypto/elliptic: document the Name and names of each curve See https://tools.ietf.org/html/rfc8422#appendix-A for a helpful table. Also, commit to keeping them singletons, as that assumption is already made all over the place in the ecosystem. Fixes #34193 Change-Id: I2ec50fa18bb80e11d6101f2562df60b5e27d4f66 Review...
[ { "path": "src/crypto/elliptic/elliptic.go", "patch": "@@ -372,23 +372,36 @@ func initP521() {\n \tp521.BitSize = 521\n }\n \n-// P256 returns a Curve which implements P-256 (see FIPS 186-3, section D.2.3)\n+// P256 returns a Curve which implements NIST P-256 (FIPS 186-3, section D.2.3),\n+// also known as ...
2020-02-10T22:29:13
huggingface/transformers
7d6354e04794f3246bf9a0faf4fead080edeebb6
04191ea1e6874fd9809f80f5567b3b9df911c8da
Add ViTMatte (#25843) * First draft * Simplify image processor * Fix rebase * Address comments * Address more comments * Address more comments * Address more comments * Address more comments * Improve pad_image * Add tests * Update integration test * Fix image processor tests * Fix ...
[ { "path": "README.md", "patch": "@@ -491,6 +491,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[ViT Hybrid](https://huggingface.co/docs/transformers/model_doc/vit_hybrid)** (from Google AI) released with the paper [An Image is Worth 16x16 Words: Transformers for...
2023-09-19T13:56:10
ggml-org/llama.cpp
b2838049ccf50859cea4c390e81405c2fb01e820
aa48e373f256df9608395ee6881e7010840d6202
bench : handle decode errors (#13548) ggml-ci
[ { "path": "tools/llama-bench/llama-bench.cpp", "patch": "@@ -1736,7 +1736,7 @@ struct sql_printer : public printer {\n }\n };\n \n-static void test_prompt(llama_context * ctx, int n_prompt, int n_batch, int n_threads) {\n+static bool test_prompt(llama_context * ctx, int n_prompt, int n_batch, int n_thre...
2025-05-15T02:57:02
vuejs/vue
a52a094befb0b1f660771db04deebaa37555e84e
b7946a4b22a6da5c6fc0a70394dce25c3cae0c95
wip: adjust update error reporting
[ { "path": "src/core/instance/render.js", "patch": "@@ -60,18 +60,14 @@ export function renderMixin (Vue: Class<Component>) {\n try {\n vnode = render.call(vm._renderProxy, vm.$createElement)\n } catch (e) {\n- if (process.env.NODE_ENV !== 'production') {\n- warn(`Error when renderi...
2016-11-24T17:17:41
nodejs/node
ef56d47f509cfe727db3fa3c842e2c66b916489d
7c12d12ecf7fb4f0e22bc45690e123d827a0820d
doc: fix incorrect keyboard shortcut This commit fixes an incorrect keyboard shortcut in `doc/STYLE_GUIDE.md`: entering em-dashes is done via Alt+Shift+"-" on macOS, not via Ctrl+Alt+"-". Besides that, Option is more canonical name of Alt on Macs. PR-URL: https://github.com/nodejs/node/pull/13134 Reviewed-By: Rich Tr...
[ { "path": "doc/STYLE_GUIDE.md", "patch": "@@ -39,7 +39,7 @@\n * When documenting APIs, note the version the API was introduced in at\n the end of the section. If an API has been deprecated, also note the first\n version that the API appeared deprecated in.\n-* When using dashes, use emdashes (\"—\", Ctr...
2017-05-20T22:02:00
huggingface/transformers
04191ea1e6874fd9809f80f5567b3b9df911c8da
eb8489971ac1415f67b0abdd1584fde8b659ced9
Fix gated repo tests (#26257) * Fix gated repo tests * Apply suggestions from code review
[ { "path": "tests/utils/test_hub_utils.py", "patch": "@@ -128,14 +128,14 @@ def test_get_file_from_repo_local(self):\n \n self.assertIsNone(get_file_from_repo(tmp_dir, \"b.txt\"))\n \n- @unittest.skip(\"Test is broken, fix me Wauplain!\")\n def test_get_file_gated_repo(self):\n \"\...
2023-09-19T11:25:12
golang/go
a52821569310ca3807f74993af4019dfcaa74cfe
a6b03c64b23fc51110aede0a0abf9df86f16ff1f
doc/go1.14: fix inconsistent markup Unlike the others, the dt tag of reflect is not next to the dl tag. The dd's closing tags may or may not have been omitted. They were unified without omission. Updates #36878 Change-Id: I4e24f93fe8763ae8a1e4392db72e0b4818884f44 Reviewed-on: https://go-review.googlesource.com/c/go/...
[ { "path": "doc/go1.14.html", "patch": "@@ -430,7 +430,7 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <p>\n The hash functions are collision-resistant but not cryptographically secure.\n </p>\n-\n+ </dd>\n </dl><!-- hash/maphash -->\n \n <dl id=\"crypto/tls\"><dt><a ...
2020-02-05T11:25:01
ggml-org/llama.cpp
aa48e373f256df9608395ee6881e7010840d6202
e3a9421b78da5c810d812e6348a405f5acc39f34
`server`: inject date_string in llama 3.x template + fix date for firefunction v2 (#12802) * Inject date_string in llama 3.x + fix for functionary v2 https://github.com/ggml-org/llama.cpp/issues/12729 * move/fix detection of functionary v3.1 before llama 3.x, fix & test their non-tool mode Co-authored-by: Sigbjørn ...
[ { "path": "common/chat.cpp", "patch": "@@ -6,6 +6,15 @@\n \n #include <optional>\n \n+static std::string format_time(const std::chrono::system_clock::time_point & now, const std::string & format) {\n+ auto time = std::chrono::system_clock::to_time_t(now);\n+ auto local_time = *std::localtime(&time);\n...
2025-05-15T01:39:51
vuejs/vue
b7946a4b22a6da5c6fc0a70394dce25c3cae0c95
00c137fb27878e2b11ea4b52032f1757aa9059dd
wip: fix tests with expected warnings
[ { "path": "test/unit/modules/compiler/codegen.spec.js", "patch": "@@ -32,7 +32,7 @@ function assertCodegen (template, generatedCode, ...args) {\n describe('codegen', () => {\n it('generate directive', () => {\n assertCodegen(\n- '<p v-custom1:arg1.modifier=\"value1\" v-custom2><p>',\n+ '<p v...
2016-11-24T17:00:51
huggingface/transformers
eb8489971ac1415f67b0abdd1584fde8b659ced9
e469be340673d1f6931eb22562efd2be7f5a5b8d
Fix some docstring in image processors (#26235) Fix doc Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/bit/image_processing_bit.py", "patch": "@@ -79,10 +79,11 @@ class BitImageProcessor(BaseImageProcessor):\n Mean to use if normalizing the image. This is a float or list of floats the length of the number of\n channels in the image. Can be overridden...
2023-09-19T05:35:41
nodejs/node
f3ef9719b5c18775fcfdb12dd62aaeef8caeb94a
e018c331114c5a8e73e374cb493730e7dcc9bc91
doc: fix title/function name mismatch Fix mismatch in title for napi_get_value_string_utf16 Fixes: https://github.com/nodejs/abi-stable-node/issues/243 PR-URL: https://github.com/nodejs/node/pull/13123 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James...
[ { "path": "doc/api/n-api.md", "patch": "@@ -1590,7 +1590,7 @@ x is passed in it returns `napi_string_expected`.\n \n This API returns the UTF8-encoded string corresponding the value passed in.\n \n-#### *napi_get_value_string_utf16_length*\n+#### *napi_get_value_string_utf16*\n <!-- YAML\n added: v8.0.0\n -...
2017-05-19T21:34:11
golang/go
60d437f99468906935f35e5c6fbd31c7228a1045
b8061825e57dcee97a37fe49272ca52e84600f5e
runtime: avoid double notewakeup in netpoll stub code Otherwise we can see - goroutine 1 calls netpollBreak, the atomic.Cas succeeds, then suspends - goroutine 2 calls noteclear, sets netpollBroken to 0 - goroutine 3 calls netpollBreak, the atomic.Cas succeeds, calls notewakeup - goroutine 1 wakes up calls notewakeup,...
[ { "path": "src/runtime/netpoll_stub.go", "patch": "@@ -13,16 +13,23 @@ var netpollWaiters uint32\n \n var netpollStubLock mutex\n var netpollNote note\n-var netpollBroken uint32\n+\n+// netpollBroken, protected by netpollBrokenLock, avoids a double notewakeup.\n+var netpollBrokenLock mutex\n+var netpollBrok...
2020-02-07T18:49:33
ggml-org/llama.cpp
e3a9421b78da5c810d812e6348a405f5acc39f34
5ab5d5fb256aa23f8ab4de8463515ea627f43006
kv-cache : fix out-of-bounds view during reserve graph (#13547) * kv-cache : fix reserve graph out-of-bounds access ggml-ci * cont : add comment * cont : fix comments [no ci] * cont : more correct comment [no ci]
[ { "path": "src/llama-kv-cache.cpp", "patch": "@@ -441,6 +441,13 @@ void llama_kv_cache_unified::defrag_sched(float thold) {\n \n void llama_kv_cache_unified::set_full() {\n n = size;\n+\n+ // when simulating a full KV cache, the specific value of the \"head\" pointer is not important because it does ...
2025-05-14T20:15:15
vuejs/vue
3cfd84346f803e9516d2e307f7c4b1ffac3aef16
e89830230c5747fbe1b70bb4e6c423c3ec2934cc
fix style !important spec
[ { "path": "test/unit/features/directives/style.spec.js", "patch": "@@ -83,11 +83,11 @@ describe('Directive v-bind:style', () => {\n }).then(done)\n })\n \n- it('!important', () => {\n+ it('!important', done => {\n vm.styles = { display: 'block !important' }\n waitForUpdate(() => {\n ex...
2016-11-24T16:21:25
nodejs/node
e018c331114c5a8e73e374cb493730e7dcc9bc91
3c5bfba28bc9ed244daed7e8f8234b9a4529be85
vm: fix race condition with timeout param This fixes a race condition in the watchdog timer used for vm timeouts. The condition would terminate the main stack's execution instead of the code running under the sandbox. PR-URL: https://github.com/nodejs/node/pull/13074 Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "src/node_contextify.cc", "patch": "@@ -958,35 +958,33 @@ class ContextifyScript : public BaseObject {\n bool timed_out = false;\n bool received_signal = false;\n if (break_on_sigint && timeout != -1) {\n- Watchdog wd(env->isolate(), timeout);\n- SigintWatchdog swd(env->isola...
2017-05-18T22:12:41
golang/go
494dd1dddceb2df533feddd483b7cb05310f1085
ab7c174183b05e36dabe0aa1943a0a4302b940d0
cmd/link: code cleanup in macho_combine_dwarf.go - remove global variables - add missing error checks - add missing (*os.File).Close calls - null-check text section correctly - reduce some variable scopes - use bytes.Buffer instead of appended slice - reduce integer casting Change-Id: I4f6899923d0b26627308beb5c5c3ee9...
[ { "path": "src/cmd/link/internal/ld/macho_combine_dwarf.go", "patch": "@@ -16,11 +16,6 @@ import (\n \t\"unsafe\"\n )\n \n-var realdwarf, linkseg *macho.Segment\n-var dwarfstart, linkstart int64\n-var dwarfaddr int64\n-var linkoffset uint32\n-\n const (\n \tpageAlign = 12 // 4096 = 1 << 12\n )\n@@ -59,16 +5...
2020-01-14T15:43:55
ggml-org/llama.cpp
f5170c1d7a66222ca7c75d2022fec3ed87257e0b
017f10b5fa630a013ec4f9936e410a60d4f460d5
editorconfig : fix trailing whitespace from #13542 (#13546)
[ { "path": "src/llama-context.cpp", "patch": "@@ -1705,7 +1705,7 @@ size_t llama_context::state_write_data(llama_io_write_i & io) {\n }\n \n llama_kv_cache * kv_self = static_cast<llama_kv_cache *>(memory.get());\n- \n+\n if (kv_self != nullptr) {\n LLAMA_LOG_DEBUG(\"%s: - writing KV s...
2025-05-14T18:22:49
vuejs/vue
e89830230c5747fbe1b70bb4e6c423c3ec2934cc
26b6374c3ce39a6f5ff4d5915990f7c5cb3b1295
fix browser env detection for jsdom in Node 7
[ { "path": "src/core/util/env.js", "patch": "@@ -7,10 +7,7 @@ import { noop } from 'shared/util'\n export const hasProto = '__proto__' in {}\n \n // Browser environment sniffing\n-export const inBrowser =\n- typeof window !== 'undefined' &&\n- Object.prototype.toString.call(window) !== '[object Object]'\n-...
2016-11-24T16:03:27
huggingface/transformers
e469be340673d1f6931eb22562efd2be7f5a5b8d
373d0d99858c60b78c90fc155e96c2cc9c95b432
Fix the gitlab user mention in issue templates to the correct user (#26237)
[ { "path": ".github/ISSUE_TEMPLATE/bug-report.yml", "patch": "@@ -37,7 +37,7 @@ body:\n - pipelines: @Narsil\n - tensorflow: @gante and @Rocketknight1\n - tokenizers: @ArthurZucker\n- - trainer: @muellerz and @pacman100\n+ - trainer: @muellerzr and @pacman100\n...
2023-09-18T23:49:03
ggml-org/llama.cpp
017f10b5fa630a013ec4f9936e410a60d4f460d5
4696d5674999dc10a7fb8c27b33406a929f7463a
fix: crash when calling `llama_state_get_size` on a context without a KV cache (#13542)
[ { "path": "src/llama-context.cpp", "patch": "@@ -1704,10 +1704,12 @@ size_t llama_context::state_write_data(llama_io_write_i & io) {\n }\n }\n \n- LLAMA_LOG_DEBUG(\"%s: - writing KV self\\n\", __func__);\n llama_kv_cache * kv_self = static_cast<llama_kv_cache *>(memory.get());\n-\n- kv...
2025-05-14T16:18:18
vuejs/vue
ac060163c3095d71b5c1a93d2302ccba7daa1db5
6034c3e69977d4624298754dd9d83fa1f19fb72d
handle !important in static styles (fix #4306)
[ { "path": "src/platforms/web/runtime/modules/style.js", "patch": "@@ -4,10 +4,13 @@ import { cached, camelize, extend } from 'shared/util'\n import { normalizeStyleBinding, getStyle } from 'web/util/style'\n \n const cssVarRE = /^--/\n+const importantRE = /\\s*!important$/\n const setProp = (el, name, val) ...
2016-11-24T15:12:02
nodejs/node
3c5bfba28bc9ed244daed7e8f8234b9a4529be85
a886b17bfb48147fa2007b9968e9dce706a408a2
vm: fix displayErrors in runIn.. functions This option has been broken for almost a year when used with any of the vm.runIn.. family of functions, except for syntax errors. PR-URL: https://github.com/nodejs/node/pull/13074 Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "lib/repl.js", "patch": "@@ -231,7 +231,7 @@ function REPLServer(prompt,\n try {\n try {\n const scriptOptions = {\n- displayErrors: true,\n+ displayErrors: false,\n breakOnSigint: self.breakEvalOnSigint\n };\n ", "additions":...
2017-05-18T21:53:20
golang/go
f96dfe6b730de97b0a747c6c5d06ff468bf0ef3f
2f9b2e75c40bc6e92b08c85dde0ba2e4529e0427
[dev.boringcrypto] misc/boring: add go1.13.7b4 and go1.12.16b4 releases to RELEASES file Fixes #36611 Change-Id: Ie216914a044d02afbe9d9c36c4597f84282dae89 Reviewed-on: https://go-review.googlesource.com/c/go/+/217938 Reviewed-by: Katie Hockman <katie@golang.org>
[ { "path": "misc/boring/RELEASES", "patch": "@@ -67,3 +67,7 @@ go1.12.13b4 5d9d84d037da linux-amd64 https://go-boringcrypto.storage.googleapis.\n go1.12.13b4 5d9d84d037da src https://go-boringcrypto.storage.googleapis.com/go1.12.13b4.src.tar.gz d1bae336ea076a0b2bfc984477f4a216a475e134068227e6d9b44faf239bcfb8...
2020-02-05T19:52:09
huggingface/transformers
373d0d99858c60b78c90fc155e96c2cc9c95b432
500dfb5b034897cf00f566f849da7d5c284af2c9
[docs] Fix model reference in zero shot image classification example (#26206)
[ { "path": "docs/source/en/tasks/zero_shot_image_classification.md", "patch": "@@ -75,7 +75,7 @@ include a local path to an image or an image url.\n The candidate labels can be simple words like in this example, or more descriptive.\n \n ```py\n->>> predictions = classifier(image, candidate_labels=[\"fox\", ...
2023-09-18T22:45:12
vuejs/vue
e4591ce75b0e74e42fe22ac0ede9622770d08927
aa5f5d1198db2c9480a317b1db48c470c850949d
simplify proxy mode logic and fix case for mount
[ { "path": "src/core/instance/proxy.js", "patch": "@@ -48,15 +48,11 @@ if (process.env.NODE_ENV !== 'production') {\n initProxy = function initProxy (vm) {\n if (hasProxy) {\n // determine which proxy handler to use\n- let handlers\n const options = vm.$options\n- if (options.temp...
2016-11-23T23:35:25
ggml-org/llama.cpp
4696d5674999dc10a7fb8c27b33406a929f7463a
b7d26720821823e23e2273a99e38398d511242e9
CUDA: fix crash on large batch size for quant. MoE (#13537)
[ { "path": "ggml/src/ggml-cuda/mmq.cu", "patch": "@@ -122,6 +122,7 @@ void ggml_cuda_mul_mat_q(\n const int64_t s13 = src1->nb[3] / ts_src1;\n quantize_mmq_q8_1_cuda(src1_d, nullptr, src1_q8_1.get(), src0->type,\n ne10, s11, s12, s13, ne10_padded, ne11, ne12, ne13, str...
2025-05-14T14:41:02
nodejs/node
7a1dc1fba30eb6e883235d98aac144b39b97cf1b
4f4184c10b90a4979424c72a568cf517de651396
build: avoid /docs/api and /docs/doc/api upload Fixes: https://github.com/nodejs/node/issues/12833 PR-URL: https://github.com/nodejs/node/pull/12957 Reviewed-By: João Reis <reis@janeasystems.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Michael Dawson <mhdawson@ibm.com>
[ { "path": "Makefile", "patch": "@@ -754,9 +754,9 @@ ifeq ($(XZ), 0)\n endif\n \n doc-upload: doc\n-\tssh $(STAGINGSERVER) \"mkdir -p nodejs/$(DISTTYPEDIR)/$(FULLVERSION)\"\n+\tssh $(STAGINGSERVER) \"mkdir -p nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/docs/\"\n \tchmod -R ug=rw-x+X,o=r+X out/doc/\n-\tscp -pr out/d...
2017-05-11T02:09:50
huggingface/transformers
500dfb5b034897cf00f566f849da7d5c284af2c9
7d4e0c23c8bacca4c397187fddbf8bd7bee7b460
Update add_new_pipeline.md (#26197) fixed a few typos
[ { "path": "docs/source/en/add_new_pipeline.md", "patch": "@@ -111,8 +111,8 @@ def _sanitize_parameters(self, **kwargs):\n ```\n \n Try to keep the inputs/outputs very simple and ideally JSON-serializable as it makes the pipeline usage very easy\n-without requiring users to understand new kind of objects. It...
2023-09-18T22:41:16
golang/go
ab7c174183b05e36dabe0aa1943a0a4302b940d0
ee3a3717aa16dabede5dc0385b05423e8fbce985
testing: make Cleanup work for benchmarks too. Fixes #37073. Change-Id: I6fb24a3f9d7b7adf3213ac6a8bcbf5fb43975b7e Reviewed-on: https://go-review.googlesource.com/c/go/+/218117 Reviewed-by: Bryan C. Mills <bcmills@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Bryan C. Mills <bcmills@google.co...
[ { "path": "src/testing/benchmark.go", "patch": "@@ -179,6 +179,7 @@ func (b *B) ReportAllocs() {\n func (b *B) runN(n int) {\n \tbenchmarkLock.Lock()\n \tdefer benchmarkLock.Unlock()\n+\tdefer b.runCleanup(normalPanic)\n \t// Try to get a comparable environment for each run\n \t// by clearing garbage from p...
2020-02-06T08:47:20
vuejs/vue
b2b9d1c2729c13e80feadebf9664f78914417129
adf33c18eb1e24676af22d85d072fe6bfa83c99c
fix property reference proxy check for hand-written render functions
[ { "path": "src/core/instance/proxy.js", "patch": "@@ -2,7 +2,7 @@\n \n import { warn, makeMap } from '../util/index'\n \n-let hasProxy, proxyHandlers, initProxy\n+let initProxy\n \n if (process.env.NODE_ENV !== 'production') {\n const allowedGlobals = makeMap(\n@@ -21,20 +21,22 @@ if (process.env.NODE_ENV...
2016-11-23T22:46:41
ggml-org/llama.cpp
b7d26720821823e23e2273a99e38398d511242e9
6da34fa27620fa56e3334172e023f4f2533df51f
llama : fix quantize with dl backends (#13539)
[ { "path": "src/llama-model-loader.cpp", "patch": "@@ -822,13 +822,18 @@ void llama_model_loader::init_mappings(bool prefetch, llama_mlocks * mlock_mmaps\n mappings.reserve(files.size());\n mmaps_used.reserve(files.size());\n for (const auto & file : files) {\n- auto * reg ...
2025-05-14T14:12:36
huggingface/transformers
7d4e0c23c8bacca4c397187fddbf8bd7bee7b460
de8bec6df37041f4a9554c719ad6355bbdfa5f6a
Update README.md (#26198) Fixed a few typos
[ { "path": "examples/tensorflow/README.md", "patch": "@@ -15,7 +15,7 @@ limitations under the License.\n \n # Examples\n \n-This folder contains actively maintained examples of use of 🤗 Transformers organized into different ML tasks. All examples in this folder are **TensorFlow** examples, and are written u...
2023-09-18T22:02:50
nodejs/node
2cf4882136b2c17c37aeb7b793a3040e64936b9f
ba0dbaa1930db93a9e988ce1a525c8b2054a2970
test: add regression test for immediate socket errors This test ensures that a http client request with the default agent that has a socket that is immediately destroyed can still be caught by adding an error event listener to the request object. PR-URL: https://github.com/nodejs/node/pull/12854 Fixes: https://github...
[ { "path": "test/parallel/test-http-client-immediate-error.js", "patch": "@@ -0,0 +1,12 @@\n+'use strict';\n+\n+// Make sure http.request() can catch immediate errors in\n+// net.createConnection().\n+\n+const common = require('../common');\n+const assert = require('assert');\n+const http = require('http');\...
2017-05-11T15:35:24
golang/go
ee3a3717aa16dabede5dc0385b05423e8fbce985
dd0aa799ebbcb42cbc8d15aaa3edf905e8e1d83a
doc/go1.14: disable text/template processing in HTML page HTML pages served by the website have the option to opt-in to template processing, by including "Template: true" in the page metadata. This functionality is documented at https://github.com/golang/tools/blob/403f1254bdfd3da27c92a0e9e37dd180a9a82b3c/godoc/templa...
[ { "path": "doc/go1.14.html", "patch": "@@ -1,7 +1,6 @@\n <!--{\n \"Title\": \"Go 1.14 Release Notes\",\n- \"Path\": \"/doc/go1.14\",\n- \"Template\": true\n+ \"Path\": \"/doc/go1.14\"\n }-->\n \n <!--\n@@ -829,8 +828,8 @@ <h3 id=\"minor_library_changes\">Minor changes to the l...
2020-02-06T00:24:55
vuejs/vue
fce3f04a44073a03eff8e0c1ff4c10d2e4c7751e
9d0bc9768b40fa5fab3a648724f50385f2552ff7
Ensure Vue instance's vnode and element is up to date (#4299) * fix #4284, recursively update vnode element * fix #4284, ensure vm's vnode is up to date * add test for edge case
[ { "path": "src/core/instance/lifecycle.js", "patch": "@@ -116,6 +116,10 @@ export function lifecycleMixin (Vue: Class<Component>) {\n const vm: Component = this\n const hasChildren = !!(vm.$options._renderChildren || renderChildren)\n vm.$options._parentVnode = parentVnode\n+ vm.$vnode = pare...
2016-11-23T18:18:52
ggml-org/llama.cpp
5e7d95e22e386d316f7f659b74c9c34b65507912
053174436f3b3cbb01077f26ff17809537b832c7
fix: Move build_inp_pos to the top of the graph section for build_granite (#13538) This matches how others do it, but will still avoid the extra initialization when rope is disabled. Branch: GraniteFour Signed-off-by: Gabe Goodhart <ghart@us.ibm.com>
[ { "path": "src/llama-model.cpp", "patch": "@@ -12218,6 +12218,9 @@ struct llm_build_granite : public llm_graph_context {\n \n // inp_pos - built only if rope enabled\n ggml_tensor * inp_pos = nullptr;\n+ if (use_rope) {\n+ inp_pos = build_inp_pos();\n+ }\n \n ...
2025-05-14T12:53:59
huggingface/transformers
42791a5753ea13ead6277b6728537e680c7b05d7
2da8853775b61cde0894dee17c6c713aba711688
🌐 [i18n-KO] Translated `whisper.md` to Korean (#26002) * docs: ko-whisper.md * fix: chatgpt draft * feat: manual edits * Feat: manual edits * fix: resolve suggestions Co-authored-by: Jungnerd <46880056+jungnerd@users.noreply.github.com> --------- Co-authored-by: Jungnerd <46880056+jungnerd@users....
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -567,8 +567,8 @@\n title: (번역중) Wav2Vec2Phoneme\n - local: in_translation\n title: (번역중) WavLM\n- - local: in_translation\n- title: (번역중) Whisper\n+ - local: model_doc/whisper\n+ title: Whisper\n - loca...
2023-09-18T20:12:41
nodejs/node
ba0dbaa1930db93a9e988ce1a525c8b2054a2970
60390cd7fb674865d9c8af89d5a2fecdae1c7ec0
Revert "net: remove unnecessary process.nextTick()" This reverts commit 571882c5a45872ac67e4e29513c4c8f23af9f781. Removing the process.nextTick() call can prevent the consumer from being able to catch error events. PR-URL: https://github.com/nodejs/node/pull/12854 Fixes: https://github.com/nodejs/node/issues/12841 R...
[ { "path": "lib/net.js", "patch": "@@ -1005,7 +1005,10 @@ function lookupAndConnect(self, options) {\n // If host is an IP, skip performing a lookup\n var addressType = cares.isIP(host);\n if (addressType) {\n- internalConnect(self, host, port, addressType, localAddress, localPort);\n+ nextTick(s...
2017-05-05T11:10:43
golang/go
dd0aa799ebbcb42cbc8d15aaa3edf905e8e1d83a
9ee51745f767a8a95dfe7be095e19c9f79da4036
doc/go1.14: quote {{ and }} in text/template note Fixes #37070 Change-Id: I543957df264367e56c71a25bfaea5cf7935d438f Reviewed-on: https://go-review.googlesource.com/c/go/+/217979 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
[ { "path": "doc/go1.14.html", "patch": "@@ -829,8 +829,8 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n The text/template package now correctly reports errors when a\n parenthesized argument is used as a function.\n This most commonly shows up in erroneous cases lik...
2020-02-05T23:34:50
vuejs/vue
9d0bc9768b40fa5fab3a648724f50385f2552ff7
fa61c0042c1f4da130417cc90123deda64bc9b70
fix sfc parser special tag check for nested templates (fix #4289)
[ { "path": "src/compiler/parser/html-parser.js", "patch": "@@ -52,9 +52,9 @@ const isSpecialTag = (tag, isSFC, stack) => {\n if (isScriptOrStyle(tag)) {\n return true\n }\n- if (isSFC) {\n+ if (isSFC && stack.length === 1) {\n // top-level template that has no pre-processor\n- if (tag === 't...
2016-11-23T18:15:09
ggml-org/llama.cpp
360a9c98e13d35f322b4c5b1309aab0cc90ed82b
09d13d94fb169093095416ac6323551c37b75339
server : fix cache_tokens bug with no cache_prompt (#13533)
[ { "path": "tools/server/server.cpp", "patch": "@@ -2951,7 +2951,8 @@ struct server_context {\n llama_kv_self_seq_rm (ctx, slot.id, n_keep , n_keep + n_discard);\n llama_kv_self_seq_add(ctx, slot.id, n_keep + n_discard, slot.n_past, -n_discard);\n \n- ...
2025-05-14T11:35:07
rust-lang/rust
999a25ee891a20003b9004ff3bee5e2849efd375
91f6e000c29db3882039569e53d091df63ba5415
Fix tidy errors
[ { "path": "license-metadata.json", "patch": "@@ -117,7 +117,9 @@\n \"FiraMono-Regular.woff2\",\n \"FiraSans-LICENSE.txt\",\n \"FiraSans-Medium.woff2\",\n- \"FiraSans-Regular.woff2\"\n+ \"FiraSans-Regular.woff2\",\n+ ...
2024-12-03T15:12:08
vuejs/vue
fa61c0042c1f4da130417cc90123deda64bc9b70
1a7b910feb8c8dce7da80e4b148b65a5e4a0fbea
fix proxy missing property detection when render function does not use `with`
[ { "path": "src/core/instance/proxy.js", "patch": "@@ -12,6 +12,15 @@ if (process.env.NODE_ENV !== 'production') {\n 'require' // for Webpack/Browserify\n )\n \n+ const warnNonPresent = (target, key) => {\n+ warn(\n+ `Property or method \"${key}\" is not defined on the instance but ` +\n+ ...
2016-11-23T17:57:25
nodejs/node
425aba4f3630ca06e08c55a14de3e7a553e3c34d
9836cf571708a82396218957cacb3ed1ed468d05
errors: AssertionError moved to internal/error AssertionError class is moved to interna/error in reference to the TODO in assert.js. This was suggested to get rid of the cyclic dependency between assert.js and internal/error.js PR-URL: https://github.com/nodejs/node/pull/12906 Reviewed-By: James M Snell <jasnell@gmai...
[ { "path": "lib/assert.js", "patch": "@@ -40,39 +40,6 @@ function lazyErrors() {\n \n const assert = module.exports = ok;\n \n-// The AssertionError is defined in assert.\n-// new assert.AssertionError({ message: message,\n-// actual: actual,\n-// expec...
2017-05-08T20:10:51
huggingface/transformers
2da8853775b61cde0894dee17c6c713aba711688
835b0a05330f1ab5f9b18235d11d081504fc6425
🚨🚨 🚨🚨 [`Tokenizer`] attemp to fix add_token issues🚨🚨 🚨🚨 (#23909) * fix test for bart. Order is correct now let's skip BPEs * ouf * styling * fix bert.... * slow refactoring * current updates * massive refactoring * update * NICE! * update to see where I am at * updates * updat...
[ { "path": ".gitignore", "patch": "@@ -166,4 +166,4 @@ tags\n .DS_Store\n \n # ruff\n-.ruff_cache\n\\ No newline at end of file\n+.ruff_cache", "additions": 1, "deletions": 1, "language": "Unknown" }, { "path": "setup.py", "patch": "@@ -172,7 +172,7 @@\n \"tf2onnx\",\n \"timeo...
2023-09-18T18:28:36
golang/go
2f9b2e75c40bc6e92b08c85dde0ba2e4529e0427
527880d05ccded3b69613e9c5f51a1a062ff4180
[dev.boringcrypto] misc/docker: update Dockerfile to match recent Buster based golang images Fixes #37032 Change-Id: I5f097b4be1995ece8e40ad4b60456c5dbbf4e4d5 Reviewed-on: https://go-review.googlesource.com/c/go/+/217939 Reviewed-by: Katie Hockman <katie@golang.org>
[ { "path": "misc/boring/build.docker", "patch": "@@ -36,10 +36,9 @@ if echo \"$url\" | grep '!' >/dev/null; then\n \texit 2\n fi\n \n-sed \"s!UUU!$url!; s/SSS/$sha256/\" dockerfile.in >$dir/Dockerfile\n-cp go-wrapper $dir/go-wrapper\n-\n dversion=$(echo \"$version\" | sed 's/^go//')\n+sed \"s!UUU!$url!; s/SS...
2020-02-05T20:06:27
ggml-org/llama.cpp
be1d4a13db26750fac702ceb3af88ae4f39dc9f4
ab3971f2a0a526564bfde0e4cc8a5b90f9d33ad2
scripts : fix compare-llama-bench.py show parameter (#13514)
[ { "path": "scripts/compare-llama-bench.py", "patch": "@@ -113,7 +113,7 @@\n help_s = (\n \"Columns to add to the table. \"\n \"Accepts a comma-separated list of values. \"\n- f\"Legal values: {', '.join(KEY_PROPERTIES[:-2])}. \"\n+ f\"Legal values: {', '.join(KEY_PROPERTIES[:-3])}. \"\n \"...
2025-05-14T06:41:01
rust-lang/rust
91f6e000c29db3882039569e53d091df63ba5415
65fedebfc40653d88142171252f5e8b004afbfb9
Fix tidy errors
[ { "path": "REUSE.toml", "patch": "@@ -92,7 +92,7 @@ SPDX-FileCopyrightText = \"2015 Anders Kaseorg <andersk@mit.edu>\"\n SPDX-License-Identifier = \"MIT\"\n \n [[annotations]]\n-path = \"src/librustdoc/html/static/fonts/FiraSans**\"\n+path = \"src/librustdoc/html/static/fonts/Fira**\"\n precedence = \"overr...
2024-12-03T15:12:08
vuejs/vue
1a7b910feb8c8dce7da80e4b148b65a5e4a0fbea
f4647b01f8340eb0d21d14f4fc1a720855fee3d5
inherit child reference from old node when patching static nodes (fix #4288)
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -342,6 +342,7 @@ export function createPatchFunction (backend) {\n vnode.key === oldVnode.key &&\n (vnode.isCloned || vnode.isOnce)) {\n vnode.elm = oldVnode.elm\n+ vnode.child = oldVnode.child\n return\n }\n let i", ...
2016-11-23T14:42:52
nodejs/node
3774c99f668173175c35f64c92499c93277df5f2
ed365653f6eb74d58a1d2a1c1bdb20e4baf67fa0
http: fix IPv6 Host header check PR-URL: https://github.com/nodejs/node/pull/13122 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
[ { "path": "lib/_http_client.js", "patch": "@@ -173,14 +173,14 @@ function ClientRequest(options, cb) {\n }\n if (host && !this.getHeader('host') && setHost) {\n var hostHeader = host;\n- var posColon = -1;\n \n // For the Host header, ensure that IPv6 addresses are enclosed\n ...
2017-05-19T21:14:53
huggingface/transformers
835b0a05330f1ab5f9b18235d11d081504fc6425
e5f7e03b3bd384f9f39d26c98073c302ec85c2e0
[Check] Fix config docstring (#26222)
[ { "path": "utils/check_config_docstrings.py", "patch": "@@ -16,7 +16,6 @@\n import inspect\n import re\n \n-from transformers import CTRLConfig\n from transformers.utils import direct_transformers_import\n \n \n@@ -74,9 +73,7 @@ def get_checkpoint_from_config_class(config_class):\n def check_config_docstrin...
2023-09-18T17:58:01
golang/go
9ee51745f767a8a95dfe7be095e19c9f79da4036
e5b9c1068913c09f90ca4d7f8b0d97903f37fc1c
doc/go1.14: mention better error checking in text/template This caused 35 test failures in Google internal code, so it's worth mentioning in the release notes. Updates #31810 Updates #36878 Fixes #37066 Change-Id: I2faa6bce4c7d735107eceaef7d95223844846454 Reviewed-on: https://go-review.googlesource.com/c/go/+/217978...
[ { "path": "doc/go1.14.html", "patch": "@@ -823,6 +823,20 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n </p>\n </dl><!-- testing -->\n \n+<dl id=\"text/template\"><dt><a href=\"/pkg/text/template/\">text/template</a></dt>\n+ <dd>\n+ <p><!-- CL 206124 -->\n+ The text/tem...
2020-02-05T22:12:04
ggml-org/llama.cpp
f0995d28ce3d15095b6845d94ce4465e46575873
c252e0c4097b34666e5a81db9d0450d71fa3098f
metal : use FA-vec kernel up to batch size 20 (#13496) * batched-bench : fix pp batch contents * metal : optimize multi-sequence FA vec kernel ggml-ci * metal : use FA-vec kernel up to batch size 20 ggml-ci
[ { "path": "ggml/src/ggml-metal/ggml-metal.m", "patch": "@@ -4358,7 +4358,7 @@ static bool ggml_metal_encode_node(\n // TODO: add vec kernels for (ne00%64 == 0) and maybe also for (ne00%32 == 0)\n // for now avoiding mainly to keep the number of templates/kernels a bit l...
2025-05-13T15:04:39
rust-lang/rust
15652544786b6787af29cae9bc0bb16d49d48fb4
ebcf860e7345e3387b4c6961338c77424b43cbd5
Fix off-by-one error causing driftsort to crash Fixes #136103. Based on the analysis by @jonathan-gruber-jg and @orlp.
[ { "path": "library/core/src/slice/sort/stable/drift.rs", "patch": "@@ -10,8 +10,8 @@ use crate::{cmp, intrinsics};\n \n /// Sorts `v` based on comparison function `is_less`. If `eager_sort` is true,\n /// it will only do small-sorts and physical merges, ensuring O(N * log(N))\n-/// worst-case complexity. `s...
2025-01-28T00:21:08
vuejs/vue
c57ba3e622c5699ce2e657b0d9a71ce4bdd6dfba
b45b974a5c866abd8dc777ccac511af30b72b91b
global mixin should not drop scope id (fix #4266) (#4274)
[ { "path": "src/core/instance/init.js", "patch": "@@ -72,6 +72,7 @@ export function resolveConstructorOptions (Ctor: Class<Component>) {\n Ctor.superOptions = superOptions\n extendOptions.render = options.render\n extendOptions.staticRenderFns = options.staticRenderFns\n+ extendOptions...
2016-11-22T14:22:21
huggingface/transformers
e5f7e03b3bd384f9f39d26c98073c302ec85c2e0
e4e55af79c9b3dfd15cc2224f8f5b80680d83f03
[Permisson] Style fix (#26228) fix copies
[ { "path": "src/transformers/models/persimmon/modeling_persimmon.py", "patch": "@@ -72,7 +72,7 @@ def _expand_mask(mask: torch.Tensor, dtype: torch.dtype, tgt_len: Optional[int]\n \n \n # Copied from transformers.models.llama.modeling_llama.LlamaRotaryEmbedding with Llama->Persimmon\n-class PersimmonRotaryEm...
2023-09-18T17:49:51
nodejs/node
dcc59f91c68e2bedd489aab4499ef8637c5ae419
f529706eb0bb5dcc2222b4cf6eaa313fd14d4968
src: fix typo PR-URL: https://github.com/nodejs/node/pull/13085 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ron Korving <ron@ronkorving.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
[ { "path": "src/node_i18n.cc", "patch": "@@ -326,7 +326,7 @@ void Transcode(const FunctionCallbackInfo<Value>&args) {\n tfn = &TranscodeUtf8FromUcs2;\n break;\n default:\n- tfn = TranscodeFromUcs2;\n+ tfn = &TranscodeFromUcs2;\n }\n brea...
2017-05-18T03:19:56
ggml-org/llama.cpp
c252e0c4097b34666e5a81db9d0450d71fa3098f
4f711afed5e7ef4304b567c8888ee1aa60e868eb
metal : optimize multi-sequence FA vec kernel (#13493) * batched-bench : fix pp batch contents * metal : optimize multi-sequence FA vec kernel ggml-ci
[ { "path": "ggml/src/ggml-metal/ggml-metal.metal", "patch": "@@ -3887,6 +3887,11 @@ kernel void kernel_flash_attn_ext_vec(\n sm[tiisg] = pm[ic + tiisg];\n }\n \n+ // skip -INF blocks\n+ if (simd_max(sm[tiisg]) == -INFINITY) {\n+ continue;\n+ ...
2025-05-13T15:04:00
golang/go
e5b9c1068913c09f90ca4d7f8b0d97903f37fc1c
7a36fa400286ca51192a7661a7ffbf9a39c396b3
doc/go1.14: document io/ioutil.TempDir's predictable prefix+suffix Documents io/ioutil.TempDir's new ability to create predictable prefixes and suffixes, derived from the argument 'pattern', separated by the last '*' in it. References: CL 198488 Updates #36878 Change-Id: I92c52fcc7d480ce74746e99e6e85a04efb87294f Re...
[ { "path": "doc/go1.14.html", "patch": "@@ -569,6 +569,16 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n </dd>\n </dl><!-- go/build -->\n \n+<dl id=\"io/ioutil\"><dt><a href=\"/pkg/io/ioutil/\">io/ioutil</a></dt>\n+ <dd>\n+ <p><!-- CL 198488 -->\n+ <a href=\"/pkg/io/ioutil...
2020-02-05T19:36:00
rust-lang/rust
717d36abc95e5eef728842ccc0701c564e7a5cf1
122fb29eb639aae852b9dcba0fd7aefc691be118
Simplify Rc::as_ptr docs + typo fix
[ { "path": "library/alloc/src/rc.rs", "patch": "@@ -1462,18 +1462,18 @@ impl<T: ?Sized, A: Allocator> Rc<T, A> {\n /// Provides a raw pointer to the data.\n ///\n /// The counts are not affected in any way and the `Rc` is not consumed. The pointer is valid\n- /// for as long there are strong c...
2025-01-29T05:22:39
vuejs/vue
db35444331f019dd9f051b40bb36711064796f85
a11ba690944ccc4859a7951003fd6a97ed228a03
properly handle special newline unicode chars (fix #4268)
[ { "path": "src/compiler/codegen/index.js", "patch": "@@ -279,7 +279,7 @@ function genNode (node: ASTNode) {\n function genText (text: ASTText | ASTExpression): string {\n return text.type === 2\n ? text.expression // no need for () because already wrapped in _s()\n- : JSON.stringify(text.text)\n+ ...
2016-11-21T15:29:57
huggingface/transformers
e4e55af79c9b3dfd15cc2224f8f5b80680d83f03
8b5da9fc6e22a9250691bab688e1465da922176a
[Wav2Vec2-Conf / LLaMA] Style fix (#26188) * torch.nn -> nn * fix llama * copies
[ { "path": "src/transformers/models/deprecated/open_llama/modeling_open_llama.py", "patch": "@@ -99,7 +99,7 @@ def forward(self, hidden_states):\n \n \n # Copied from transformers.models.llama.modeling_llama.LlamaRotaryEmbedding with Llama->OpenLlama\n-class OpenLlamaRotaryEmbedding(torch.nn.Module):\n+class...
2023-09-18T16:24:35
ggml-org/llama.cpp
4f711afed5e7ef4304b567c8888ee1aa60e868eb
b89d605a91dee0a518ecd582f8991a07d523e2fa
ggml-cpu: Update KleidiAI to v1.6 and fix include directives (#13509) Signed-off-by: Dan Johansson <dan.johansson@arm.com>
[ { "path": "ggml/src/ggml-cpu/CMakeLists.txt", "patch": "@@ -385,9 +385,9 @@ function(ggml_add_cpu_backend_variant_impl tag_name)\n \n # Fetch KleidiAI sources:\n include(FetchContent)\n- set(KLEIDIAI_COMMIT_TAG \"v1.5.0\")\n+ set(KLEIDIAI_COMMIT_TAG \"v1.6.0\")\n set(KL...
2025-05-13T15:02:28
nodejs/node
c470f04f22eb34cf50a65b384f59d60209b1bf1d
5c26378cb775526fbd71b91c2f9ad5e5fcee9d3e
doc: list macOS as supporting filename argument also added regression tests PR-URL: https://github.com/nodejs/node/pull/13111 Fixes: https://github.com/nodejs/node/issues/13108 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.co...
[ { "path": "doc/api/fs.md", "patch": "@@ -2297,10 +2297,10 @@ this improves the usability of file watching. This is expected behavior.\n \n <!--type=misc-->\n \n-Providing `filename` argument in the callback is only supported on Linux and\n-Windows. Even on supported platforms, `filename` is not always guar...
2017-05-19T02:07:52
golang/go
7a36fa400286ca51192a7661a7ffbf9a39c396b3
921ceadd2997f2c0267455e13f909df044234805
crypto/x509: fix godoc for MarshalPKCS8PrivateKey Fixes #36735 Change-Id: I93f005d78f4bfac773272995b165172461bae92f Reviewed-on: https://go-review.googlesource.com/c/go/+/217917 Run-TryBot: Katie Hockman <katie@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Filippo Valsorda <filippo@golang.org...
[ { "path": "src/crypto/x509/pkcs8.go", "patch": "@@ -79,7 +79,7 @@ func ParsePKCS8PrivateKey(der []byte) (key interface{}, err error) {\n \t}\n }\n \n-// MarshalPKCS8PrivateKey converts an RSA private key to PKCS#8, ASN.1 DER form.\n+// MarshalPKCS8PrivateKey converts a private key to PKCS#8, ASN.1 DER form....
2020-02-05T19:18:20
vuejs/vue
e81421c8996a7f5f1f584ca13c2752f954573a9b
9ddbbcc340aa092699aca349492ffd50e18f1ba4
wip: fix codegen
[ { "path": "src/compiler/codegen/index.js", "patch": "@@ -287,7 +287,7 @@ function genSlot (el: ASTElement): string {\n return `_t(${slotName}${\n children ? `,${children}` : ''\n }${\n- el.attrs ? `${children ? '' : 'null'},{${\n+ el.attrs ? `${children ? '' : ',null'},{${\n el.attrs.map...
2016-11-17T03:17:53
huggingface/transformers
77ed9fa1a9cfcf3e956d67e598b76991e17a45f0
f0a6057fbc3d46add1c15d1dfddfb098bec403c5
[FSMT] Fix non-shared weights (#26187) * Fix non-shared weights * Add tests * Edit tied weights keys
[ { "path": "src/transformers/models/fsmt/modeling_fsmt.py", "patch": "@@ -1034,7 +1034,7 @@ def _get_shape(t):\n FSMT_START_DOCSTRING,\n )\n class FSMTModel(PretrainedFSMTModel):\n- _tied_weights_keys = [\"decoder.embed_tokens.weight\"]\n+ _tied_weights_keys = [\"decoder.embed_tokens.weight\", \"de...
2023-09-18T14:58:38
ggml-org/llama.cpp
b89d605a91dee0a518ecd582f8991a07d523e2fa
b4726345aca49e2ad62d615e6e370b3dbad6434f
batched-bench : fix pp batch contents (#13492)
[ { "path": "tools/batched-bench/batched-bench.cpp", "patch": "@@ -123,8 +123,8 @@ int main(int argc, char ** argv) {\n \n common_batch_clear(batch);\n \n- for (int i = 0; i < pp; ++i) {\n- for (int j = 0; j < (is_pp_shared ? 1 : pl); ++j) {\n+ ...
2025-05-13T15:01:53
vuejs/vue
f242e119fab42e2f80dfea5fc9e0eaffd1587af7
6c7bc6932859c9d953082c96a94a86d9e94ef8bb
fix nextTick Promise implementation for polyfills
[ { "path": "src/core/util/env.js", "patch": "@@ -86,18 +86,20 @@ export const nextTick = (function () {\n }\n }\n \n- return function queueNextTick (cb: Function, ctx?: Object) {\n- if (cb) {\n- var func = ctx\n- ? function () { cb.call(ctx) }\n- : cb\n- callbacks.push(func)...
2016-11-20T17:03:24
golang/go
60f11c44c02ff815e02d1e59839c6c0bf3f6605e
8a4d05cf07cddb724422d24e57c18c1bd8d8ad02
doc/go1.14: document http.ServeFile large file fix for Windows Document that for Windows, net/http.ServeFile can now correctly serve files >2GB after we fixed internal/poll.SendFile to transmit files larger than the default Windows limit of 2GB. References: CL 192518, CL 194218 Updates #36878 Change-Id: Ibefc8b2841...
[ { "path": "doc/go1.14.html", "patch": "@@ -682,6 +682,11 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n use <code>DialTLSContext</code>, which allows the transport to\n cancel dials as soon as they are no longer needed.\n </p>\n+\n+ <p><!-- CL 192518, CL 194218 --...
2020-02-05T19:09:34
nodejs/node
5c26378cb775526fbd71b91c2f9ad5e5fcee9d3e
3429c90f42c00ba3657f7c8d288843c5062a4bb5
inspector: fix process._debugEnd() for inspector This change ensures that the WebSocket server can be stopped (and restarted if needed) buy calling process._debugEnd. PR-URL: https://github.com/nodejs/node/pull/12777 Fixes: https://github.com/nodejs/node/issues/12559 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Rev...
[ { "path": "src/inspector_agent.cc", "patch": "@@ -38,6 +38,18 @@ using v8_inspector::V8Inspector;\n static uv_sem_t inspector_io_thread_semaphore;\n static uv_async_t start_inspector_thread_async;\n \n+class StartIoTask : public v8::Task {\n+ public:\n+ explicit StartIoTask(Agent* agent) : agent(agent) {}\...
2017-05-01T20:31:14
huggingface/transformers
f0a6057fbc3d46add1c15d1dfddfb098bec403c5
bc7ce1808f6c30df87fd9dff871a53ef510ccf77
Fix ConversationalPipeline tests (#26217) Add BlenderbotSmall templates and correct handling for conversation.past_user_inputs
[ { "path": "src/transformers/models/blenderbot_small/tokenization_blenderbot_small.py", "patch": "@@ -236,3 +236,18 @@ def save_vocabulary(self, save_directory: str, filename_prefix: Optional[str] =\n index += 1\n \n return vocab_file, merge_file\n+\n+ @property\n+ # Copied from...
2023-09-18T14:08:56
ggml-org/llama.cpp
d590cd4c244e5f260c42c290b83a358b9d86d763
1e2809bc4b5d8db2a9ed12ac872eca832c53f5fd
model : Granite MoE shared (#13269) * feat: Add GGUF conversion for granitemoeshared Branch: GraniteMoEShared Signed-off-by: Gabe Goodhart <ghart@us.ibm.com> * feat: hparam and arch plumbing for granitemoeshared Branch: GraniteMoEShared Signed-off-by: Gabe Goodhart <ghart@us.ibm.com> * fix: Split MoE fused tenso...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -5746,11 +5746,20 @@ def set_gguf_parameters(self):\n logger.info(\"gguf: (granite) logits_scale = %s\", logits_scale)\n \n \n-@ModelBase.register(\"GraniteMoeForCausalLM\")\n+@ModelBase.register(\"GraniteMoeForCausalLM\", \"GraniteMoeSharedForCaus...
2025-05-13T13:12:01
vuejs/vue
9e6255e45762ae3a5fe2fd3a00d8c4f41c810a29
ff7f2310025c2e9f620cdd8d37d95d49484e957b
fix the type of VNodeComponentOptions.Ctor (#4257)
[ { "path": "types/vnode.d.ts", "patch": "@@ -24,7 +24,7 @@ export interface VNode {\n }\n \n export interface VNodeComponentOptions {\n- Ctor: Vue;\n+ Ctor: typeof Vue;\n propsData?: Object;\n listeners?: Object;\n children?: VNodeChildren;", "additions": 1, "deletions": 1, "language": "U...
2016-11-20T16:59:10
golang/go
8a4d05cf07cddb724422d24e57c18c1bd8d8ad02
702226f93321a6cc9c90c657c589c869c70872fc
cmd/go/internal/vet: only set work.VetExplicit if the list of explicit flags is non-empty Updates #35837 Fixes #37030 Change-Id: Ifd3435803622a8624bab55a0f3fbc8855025282f Reviewed-on: https://go-review.googlesource.com/c/go/+/217897 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@gol...
[ { "path": "src/cmd/go/internal/vet/vet.go", "patch": "@@ -51,7 +51,9 @@ func runVet(cmd *base.Command, args []string) {\n \n \twork.BuildInit()\n \twork.VetFlags = vetFlags\n-\twork.VetExplicit = true\n+\tif len(vetFlags) > 0 {\n+\t\twork.VetExplicit = true\n+\t}\n \tif vetTool != \"\" {\n \t\tvar err error...
2020-02-05T18:36:53
nodejs/node
3429c90f42c00ba3657f7c8d288843c5062a4bb5
06f62eb384f4f823bd224165c224da08d7dec0ab
test: fix sequential test-net-connect-local-error Fixed sequential test-net-connect-local-error by swapping port and localPort in net.connect options. PR-URL: https://github.com/nodejs/node/pull/13064 Fixes: https://github.com/nodejs/node/issues/13055 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Coli...
[ { "path": "test/sequential/test-net-connect-local-error.js", "patch": "@@ -3,28 +3,23 @@ const common = require('../common');\n const assert = require('assert');\n const net = require('net');\n \n+// EADDRINUSE is expected to occur on FreeBSD\n+// Ref: https://github.com/nodejs/node/issues/13055\n+const exp...
2017-05-22T07:45:00
huggingface/transformers
bc7ce1808f6c30df87fd9dff871a53ef510ccf77
f02b915ba2b010cb2ed5a09d2593dca4d839d1bc
moved `ctrl` to `Salesforce/ctrl` (#26183) * moved `ctrl` to `Salesforce/ctrl` redirects should theoretically work, but still updating those repo references for clarity * Fixup * Slow doc tests * Add modeling file --------- Co-authored-by: Lysandre <lysandre@huggingface.co>
[ { "path": "src/transformers/models/ctrl/configuration_ctrl.py", "patch": "@@ -20,15 +20,17 @@\n \n logger = logging.get_logger(__name__)\n \n-CTRL_PRETRAINED_CONFIG_ARCHIVE_MAP = {\"ctrl\": \"https://huggingface.co/ctrl/resolve/main/config.json\"}\n+CTRL_PRETRAINED_CONFIG_ARCHIVE_MAP = {\n+ \"Salesforce/...
2023-09-18T11:52:43
vuejs/vue
8bf26536d3b4b5d139070e1730fed7f9df59c9db
048014ac0d81a22e9c27cb10fbbb55f214a1f136
Add promise support to nextTick (#3967) * add promise support to nextTick * remove test for non-existent nextTick console error * Update flow annotation for callback * Revert flow annotation for nextTick callback
[ { "path": "src/core/instance/render.js", "patch": "@@ -26,7 +26,7 @@ export function initRender (vm: Component) {\n \n export function renderMixin (Vue: Class<Component>) {\n Vue.prototype.$nextTick = function (fn: Function) {\n- nextTick(fn, this)\n+ return nextTick(fn, this)\n }\n \n Vue.proto...
2016-11-20T14:50:38
ggml-org/llama.cpp
10d2af0eaa0aafd7c6577b279dfa5221ff44a63f
064cc596ac44308dc326a17c9e3163c34a6f29d1
llama/ggml: add LLM training support (#10544) * llama/ggml: add LLM training support more compact progress bar llama_save_model_to_file llama_opt_param_filter ggml_graph_dup force_grads refactor ggml_opt, fix test-opt * remove logits_all * refactor CUDA implementation for ACC * reset graph at beginning of opt ...
[ { "path": "build-xcframework.sh", "patch": "@@ -117,6 +117,7 @@ setup_framework_structure() {\n # Copy all required headers (common for all platforms)\n cp include/llama.h ${header_path}\n cp ggml/include/ggml.h ${header_path}\n+ cp ggml/include/ggml-opt.h ${header_pat...
2025-05-12T12:44:49
huggingface/transformers
d020a2b81b97a98f3033e5cb0cc223789335c460
0a55d9f7376f72ad3ff296d4249840021b03bcc4
No doctest for `convert_bros_to_pytorch.py` (#26212) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "utils/not_doctested.txt", "patch": "@@ -437,6 +437,7 @@ src/transformers/models/bloom/modeling_bloom.py\n src/transformers/models/bloom/modeling_flax_bloom.py\n src/transformers/models/bridgetower/configuration_bridgetower.py\n src/transformers/models/bridgetower/modeling_bridgetower.py\n+src/tra...
2023-09-18T11:31:59
nodejs/node
06f62eb384f4f823bd224165c224da08d7dec0ab
f8c617dbe2690735511d5e8d4e73138458d808cb
src: assert that uv_async_init() succeeds This commit fixes two coverity warnings for unchecked return values. Refs: https://github.com/nodejs/node/pull/13050 PR-URL: https://github.com/nodejs/node/pull/13116 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: ...
[ { "path": "src/cares_wrap.cc", "patch": "@@ -534,7 +534,9 @@ class QueryWrap : public AsyncWrap {\n data->len = answer_len;\n \n uv_async_t* async_handle = &data->async_handle;\n- uv_async_init(wrap->env()->event_loop(), async_handle, CaresAsyncCb);\n+ CHECK_EQ(0, uv_async_init(wrap->env()->ev...
2017-05-19T16:18:20
golang/go
a864cc756083632c543f2ad582cddd81bd2f3840
fb93cd45a647087a11f96cf2610e64a257a68c19
doc: rename HTML element IDs to avoid duplicates These 3 release notes have had an element ID collision because both the runtime changes and changes to the package "runtime" used the same ID. Fix it by using a "pkg-" prefix for the runtime package. Move the "runtime-again" ID from CL 129635 to a nearby <dt> element s...
[ { "path": "doc/go1.11.html", "patch": "@@ -826,7 +826,7 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n \n <!-- CL 101715 was reverted -->\n \n-<dl id=\"runtime-again\"><dt><a href=\"/pkg/runtime/\">runtime</a></dt>\n+<dl id=\"pkg-runtime\"><dt id=\"runtime-again\"><a href=\"/pkg/run...
2020-02-05T10:23:42
vuejs/vue
c1b84f87fbab4993689dc4a847a137acbcf41a71
9fa4bbbc04f17fe278b280a99225077836d692ec
fix markStaticRoots with v-else (#4256)
[ { "path": "src/compiler/optimizer.js", "patch": "@@ -77,14 +77,12 @@ function markStaticRoots (node: ASTNode, isInFor: boolean) {\n }\n if (node.children) {\n for (let i = 0, l = node.children.length; i < l; i++) {\n- const child = node.children[i]\n- isInFor = isInFor || !!node....
2016-11-20T14:43:40
ggml-org/llama.cpp
064cc596ac44308dc326a17c9e3163c34a6f29d1
91159ee9df84edb72ccf874e353d2414f3a8c60d
context : fix state io for memory-less contexts (#13470) ggml-ci
[ { "path": "src/llama-context.cpp", "patch": "@@ -1788,30 +1788,37 @@ size_t llama_context::state_read_data(llama_io_read_i & io) {\n }\n }\n \n- LLAMA_LOG_DEBUG(\"%s: - reading KV self\\n\", __func__);\n- llama_kv_cache * kv_self = static_cast<llama_kv_cache *>(memory.get());\n+ if (mem...
2025-05-12T12:12:27
huggingface/transformers
0a55d9f7376f72ad3ff296d4249840021b03bcc4
8b1347149437fa4624d59be26f8724ca87f05cfe
[PEFT] Allow PEFT model dict to be loaded (#25721) * Allow PEFT model dict to be loaded * make style * make style * Apply suggestions from code review * address comments * fixup * final change * added tests * fix test * better logic for handling if adapter has been loaded * Update tests/p...
[ { "path": "src/transformers/integrations/peft.py", "patch": "@@ -12,13 +12,14 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n import inspect\n-from typing import Optional\n+from typing import TYPE_CHECKING, Any, Dict, Optional\n \n from ..utils...
2023-09-15T16:22:01
nodejs/node
f8c617dbe2690735511d5e8d4e73138458d808cb
ad4765a32641277a91efb565e2056abaa6b6a70b
stream: improve multiple callback error message When a transform stream's callback is called more than once, an error is emitted with a somewhat confusing message. This commit hopes to improve the quality of the error message. Fixes: https://github.com/nodejs/node/issues/12513 PR-URL: https://github.com/nodejs/node/p...
[ { "path": "lib/_stream_transform.js", "patch": "@@ -88,8 +88,10 @@ function afterTransform(stream, er, data) {\n \n var cb = ts.writecb;\n \n- if (!cb)\n- return stream.emit('error', new Error('no writecb in Transform class'));\n+ if (!cb) {\n+ return stream.emit('error',\n+ ...
2017-04-19T19:01:43
vuejs/vue
06f41ad9fe9de374b29be5913cb133ce10204046
4dccbbc9978cc70ee04d70b360ea55e3ba9da3bb
avoid pushing the same ref more than once (fix #4253)
[ { "path": "src/core/vdom/modules/ref.js", "patch": "@@ -32,7 +32,7 @@ export function registerRef (vnode: VNodeWithData, isRemoval: ?boolean) {\n }\n } else {\n if (vnode.data.refInFor) {\n- if (Array.isArray(refs[key])) {\n+ if (Array.isArray(refs[key]) && refs[key].indexOf(ref) < 0) {\...
2016-11-20T02:45:37
golang/go
fb93cd45a647087a11f96cf2610e64a257a68c19
f770366f6d910e4bf92a6f885908afe134d65b23
net: don't check LookupHost error in TestLookupNullByte net.LookupHost("foo\x00bar") may resolve successfully on some networks. Reduce the scope of the test to check only that the call doesn't panic. Also update the test comment to reference the relevant issue. Fixes #37031 Updates #31597 Change-Id: If175deed812162...
[ { "path": "src/net/lookup_test.go", "patch": "@@ -1179,12 +1179,9 @@ func TestWithUnexpiredValuesPreserved(t *testing.T) {\n \t}\n }\n \n-// Issue 31586: don't crash on null byte in name\n+// Issue 31597: don't panic on null byte in name\n func TestLookupNullByte(t *testing.T) {\n \ttestenv.MustHaveExternal...
2020-02-05T00:41:48
ggml-org/llama.cpp
a71a4075cdb8e81eaaa834e48ffda88b038286bc
95e18884fc7ea4031f70f1a518d5d1df616e5717
ggml-cpu: Integrate fp32=bf16xbf16 SME KleidiAI kernel (#13053) * ggml-cpu: Integrate fp32=bf16xbf16 SME KleidiAI kernel Signed-off-by: Dan Johansson <dan.johansson@arm.com> * * code review fixes Signed-off-by: Dan Johansson <dan.johansson@arm.com> * * adds a comment that clarifies barrier usage Signed-off-by: Da...
[ { "path": "ggml/src/ggml-cpu/CMakeLists.txt", "patch": "@@ -428,6 +428,7 @@ function(ggml_add_cpu_backend_variant_impl tag_name)\n ${KLEIDIAI_SRC}/kai/ukernels/\n ${KLEIDIAI_SRC}/kai/ukernels/matmul/\n ${KLEIDIAI_SRC}/kai/ukernels/matmul/matmul_clamp_f32_qsi8d32p_qsi4c32p...
2025-05-12T11:06:19
huggingface/transformers
8b1347149437fa4624d59be26f8724ca87f05cfe
eb644980eb7bd7ed5bc46d47df94a4c87ae31bcf
[docs] IDEFICS guide and task guides restructure (#26035) * initial commit for the IDEFICS task guide * conversational example * updated TOC * fixed typos * Apply suggestions from code review Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * addressed feedback * bad_words_i...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -88,6 +88,11 @@\n - local: generation_strategies\n title: Customize the generation strategy\n title: Generation\n+ - isExpanded: false\n+ sections:\n+ - local: tasks/idefics\n+ title: Image tasks with IDEFICS\n+ title: Prompt...
2023-09-15T16:15:07
vuejs/vue
ab428b5c4a7de3f3ab9bbc90fe6218bc256e27b5
b60cd834660f2141e0e574b82dd17c9b474b8a73
fix v-move class when name isn't specified (#4239)
[ { "path": "src/platforms/web/runtime/components/transition-group.js", "patch": "@@ -89,7 +89,7 @@ export default {\n \n updated () {\n const children = this.prevChildren\n- const moveClass = this.moveClass || (this.name + '-move')\n+ const moveClass = this.moveClass || ((this.name || 'v') + '-mo...
2016-11-19T01:41:45
nodejs/node
57f38c6732db71a6145cc5bbfec884f47bb17e16
762b0358b3f5de55a74fe40403964774f80ad33d
src: check IsConstructCall in TLSWrap constructor Currently it is possible to call TLSWrap() without using new and the following error message: FATAL ERROR: v8::Object::SetAlignedPointerInInternalField() Internal field out of bounds 1: node::Abort() [/Users/danielbevenius/work/nodejs/node/out/Debug/node] 2: node::On...
[ { "path": "src/tls_wrap.cc", "patch": "@@ -933,6 +933,7 @@ void TLSWrap::Initialize(Local<Object> target,\n env->SetMethod(target, \"wrap\", TLSWrap::Wrap);\n \n auto constructor = [](const FunctionCallbackInfo<Value>& args) {\n+ CHECK(args.IsConstructCall());\n args.This()->SetAlignedPointerInIn...
2017-05-18T08:24:50