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
huggingface/transformers
1aee9afd1c1d588f0e105af0ddbd6247e6e9a032
2209b7afa04b3a6366350065f541e9248d6663c2
FIX [`CI` / `starcoder2`] Change starcoder2 path to correct one for slow tests (#29359) change starcoder2 path to correct one
[ { "path": "tests/models/starcoder2/test_modeling_starcoder2.py", "patch": "@@ -473,7 +473,7 @@ def test_starcoder2_batched_generation_sdpa(self):\n \"Hello my name is Younes and I am a student at the University of Liverpool. I am currently studying for my MSc in Computer Science. I am interested...
2024-02-29T02:52:13
golang/go
9ca2474fd274d7bce8da454d1a7da074e40944ad
844bf11ecd362e50e62a81c93aa2ac602de59adc
cmd/go: fix mod_gomodcache and generate_env TestScripts on Plan 9 Adjust these two tests for Plan 9, which uses $path instead of $PATH, and $home instead of $HOME. Fixes #39599 Change-Id: Idba95e07d307e76f0f61acd904905b417c52d43a Reviewed-on: https://go-review.googlesource.com/c/go/+/237941 Reviewed-by: Bryan C. Mil...
[ { "path": "src/cmd/go/testdata/script/generate_env.txt", "patch": "@@ -1,7 +1,8 @@\n # Install an env command because Windows and plan9 don't have it.\n env GOBIN=$WORK/tmp/bin\n go install env.go\n-env PATH=$GOBIN${:}$PATH\n+[plan9] env path=$GOBIN${:}$path\n+[!plan9] env PATH=$GOBIN${:}$PATH\n \n # Test g...
2020-06-15T17:04:05
rust-lang/rust
e2cdfed0ea09e430f1b24351856b224eda3683d9
48fffe7db336476581d7fad1c9219ef59145300a
fix: `map_entry` FP on struct member
[ { "path": "clippy_lints/src/entry.rs", "patch": "@@ -1,5 +1,6 @@\n use clippy_utils::diagnostics::span_lint_and_sugg;\n use clippy_utils::source::{reindent_multiline, snippet_indent, snippet_with_applicability, snippet_with_context};\n+use clippy_utils::visitors::for_each_expr;\n use clippy_utils::{\n S...
2025-02-05T09:32:18
vuejs/vue
67c1d26cb0af3eb2db0a11fc7768a8299e7f7d58
74ca5a13ba12a31580f1567e7c6d789e96730e46
fix(types): correct serverPrefetch this type (#13068) close #12488
[ { "path": "types/options.d.ts", "patch": "@@ -210,7 +210,7 @@ export interface ComponentOptions<\n activated?(): void\n deactivated?(): void\n errorCaptured?(err: Error, vm: Vue, info: string): boolean | void\n- serverPrefetch?(this: V): Promise<void>\n+ serverPrefetch?(): Promise<void>\n renderTr...
2023-10-23T06:58:47
nodejs/node
049a8d7c1d9c69602b39bcd149ee1c093d72b970
1ebde6e1137b616de223c1b6fe3d8d30b5a9d3f5
doc: fix entryTypes type and missing link PR-URL: https://github.com/nodejs/node/pull/15406 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "doc/api/perf_hooks.md", "patch": "@@ -202,7 +202,7 @@ const obs = new PerformanceObserver((list) => {\n obs.disconnect();\n performance.clearFunctions();\n });\n-obs.observe({ entryTypes: 'function' });\n+obs.observe({ entryTypes: ['function'] });\n \n // A performance timeline entry will be ...
2017-09-14T08:36:49
ggml-org/llama.cpp
4dca015b7e019d5bfa9d3872b19ad4cf97859c22
9a8860cf5d3b694170c035f6b61db72a3a59920a
vulkan: Replace 16-bit unpack8 calls to work around legacy Windows AMD driver bug (#17285)
[ { "path": "ggml/src/ggml-vulkan/vulkan-shaders/mul_mmq_funcs.glsl", "patch": "@@ -300,7 +300,7 @@ void block_a_to_shmem(const uint buf_ib, const uint ib, const uint iqs) {\n \n if (iqs == 0) {\n buf_a[buf_ib].dm = FLOAT_TYPE_VEC2(data_a_packed32[ib_k].dm);\n- buf_a[buf_ib].scales = unpack...
2025-11-15T14:18:58
huggingface/transformers
49204c1d37b807def930fe45f5f84abc370a7200
f54d82cace511b48a2ad5d32ac83abef5a49ee13
Better SDPA unmasking implementation (#29318) * better unmask imple * comment * typo * bug report pytorch * cleanup * fix import * add back example * retrigger ci * come on
[ { "path": "src/transformers/modeling_attn_mask_utils.py", "patch": "@@ -187,7 +187,8 @@ def _expand_mask(mask: torch.Tensor, dtype: torch.dtype, tgt_len: Optional[int]\n \n @staticmethod\n def _unmask_unattended(\n- expanded_mask: torch.Tensor, attention_mask: torch.Tensor, unmasked_value: Un...
2024-02-28T15:36:47
golang/go
844bf11ecd362e50e62a81c93aa2ac602de59adc
dd3bfb39eb19b1d48ec65b9816bbad1efc8cea2e
doc/go1.15: fix two typos Updates #37419. Change-Id: I9ecc706d44950b7de3e8fe4dde8cfab1904eee58 Reviewed-on: https://go-review.googlesource.com/c/go/+/238139 Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "doc/go1.15.html", "patch": "@@ -145,7 +145,7 @@ <h4 id=\"module-cache\">Module cache</h4>\n <a href=\"https://golang.org/issue/36568\">issue #36568</a>). The workaround is\n not enabled by default because it is not safe to use when Go versions lower\n than 1.14.2 and 1.13.10 are running con...
2020-06-16T18:48:43
vuejs/vue
74ca5a13ba12a31580f1567e7c6d789e96730e46
1399ee6aa0aa3e44a70780cfd0aca3d384c97fa4
fix(lifecycle): scope might changed when call hook (#13070)
[ { "path": "src/core/instance/lifecycle.ts", "patch": "@@ -18,6 +18,7 @@ import {\n invokeWithErrorHandling\n } from '../util/index'\n import { currentInstance, setCurrentInstance } from 'v3/currentInstance'\n+import { getCurrentScope } from 'v3/reactivity/effectScope'\n import { syncSetupProxy } from 'v3/...
2023-10-22T02:52:10
nodejs/node
1ebde6e1137b616de223c1b6fe3d8d30b5a9d3f5
e86952d21efaf4679e5684a4e840bd55b6f2c440
doc: make mkdtemp example work on Windows PR-URL: https://github.com/nodejs/node/pull/15408 Fixes: https://github.com/nodejs/node/issues/14960 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Sne...
[ { "path": "doc/api/fs.md", "patch": "@@ -1536,10 +1536,10 @@ object with an `encoding` property specifying the character encoding to use.\n Example:\n \n ```js\n-fs.mkdtemp('/tmp/foo-', (err, folder) => {\n+fs.mkdtemp(path.join(os.tmpdir(), 'foo-'), (err, folder) => {\n if (err) throw err;\n console.log...
2017-09-14T12:26:42
ggml-org/llama.cpp
38eaf32af1da66caa930ce37e9dca1137c66f91c
9b17d74ab7d31cb7d15ee7eec1616c3d825a84c0
vulkan: change graph_compute to be async and enable get_tensor_async (#17158) * vulkan: change graph_compute to be async and enable get_tensor_async This allows some additional CPU/GPU overlap for large pp workloads. Also seems to help a bit for token gen, maybe getting rid of a small bubble between graph_compute and...
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -234,6 +234,7 @@ class vk_memory_logger;\n #endif\n class vk_perf_logger;\n static void ggml_vk_destroy_buffer(vk_buffer& buf);\n+static void ggml_vk_synchronize(ggml_backend_vk_context * ctx);\n \n static constexpr uint32_t mul_mat_vec_max_cols...
2025-11-15T08:06:41
vuejs/vue
78ef6271d237e83fbd647567f2b79a5786f09d3d
6149048ce95bda9be7c14abed45859b743842ce7
test: upgrade vitest + fix ssr tests for Node 18+
[ { "path": "package.json", "patch": "@@ -99,7 +99,7 @@\n \"conventional-changelog-cli\": \"^2.2.2\",\n \"cross-spawn\": \"^7.0.3\",\n \"enquirer\": \"^2.3.6\",\n- \"esbuild\": \"^0.14.43\",\n+ \"esbuild\": \"^0.19.5\",\n \"execa\": \"^4.1.0\",\n \"he\": \"^1.2.0\",\n \"jasmine-c...
2023-10-22T02:32:47
golang/go
1c95530b0d7f494df30e75ae3e3da315945457e4
d286e61b6787fe2b55bf0ec8a814962ebda8d202
cmd: update golang.org/x/tools This pulls in CL 235797. Fixes #39151 Change-Id: I367cff2e9b432a778213501c42fb510c1514643f Reviewed-on: https://go-review.googlesource.com/c/go/+/238157 Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Akhil Indurti <aindurti@gmai...
[ { "path": "src/cmd/go.mod", "patch": "@@ -9,5 +9,5 @@ require (\n \tgolang.org/x/crypto v0.0.0-20200429183012-4b2356b1ed79\n \tgolang.org/x/mod v0.3.0\n \tgolang.org/x/sys v0.0.0-20200501145240-bc7a7d42d5c3 // indirect\n-\tgolang.org/x/tools v0.0.0-20200601175630-2caf76543d99\n+\tgolang.org/x/tools v0.0.0-2...
2020-06-16T14:03:48
nodejs/node
e86952d21efaf4679e5684a4e840bd55b6f2c440
2b7b9f24d9f3e0fcd848ae9b6c5cb94202935571
build: add support for link-module to vcbuild Adds support for link-module option to vcbuild.bat. PR-URL: https://github.com/nodejs/node/pull/15410 Fixes: https://github.com/nodejs/node/issues/15377 Reviewed-By: Refael Ackermann <refack@gmail.com>
[ { "path": "vcbuild.bat", "patch": "@@ -50,6 +50,7 @@ set v8_build_options=\n set \"common_test_suites=%js_test_suites% doctool addons addons-napi&set build_addons=1&set build_addons_napi=1\"\n set http2_debug=\n set nghttp2_debug=\n+set link_module=\n \n :next-arg\n if \"%1\"==\"\" goto args-done\n@@ -111,1...
2017-09-14T13:27:13
huggingface/transformers
f54d82cace511b48a2ad5d32ac83abef5a49ee13
554e7ada89a1effba70004babf522b20ca99c739
[CI] Quantization workflow (#29046) * [CI] Quantization workflow * build dockerfile * fix dockerfile * update self-cheduled.yml * test build dockerfile on push * fix torch install * udapte to python 3.10 * update aqlm version * uncomment build dockerfile * tests if the scheduler works * f...
[ { "path": ".github/workflows/build-docker-images.yml", "patch": "@@ -297,3 +297,31 @@ jobs:\n # REF=main\n # push: true\n # tags: huggingface/transformers-pytorch-deepspeed-amd-gpu-push-ci\n+\n+ latest-quantization-torch-docker:\n+ name: \"Latest Pytorch + Quantization [d...
2024-02-28T15:09:25
ggml-org/llama.cpp
e1fcf8b09b8115156313c61bdd42186a7c7fb7be
6cd0cf72ce96393f06bd271731e7a8bebeb481c0
model : add AfmoeForCausalLM support (#16477) * Add AFMOE model support * Update to vocab * Add model sizing * Undo Rope change for ARCEE model * Address review comments * Update modeling code is_sliding -> use_rope, replace hard-coded logic * Fix AFMOE tokenizer * Update convert_hf_to_gguf.py Co-authored-by: ...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -1124,6 +1124,9 @@ def get_vocab_base_pre(self, tokenizer) -> str:\n if chkhsh == \"a1e163ecab2e718a4c829d1148b6e86824ec36163bb71941c3dca9cd5ac25756\":\n # ref: https://huggingface.co/JetBrains/Mellum-4b-base\n res = \"mellum\"\...
2025-11-14T12:54:10
vuejs/vue
d52fbff7a77d8d9c032a74a21c34e2c122add5d9
0e8511a8becf627e00443bd799dd99e5fd1b8a35
chore: fix typo in utils.ts (#12927) [skip ci]
[ { "path": "src/types/utils.ts", "patch": "@@ -1,3 +1,3 @@\n-// If the the type T accepts type \"any\", output type Y, otherwise output type N.\n+// If the type T accepts type \"any\", output type Y, otherwise output type N.\n // https://stackoverflow.com/questions/49927523/disallow-call-with-any/49928360#49...
2023-01-12T14:47:00
golang/go
d286e61b6787fe2b55bf0ec8a814962ebda8d202
41bdb9357a5f7ea6ade9a68aba56ee31b0f8dbbc
runtime: set g to gsignal before adjustSignalStack When a signal is received, the runtime probes whether an alternate signal stack is set, if so, adjust gsignal's stack to point to the alternate signal stack. This is done in adjustSignalStack, which calls sigaltstack "syscall", which is a libc call on darwin through a...
[ { "path": "src/runtime/signal_unix.go", "patch": "@@ -432,15 +432,15 @@ func sigtrampgo(sig uint32, info *siginfo, ctx unsafe.Pointer) {\n \t\treturn\n \t}\n \n+\tsetg(g.m.gsignal)\n+\n \t// If some non-Go code called sigaltstack, adjust.\n \tvar gsignalStack gsignalStack\n \tsetStack := adjustSignalStack(s...
2020-06-15T20:20:53
nodejs/node
2b7b9f24d9f3e0fcd848ae9b6c5cb94202935571
19766547fa2a783b8e7472c31ad246ee118230ee
doc: prevent displaying empty version picker PR-URL: https://github.com/nodejs/node/pull/15420 Fixes: https://github.com/nodejs/node/issues/15396 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Ruben Bridgewater <ru...
[ { "path": "doc/api_assets/style.css", "patch": "@@ -91,6 +91,15 @@ em code {\n \n #gtoc li {\n display: inline;\n+ border-right: 1px #000 solid;\n+ margin-right: 0.4em;\n+ padding-right: 0.4em;\n+}\n+\n+#gtoc li:last-child {\n+ border-right: none;\n+ margin-right: 0;\n+ padding-right: 0;\n }\n \n li...
2017-09-14T00:37:32
huggingface/transformers
d3a4b4754440041b20247365f33fb8e44c6d9caf
7628b3a0f40212c0f264233fc6da0d9c9cf88853
RoPE loses precision for Llama / Gemma + Gemma logits.float() (#29285) * Update modeling_llama.py Llama - Force float32 since bfloat16 loses precision on long contexts * Update modeling_llama.py * Update modeling_gemma.py Fix RoPE and logits.float() * @torch.no_grad() * @torch.no_grad() * Cos, Sin...
[ { "path": "src/transformers/models/gemma/modeling_gemma.py", "patch": "@@ -101,18 +101,25 @@ def __init__(self, dim, max_position_embeddings=2048, base=10000, device=None):\n self.base = base\n self.register_buffer(\"inv_freq\", None, persistent=False)\n \n+ @torch.no_grad()\n def for...
2024-02-28T14:16:53
ggml-org/llama.cpp
6cd0cf72ce96393f06bd271731e7a8bebeb481c0
d396b4374804bcb91cf969141ed75282245a12bc
fix : Dangling pointer for non-empty trigger words in lazy grammar construction (#17048) * fix : Dangling pointer for non-empty trigger words in llama_sampler_init_grammar_impl (#17047) * Replace 'static' workaround, with keeping variable in scope for longer * Create std::array directly and pass into llama_grammar_i...
[ { "path": "src/llama-sampling.cpp", "patch": "@@ -4,6 +4,7 @@\n #include \"llama-vocab.h\"\n #include \"llama-grammar.h\"\n \n+#include <array>\n #include <algorithm>\n #include <cassert>\n #include <cfloat>\n@@ -1625,10 +1626,12 @@ static struct llama_sampler * llama_sampler_init_grammar_impl(\n auto *...
2025-11-14T12:35:26
vuejs/vue
0e8511a8becf627e00443bd799dd99e5fd1b8a35
34c6192f4a5d0471da5655ebcf111653fd920172
chore: fix typo in apiAsyncComponent.ts (#12912)
[ { "path": "src/v3/apiAsyncComponent.ts", "patch": "@@ -47,7 +47,7 @@ export function defineAsyncComponent(\n \n if (__DEV__ && suspensible) {\n warn(\n- `The suspensiblbe option for async components is not supported in Vue2. It is ignored.`\n+ `The suspensible option for async components is ...
2022-12-27T21:38:05
rust-lang/rust
799e0f76903f694632db29bf7fc38c8a7f1453b6
2c595d649aa3ca7cb07ddbbd07ec38a753d6a70d
add FIXMEs for diagnostic improvements
[ { "path": "compiler/rustc_hir_typeck/src/pat.rs", "patch": "@@ -2384,6 +2384,10 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {\n // NB: This assumes that `&` patterns can match against mutable\n // references (RFC 3627, Rule 5). If we implement a pattern typing\...
2025-01-31T00:03:02
golang/go
8c8045fd381adf990ffc583ecabd9cf2a32a2a80
8a33a8c6524b4f2175a9ff263db23eed825ea833
cmd/compile: fix ordering problems in struct equality Make sure that if a field comparison might panic, we evaluate (and short circuit if not equal) all previous fields, and don't evaluate any subsequent fields. Add a bunch more tests to the equality+panic checker. Update #8606 Change-Id: I6a159bbc8da5b2b7ee835c0cd...
[ { "path": "src/cmd/compile/internal/gc/alg.go", "patch": "@@ -63,6 +63,26 @@ func IncomparableField(t *types.Type) *types.Field {\n \treturn nil\n }\n \n+// EqCanPanic reports whether == on type t could panic (has an interface somewhere).\n+// t must be comparable.\n+func EqCanPanic(t *types.Type) bool {\n+...
2020-06-15T16:17:18
huggingface/transformers
7628b3a0f40212c0f264233fc6da0d9c9cf88853
2ce56d35f6054cd844980ed4265ca3289bb56e0d
Idefics: generate fix (#29320)
[ { "path": "src/transformers/models/idefics/modeling_idefics.py", "patch": "@@ -19,7 +19,7 @@\n # limitations under the License.\n \"\"\" PyTorch Idefics model.\"\"\"\n from dataclasses import dataclass\n-from typing import List, Optional, Tuple, Union\n+from typing import Any, Dict, List, Optional, Tuple, U...
2024-02-28T11:34:54
ggml-org/llama.cpp
d396b4374804bcb91cf969141ed75282245a12bc
45c6ef7307e8ab383a8b6557f8ed8d237b26c452
server : fix "can batch with" bug (#17263)
[ { "path": "tools/server/server.cpp", "patch": "@@ -3591,13 +3591,13 @@ struct server_context {\n // next, batch any pending prompts without exceeding n_batch\n if (params_base.cont_batching || batch.n_tokens == 0) {\n for (auto & slot : slots) {\n+ if (!slot.is_pro...
2025-11-14T12:03:45
vuejs/vue
ca11dc6a86f26accc893c1ce5b611dc84a2e7c2d
9dd006b481b4299462e044741bac0861c0b1775c
chore: fix typo (#12894)
[ { "path": "src/core/observer/index.ts", "patch": "@@ -19,7 +19,7 @@ import { isReadonly, isRef, TrackOpTypes, TriggerOpTypes } from '../../v3'\n \n const arrayKeys = Object.getOwnPropertyNames(arrayMethods)\n \n-const NO_INIITIAL_VALUE = {}\n+const NO_INITIAL_VALUE = {}\n \n /**\n * In some cases we may wa...
2022-12-06T14:35:28
golang/go
11389baf2ea0b5e920959b0aa8d406d8090a0a93
9340bd610bfd386f8a71e480019b44806d53c3db
encoding/json: revert "avoid work when unquoting strings, take 2" This reverts golang.org/cl/190659 and golang.org/cl/226218, minus the regression tests in the latter. The original work happened in golang.org/cl/151157, which was reverted in golang.org/cl/190909 due to a crash found by fuzzing. We tried a second tim...
[ { "path": "src/encoding/json/decode.go", "patch": "@@ -212,9 +212,6 @@ type decodeState struct {\n \tsavedError error\n \tuseNumber bool\n \tdisallowUnknownFields bool\n-\t// safeUnquote is the number of current string literal bytes that don't\n-\t// need to be unquoted. When negative...
2020-06-14T21:09:18
vuejs/vue
29b5f588032600baae9854ac9a4105916a5aa648
d1899caf688de961e63e7a0d56f806fc4a12efd9
fix(reactivity): avoid using WeakMap for IE compatibility Using a WeakMap polyfill isn't ideal because the reason we tried to use WeakMap was to work with non-extensible objects. However, WeakMap polyfill for non-extensible objects are non-weak and could lead to memory leaks. The trade-off is that we remove support f...
[ { "path": "src/core/observer/index.ts", "patch": "@@ -16,7 +16,6 @@ import {\n noop\n } from '../util/index'\n import { isReadonly, isRef, TrackOpTypes, TriggerOpTypes } from '../../v3'\n-import { rawMap } from '../../v3/reactivity/reactive'\n \n const arrayKeys = Object.getOwnPropertyNames(arrayMethods)\...
2022-11-09T12:33:05
nodejs/node
c75f87cc4c8d3699e081d37bb5bf47a70d830fdb
8fa5fcc0ba74c23490c34da1a6c6e9a454280740
crypto: refactor the crypto module * Split single monolithic file into multiple * Make Certificate methods static * Allow randomFill(Sync) to use any ArrayBufferView * Use internal/errors throughout * Improve arg validation in Hash/Hmac * Doc updates PR-URL: https://github.com/nodejs/node/pull/15231 Reviewed-By: Mich...
[ { "path": "doc/api/crypto.md", "patch": "@@ -48,7 +48,60 @@ The `crypto` module provides the `Certificate` class for working with SPKAC\n data. The most common usage is handling output generated by the HTML5\n `<keygen>` element. Node.js uses [OpenSSL's SPKAC implementation][] internally.\n \n-### new crypt...
2017-09-06T15:10:34
ggml-org/llama.cpp
becc4816dd6e601d2e0beb7b9c7e6767c8688b12
c4abcb2457217198efdd67d02675f5fddb7071c2
ggml-cpu: handle 3d tensors in repack mat_mul (#17241) * ggml-cpu: handle 3d tensors in repack mul_mat * Removed unnecessary branch, removed need for <algorithm> * Fixed dst_ptr pointer in chunk + clang_format * GGML_ASSERT to check wdata within bounds * Accidental ggml.h inclusion * Improved GGML_ASSERT on wdata...
[ { "path": "ggml/src/ggml-cpu/repack.cpp", "patch": "@@ -1600,29 +1600,52 @@ template <typename BLOC_TYPE, int64_t INTER_SIZE, int64_t NB_COLS, ggml_type PAR\n return false;\n }\n \n- void forward_mul_mat_one_chunk(ggml_compute_params * params, ggml_tensor * op, int64_t src0_start, int64_t src...
2025-11-13T20:53:00
huggingface/transformers
2ce56d35f6054cd844980ed4265ca3289bb56e0d
8a8a0a4ae09572681d6429588d93da4982656d06
Disable Mixtral `output_router_logits` during inference (#29249) * Set output_router_logits=False in prepare_inputs_for_generation for mixtral * Add output_router_logits=False to prepare_inputs_for_generation for mixtral * Fix style
[ { "path": "src/transformers/models/mixtral/modeling_mixtral.py", "patch": "@@ -1415,7 +1415,13 @@ def forward(\n )\n \n def prepare_inputs_for_generation(\n- self, input_ids, past_key_values=None, attention_mask=None, inputs_embeds=None, **kwargs\n+ self,\n+ input_ids,\n+ ...
2024-02-28T10:16:15
golang/go
9340bd610bfd386f8a71e480019b44806d53c3db
97019105884ced2c4658f9763528e7f6983f8773
runtime: avoid lock starvation in TestNetpollBreak on Plan 9 TestNetpollBreak was sometimes timing out on Plan 9, where netpoll_stub.go implements only enough of the network poller to support runtime timers, using a notetsleep / notewakeup pair. The runtime.lock which serialises the use of the note doesn't guarantee f...
[ { "path": "src/runtime/netpoll_stub.go", "patch": "@@ -49,6 +49,9 @@ func netpoll(delay int64) gList {\n \n \t\tnotetsleep(&netpollNote, delay)\n \t\tunlock(&netpollStubLock)\n+\t\t// Guard against starvation in case the lock is contended\n+\t\t// (eg when running TestNetpollBreak).\n+\t\tosyield()\n \t}\n ...
2020-06-13T18:04:15
vuejs/vue
d1899caf688de961e63e7a0d56f806fc4a12efd9
5e3d4e90cdf92ec0a72bbb2bd44125f1faafae1d
fix(provide/inject): do not mutate original provide options during merge fix #12854
[ { "path": "src/core/util/options.ts", "patch": "@@ -51,7 +51,8 @@ if (__DEV__) {\n */\n function mergeData(\n to: Record<string | symbol, any>,\n- from: Record<string | symbol, any> | null\n+ from: Record<string | symbol, any> | null,\n+ recursive = true\n ): Record<PropertyKey, any> {\n if (!from) ...
2022-11-09T12:04:25
ggml-org/llama.cpp
c4abcb2457217198efdd67d02675f5fddb7071c2
389ac78b2675ffe5054134f3037b11642a31a09f
server: fixing naming conflict res_error (#17243)
[ { "path": "tools/server/server.cpp", "patch": "@@ -4431,7 +4431,7 @@ static void log_server_request(const httplib::Request & req, const httplib::Resp\n SRV_DBG(\"response: %s\\n\", res.body.c_str());\n }\n \n-static void res_error(httplib::Response & res, const json & error_data) {\n+static void res_err...
2025-11-13T19:53:47
nodejs/node
8fa5fcc0ba74c23490c34da1a6c6e9a454280740
de51717c3eee6849b932547ef41646b49543f238
http2: emit close event if request aborted Fix Http2ServerRequest and Http2ServerResponse to emit close event if the request is aborted before response.end can be called. Fixes: https://github.com/nodejs/node/issues/15385 PR-URL: https://github.com/nodejs/node/pull/15415 Reviewed-By: Matteo Collina <matteo.collina@gm...
[ { "path": "lib/internal/http2/compat.js", "patch": "@@ -123,10 +123,17 @@ function onStreamClosedResponse() {\n res.emit('finish');\n }\n \n-function onAborted(hadError, code) {\n+function onStreamAbortedRequest(hadError, code) {\n if ((this.writable) ||\n (this._readableState && !this._readableSt...
2017-09-14T18:40:42
huggingface/transformers
8a8a0a4ae09572681d6429588d93da4982656d06
7c87f3577eb799e01a94b5ff0e1aee935d77cc95
[`Llama ROPE`] Fix torch export but also slow downs in forward (#29198) * remove control flow * update gptneox * update .... * nits * Actually let's just break. Otherwise we are silently failing which imo is not optimal * version BC * fix tests * fix eager causal * nit * add a test * styl...
[ { "path": "src/transformers/models/gpt_neox/modeling_gpt_neox.py", "patch": "@@ -563,10 +563,11 @@ def forward(self, x, seq_len=None):\n )\n \n \n+# copied from transformers.models.llama.modeling_llama.LlamaLinearScalingRotaryEmbedding.__init__\n+# TODO @gante bring compatibility back\n class GPTNeo...
2024-02-28T09:45:53
vuejs/vue
5e3d4e90cdf92ec0a72bbb2bd44125f1faafae1d
5aed733ab6b6605314cc5f24cc1b1dd9aa4413c8
fix(compiler-sfc): fix template usage check edge case for v-slot destructured default value (#12842) fix #12841
[ { "path": "packages/compiler-sfc/src/compileScript.ts", "patch": "@@ -39,7 +39,7 @@ import { walk } from 'estree-walker'\n import { RawSourceMap } from 'source-map'\n import { warnOnce } from './warn'\n import { isReservedTag } from 'web/util'\n-import { bindRE, dirRE, onRE } from 'compiler/parser'\n+import...
2022-11-09T09:52:35
nodejs/node
de51717c3eee6849b932547ef41646b49543f238
a4e923f5c13b80bf43ecfca4e9be483535011dbe
test: fix flaky test-http2-session-timeout Increase server timeout, reduce frequency of calls and unbind timeout after runs are done in order to avoid race conditions. Temporarily moved to sequential. Fixes: https://github.com/nodejs/node/issues/15326 PR-URL: https://github.com/nodejs/node/pull/15338 Reviewed-By: Mat...
[ { "path": "test/sequential/test-http2-session-timeout.js", "patch": "@@ -7,20 +7,22 @@ if (!common.hasCrypto)\n const h2 = require('http2');\n \n const serverTimeout = common.platformTimeout(200);\n-const callTimeout = common.platformTimeout(10);\n+const callTimeout = common.platformTimeout(20);\n+const min...
2017-09-16T12:56:42
huggingface/transformers
a52888524d488ddd8fb022cdf3b9ce5ca03ee08e
e715c78c66a1089f66f98a412205f54d6dd4cb53
[`require_read_token`] fix typo (#29345) fix wrapper
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -470,7 +470,7 @@ def require_read_token(fn):\n \n @wraps(fn)\n def _inner(*args, **kwargs):\n- with patch(huggingface_hub.utils._headers, \"get_token\", return_value=token):\n+ with patch.object(huggingface_hub.utils._headers,...
2024-02-28T09:13:57
golang/go
b05b254e9da137a599b309f4c5158a05e9e11d32
8dae5390cbc2b4d3b772b8f17182e885523b698b
doc/go1.15: sort debug/pe entry alphabetically For #37419 Change-Id: If98ecffbfd976cb66a87b1cce4e82b3ddee1639e Reviewed-on: https://go-review.googlesource.com/c/go/+/237738 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
[ { "path": "doc/go1.15.html", "patch": "@@ -374,17 +374,6 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n in mind.\n </p>\n \n-<dl id=\"debug/pe\"><dt><a href=\"/pkg/debug/pe/\">debug/pe</a></dt>\n- <dd>\n- <p><!-- CL 222637 -->\n- The package now defines the\n- <code>...
2020-06-12T22:34:43
ggml-org/llama.cpp
389ac78b2675ffe5054134f3037b11642a31a09f
a19bd6f7ce7e7b76e0dd7a614668a3042f5c1bfe
ggml : add ops SOFTPLUS, EXPM1, TRI, SOLVE_TRI, CUMSUM (#17063) * Add ops needed for new hybrid models: SOFTPLUS, EXPM1, TRI, SOLVE_TRI, CUMSUM * Update ggml/include/ggml.h Co-authored-by: Georgi Gerganov <ggerganov@gmail.com> * Update tests/test-backend-ops.cpp Co-authored-by: Georgi Gerganov <ggerganov@gmail.com...
[ { "path": "docs/ops.md", "patch": "@@ -18,29 +18,32 @@ Legend:\n | ACC | ❌ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | ❌ |\n | ADD | ❌ | ✅ | ✅ | ✅ | 🟡 | 🟡 | ✅ | ✅ | ❌ |\n | ADD1 | ❌ | ✅ | ✅ | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ |\n-| ...
2025-11-13T18:54:47
vuejs/vue
f7db7f361b6356591781b9f33abbb0d5b7f9b97c
0b3cf7dda9ac605b2b9f799acacd2793e974f225
fix(types): fix spreading VNodeData in tsx (#12789) fix #12778
[ { "path": "types/test/vue-test.ts", "patch": "@@ -228,21 +228,21 @@ obj.a++\n const ComponentWithStyleInVNodeData = Vue.extend({\n render(h) {\n const elementWithStyleAsString = h('div', {\n- style: 'background-color: red;'\n+ style: '--theme-color: black;'\n })\n \n- const elementWit...
2022-11-09T09:34:55
huggingface/transformers
e715c78c66a1089f66f98a412205f54d6dd4cb53
ad00c482c7fe9437c93bbc6be5a4a428c3219b5c
Remove numpy usage from owlvit (#29326) * remove numpy usage from owlvit * fix init owlv2 * style
[ { "path": "src/transformers/models/owlv2/modeling_owlv2.py", "patch": "@@ -1311,6 +1311,8 @@ def __init__(self, config: Owlv2Config):\n self.layer_norm = nn.LayerNorm(config.vision_config.hidden_size, eps=config.vision_config.layer_norm_eps)\n self.sigmoid = nn.Sigmoid()\n \n+ self.sq...
2024-02-28T08:38:44
nodejs/node
a4e923f5c13b80bf43ecfca4e9be483535011dbe
bd8575287141bf52ad90d522e40998c52e8403aa
http2: fix subsequent end calls to not throw Calling Http2ServerResponse.end multiple times should never cause the code to throw an error, subsequent calls should instead return false. Fix behaviour to match http1. Fixes: https://github.com/nodejs/node/issues/15385 PR-URL: https://github.com/nodejs/node/pull/15414 Re...
[ { "path": "lib/internal/http2/compat.js", "patch": "@@ -458,14 +458,13 @@ class Http2ServerResponse extends Stream {\n cb = encoding;\n encoding = 'utf8';\n }\n+ if (stream === undefined || stream.finished === true) {\n+ return false;\n+ }\n if (chunk !== null && chunk !== und...
2017-09-14T18:02:54
golang/go
8dae5390cbc2b4d3b772b8f17182e885523b698b
7d975ae9c04ca7e1c605ac051a13a4d5ff99fca3
runtime: raise alert threshold on window smhasher test This alert is triggering occasionally. I've investigated the collisions that happen, and they all seem to be pairwise, so they are not a big deal. "pairwise" = when there are 32 collisions, it is two keys mapping to the same hash, 32 times, not 33 keys all mappin...
[ { "path": "src/runtime/hash_test.go", "patch": "@@ -152,14 +152,13 @@ func (s *HashSet) addS_seed(x string, seed uintptr) {\n \ts.add(StringHash(x, seed))\n }\n func (s *HashSet) check(t *testing.T) {\n-\tconst SLOP = 10.0\n+\tconst SLOP = 50.0\n \tcollisions := s.n - len(s.m)\n-\t//fmt.Printf(\"%d/%d\\n\",...
2020-06-12T18:07:56
vuejs/vue
0b3cf7dda9ac605b2b9f799acacd2793e974f225
a5afc4d0a4bfb9a777ac39b942edb932aad71097
fix(types): stricter type condition for `EventHandlers` (#12840) fix #12832
[ { "path": "types/jsx.d.ts", "patch": "@@ -1297,7 +1297,9 @@ export interface Events {\n }\n \n type EventHandlers<E> = {\n- [K in keyof E]?: E[K] extends Function ? E[K] : (payload: E[K]) => void\n+ [K in keyof E]?: E[K] extends (...args: any) => any\n+ ? E[K]\n+ : (payload: E[K]) => void\n }\n \n t...
2022-11-09T09:25:28
ggml-org/llama.cpp
a19bd6f7ce7e7b76e0dd7a614668a3042f5c1bfe
dd091e52f886d8b851658c38b8ce8a98e70cd45d
vulkan: remove shell call from vulkan-shaders-gen tool, revert file check (#17219) * vulkan: remove shell call from vulkan-shaders-gen tool * use string vector for command execution * Fix condition * use string, remove const_cast * Fix dependency file quotation on Windows --------- Co-authored-by: Jeff Bolz <jbo...
[ { "path": "ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp", "patch": "@@ -76,7 +76,7 @@ enum MatMulIdType {\n \n namespace {\n \n-void execute_command(const std::string& command, std::string& stdout_str, std::string& stderr_str) {\n+void execute_command(std::vector<std::string>& command, std::st...
2025-11-13T13:51:21
huggingface/transformers
ad00c482c7fe9437c93bbc6be5a4a428c3219b5c
bd5b9863060c31f60d66b6aec88b9743d3dcd8f4
FIX [`Gemma` / `CI`] Make sure our runners have access to the model (#29242) * pu hf token in gemma tests * update suggestion * add to flax * revert * fix * fixup * forward contrib credits from discussion --------- Co-authored-by: ArthurZucker <ArthurZucker@users.noreply.github.com>
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -31,12 +31,14 @@\n import unittest\n from collections import defaultdict\n from collections.abc import Mapping\n+from functools import wraps\n from io import StringIO\n from pathlib import Path\n from typing import Callable, Dict, Iterable, Iterato...
2024-02-28T05:25:23
vuejs/vue
a5afc4d0a4bfb9a777ac39b942edb932aad71097
6d9aac8bd38f6d30a6db70b51fa46f27cbeac559
chore: fix typo (#12863)
[ { "path": "packages/compiler-sfc/test/compileScript.spec.ts", "patch": "@@ -1571,7 +1571,7 @@ describe('SFC analyze <script> bindings', () => {\n </script>\n <template>\n <div @click=\"$emit('update:a');\"></div>\n- </tempalte>\n+ </template>\n `)\n })\n })", "a...
2022-11-09T08:07:36
golang/go
cc3b303a6f255a7c488ca54449e11e2f3b632ed4
509ee7064207cc9c8ac81bc76f182a5fbb877e9b
cmd/compile/internal/ssa: skip TestNexting with old Delve on linux/386 Support for linux/386 was added to Delve in version 1.4.1, but the version of Delve currently installed on the linux-386-longtest builder is 1.2.0. That isn't new enough, which causes the test to fail. Skip it on that builder until it can be made t...
[ { "path": "src/cmd/compile/internal/ssa/debug_test.go", "patch": "@@ -49,11 +49,11 @@ var gogcflags = os.Getenv(\"GO_GCFLAGS\")\n // optimizedLibs usually means \"not running in a noopt test builder\".\n var optimizedLibs = (!strings.Contains(gogcflags, \"-N\") && !strings.Contains(gogcflags, \"-l\"))\n \n-...
2020-06-12T02:02:27
huggingface/transformers
bd5b9863060c31f60d66b6aec88b9743d3dcd8f4
63caa370e6c618dbe7d3fd4cbf545cc32eca1a15
simplify get_class_in_module and fix for paths containing a dot (#29262)
[ { "path": "src/transformers/dynamic_module_utils.py", "patch": "@@ -185,35 +185,20 @@ def check_imports(filename: Union[str, os.PathLike]) -> List[str]:\n return get_relative_imports(filename)\n \n \n-def get_class_in_module(repo_id: str, class_name: str, module_path: Union[str, os.PathLike]) -> typing....
2024-02-28T02:10:36
nodejs/node
75f7b2f5773ad77887b20c757081f11a73aafc07
631c59b946113faa764f7c323475eee3d9a0f917
doc: do not begin yaml value with backtick Will break YAML parsing! See details in the PR. PR-URL: https://github.com/nodejs/node/pull/15447 Fixes: https://github.com/nodejs/node/issues/14930 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "doc/api/dgram.md", "patch": "@@ -575,7 +575,8 @@ changes:\n description: The `lookup` option is supported.\n - version: REPLACEME\n pr-url: https://github.com/nodejs/node/pull/13623\n- description: `recvBufferSize` and `sendBufferSize` options are supported now.\n+ description: Th...
2017-09-17T15:29:21
vuejs/vue
6d9aac8bd38f6d30a6db70b51fa46f27cbeac559
a7a71ad99071c8c48ae9c106a19f81e70ded4898
chore: fix some broken links to v2 docs (#12839)
[ { "path": "examples/classic/elastic-header/index.html", "patch": "@@ -32,7 +32,7 @@\n <draggable-header-view>\n <template slot=\"header\">\n <h1>Elastic Draggable SVG Header</h1>\n- <p>with <a href=\"https://vuejs.org\">Vue.js</a> + <a href=\"http://dynamicsjs.com\">dynamics...
2022-10-19T04:45:59
golang/go
a5a9a06d7183a6faf70b3d1231273af247503c19
f7ba82d68f90e20aa9e6aa973cb6f12321abec71
cmd/cgo: in -godefs mode, don't change constant to type Fixes #39534 Change-Id: Icbc1745935dd7098c09e2d35c61cd5bfbaa31c63 Reviewed-on: https://go-review.googlesource.com/c/go/+/237558 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@go...
[ { "path": "misc/cgo/testgodefs/testdata/issue39534.go", "patch": "@@ -0,0 +1,12 @@\n+// Copyright 2020 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+//\n+// +build ignore\n+\n+package main\n+\n+// enum { ENU...
2020-06-11T19:01:52
vuejs/vue
259c7060da72ea3040fc8c3de4ecb823ad5059f4
df281b0e4c400be18df8bcf4e83df8b25a81e21b
chore: fix changelog rendering [ci skip]
[ { "path": "CHANGELOG.md", "patch": "@@ -888,7 +888,7 @@ In addition:\n - **compiler:** wrap scoped slots v-if conditions in parens ([#9119](https://github.com/vuejs/vue/issues/9119)) ([ef8524a](https://github.com/vuejs/vue/commit/ef8524ab7db8d64ac449ce74f5858aa9d91357ad)), closes [#9114](https://github.com/...
2022-10-15T09:39:04
nodejs/node
631c59b946113faa764f7c323475eee3d9a0f917
b0d3bec95ccbf06f54a1373c20c78699f0712e2d
test: don't skip when common.mustCall() is pending The test parallel/test-dgram-multicast-set-interface.js was calling common.skip() on hosts that do not support IPv6. However, by this point, there were several outstanding common.mustCall() invocations. The process.exit() in common.skip() triggered those common.mustCa...
[ { "path": "test/parallel/test-dgram-multicast-set-interface.js", "patch": "@@ -72,10 +72,11 @@ const dgram = require('dgram');\n }));\n }\n \n-if (!common.hasIPv6) {\n- common.skip('Skipping udp6 tests, no IPv6 support.');\n+// If IPv6 is not supported, skip the rest of the test. However, don't call\n+//...
2017-09-14T23:30:01
huggingface/transformers
63caa370e6c618dbe7d3fd4cbf545cc32eca1a15
83ab0115d1e93009eb52b66096e924bb44f928a1
Starcoder2 model - bis (#29215) * Copy model * changes * misc * fixes * add embed and residual dropout (#30) * misc * remove rms norm and gated MLP * remove copied mentions where its not a copy anymore * remove unused _shape * copied from mistral instead * fix copies * fix copies * ...
[ { "path": "README.md", "patch": "@@ -493,6 +493,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[Splinter](https://huggingface.co/docs/transformers/model_doc/splinter)** (from Tel Aviv University), released together with the paper [Few-Shot Question Answering by ...
2024-02-28T00:24:34
golang/go
f7ba82d68f90e20aa9e6aa973cb6f12321abec71
5adaa1290ec4a7507c0be56743c237d9bf311055
cmd/go/internal/web: don't follow an infinite number of redirects We replaced http.DefaultClient with securityPreservingHTTPClient, but we still need that too many redirects check. This issue introduced by CL 156838. We introduce a special path to test rediret requests in the script test framework. You can specify th...
[ { "path": "src/cmd/go/internal/web/http.go", "patch": "@@ -13,6 +13,7 @@ package web\n \n import (\n \t\"crypto/tls\"\n+\t\"errors\"\n \t\"fmt\"\n \t\"mime\"\n \t\"net/http\"\n@@ -47,6 +48,13 @@ var securityPreservingHTTPClient = &http.Client{\n \t\t\tlastHop := via[len(via)-1].URL\n \t\t\treturn fmt.Errorf...
2020-06-09T15:03:35
vuejs/vue
800207c473c7d6dfcdc883100a3d443fc5ad2e39
5960f05c69099c174062b6672c7a21d717a3bccf
fix(effectScope): calling off() of a detached scope should not break currentScope fix #12825
[ { "path": "src/v3/reactivity/effectScope.ts", "patch": "@@ -16,9 +16,7 @@ export class EffectScope {\n * @internal\n */\n cleanups: (() => void)[] = []\n-\n /**\n- * only assigned by undetached scope\n * @internal\n */\n parent: EffectScope | undefined\n@@ -38,9 +36,9 @@ export class Eff...
2022-10-14T02:51:07
ggml-org/llama.cpp
dd091e52f886d8b851658c38b8ce8a98e70cd45d
1215dde7b0ee02114d074b0b785eedd3052b0006
sched : fix reserve ignoring user tensor assignments (#17232)
[ { "path": "ggml/src/ggml-backend.cpp", "patch": "@@ -1698,8 +1698,6 @@ bool ggml_backend_sched_reserve(ggml_backend_sched_t sched, struct ggml_cgraph *\n GGML_ASSERT(sched);\n GGML_ASSERT((int)sched->hash_set.size >= measure_graph->n_nodes + measure_graph->n_leafs);\n \n- ggml_backend_sched_reset...
2025-11-13T12:14:02
nodejs/node
ca2c73cae09649b4f6d74dd0419d632ee44d7e41
a901849306842a1bc3beafb61b1685bbe265642f
doc: fix http.ClientRequest method descriptions fix documentation for methods getHeader, setHeader and removeHeader for http.ClientRequest class. The documentation said these functions can be called but they're wasn't describe into the API description yet. add parameters and general description for each methods. PR-...
[ { "path": "doc/api/http.md", "patch": "@@ -286,9 +286,9 @@ added: v0.1.17\n \n This object is created internally and returned from [`http.request()`][]. It\n represents an _in-progress_ request whose header has already been queued. The\n-header is still mutable using the `setHeader(name, value)`, `getHead...
2017-09-01T13:28:12
huggingface/transformers
227cd54aa51280086d97c6d8463541d76b0b075f
ddf7ac4237cfa08c50e65c297f7afa97a093fa91
Fix a few typos in `GenerationMixin`'s docstring (#29277) Co-authored-by: Joao Gante <joao@huggingface.co>
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -143,7 +143,7 @@ class GenerateEncoderDecoderOutput(ModelOutput):\n Outputs of encoder-decoder generation models, when using non-beam methods.\n \n Args:\n- sequences (`torch.LongTensor` of shape `(batch_size, sequence_length)`):\...
2024-02-27T18:15:43
golang/go
e92be18fd8b525b642ca25bdb3e2056b35d9d73c
ac743dea8e7d351d48a79bf4e7aea62ba3b4a515
runtime: fix typo in FuncForPC doc Change-Id: I04037e13b131e79ebc5af84896bfeda49ddc0eaa GitHub-Last-Rev: b0d0de930862e4f163e158876cba70d81ed2d52e GitHub-Pull-Request: golang/go#39500 Reviewed-on: https://go-review.googlesource.com/c/go/+/237220 Reviewed-by: Keith Randall <khr@golang.org>
[ { "path": "src/runtime/symtab.go", "patch": "@@ -563,8 +563,8 @@ func moduledataverify1(datap *moduledata) {\n // given program counter address, or else nil.\n //\n // If pc represents multiple functions because of inlining, it returns\n-// the a *Func describing the innermost function, but with an entry\n-...
2020-06-10T13:30:42
vuejs/vue
5960f05c69099c174062b6672c7a21d717a3bccf
8e262618cdc3251ca9630b17de4a000567ffb007
fix(watch): avoid traversing objects that are marked non-reactive (#12806)
[ { "path": "src/core/observer/traverse.ts", "patch": "@@ -21,6 +21,7 @@ function _traverse(val: any, seen: SimpleSet) {\n const isA = isArray(val)\n if (\n (!isA && !isObject(val)) ||\n+ val.__v_skip /* ReactiveFlags.SKIP */ ||\n Object.isFrozen(val) ||\n val instanceof VNode\n ) {", ...
2022-10-12T13:25:26
ggml-org/llama.cpp
8e878f0cb4c893de23455dd0a6bfbbb21bcaad89
00c94083b3ffd51bb81cd5cb5cf1177168ce286c
Update packages + upgrade Storybook to v10 (#17201) * chore: Update packages + upgrade Storybook to v10 * fix: Increase timeout for UI tests
[ { "path": ".github/workflows/server.yml", "patch": "@@ -209,7 +209,7 @@ jobs:\n working-directory: tools/server/webui\n \n - name: Run UI tests\n- run: npm run test:ui\n+ run: npm run test:ui -- --testTimeout=60000\n working-directory: tools/server/webui\n \n - name...
2025-11-12T18:01:48
nodejs/node
3c4c0db26abba8211c0e6d42c14f14b3514b481b
11f46a2586544e71c13e2de9c992ba3e48354a09
benchmark: provide default methods for assert The benchmarks for `assert` all take a `method` configuration option, but the allowable values are different across the files. For each benchmark, provide an arbitrary default if `method` is set to an empty string. This allows all the `assert` benchmarks to be run with a s...
[ { "path": "benchmark/assert/deepequal-buffer.js", "patch": "@@ -27,6 +27,8 @@ function main(conf) {\n data.copy(expectedWrong);\n \n switch (conf.method) {\n+ case '':\n+ // Empty string falls through to next line as default, mostly for tests.\n case 'deepEqual':\n bench.start();\n ...
2017-09-03T21:06:09
vuejs/vue
8e262618cdc3251ca9630b17de4a000567ffb007
4cad41007174a7eeebf4472ddbd7b3b693db03f1
fix(types): style attribute svg (#12800) Set style attribute on svg to use `StyleValue`
[ { "path": "types/jsx.d.ts", "patch": "@@ -731,7 +731,7 @@ export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {\n * @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling\n */\n class?: any\n- style?: string | CSSProperties\n+ style?: StyleValue\n \n color?: ...
2022-10-12T13:24:26
golang/go
ac743dea8e7d351d48a79bf4e7aea62ba3b4a515
2a4e71c752875f84dc0061f75fdcbfc96ae8d5f2
cmd/compile: always tighten and de-duplicate tuple selectors The scheduler assumes two special invariants that apply to tuple selectors (Select0 and Select1 ops): 1. There is only one tuple selector of each type per generator. 2. Tuple selectors and generators reside in the same block. Prior to this CL the assum...
[ { "path": "src/cmd/compile/internal/ssa/compile.go", "patch": "@@ -451,6 +451,7 @@ var passes = [...]pass{\n \t{name: \"lowered deadcode for cse\", fn: deadcode}, // deadcode immediately before CSE avoids CSE making dead values live again\n \t{name: \"lowered cse\", fn: cse},\n \t{name: \"elim unread autos\...
2020-06-09T10:17:17
huggingface/transformers
8a1faf2803f987803025453851564e7f55bbeff2
5c341d4555ba3e4b656053317e372ebed0c5af37
Add compatibility with skip_memory_metrics for mps device (#29264) * Add compatibility with mps device * fix * typo and style
[ { "path": "src/transformers/trainer_utils.py", "patch": "@@ -526,6 +526,8 @@ def start(self):\n elif is_torch_npu_available():\n self.torch.npu.reset_peak_memory_stats()\n self.torch.npu.empty_cache()\n+ elif is_torch_mps_available():\n+ ...
2024-02-27T14:58:43
ggml-org/llama.cpp
00c94083b3ffd51bb81cd5cb5cf1177168ce286c
017eceed61e885b79f6cf3542e0879be68c6e922
server: (refactor) implement generator-based API for task results (#17174) * server: (refactor) implement generator-based API for task results * improve * moving some code * fix "Response ended prematurely" * add sink.done before return false * rm redundant check * rm unused var * rename generator --> reader
[ { "path": "tools/server/server.cpp", "patch": "@@ -684,7 +684,7 @@ struct server_task_result {\n }\n virtual bool is_stop() {\n // only used by server_task_result_cmpl_*\n- return false;\n+ return true;\n }\n virtual int get_index() {\n return -1;\n@@ -3238,105 ...
2025-11-12T17:50:52
rust-lang/rust
939429a8b98b98d7a8f942f8e55b6b3639865497
8cef0b68096c6bb9f4cd0579af236531b1493ee1
update `rustfix` link
[ { "path": "book/src/development/adding_lints.md", "patch": "@@ -169,7 +169,7 @@ from the lint to the code of the test file and compare that to the contents of a\n Use `cargo bless` to automatically generate the `.fixed` file while running\n the tests.\n \n-[rustfix]: https://github.com/rust-lang/rustfix\n+[...
2025-02-18T20:50:45
nodejs/node
0fc402b99213a47f973a0a22d1ee01662fc3d7d9
2e8217c64e7bca1e982c82565faa7190cf01c355
module: coverity fixes for ESM C++ PR-URL: https://github.com/nodejs/node/pull/15275 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "src/module_wrap.cc", "patch": "@@ -325,7 +325,7 @@ inline const struct read_result read_file(uv_file file) {\n }\n struct file_check {\n bool failed = true;\n- uv_file file;\n+ uv_file file = -1;\n } file_check;\n inline const struct file_check check_file(URL search,\n ...
2017-09-08T13:50:44
vuejs/vue
e80cd09fff570df57d608f8f5aaccee6d7f31917
c61395d3f1ed926d2783d8460970ed20ea01dc4f
Revert "fix(setup): setup hook should be called before beforeCreate" This reverts commit e1342df7847a51c75192fec74e94378178e046b0. reopen #12802 close #12821 close #12822
[ { "path": "src/core/instance/init.ts", "patch": "@@ -1,6 +1,6 @@\n import config from '../config'\n import { initProxy } from './proxy'\n-import { initProps, initState } from './state'\n+import { initState } from './state'\n import { initRender } from './render'\n import { initEvents } from './events'\n imp...
2022-10-12T13:22:26
golang/go
2a4e71c752875f84dc0061f75fdcbfc96ae8d5f2
b9332ed31aa4c2b73134a1b968761fc4c259ccac
run.bat: do not unset GOROOT_FINAL before running tests This removes the same logic from run.bat that was removed from cmd/dist in CL 236819. The duplicated logic was removed from run.bash and run.rc in CL 6531, but that part of run.bat was apparently missed (and not noticed because its effect was redundant). Also f...
[ { "path": "src/cmd/addr2line/addr2line_test.go", "patch": "@@ -73,6 +73,8 @@ func testAddr2Line(t *testing.T, exepath, addr string) {\n \tif err != nil {\n \t\tt.Fatalf(\"Stat failed: %v\", err)\n \t}\n+\t// Debug paths are stored slash-separated, so convert to system-native.\n+\tsrcPath = filepath.FromSlas...
2020-06-10T02:00:18
huggingface/transformers
63a0c8f1cb8c5434297c213471e4ec467ae81d47
6d3b643e2ae2763c484c6232691810f647095e03
[tests] enable benchmark unit tests on XPU (#29284) * add xpu for benchmark * no auto_map * use require_torch_gpu * use gpu * revert * revert * fix style
[ { "path": "src/transformers/benchmark/benchmark_args.py", "patch": "@@ -17,7 +17,14 @@\n from dataclasses import dataclass, field\n from typing import Tuple\n \n-from ..utils import cached_property, is_torch_available, is_torch_tpu_available, logging, requires_backends\n+from ..utils import (\n+ cached_p...
2024-02-27T09:44:48
ggml-org/llama.cpp
ee8dd5c6583b25bd7542ef7956ca96e1e81f67a9
1c398dc9eca9c366ce98deb0e6f3538e444ebc8a
server: move res_error/res_ok to static function (#17167)
[ { "path": "tools/server/server.cpp", "patch": "@@ -4432,6 +4432,17 @@ static void log_server_request(const httplib::Request & req, const httplib::Resp\n SRV_DBG(\"response: %s\\n\", res.body.c_str());\n }\n \n+static void res_error(httplib::Response & res, const json & error_data) {\n+ json final_res...
2025-11-12T13:17:24
rust-lang/rust
ebe8c4882b874406b45c31a559d3a0ebba38685f
78b739060f75b43e22fcfe8d33d36953076c5ffc
Fix 19090
[ { "path": "src/tools/rust-analyzer/crates/ide-assists/src/assist_config.rs", "patch": "@@ -20,6 +20,7 @@ pub struct AssistConfig {\n pub assist_emit_must_use: bool,\n pub term_search_fuel: u64,\n pub term_search_borrowck: bool,\n+ pub code_action_grouping: bool,\n }\n \n impl AssistConfig {",...
2025-02-18T19:49:43
vuejs/vue
738f4b3c570dc3a1818924a203a9f8e4b1ec90f0
cc14d4452c66e90341b7f9a5cdd2b7acffa529e9
fix(build): enforce LF line ending in built files fix #12819
[ { "path": "dist/vue.runtime.mjs", "patch": "@@ -1,76 +1,76 @@\n-import Vue from './vue.runtime.common.js'\r\n-export default Vue\r\n-\r\n-// this should be kept in sync with src/v3/index.ts\r\n-export const {\r\n- version,\r\n-\r\n- // refs\r\n- ref,\r\n- shallowRef,\r\n- isRef,\r\n- toRef,\r\n- toRe...
2022-10-11T09:51:46
nodejs/node
2e8217c64e7bca1e982c82565faa7190cf01c355
dcb24e3be5546a9cdbc20d9a8d0efae8ebaf1520
assert: improve AssertionError in case of "Errors" Showing the stack trace in a error message obfuscates the actual message and should not be visible therefore. PR-URL: https://github.com/nodejs/node/pull/15025 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
[ { "path": "lib/internal/errors.js", "patch": "@@ -36,21 +36,26 @@ class AssertionError extends Error {\n if (typeof options !== 'object' || options === null) {\n throw new exports.TypeError('ERR_INVALID_ARG_TYPE', 'options', 'object');\n }\n- if (options.message) {\n- super(options.mes...
2017-08-25T02:25:22
ggml-org/llama.cpp
1c398dc9eca9c366ce98deb0e6f3538e444ebc8a
52cf111b312d6747fd553782bee7f9fc808bf564
ggml-cpu: handle 3d tensors in repack mat_mul (#17030) * ggml-cpu: handle 3d tensors in repack mul_mat * Removed unnecessary branch, removed need for <algorithm> * Fixed dst_ptr pointer in chunk + clang_format * GGML_ASSERT to check wdata within bounds * Accidental ggml.h inclusion * Improved GGML_ASSERT on wdata...
[ { "path": "ggml/src/ggml-cpu/repack.cpp", "patch": "@@ -1600,29 +1600,52 @@ template <typename BLOC_TYPE, int64_t INTER_SIZE, int64_t NB_COLS, ggml_type PAR\n return false;\n }\n \n- void forward_mul_mat_one_chunk(ggml_compute_params * params, ggml_tensor * op, int64_t src0_start, int64_t src...
2025-11-12T12:52:19
huggingface/transformers
6d3b643e2ae2763c484c6232691810f647095e03
83e366bfd49708796e2c6461d3988d23d008502a
Fix `attn_implementation` documentation (#29295) fix
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -236,8 +236,6 @@ class PretrainedConfig(PushToHubMixin):\n \n This attribute is currently not being used during model loading time, but this may change in the future\n versions. But we can already start preparing for t...
2024-02-27T09:43:01
golang/go
7b872b6d955d3e749ea62dbfced68ab5c61eae91
c4f77b11df3ab8c3a717ef7f57f957c491d57c8e
crypto/tls: restore OCSP and SCTs during session resumption Restore previously sent SCTs and stapled OCSP response during session resumption for both TLS 1.2 and 1.3. This behavior is somewhat complicated for TLS 1.2 as SCTs are sent during the server hello, so they override what is saved in ClientSessionState. It is ...
[ { "path": "doc/go1.15.html", "patch": "@@ -478,6 +478,12 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <a href=\"/pkg/crypto/tls/#ClientAuthType\"><code>ClientAuthType</code></a>\n now implement <a href=\"/pkg/fmt/#Stringer\"><code>fmt.Stringer</code></a>.\n </p>\n+...
2020-05-15T19:49:04
vuejs/vue
e1342df7847a51c75192fec74e94378178e046b0
0d6d972b32521fd18eb853b1073c0a19859a499a
fix(setup): setup hook should be called before beforeCreate fix #12802 Note this commit moves the initialization of injections and props to before the invocation of beforeCreate. This should not cause breakage because props and inject normalization has always been done before beforeCreate, so code that attempts to mo...
[ { "path": "src/core/instance/init.ts", "patch": "@@ -1,6 +1,6 @@\n import config from '../config'\n import { initProxy } from './proxy'\n-import { initState } from './state'\n+import { initProps, initState } from './state'\n import { initRender } from './render'\n import { initEvents } from './events'\n imp...
2022-10-11T08:23:08
nodejs/node
dcb24e3be5546a9cdbc20d9a8d0efae8ebaf1520
8403d6b99965cfe5b387690eb5e12ab2d0f3750e
src: keep track of env properly in node_perf.cc Currently, measuring GC timing using `node_perf` is somewhat broken, because Isolates and Node Environments do not necessarily match 1:1; each environment adds its own hook, so possibly the hook code runs multiple times, but since it can’t reliably compute its correspond...
[ { "path": "src/node_perf.cc", "patch": "@@ -170,13 +170,14 @@ void SetupPerformanceObservers(const FunctionCallbackInfo<Value>& args) {\n env->set_performance_entry_callback(args[0].As<Function>());\n }\n \n-inline void PerformanceGCCallback(uv_async_t* handle) {\n+void PerformanceGCCallback(uv_async_t* h...
2017-09-04T01:07:13
ggml-org/llama.cpp
5da7664960f93a5602d166326f6375dd7cc112ad
23a46ce972cd1fa08e967f17ee9e024e87dcaadb
[SYCL]fix ci crash about SSM_CONV (#17169) * fix ci crash * Update ggml-sycl.cpp * Update ggml/src/ggml-sycl/ggml-sycl.cpp Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> --------- Co-authored-by: Zhang Jianyu <zhang.jianyu@outlook.com> Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
[ { "path": "ggml/src/ggml-sycl/ggml-sycl.cpp", "patch": "@@ -3933,6 +3933,7 @@ static bool ggml_sycl_compute_forward(ggml_backend_sycl_context & ctx, struct gg\n break;\n case GGML_OP_SSM_CONV:\n ggml_sycl_ssm_conv(ctx, dst);\n+ break;\n case GGML_OP_ROLL:\n...
2025-11-12T06:44:29
vuejs/vue
0d6d972b32521fd18eb853b1073c0a19859a499a
bc5b92adde147436f2adb25e457f0c967829467f
fix(compiler-sfc): export parseComponent for compat with fork-ts-checker-webpack-plugin fix #12719
[ { "path": "packages/compiler-sfc/src/index.ts", "patch": "@@ -6,6 +6,13 @@ export { compileScript } from './compileScript'\n export { generateCodeFrame } from 'compiler/codeframe'\n export { rewriteDefault } from './rewriteDefault'\n \n+// For backwards compat only. Some existing tools like\n+// fork-ts-che...
2022-10-11T06:58:24
golang/go
619072be4138e3fc092a9b77d57a9abc5333a4ab
281f0ed7bf671e6bb65ade4aa3146bc572d64560
runtime: fix typo in comment (object -> objects) Change-Id: I2af1f9dcd1a9609681e58ab07e73e6d7a5f8a12b Reviewed-on: https://go-review.googlesource.com/c/go/+/237160 Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "src/runtime/mstats.go", "patch": "@@ -529,7 +529,7 @@ func updatememstats() {\n \n \t// Calculate memory allocator stats.\n \t// During program execution we only count number of frees and amount of freed memory.\n-\t// Current number of alive object in the heap and amount of alive heap memory\n+\...
2020-06-09T16:11:11
rust-lang/rust
477a2eeb3dd5a430bb3845c8f8041ff369232967
3b022d8ceea570db9730be34d964f0cc663a567f
std::fs: slightly reformat `remove_dir_all` error docs To make the error cases easier to spot on a quick glance.
[ { "path": "library/std/src/fs.rs", "patch": "@@ -2841,9 +2841,11 @@ pub fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {\n ///\n /// See [`fs::remove_file`] and [`fs::remove_dir`].\n ///\n-/// `remove_dir_all` will fail if `remove_dir` or `remove_file` fail on any constituent paths, including the ...
2025-02-18T18:00:02
huggingface/transformers
3fcfbe7549d9694f96e1f19630add4adf99dd421
3b8c053631a2088d74fbb6ef4db47dbed8fa1470
Adding SegGPT (#27735) * First commit * Improvements * More improvements * Converted original checkpoint to HF checkpoint * Fix style * Fixed forward * More improvements * More improvements * Update src/transformers/models/seggpt/modeling_seggpt.py Co-authored-by: NielsRogge <48327001+NielsR...
[ { "path": "README.md", "patch": "@@ -482,6 +482,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[SeamlessM4T](https://huggingface.co/docs/transformers/model_doc/seamless_m4t)** (from Meta AI) released with the paper [SeamlessM4T — Massively Multilingual & Multimo...
2024-02-26T18:17:19
ggml-org/llama.cpp
c273d7537503e47f7be8c293b767ebad1adbc5d0
7d019cff744b73084b15ca81ba9916f3efab1223
hexagon: various Op fixes (#17135) * hexagon: explicitly check for ops with zero nrows llm_graph_context::build_inp_out_ids() can generate tensors with zero nrows. Somehow other backends seems to handle this without obvious explicit checks. In the hexagon case we need to check explicitly and skip them. * hexagon: i...
[ { "path": "ggml/src/ggml-hexagon/ggml-hexagon.cpp", "patch": "@@ -3156,26 +3156,17 @@ static inline bool op_reuse_src1(const ggml_tensor * op1, const ggml_tensor * op\n return (op0 && op0->src[1] == op1->src[1]);\n }\n \n+static inline bool is_compute_op(ggml_tensor *node)\n+{\n+ return !(ggml_op_is_...
2025-11-11T23:25:04
nodejs/node
8403d6b99965cfe5b387690eb5e12ab2d0f3750e
01a1812e70383fdeefdcc0959327ade633c13b86
deps: cherry-pick 9b21865822243 from V8 upstream Original commit message: [api] Add optional data pointer to GC callbacks This can be useful when there may be multiple callbacks attached by code that's not directly tied to a single isolate, e.g. working on a per-context basis. This also allows r...
[ { "path": "deps/v8/include/v8.h", "patch": "@@ -7203,6 +7203,8 @@ class V8_EXPORT Isolate {\n \n typedef void (*GCCallback)(Isolate* isolate, GCType type,\n GCCallbackFlags flags);\n+ typedef void (*GCCallbackWithData)(Isolate* isolate, GCType type,\n+ ...
2017-09-08T13:36:50
vuejs/vue
bc5b92adde147436f2adb25e457f0c967829467f
fb1393009660b38046b1f6dfb532b481cc53b3b7
fix(types): fix error with options watch (#12779) fix #12780
[ { "path": "types/options.d.ts", "patch": "@@ -181,7 +181,7 @@ export interface ComponentOptions<\n propsData?: object\n computed?: Accessors<Computed>\n methods?: Methods\n- watch?: Record<string, WatchOptionsWithHandler<any> | WatchHandler<any>>\n+ watch?: Record<string, WatchOptionsWithHandler<any...
2022-10-11T06:43:33
golang/go
e5e386938f4ace00c00de86ead47ed5c02961e5b
e031318ca6da8db8a08ecff734ae72290dfb5f2d
cmd/asm: fix the encoding error of VCNT instruction for arm64 When the arrangement specifier is "B16", the 30-bit should be 1 rather than 0. This CL fixes this error. Fixes #39445 Change-Id: Ib44881cdb8b3aab855cb30f2c52a085cd73a6a2c Reviewed-on: https://go-review.googlesource.com/c/go/+/236638 Run-TryBot: eric fang ...
[ { "path": "src/cmd/asm/internal/asm/testdata/arm64enc.s", "patch": "@@ -420,6 +420,7 @@ TEXT asmtest(SB),DUPOK|NOSPLIT,$-8\n UXTBW R2, R6 // 461c0053\n UXTHW R7, R20 // f43c0053\n VCNT V0.B8, V0.B8 // 0058200e\n+ ...
2020-06-08T03:19:43
huggingface/transformers
3b8c053631a2088d74fbb6ef4db47dbed8fa1470
a44d2dc3a94cbbb44eccb1a60e1bf4a998b4d2b6
Fixed Deformable Detr typo when loading cuda kernels for MSDA (#29294)
[ { "path": "src/transformers/models/deformable_detr/modeling_deformable_detr.py", "patch": "@@ -60,7 +60,7 @@ def load_cuda_kernels():\n \n global MultiScaleDeformableAttention\n \n- root = Path(__file__).resolve().parent.parent.parent / \"kernels\" / \"deta\"\n+ root = Path(__file__).resolve().par...
2024-02-26T17:24:30
vuejs/vue
fb1393009660b38046b1f6dfb532b481cc53b3b7
87f69aa26f195390b948fbb0ff62cf954b58c82c
fix(sfc): prune returned bindings for non-TS as well In Vue 3, pruning is only done for TS to produce valid code and tree-shaking is done by inlining the template for production. In Vue 2 we do not inline the template in production, so return binding pruning is needed in all cases. fix #12765
[ { "path": "packages/compiler-sfc/src/compileScript.ts", "patch": "@@ -284,11 +284,9 @@ export function compileScript(\n userImportAlias[imported] = local\n }\n \n- // template usage check is only needed in non-inline mode, so we can skip\n- // the work if inlineTemplate is true.\n let is...
2022-10-11T06:09:10
ggml-org/llama.cpp
1d45b4228f11c193d6864724ae675734da24ac98
ca4844062b3f0679a39b76b2fe95ba87cd6fb00d
vendor: split httplib to cpp/h files (#17150) * vendor: split httplib to cpp/h files * move defines * include httplib if curl is not used * add TODO * fix build ios * fix build visionos instead
[ { "path": "CMakeLists.txt", "patch": "@@ -200,6 +200,7 @@ endif()\n \n if (LLAMA_BUILD_COMMON)\n add_subdirectory(common)\n+ add_subdirectory(vendor/cpp-httplib)\n endif()\n \n if (LLAMA_BUILD_COMMON AND LLAMA_BUILD_TESTS AND NOT CMAKE_JS_VERSION)", "additions": 1, "deletions": 0, "langua...
2025-11-11T12:32:58
nodejs/node
01a1812e70383fdeefdcc0959327ade633c13b86
dce72c2335f4121957ac045bb758fefaa43d8fa1
deps: cherry-pick b6158eb6befae from V8 upstream Original commit message: [heap] Move gc callbacks from List to std::vector Bug: v8:6333 Change-Id: I4434c6cc59f886f1e37dfd315a3ad5fee28d3f63 Reviewed-on: https://chromium-review.googlesource.com/634907 Reviewed-by: Ulan Degenbaev <ulan@chromium.org...
[ { "path": "deps/v8/src/heap/heap.cc", "patch": "@@ -57,6 +57,18 @@\n namespace v8 {\n namespace internal {\n \n+bool Heap::GCCallbackPair::operator==(const Heap::GCCallbackPair& other) const {\n+ return other.callback == callback;\n+}\n+\n+Heap::GCCallbackPair& Heap::GCCallbackPair::operator=(\n+ const ...
2017-09-08T13:34:45
huggingface/transformers
734eb25476741d61773f622c1b1ed810e39927df
b43340455dc59c67cdb25f08a23cfd650b4da7e7
🌐 [i18n-ZH] Translate chat_templating.md into Chinese (#28790) * [Pix2struct] Simplify generation (#22527) * Add model to doc tests * Remove generate and replace by prepare_inputs_for_generation * More fixes * Remove print statements * Update integration tests * Fix generate * Remove model from a...
[ { "path": "docs/source/en/model_doc/pix2struct.md", "patch": "@@ -74,4 +74,4 @@ The original code can be found [here](https://github.com/google-research/pix2str\n ## Pix2StructForConditionalGeneration\n \n [[autodoc]] Pix2StructForConditionalGeneration\n- - forward\n+ - forward\n\\ No newline at end o...
2024-02-26T16:42:24
vuejs/vue
87f69aa26f195390b948fbb0ff62cf954b58c82c
5d26f815c643d41e6ca6f29329593223b981fc24
fix(types): support Ref and function types in tsx ref attribute (#12759) fix #12758
[ { "path": "types/test/v3/tsx-test.tsx", "patch": "@@ -1,4 +1,4 @@\n-import { VNode, defineComponent } from '../../index'\n+import { VNode, defineComponent, ref } from '../../index'\n import { expectType } from '../utils'\n \n expectType<VNode>(<div />)\n@@ -22,6 +22,11 @@ expectError(<div foo=\"bar\" />)\n ...
2022-10-11T05:36:50