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
b3ebfef91d72b301b85bce07c4ffad4f59bc73e2
71cc0a575b88346cb10688c04140b335f8a01ba3
also bind static special attrs as props (fix #4530)
[ { "path": "src/compiler/parser/index.js", "patch": "@@ -459,6 +459,15 @@ function processAttrs (el) {\n }\n }\n addAttr(el, name, JSON.stringify(value))\n+ // #4530 also bind special attributes as props even if they are static\n+ // so that patches between dynamic/static are co...
2016-12-23T03:32:57
nodejs/node
716e9e07fd9d936380553d512e8a8abe21caa4f9
fd54b10500724a7f59f448635f2ec96759495339
http: suppress data event if req aborted Re-enable test-http-abort-stream-end and put it into parallel category. Use system random port when calling server.listen() and fix eslint errors. After calling request.abort(), in order to avoid the buffered data to trigger the 'data' event, explicitly remove 'data' event lis...
[ { "path": "lib/_http_incoming.js", "patch": "@@ -314,6 +314,9 @@ function _addHeaderLine(field, value, dest) {\n IncomingMessage.prototype._dump = function _dump() {\n if (!this._dumped) {\n this._dumped = true;\n+ // If there is buffered data, it may trigger 'data' events.\n+ // Remove 'data' e...
2017-05-28T00:14:09
rust-lang/rust
5aa8bc11cda874795aeefc4fbeda2fafc5830158
f51e18de3057d211a96edb39a71a17ce18f0ebee
`sliced_string_as_bytes`: fix typo in lint description
[ { "path": "clippy_lints/src/methods/mod.rs", "patch": "@@ -4367,7 +4367,7 @@ declare_clippy_lint! {\n \n declare_clippy_lint! {\n /// ### What it does\n- /// Checks for string slices immediantly followed by `as_bytes`.\n+ /// Checks for string slices immediately followed by `as_bytes`.\n ///\n...
2025-01-30T20:26:40
ggml-org/llama.cpp
e16c4731c7a6bfa8f61b5b39c77245a37e7fc232
1dcd01960c33f52afb782b3d850fc2149a08cc6b
ggml : fix the order of ggml_unary_op (#13718)
[ { "path": "ggml/include/ggml.h", "patch": "@@ -528,15 +528,15 @@ extern \"C\" {\n GGML_UNARY_OP_STEP,\n GGML_UNARY_OP_TANH,\n GGML_UNARY_OP_ELU,\n+ GGML_UNARY_OP_RELU,\n GGML_UNARY_OP_SIGMOID,\n GGML_UNARY_OP_GELU,\n- GGML_UNARY_OP_GELU_ERF,\n GG...
2025-05-23T06:12:48
huggingface/transformers
4e931a8eb3b3cec669379a89c07e240c384c83f2
5e11d72d4d0939138fbabfebe9a69d2061519547
Esm checkpointing (#26454) * Fixed in-place operation error in EsmEmbeddings * Fixed in-place operation error in EsmEmbeddings again --------- Co-authored-by: Schreiber-Finance <amelie.schreiber.finance@gmail.com>
[ { "path": "src/transformers/models/esm/modeling_esm.py", "patch": "@@ -214,7 +214,7 @@ def forward(\n # This is analogous to the way that dropout layers scale down outputs during evaluation when not\n # actually dropping out values (or, equivalently, scale up their un-dropped outputs in trai...
2023-09-28T17:49:39
golang/go
d67d044310bc5cc1c26b60caf23a58602e9a1946
4045de378b766eba80151f15945a31be96d77a7c
crypto/tls: update ExampleDial with a valid root When run as a separate program, the code in ExampleDial panicked due to an expired certificate. Fixed this problem by replacing the expired certificate with a valid one. Also added a comment in the certificate to give a hint about why it might fail in the future. Fixe...
[ { "path": "src/crypto/tls/example_test.go", "patch": "@@ -30,29 +30,28 @@ func ExampleDial() {\n \t// Connecting with a custom root-certificate set.\n \n \tconst rootPEM = `\n+-- GlobalSign Root R2, valid until Dec 15, 2021\n -----BEGIN CERTIFICATE-----\n-MIIEBDCCAuygAwIBAgIDAjppMA0GCSqGSIb3DQEBBQUAMEIxCzAJ...
2020-01-01T16:48:22
vuejs/vue
0eb8cdc7f7cff484ebe0b12a781a4ab020f82b4a
bc140de48b986b5079bb69bef276420749b93119
support v-bind object on scoped slots (fix #4529)
[ { "path": "src/compiler/codegen/index.js", "patch": "@@ -343,13 +343,19 @@ function genText (text: ASTText | ASTExpression): string {\n function genSlot (el: ASTElement): string {\n const slotName = el.slotName || '\"default\"'\n const children = genChildren(el)\n- return `_t(${slotName}${\n- childr...
2016-12-22T04:27:21
nodejs/node
fd54b10500724a7f59f448635f2ec96759495339
3b12a8d6e7a053ba873de5a9b3c1d580ada294ac
doc: fix typo in n-api.md PR-URL: https://github.com/nodejs/node/pull/13323 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/n-api.md", "patch": "@@ -530,7 +530,7 @@ Taking the earlier example, adding calls to [`napi_open_handle_scope`][] and\n is valid throughout the execution of the loop:\n \n ```C\n-for (int i = 0; i < 1000000; i++) {napi_\n+for (int i = 0; i < 1000000; i++) {\n napi_handle_scope scope;\n ...
2017-05-31T05:04:14
ggml-org/llama.cpp
3079e9ac8e04ef6eddeb0c164d72edb6b6fd2df5
8a1d206f1d2b4e45918b589f3165b4be232f7ba8
release : fix windows hip release (#13707) * release : fix windows hip release * make single hip release with multiple targets
[ { "path": ".github/workflows/release.yml", "patch": "@@ -448,6 +448,7 @@ jobs:\n WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/7cd9bba0-7aab-4e30-b3ae-2221006a4a05/intel-oneapi-base-toolkit-2025.1.1.34_offline.exe\n WINDOWS_DPCPP_MKL: intel.oneapi.win.cpp-dpcpp...
2025-05-22T22:21:37
huggingface/transformers
5e11d72d4d0939138fbabfebe9a69d2061519547
216dff7549386f3f9ce0b79fd058343b6883ede9
fix_mbart_tied_weights (#26422) * fix_mbart_tied_weights * add test
[ { "path": "src/transformers/models/mbart/modeling_mbart.py", "patch": "@@ -1184,6 +1184,11 @@ def get_encoder(self):\n def get_decoder(self):\n return self.decoder\n \n+ def _tie_weights(self):\n+ if self.config.tie_word_embeddings:\n+ self._tie_or_clone_weights(self.encoder...
2023-09-28T13:08:35
vuejs/vue
36193183e124f0f1a054170d2cefd335d45135b8
92ad0bd378d38f84691120b1caa654ad195ea724
avoid checked state being overwritten before change event trigger (fix #4521)
[ { "path": "src/platforms/web/runtime/modules/dom-props.js", "patch": "@@ -2,9 +2,6 @@\n \n import { extend, toNumber } from 'shared/util'\n \n-// check platforms/web/util/attrs.js acceptValue\n-declare type acceptValueElm = HTMLInputElement | HTMLSelectElement | HTMLOptionElement\n-\n function updateDOMProp...
2016-12-22T03:35:21
golang/go
ffc0573b854ca2fc58ad85ad7599ec66f0a82b36
d532d5f0fade2630612a5bdb0ac3f95824266ad5
cmd/compile/internal/syntax: better error when an assignment is used in value context The error message is now positioned at the statement position (which is an identifing token, such as the '=' for assignments); and in case of assignments it emphasizes the assignment by putting the Lhs and Rhs in parentheses. Finally...
[ { "path": "src/cmd/compile/internal/syntax/parser.go", "patch": "@@ -1886,11 +1886,16 @@ done:\n \t\t// which turns an expression into an assignment. Provide\n \t\t// a more explicit error message in that case to prevent\n \t\t// further confusion.\n-\t\tstr := String(s)\n+\t\tvar str string\n \t\tif as, ok...
2020-02-06T23:32:40
rust-lang/rust
a063cf5f1c151873f753905c75d8e67115308f9d
a6434ef9c0246fa39eecb34e22807da2a68f3904
fix(rustdoc): always use a channel when linking to doc.rust-lang.org
[ { "path": "src/librustdoc/clean/mod.rs", "patch": "@@ -1934,7 +1934,7 @@ fn can_elide_trait_object_lifetime_bound<'tcx>(\n preds: &'tcx ty::List<ty::PolyExistentialPredicate<'tcx>>,\n tcx: TyCtxt<'tcx>,\n ) -> bool {\n- // Below we quote extracts from https://doc.rust-lang.org/reference/lifetime-...
2024-12-26T22:41:58
nodejs/node
3b12a8d6e7a053ba873de5a9b3c1d580ada294ac
64ded9f9bca71a2b230a9c114964ccfc258db98f
test: fix flaky test-fs-watchfile on macOS On macOS, a watcher created with fs.watch() does not necessarily start receiving events immediately. So it can miss a change by fs.writefile() if it comes very soon after the watcher is created. Fix test flakiness caused by this by using `setInterval()` to repeat the write ac...
[ { "path": "test/parallel/test-fs-watchfile.js", "patch": "@@ -72,12 +72,15 @@ if (common.isLinux || common.isOSX || common.isWindows || common.isAix) {\n if (err) assert.fail(err);\n \n fs.watch(dir, common.mustCall(function(eventType, filename) {\n+ clearInterval(interval);\n this._handl...
2017-05-27T03:48:19
ggml-org/llama.cpp
8a1d206f1d2b4e45918b589f3165b4be232f7ba8
797990c4bca0dca5be295c63e3fb2800dc0a69c2
tts : fix n_ubatch + make WavTokenizer cache-less (#13713) ggml-ci
[ { "path": "src/llama-model.cpp", "patch": "@@ -13189,6 +13189,7 @@ llama_memory_i * llama_model::create_memory(const llama_memory_params & params,\n case LLM_ARCH_JINA_BERT_V2:\n case LLM_ARCH_NOMIC_BERT:\n case LLM_ARCH_NOMIC_BERT_MOE:\n+ case LLM_ARCH_WAVTOKENIZER_DEC:\n ...
2025-05-22T19:21:07
huggingface/transformers
38e96324ef63c79cbe36fd9d167adb8aeffe5484
52e2c13da3c56b4d87996e0ff1cd85ad068fe1c5
[`PEFT`] introducing `adapter_kwargs` for loading adapters from different Hub location (`subfolder`, `revision`) than the base model (#26270) * make use of adapter_revision * v1 adapter kwargs * fix CI * fix CI * fix CI * fixup * add BC * Update src/transformers/integrations/peft.py Co-authored...
[ { "path": "src/transformers/integrations/peft.py", "patch": "@@ -77,6 +77,7 @@ def load_adapter(\n offload_index: Optional[int] = None,\n peft_config: Dict[str, Any] = None,\n adapter_state_dict: Optional[Dict[str, \"torch.Tensor\"]] = None,\n+ adapter_kwargs: Optional[Dict[st...
2023-09-28T09:13:03
vuejs/vue
92ad0bd378d38f84691120b1caa654ad195ea724
dacd0cf58241c66c1946cef21475903aa18cad0e
ensure leave transitions and enter transitions are triggered in the same frame (fix #4510)
[ { "path": "examples/move-animations/index.html", "patch": "@@ -15,17 +15,19 @@\n border: 1px solid #666;\n box-sizing: border-box;\n }\n+ /* 1. define transition property, duration and easing */\n .fade-move, .fade-enter-active, .fade-leave-active {\n transition: all...
2016-12-22T03:03:50
golang/go
d532d5f0fade2630612a5bdb0ac3f95824266ad5
240498d63551d0a58a71d5ada457c73a71983a7c
cmd/link: also apply R_ADDR relocation statically when internal linking PIE When internal linking PIE, R_ADDR relocations cannot be resolved statically so we generate dynamic relocations for it. We don't apply the relocations statically, so the bytes in the file are left unset (likely zero). This makes some tool that ...
[ { "path": "src/cmd/go/testdata/script/version.txt", "patch": "@@ -12,13 +12,24 @@ stdout '^\\tmod\\trsc.io/fortune\\tv1.0.0'\n # Repeat the test with -buildmode=pie.\n # TODO(golang.org/issue/27144): don't skip after -buildmode=pie is implemented\n # on Windows.\n-[windows] skip # -buildmode=pie not support...
2020-02-11T23:26:38
huggingface/transformers
52e2c13da3c56b4d87996e0ff1cd85ad068fe1c5
098c3f400cad8de1b689483d7f8386e536fe9397
[VITS] Fix speaker_embed device mismatch (#26115) * [VITS] Fix speaker_embed device mismatch - pass device arg to speaker_id tensor * [VITS] put speaker_embed on device when int * [VITS] device=self.device instead of self.embed_speaker.weight.device * [VITS] make tensor directly on device using torch.ful...
[ { "path": "src/transformers/models/vits/modeling_vits.py", "patch": "@@ -1435,7 +1435,9 @@ def forward(\n if self.config.num_speakers > 1 and speaker_id is not None:\n if not 0 <= speaker_id < self.config.num_speakers:\n raise ValueError(f\"Set `speaker_id` in the range 0...
2023-09-28T08:56:36
vuejs/vue
451ea37c7b75e18a663f978b3d30fec214eb68b6
56bfa1d291e7cf8c3e70386ce936ab1965b545ed
don`t cast empty string to Boolean if prop types include String and Boolean (fix #4538) (#4539)
[ { "path": "src/core/util/props.js", "patch": "@@ -21,10 +21,10 @@ export function validateProp (\n const absent = !hasOwn(propsData, key)\n let value = propsData[key]\n // handle boolean props\n- if (isBooleanType(prop.type)) {\n+ if (isType(Boolean, prop.type)) {\n if (absent && !hasOwn(prop, '...
2016-12-21T21:41:52
nodejs/node
43e4efdf210adb2cc3ba26518fd4588f9e0152ff
effeff1843db3e7e47cf0242cd25273e083b2180
2017-05-30, Version 8.0.0 (Current) * **Async Hooks** * The `async_hooks` module has landed in core [[`4a7233c178`](https://github.com/nodejs/node/commit/4a7233c178)] [#12892](https://github.com/nodejs/node/pull/12892). * **Buffer** * Using the `--pending-deprecation` flag will cause Node.js to emit a ...
[ { "path": "CHANGELOG.md", "patch": "@@ -6,28 +6,30 @@ release lines.\n \n Select a Node.js version below to view the changelog history:\n \n-* [Node.js v7](doc/changelogs/CHANGELOG_V7.md)\n-* [Node.js v6](doc/changelogs/CHANGELOG_V6.md)\n-* [Node.js v5](doc/changelogs/CHANGELOG_V5.md)\n-* [Node.js v4](doc/c...
2017-03-16T03:26:14
golang/go
baea3cd7c9e7ae27f7e5d44874a9afd249458df5
bc5fc6d48ff4e8612c2f41d06e94578291b595d6
cmd/link: handle absolute address relocation in C objects for internal linking PIE For an absolute address relocation in C objects (e.g. R_X86_64_64), we turn it into an R_ADDR relocation and handle it the same way. For internal linking PIE, this R_ADDR relocation cannot be resolved statically. We need to generate a d...
[ { "path": "src/cmd/link/internal/amd64/asm.go", "patch": "@@ -174,6 +174,12 @@ func adddynrel(ctxt *ld.Link, s *sym.Symbol, r *sym.Reloc) bool {\n \t\t\tld.Errorf(s, \"unexpected R_X86_64_64 relocation for dynamic symbol %s\", targ.Name)\n \t\t}\n \t\tr.Type = objabi.R_ADDR\n+\t\tif ctxt.BuildMode == ld.Bui...
2020-02-09T22:00:27
ggml-org/llama.cpp
797990c4bca0dca5be295c63e3fb2800dc0a69c2
ab86335760ebb441574eb47f886fa1ee302e2131
mtmd : add ultravox audio input (#13623) * convert ok, load ok * warmup ok * test * still does not work? * fix padding * temporary give up * fix merge conflict * build_ultravox() * rm test * fix merge conflict * add necessary mtmd APIs * first working version (only 4s of audio) * will this monster compile?...
[ { "path": ".editorconfig", "patch": "@@ -48,3 +48,7 @@ end_of_line = unset\n charset = unset\n trim_trailing_whitespace = unset\n insert_final_newline = unset\n+\n+[tools/mtmd/miniaudio.h]\n+trim_trailing_whitespace = unset\n+insert_final_newline = unset", "additions": 4, "deletions": 0, "langua...
2025-05-22T18:42:48
huggingface/transformers
ba47efbfe4093e4b14e60b5ff7b90f9490c35a0f
375b4e09354dc4f648e1bfdca901e6f85d547ea2
docs: change assert to raise and some small docs (#26232) * docs: change assert to raise and some small docs * docs: add rule and some document * fix: fix bug * fix: fix bug * chorse: revert logging * chorse: revert
[ { "path": "examples/pytorch/language-modeling/run_clm_no_trainer.py", "patch": "@@ -246,13 +246,16 @@ def parse_args():\n else:\n if args.train_file is not None:\n extension = args.train_file.split(\".\")[-1]\n- assert extension in [\"csv\", \"json\", \"txt\"], \"`train_fi...
2023-09-28T08:14:17
vuejs/vue
be9210fc78339ba1fb543160a4b18e8fc444ca68
a977642fac385b2d16455a5eaebf70f2fc949377
update dom prop for option.value (fix #4494) (#4505) * update dom prop for option.value * refactor value update logic
[ { "path": "src/platforms/web/runtime/modules/dom-props.js", "patch": "@@ -2,6 +2,9 @@\n \n import { extend, toNumber } from 'shared/util'\n \n+// check platforms/web/util/attrs.js acceptValue\n+declare type acceptValueElm = HTMLInputElement | HTMLSelectElement | HTMLOptionElement\n+\n function updateDOMProp...
2016-12-21T21:19:04
nodejs/node
1d60fc3aa5b7a6032665595c29bdb382bd526e43
a85b48cbd37e4c0b1cf2f99f2e9f7d30d7fa34cf
doc: fix doc styles BUILDING.md + L122: Missing code-language flag + L170: Strong should use `*` as a marker doc/changelogs/CHANGELOG_V6.md + L1494: Don't pad `emphasis` with inner spaces doc/guides/maintaining-V8.md + L3: Don't use multiple top level headings + L16: Don't use multiple top level headings ...
[ { "path": "BUILDING.md", "patch": "@@ -119,7 +119,7 @@ and not a newer version.\n \n To run the tests:\n \n-```\n+```console\n $ make test\n ```\n \n@@ -167,7 +167,7 @@ Prerequisites:\n including the Community edition (remember to select\n \"Common Tools for Visual C++ 2015\" feature during installa...
2017-05-28T20:20:21
ggml-org/llama.cpp
ab86335760ebb441574eb47f886fa1ee302e2131
cc74d5be990e37f201591fd868a92e64abdbf902
common: Include torch package for s390x (#13699) * common: update requirements.txt to include pytorch nightly for s390x Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> * common: fix torch installation via pip for s390x Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> --------- Signed-off-by: Aaron Teo <aaron.teo1@ibm....
[ { "path": "requirements/requirements-convert_hf_to_gguf.txt", "patch": "@@ -1,3 +1,7 @@\n -r ./requirements-convert_legacy_llama.txt\n --extra-index-url https://download.pytorch.org/whl/cpu\n-torch~=2.2.1\n+torch~=2.2.1; platform_machine != \"s390x\"\n+\n+# torch s390x packages can only be found from nightl...
2025-05-22T18:31:29
golang/go
675a2e70780208dce18a0bc4b3e420de71fe0178
13d73b2a8a4c84be5c4c9425db91521a44390321
cmd/link: generate relative relocs for PIE Go's PIE binaries have tons of relocations, all R_X86_64_64 [1] when internally linked. R_X86_64_64 relocations require symbol lookup in the dynamic linker, which can be quite slow. The simple Go HTTP server in #36028 takes over 1s to complete dynamic linking! The external l...
[ { "path": "src/cmd/link/internal/amd64/asm.go", "patch": "@@ -322,19 +322,31 @@ func adddynrel(ctxt *ld.Link, s *sym.Symbol, r *sym.Reloc) bool {\n \t\t}\n \n \t\tif ctxt.IsELF {\n-\t\t\t// TODO: We generate a R_X86_64_64 relocation for every R_ADDR, even\n-\t\t\t// though it would be more efficient (for th...
2019-12-06T22:25:51
vuejs/vue
a977642fac385b2d16455a5eaebf70f2fc949377
5c34b1ba731ffc53aa10c95bbf5d943f0415372f
unbind v-show if no longer present during patch (fix #4484)
[ { "path": "src/core/vdom/modules/directives.js", "patch": "@@ -20,6 +20,7 @@ function updateDirectives (oldVnode: VNodeWithData, vnode: VNodeWithData) {\n \n function _update (oldVnode, vnode) {\n const isCreate = oldVnode === emptyNode\n+ const isDestroy = vnode === emptyNode\n const oldDirs = normali...
2016-12-21T21:08:34
huggingface/transformers
375b4e09354dc4f648e1bfdca901e6f85d547ea2
a7e0ed829c398a67a641a401e23dae13e2f8b217
Fix `cos_sin` device issue in Falcon model (#26448) * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/falcon/modeling_falcon.py", "patch": "@@ -129,6 +129,11 @@ def cos_sin(\n total_length = seq_len + past_key_values_length\n if total_length > self.seq_len_cached:\n self._set_cos_sin_cache(total_length, device, dtype)\n+\n+ # the cached t...
2023-09-28T08:00:15
ggml-org/llama.cpp
6b56a64690a318fcabcd7739ac7e314d44785ea8
a4e8912dfd4604be1e39bc86ba4c0b02969967ef
SYCL: Avoid using with SYCL-Graph for unsupported nodes (#13587) Currently on a CUDA backend to SYCL when running `GGML_SYCL_DISABLE_GRAPH=0 ./bin/test-backend-ops -b SYCL0` there are two operations that throw an exception from the blocking waits during queue recording. * `-o CONCAT` : Use of blocking waits on a queu...
[ { "path": "ggml/src/ggml-sycl/ggml-sycl.cpp", "patch": "@@ -3809,11 +3809,43 @@ static void ggml_backend_sycl_graph_compute_impl(ggml_backend_sycl_context * syc\n }\n }\n \n+#ifdef GGML_SYCL_GRAPH\n+static bool check_graph_compatibility(ggml_cgraph * cgraph) {\n+ if (ggml_sycl_info().device_count > 1...
2025-05-22T08:24:09
nodejs/node
a85b48cbd37e4c0b1cf2f99f2e9f7d30d7fa34cf
399cb25f6266a17f0e5ed838b37b9c8299a87224
deps: float patch on npm to fix citgm This floats https://github.com/npm/npm/pull/16791 onto npm v5.0.0 to fix an edge case that was found in citgm PR-URL: https://github.com/nodejs/node/pull/13305 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Evan Lucas <eva...
[ { "path": "deps/npm/lib/view.js", "patch": "@@ -300,9 +300,7 @@ function printData (data, name, cb) {\n log.disableProgress()\n \n // print directly to stdout to not unnecessarily add blank lines\n- process.stdout.write(msg)\n-\n- cb(null, data)\n+ process.stdout.write(msg, () => cb(null, data))\n }\...
2017-05-30T16:22:53
vuejs/vue
5c34b1ba731ffc53aa10c95bbf5d943f0415372f
d212a109b0d588ea67a3707d92ee997dccd1e828
fix type definition links (#4517) * fix type definition links NOTE: Everytime, we tried not to change links. * update flow links
[ { "path": "packages/vue-template-compiler/README.md", "patch": "@@ -38,7 +38,7 @@ The optional `options` object can contain the following:\n \n - `modules`\n \n- An array of compiler modules. For details on compiler modules, refer to its [type definition](https://github.com/vuejs/vue/blob/dev/flow/compiler...
2016-12-21T03:30:54
golang/go
8c09e8af3633b0c08d2c309e56a58124dfee3d7c
f5ff00583fa6d4e9b4acb98b96757d98b1f55d28
crypto/ecdsa: add SignASN1, VerifyASN1 Update the Example in the crypto/ecdsa package for signing and verifying signatures to use these new functions. This also changes (*PrivateKey).Sign to use x/crypto/cryptobyte/asn1 instead of encoding/asn1 to marshal the signature. Fixes #20544 Change-Id: I3423cfc4d7f9e1748fbe...
[ { "path": "src/crypto/ecdsa/ecdsa.go", "patch": "@@ -33,10 +33,12 @@ import (\n \t\"crypto/elliptic\"\n \t\"crypto/internal/randutil\"\n \t\"crypto/sha512\"\n-\t\"encoding/asn1\"\n \t\"errors\"\n \t\"io\"\n \t\"math/big\"\n+\n+\t\"golang.org/x/crypto/cryptobyte\"\n+\t\"golang.org/x/crypto/cryptobyte/asn1\"\...
2020-02-05T20:19:41
huggingface/transformers
ab37b801b14d8b9c3186548e6e118aff623e6aa1
a0922a538bdeb77b3cc3a8c335930bec9c82f5bc
🌐 [i18n-KO] Translated `perf_train_gpu_many.md` to Korean (#26244) * dos: ko: perf_train_gpu_many.mdx * feat: chatgpt draft * fix: manual edits * fix: resolve suggestions Change description Follow the glossary Fix discrepancies Co-Authored-By: SeongWooChoi <46990061+nuatmochoi@users.noreply.github.co...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -117,8 +117,8 @@\n title: 성능 및 확장성\n - local: in_translation\n title: (번역중) Training on one GPU\n- - local: in_translation\n- title: (번역중) Training on many GPUs\n+ - local: perf_train_gpu_many\n+ title: 다중 GPU에서 훈련 진행하기\n ...
2023-09-27T20:51:15
vuejs/vue
974247fd8e6b57840c9b7686964ddb38bc6affc8
34333caa8cb54a4eacc723fb46c18334ca8a7c11
Add missing string handler in v-for (#4499) Fix #4497
[ { "path": "src/core/instance/render.js", "patch": "@@ -178,7 +178,7 @@ export function renderMixin (Vue: Class<Component>) {\n render: () => VNode\n ): ?Array<VNode> {\n let ret: ?Array<VNode>, i, l, keys, key\n- if (Array.isArray(val)) {\n+ if (Array.isArray(val) || typeof val === 'string')...
2016-12-16T16:50:53
ggml-org/llama.cpp
a4e8912dfd4604be1e39bc86ba4c0b02969967ef
edbf42edfdabb9cea72ae12137570cf48f5d8076
opencl: Add support for multiple devices (#12622) * opencl: Add support for multiple devices ... but limited to one platform. A platform with a GPU will be preferred. Additionally: * Filter out devices that lack capabilities needed by the backend implementation (half support, OpenCL 2.0+, etc). * Make ggml_backe...
[ { "path": "ggml/src/ggml-opencl/ggml-opencl.cpp", "patch": "@@ -27,6 +27,7 @@\n #include <cmath>\n #include <memory>\n #include <charconv>\n+#include <mutex>\n \n #undef MIN\n #undef MAX\n@@ -230,13 +231,25 @@ static ggml_cl_compiler_version get_adreno_cl_compiler_version(const char *drive\n return { ty...
2025-05-21T23:21:45
nodejs/node
c420cd15403e374111150d46f209211c3289f9f4
10913271bfcc1d81962e17c251e590fb5bdf8e28
test: support candidate V8 versions When V8 is built from its master branch, it adds a " (candidate)" suffix to the version string. Add support for that in the tests so it does not fail with Node canary. PR-URL: https://github.com/nodejs/node/pull/13282 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yuta H...
[ { "path": "test/parallel/test-process-versions.js", "patch": "@@ -26,5 +26,5 @@ assert(/^\\d+\\.\\d+\\.\\d+(-.*)?$/.test(process.versions.http_parser));\n assert(/^\\d+\\.\\d+\\.\\d+(-.*)?$/.test(process.versions.node));\n assert(/^\\d+\\.\\d+\\.\\d+(-.*)?$/.test(process.versions.uv));\n assert(/^\\d+\\.\\d...
2017-05-29T12:54:48
huggingface/transformers
a0922a538bdeb77b3cc3a8c335930bec9c82f5bc
ef81759e318d17eefb67630cc78d97685431d4cf
🌐 [i18n-KO] Translated `debugging.md` to Korean (#26246) * docs:ko:Debugging.md * feat: chatgpt draft * fix: resolve suggestions Co-Authored-By: Sohyun Sim <96299403+sim-so@users.noreply.github.com> Co-Authored-By: Steven Liu <59462357+stevhliu@users.noreply.github.com> --------- Co-authored-by: Jang ...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -141,8 +141,8 @@\n title: 훈련용 사용자 맞춤형 하드웨어\n - local: in_translation\n title: (번역중) Instantiating a big model\n- - local: in_translation\n- title: (번역중) Debugging\n+ - local: debugging\n+ title: 디버깅\n - local: hpo_trai...
2023-09-27T20:47:44
golang/go
f5ff00583fa6d4e9b4acb98b96757d98b1f55d28
6c61a57cfc24d344529685977855341ae9f17239
net/http/pprof: set content type for /debug/pprof Fixes #37311 Change-Id: I9e1f37e991e5c203fe72061692f47584fbadfc58 Reviewed-on: https://go-review.googlesource.com/c/go/+/220324 Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail...
[ { "path": "src/net/http/pprof/pprof.go", "patch": "@@ -273,6 +273,9 @@ func Index(w http.ResponseWriter, r *http.Request) {\n \t\t}\n \t}\n \n+\tw.Header().Set(\"X-Content-Type-Options\", \"nosniff\")\n+\tw.Header().Set(\"Content-Type\", \"text/html; charset=utf-8\")\n+\n \ttype profile struct {\n \t\tName ...
2020-02-20T22:25:33
vuejs/vue
bf8aac0053d049a54cd72e01a85b032a58039ac6
7f260e1185284f6b1fea35bfacbc06f705ea2f06
fix weex test case
[ { "path": "test/weex/compiler/compile.spec.js", "patch": "@@ -38,7 +38,7 @@ describe('compile basic', () => {\n <text style=\"margin-left:36px;color:#eee;\">Load more...</text>\n </refresh>\n `)\n- expect(render).toEqual(`with(this){return _c('refresh',{staticClass:[\"refresh\"],staticS...
2016-12-14T17:29:30
ggml-org/llama.cpp
edbf42edfdabb9cea72ae12137570cf48f5d8076
d643bb2c798df9c2cd61067d2692b1cd417df402
opencl: fix couple crashes (#12795) * opencl: fix couple crashes * fix kernel launches failed on devices which do not support non-uniform work-groups. When non-uniform work-groups are not supported, set `local_work_size` to NULL (= let driver choose the work-group sizes). This patch does not cover everything - ...
[ { "path": "ggml/src/ggml-opencl/ggml-opencl.cpp", "patch": "@@ -74,6 +74,7 @@ struct ggml_cl_version {\n cl_uint minor = 0;\n };\n \n+\n struct ggml_cl_compiler_version {\n ADRENO_CL_COMPILER_TYPE type;\n int major = -1;\n@@ -91,6 +92,14 @@ struct ggml_cl_compiler_version {\n }\n };\n \n+sta...
2025-05-21T20:21:17
huggingface/transformers
6ae71ec8369f71490311b30c902ea6990efda4f0
78dd1202823ca035b9609ddbcdaac2945a6530ff
Update `runs-on` in workflow files (#26435) * update * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/doctests.yml", "patch": "@@ -20,7 +20,7 @@ env:\n \n jobs:\n run_doctests:\n- runs-on: [self-hosted, doc-tests-gpu]\n+ runs-on: [single-gpu, nvidia-gpu, t4, doctest-ci]\n container:\n image: huggingface/transformers-all-latest-gpu\n options: --gpus 0 --sh...
2023-09-27T17:25:52
nodejs/node
10913271bfcc1d81962e17c251e590fb5bdf8e28
c58cea5a163cd5d7133e00fdf257325ce3807c09
test: hasCrypto https-server-keep-alive-timeout Currently this test will fail with the following error message when configured --without-ssl: Error: Node.js is not compiled with openssl crypto support This commit checks for crypto and skips this tests if such support is not available. PR-URL: https://github.com/node...
[ { "path": "test/parallel/test-https-server-keep-alive-timeout.js", "patch": "@@ -1,6 +1,10 @@\n 'use strict';\n \n const common = require('../common');\n+if (!common.hasCrypto) {\n+ common.skip('missing crypto');\n+ return;\n+}\n const assert = require('assert');\n const https = require('https');\n const ...
2017-05-12T05:40:13
rust-lang/rust
03e9a383906ca85e264f056f490c091fdef30a90
d3a148fe07bf2bcab0d262463f0f892f555e0aa6
On E0271 for a closure behind a binding, point at binding in call too ``` error[E0271]: expected `{closure@return-type-doesnt-match-bound.rs:18:13}` to be a closure that returns `Result<(), _>`, but it returns `!` --> tests/ui/closures/return-type-doesnt-match-bound.rs:18:20 | 18 | let c = |e| -> ! { //...
[ { "path": "compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs", "patch": "@@ -1424,6 +1424,10 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {\n // | ^^^^^ expected `Unit3`, found `Unit4`\n // |\n diag.span_label(spa...
2024-10-25T23:23:15
golang/go
6c61a57cfc24d344529685977855341ae9f17239
753011ebc3228d68b7593e153f8d118f103c4748
database/sql: add SetConnMaxIdleTime Allow removing a connection from the connection pool after it has been idle for a period of time, without regard to the total lifespan of the connection. Fixes #25232 Change-Id: Icff157b906769a2d2d45c67525e04a72feb8d832 Reviewed-on: https://go-review.googlesource.com/c/go/+/14575...
[ { "path": "src/database/sql/sql.go", "patch": "@@ -425,12 +425,14 @@ type DB struct {\n \tclosed bool\n \tdep map[finalCloser]depSet\n \tlastPut map[*driverConn]string // stacktrace of last conn's put; debug only\n-\tmaxIdle int // zero means d...
2018-10-29T16:09:21
vuejs/vue
f1c38674f28116e1e335873ecbc6716fb70448a3
6116bbf13a8d4827d28874636489b02399f53858
use simple normalization for components, fix functional component multi-root node (fix #4472)
[ { "path": "src/compiler/codegen/index.js", "patch": "@@ -3,13 +3,14 @@\n import { genHandlers } from './events'\n import { baseWarn, pluckModuleFunction } from '../helpers'\n import baseDirectives from '../directives/index'\n-import { camelize } from 'shared/util'\n+import { camelize, no } from 'shared/util...
2016-12-14T17:22:54
huggingface/transformers
78dd1202823ca035b9609ddbcdaac2945a6530ff
72958fcd3c98a7afdc61f953aa58c544ebda2f79
Fix failing doctest (#26450) * Fix doctest * Adding modeling also for now
[ { "path": "utils/not_doctested.txt", "patch": "@@ -161,6 +161,7 @@ docs/source/en/model_doc/mega.md\n docs/source/en/model_doc/megatron-bert.md\n docs/source/en/model_doc/megatron_gpt2.md\n docs/source/en/model_doc/mgp-str.md\n+docs/source/en/model_doc/mistral.md\n docs/source/en/model_doc/mluke.md\n docs/s...
2023-09-27T16:47:26
nodejs/node
16689e30aeff03c8c47a605425727cf190c169e9
dbbe1faf3089958c4b02fdde4d162ac80ad5db4a
inspector: --debug* deprecation and invalidation PR-URL: https://github.com/nodejs/node/pull/12949 Fixes: https://github.com/nodejs/node/issues/12364 Fixes: https://github.com/nodejs/node/issues/12630 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jan Krems <jan.krems@gmail.com>
[ { "path": "lib/internal/bootstrap_node.js", "patch": "@@ -65,6 +65,20 @@\n });\n process.argv[0] = process.execPath;\n \n+ // Handle `--debug*` deprecation and invalidation\n+ if (process._invalidDebug) {\n+ process.emitWarning(\n+ '`node --debug` and `node --debug-brk` are invalid...
2017-05-29T03:28:01
rust-lang/rust
d3a148fe07bf2bcab0d262463f0f892f555e0aa6
a6434ef9c0246fa39eecb34e22807da2a68f3904
When encountering unexpected closure return type, point at return type/expression ``` error[E0271]: expected `{closure@fallback-closure-wrap.rs:18:40}` to be a closure that returns `()`, but it returns `!` --> $DIR/fallback-closure-wrap.rs:19:9 | LL | let error = Closure::wrap(Box::new(move || { | ...
[ { "path": "compiler/rustc_hir_analysis/src/check/compare_impl_item.rs", "patch": "@@ -642,6 +642,7 @@ pub(super) fn collect_return_position_impl_trait_in_trait_tys<'tcx>(\n );\n let hir = tcx.hir();\n infcx.err_ctxt().note_type_err(\n+ cause.span,\n ...
2024-10-25T21:27:13
vuejs/vue
6116bbf13a8d4827d28874636489b02399f53858
0fe431b490b90a412ade6e8c4b8065b1f4189b3b
fix svg foreignObject regression (fix #4478)
[ { "path": "src/core/vdom/create-element.js", "patch": "@@ -71,7 +71,6 @@ export function _createElement (\n // unknown or unlisted namespaced elements\n // check at runtime because it may get assigned a namespace when its\n // parent normalizes children\n- ns = tag === 'foreignObject'...
2016-12-14T16:24:53
golang/go
7855d6835d3a27e967a0c2d748f9f39305e7ba47
4f020a52c5830a490d7e0f76b221ac51d32f1305
cmd/compile: add a script to measure ssa/gen's coverage Since rulegen is only tested by inspecting and running its output code, we have no good way to see if any chunks of its source are actually being unused. Code coverage only works as part of 'go test', since it needs to instrument our code. Add a script that sets...
[ { "path": "src/cmd/compile/internal/ssa/gen/cover.bash", "patch": "@@ -0,0 +1,26 @@\n+#!/usr/bin/env bash \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+# A quick and dirty way to obtain ...
2020-01-04T10:45:38
huggingface/transformers
72958fcd3c98a7afdc61f953aa58c544ebda2f79
3ca18d6d09ee0d1610a400ead6f6041394f66421
[Mistral] Mistral-7B-v0.1 support (#26447) * [Mistral] Mistral-7B-v0.1 support * fixing names * slightly longer test * fixups * not_doctested * wrongly formatted references * make fixuped --------- Co-authored-by: Timothee Lacroix <t@eugen.ai> Co-authored-by: timlacroix <t@mistral.ai>
[ { "path": "README.md", "patch": "@@ -409,6 +409,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[Megatron-BERT](https://huggingface.co/docs/transformers/model_doc/megatron-bert)** (from NVIDIA) released with the paper [Megatron-LM: Training Multi-Billion Paramete...
2023-09-27T16:30:46
nodejs/node
f00475d9d69da7e81411b726aff4a15b3b350954
758a17f1d5f5985f6d5e3823e0c4759e78252c52
test: refactor test-fs-assert-encoding-error Check that callbacks are not executed when errors are expected to be thrown. PR-URL: https://github.com/nodejs/node/pull/13226 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com...
[ { "path": "test/parallel/test-fs-assert-encoding-error.js", "patch": "@@ -7,59 +7,59 @@ const options = 'test';\n const unknownEncodingMessage = /^Error: Unknown encoding: test$/;\n \n assert.throws(() => {\n- fs.readFile('path', options, common.noop);\n+ fs.readFile('path', options, common.mustNotCall())...
2017-05-25T21:47:52
rust-lang/rust
33bb8afd088f4c23a8706c8f2a84aedb8bf5e248
e692cd4b304a954829d5c855eb6a5bbd4ece51f2
Fix expand/collapse all on site, make highlightjs lazier
[ { "path": "util/gh-pages/index_template.html", "patch": "@@ -24,26 +24,29 @@\n <link id=\"styleNight\" rel=\"stylesheet\" href=\"https://rust-lang.github.io/mdBook/tomorrow-night.css\" disabled=\"true\"> {# #}\n <link id=\"styleAyu\" rel=\"stylesheet\" href=\"https://rust-lang.github.io/mdBook/ayu-h...
2025-01-19T22:53:56
vuejs/vue
4cca50725a5a204f7bb5cd4c7591dccf25894414
6918436bf85ec49823d2517f933fea96391f9200
fix v-for on v-else branch regression (fix #4464)
[ { "path": "src/compiler/codegen/index.js", "patch": "@@ -298,14 +298,18 @@ function genChildren (el: ASTElement, checkSkip?: boolean): string | void {\n function canSkipNormalization (children): boolean {\n for (let i = 0; i < children.length; i++) {\n const el: any = children[i]\n- if (el.for || e...
2016-12-13T17:02:37
golang/go
4f020a52c5830a490d7e0f76b221ac51d32f1305
ae7cd5c029927e41b50170e5059b6b896c3d779a
crypto/x509: correct error message for trailing issuer data The error message for trailing data after the X.509 issuer should correctly state "issuer" instead of "subject", which appears just above this code. Fixes #35841 Change-Id: Iea2605ce97f2b084eb78e88f2c27d7d43749d022 Reviewed-on: https://go-review.googlesourc...
[ { "path": "src/crypto/x509/x509.go", "patch": "@@ -1374,7 +1374,7 @@ func parseCertificate(in *certificate) (*Certificate, error) {\n \tif rest, err := asn1.Unmarshal(in.TBSCertificate.Issuer.FullBytes, &issuer); err != nil {\n \t\treturn nil, err\n \t} else if len(rest) != 0 {\n-\t\treturn nil, errors.New(...
2019-11-26T18:45:15
huggingface/transformers
3ca18d6d09ee0d1610a400ead6f6041394f66421
946bac798caefada3f5f1c9fecdcfd587ed24ac7
[`PEFT`] Fix PEFT multi adapters support (#26407) * fix PEFT multi adapters support * refactor a bit * save pretrained + BC + added tests * Update src/transformers/integrations/peft.py Co-authored-by: Benjamin Bossan <BenjaminBossan@users.noreply.github.com> * add more tests * add suggestion * fin...
[ { "path": "src/transformers/integrations/peft.py", "patch": "@@ -12,7 +12,7 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n import inspect\n-from typing import TYPE_CHECKING, Any, Dict, Optional\n+from typing import TYPE_CHECKING, Any, Dict, Li...
2023-09-27T14:45:31
ggml-org/llama.cpp
5fbfe384d4659f81c47a477eb8ee97692c7ffef9
c76532e7ba128bb097bf6836bf0f5592e1b56b76
server : improve error reporting (#13680)
[ { "path": "tools/server/server.cpp", "patch": "@@ -3366,14 +3366,29 @@ struct server_context {\n metrics.on_decoded(slots);\n \n if (ret != 0) {\n- if (n_batch == 1 || ret < 0) {\n- // if you get here, it means the KV cache is full - try increasing i...
2025-05-21T16:46:56
nodejs/node
758a17f1d5f5985f6d5e3823e0c4759e78252c52
a94b98e7e119a44580650ac34c2d1b7b0f3df401
dns: return TypeError on invalid resolve() input Synchronize the argument list for `dns.resolve()` with what's in the documentation. Improve the error for a bad `rrtype` to be a `TypeError` rather than an `Error`. PR-URL: https://github.com/nodejs/node/pull/13090 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-...
[ { "path": "lib/dns.js", "patch": "@@ -291,22 +291,21 @@ resolveMap.NAPTR = resolver('queryNaptr');\n resolveMap.SOA = resolver('querySoa');\n \n \n-function resolve(hostname, type_, callback_) {\n- var resolver, callback;\n- if (typeof type_ === 'string') {\n- resolver = resolveMap[type_];\n- callba...
2017-05-17T20:37:30
vuejs/vue
6918436bf85ec49823d2517f933fea96391f9200
5300e717fa52480bf301453beabbd863eeff0d8c
Update normalize children (fix 4466) (#4468) * omit boolean node * add test case * update boolean type * update test case * update test case
[ { "path": "src/core/vdom/helpers/normalize-children.js", "patch": "@@ -16,7 +16,7 @@ function normalizeArrayChildren (children: any, nestedIndex?: string): Array<VNo\n let i, c, last\n for (i = 0; i < children.length; i++) {\n c = children[i]\n- if (c == null) continue\n+ if (c == null || type...
2016-12-13T16:52:25
golang/go
ae7cd5c029927e41b50170e5059b6b896c3d779a
30e3bf2051e1659ba7ea1d14849f79deb82a5606
doc/go1.14: document the change to json.Number decoding It might break a program if it was depending on undocumented behavior. Give a proper heads up. Fixes #37308. Change-Id: Id65bc70def1138d5506b694329c52250b417ec6f Reviewed-on: https://go-review.googlesource.com/c/go/+/220418 Reviewed-by: Bryan C. Mills <bcmills@...
[ { "path": "doc/go1.14.html", "patch": "@@ -582,6 +582,13 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n was never a documented feature. For proper escaping, see <a\n href=\"/pkg/encoding/json/#HTMLEscape\"><code>HTMLEscape</code></a>.\n </p>\n+\n+ <p><!-- CL 19504...
2020-02-20T20:44:18
huggingface/transformers
153755ee386ac73e04814a94337abcb1208ff5d1
a0be960dcca468d9afc4f7f5213ad447e421a21c
[`FA` / `tests`] Add use_cache tests for FA models (#26415) * add use_cache tests for FA * fixup
[ { "path": "tests/test_modeling_common.py", "patch": "@@ -2908,6 +2908,35 @@ def test_flash_attn_2_generate_padding_right(self):\n \n self.assertTrue(torch.equal(out, out_fa))\n \n+ @require_flash_attn\n+ @require_torch_gpu\n+ @mark.flash_attn_test\n+ @slow\n+ def test_flash_at...
2023-09-27T10:21:54
ggml-org/llama.cpp
cf4cb59e64d72a1b4c781f71a74de5756a4e2376
0d5c74216170ef97e5e7511563837263f2d1a496
ggml : add ggml_gelu_erf() (#13667) * ggml : add ggml_gelu_na (not approximated) * fix naming order * rename na --> erf * apply review suggesions * revert naming order
[ { "path": "ggml/include/ggml.h", "patch": "@@ -528,14 +528,15 @@ extern \"C\" {\n GGML_UNARY_OP_STEP,\n GGML_UNARY_OP_TANH,\n GGML_UNARY_OP_ELU,\n- GGML_UNARY_OP_RELU,\n GGML_UNARY_OP_SIGMOID,\n GGML_UNARY_OP_GELU,\n+ GGML_UNARY_OP_GELU_ERF,\n GG...
2025-05-21T14:26:33
vuejs/vue
5300e717fa52480bf301453beabbd863eeff0d8c
68abdc3c3c86e01089c32b434e662dc15a3a9eda
Fix unkpg.com -> unpkg.com (#4460)
[ { "path": "dist/README.md", "patch": "@@ -7,7 +7,7 @@\n The full (compiler-included) browser build. This is the build you can just include with a script tag:\n \n ```\n- <script src=\"https://unkpg.com/vue/dist/vue.js\"><script>\n+ <script src=\"https://unpkg.com/vue/dist/vue.js\"></script>\n ```\n ...
2016-12-13T05:00:20
nodejs/node
a94b98e7e119a44580650ac34c2d1b7b0f3df401
90877003c177368792f38284561d3b4299bfae88
doc: fix api docs style doc/api/fs.md + L314: Missing code-language flag doc/api/stream.md + L2120: Do not use definitions with the same identifier + L2121: Do not use definitions with the same identifier + L2122: Do not use definitions with the same identifier doc/api/v8.md + L157: Move definitions to the...
[ { "path": "doc/api/fs.md", "patch": "@@ -311,7 +311,7 @@ synchronous counterparts are of this type.\n For a regular file [`util.inspect(stats)`][] would return a string very\n similar to this:\n \n-```\n+```console\n Stats {\n dev: 2114,\n ino: 48064969,", "additions": 1, "deletions": 1, "la...
2017-05-26T09:19:20
huggingface/transformers
a0be960dcca468d9afc4f7f5213ad447e421a21c
777f2243f56a7aa8a9ea66d330af986aa57ebd49
Fixing tokenizer when `transformers` is installed without `tokenizers` (#26236) * Fixing tokenizer when tokenizers is not installed * Adding __repr__ function and repr=True in dataclass * Revert "Adding __repr__ function and repr=True in dataclass" This reverts commit 18839505d1cada3170ed623744d3e75008a18bdc.
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -101,6 +101,9 @@ def __init__(\n def __getstate__(self):\n return self.__dict__\n \n+ def __str__(self):\n+ return self.content\n+\n @dataclass\n class EncodingFast:\n \"\"\"This is du...
2023-09-27T09:58:04
ggml-org/llama.cpp
42158ae2e8ead667a83f07247321ce85f32ace66
797f2ac0625b22edeff03cc30e0f988da6b6b068
server : fix first message identification (#13634) * server : fix first message identification When using the OpenAI SDK (https://github.com/openai/openai-node/blob/master/src/lib/ChatCompletionStream.ts#L623-L626) we noticed that the expected assistant role is missing in the first streaming message. Fix this by corr...
[ { "path": "tools/server/server.cpp", "patch": "@@ -951,7 +951,7 @@ struct server_task_result_cmpl_partial : server_task_result {\n }\n \n json to_json_oaicompat_chat() {\n- bool first = n_decoded == 0;\n+ bool first = n_decoded == 1;\n std::time_t t = std::time(0);\n js...
2025-05-21T13:07:57
golang/go
30e3bf2051e1659ba7ea1d14849f79deb82a5606
9ca57923e222335cc63924833d5bf562962e06c9
net/mail: skip empty entries in parseAddressList RFC 5322 has a section 4.4 where it says that address-list could have "null" members: "That is, there could be two or more commas in such a list with nothing in between them, or commas at the beginning or end of the list." This change handles such a case so that mail cl...
[ { "path": "src/net/mail/message.go", "patch": "@@ -274,6 +274,15 @@ func (p *addrParser) parseAddressList() ([]*Address, error) {\n \tvar list []*Address\n \tfor {\n \t\tp.skipSpace()\n+\n+\t\t// allow skipping empty entries (RFC5322 obs-addr-list)\n+\t\tif p.consume(',') {\n+\t\t\tcontinue\n+\t\t}\n+\t\tif...
2020-02-01T22:14:30
vuejs/vue
850fb9fbcb8990a66d15176085601f75cdb2e371
2d87b950c90adf9aec7564aeb3fe3f5e64fe1ef1
fix number update spec in ie9
[ { "path": "test/unit/features/directives/model-text.spec.js", "patch": "@@ -72,8 +72,8 @@ describe('Directive v-model text', () => {\n },\n template:\n '<div>' +\n- '<input ref=\"input\" v-model=\"test\" type=\"number\">{{ update }}' +\n- '<input ref=\"blur\"/>' +\n+ ...
2016-12-13T02:59:07
nodejs/node
90877003c177368792f38284561d3b4299bfae88
849f22309a3e612dd4b9483db32713f7e759215b
async_wrap: fix Promises with later enabled hooks Assign a `PromiseWrap` instance to Promises that do not have one yet when the PromiseHook is being called. Fixes: https://github.com/nodejs/node/issues/13237 PR-URL: https://github.com/nodejs/node/pull/13242 Reviewed-By: Andreas Madsen <amwebdk@gmail.com> Reviewed-By:...
[ { "path": "src/async-wrap.cc", "patch": "@@ -283,8 +283,8 @@ bool AsyncWrap::EmitAfter(Environment* env, double async_id) {\n \n class PromiseWrap : public AsyncWrap {\n public:\n- PromiseWrap(Environment* env, Local<Object> object)\n- : AsyncWrap(env, object, PROVIDER_PROMISE) {}\n+ PromiseWrap(Envir...
2017-05-26T15:00:43
huggingface/transformers
abd253103478b21faafb7c9a6e7a1a7d1effe757
408b2b3c5057b275855ae4c43c452a7f0b37aa45
Fix padding for IDEFICS (#26396) * fix * fixup * tests * fixup
[ { "path": "src/transformers/models/idefics/processing_idefics.py", "patch": "@@ -280,7 +280,7 @@ def image_tokens(last_was_image):\n else:\n return fake_token + image_token + fake_token\n \n- all_texts = []\n+ all_prompts = []\n all_images = []\n for...
2023-09-27T08:56:07
ggml-org/llama.cpp
b44890df2e4fad0ece1d5366dcbc8bedae23b658
33983057d0f578aca74ba15eccc3de9c267a5ff6
model : disable SWA for Phi models (#13676) * model : disable SWA for Phi models ggml-ci * model : update warning message * model : print warning only if n_swa > 0 * model : fix typo
[ { "path": "src/llama-graph.cpp", "patch": "@@ -1236,8 +1236,7 @@ llm_graph_input_attn_kv_unified * llm_graph_context::build_attn_inp_kv_unified()\n auto inp = std::make_unique<llm_graph_input_attn_kv_unified>(hparams, cparams, kv_self);\n \n {\n- GGML_ASSERT(hparams.n_swa_pattern == 1 && \"Us...
2025-05-21T10:09:21
golang/go
9ca57923e222335cc63924833d5bf562962e06c9
1b47fde55c3899ee50e7fab35e151645aba96e9c
testing: testing: add (*T).Deadline method for test timeout Fixes #28135 Change-Id: I62818595eaf4a59d8b5c26cd6848c08fec795ad1 Reviewed-on: https://go-review.googlesource.com/c/go/+/202758 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@...
[ { "path": "api/next.txt", "patch": "@@ -0,0 +1 @@\n+pkg testing, method (*T) Deadline() (time.Time, bool)", "additions": 1, "deletions": 0, "language": "Plain Text" }, { "path": "doc/go1.15.html", "patch": "@@ -60,6 +60,15 @@ <h2 id=\"library\">Core library</h2>\n TODO\n </p>\n \n+<d...
2019-10-23T14:54:09
vuejs/vue
2afa2601e05b51569d8d517624ffe0aa5e53a26a
6cfd6c7fe9c35528802d2e775833fb3eeebab0e8
ensure local assets is prioritized regardless of naming convention (fix #4434)
[ { "path": "src/core/util/options.js", "patch": "@@ -319,11 +319,14 @@ export function resolveAsset (\n return\n }\n const assets = options[type]\n- const res = assets[id] ||\n- // camelCase ID\n- assets[camelize(id)] ||\n- // Pascal Case ID\n- assets[capitalize(camelize(id))]\n+ // che...
2016-12-13T02:30:36
huggingface/transformers
0ac3875011d32dc85e0e83970507e3afe8f0febb
6ce6a5adb9ffc071ffe97ee7a7736a120af3d22c
Fix DeepSpeed issue with Idefics (#26393) Fix deepspeed issue with Idefics
[ { "path": "src/transformers/models/idefics/modeling_idefics.py", "patch": "@@ -428,7 +428,7 @@ def forward(self, input: torch.Tensor) -> torch.Tensor:\n output = F.linear(input, self.weight, self.bias)\n \n if self.out_additional_features > 0:\n- additional_features = F.linear(inp...
2023-09-26T08:19:00
nodejs/node
f84666f923e1d89c2cf3f5a31075985846016c13
1a2cd91b208f3117063ea93b241940bb3e15e6f6
build: support dtrace on ARM Use the same dtrace command on ARM as on i386. Patch obtained from FreeBSD PR 218081 [1]. 1. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218081 PR-URL: https://github.com/nodejs/node/pull/12193 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail....
[ { "path": "node.gyp", "patch": "@@ -514,7 +514,7 @@\n '<(OBJ_DIR)/node/src/node_dtrace_ustack.o'\n ],\n 'conditions': [\n- [ 'target_arch==\"ia32\"', {\n+ [ 'target_arch==\"ia32\" or target_arch==\"arm\"', {\n 'actio...
2017-03-27T09:48:21
vuejs/vue
92473853dd70b6d38d88686c15c338f262da40e3
183bd43c3ee276aac9052a5eaae8b782cd99a095
avoid error when asserting mismatched nodes during hydration
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -534,7 +534,7 @@ export function createPatchFunction (backend) {\n if (vnode.tag) {\n return (\n vnode.tag.indexOf('vue-component') === 0 ||\n- vnode.tag.toLowerCase() === node.tagName.toLowerCase()\n+ vnode.tag.toLowerCase() =...
2016-12-12T19:22:12
ggml-org/llama.cpp
33983057d0f578aca74ba15eccc3de9c267a5ff6
fb1cab201c6c4cd36731f100df74eece2f4706fa
musa: Upgrade MUSA SDK version to rc4.0.1 and use mudnn::Unary::IDENTITY op to accelerate D2D memory copy (#13647) * musa: fix build warning (unused parameter) Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com> * musa: upgrade MUSA SDK version to rc4.0.1 Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com> * m...
[ { "path": ".devops/musa.Dockerfile", "patch": "@@ -1,10 +1,10 @@\n ARG UBUNTU_VERSION=22.04\n # This needs to generally match the container host's environment.\n-ARG MUSA_VERSION=rc3.1.1\n+ARG MUSA_VERSION=rc4.0.1\n # Target the MUSA build image\n-ARG BASE_MUSA_DEV_CONTAINER=mthreads/musa:${MUSA_VERSION}-de...
2025-05-21T01:58:49
golang/go
ccb95b6492ad6e7a7d1a7fda896baee4caffb3b4
60651a1bc8540d9144e69fc71065f4994dfb0bbc
cmd/compile: preserve shift boundness during wasm rewrite rules Mostly for clarity. There are nominal improvements to the generated code: file before after Δ % addr2line 4742769 4742639 -130 -0.003% api 6973284 6973209 -75 -0.001% asm 5922230 5922127 -103 -0.002% bu...
[ { "path": "src/cmd/compile/internal/ssa/gen/Wasm.rules", "patch": "@@ -101,31 +101,31 @@\n (Lsh64x64 x (I64Const [c])) && uint64(c) < 64 -> (I64Shl x (I64Const [c]))\n (Lsh64x64 x (I64Const [c])) && uint64(c) >= 64 -> (I64Const [0])\n (Lsh64x64 x y) -> (Select (I64Shl x y) (I64Const [0]) (I64LtU y (I64Const...
2020-01-24T01:45:54
rust-lang/rust
7306e2b10ff46c7d013e4698ff6b4541fd4bb8a0
0b4890851287f7552e25beb43ab67243a87a1ff4
Distinguish between "nothing to pull" and "pull error" in josh-sync
[ { "path": "src/doc/rustc-dev-guide/josh-sync/src/main.rs", "patch": "@@ -1,5 +1,5 @@\n use clap::Parser;\n-use crate::sync::GitSync;\n+use crate::sync::{GitSync, RustcPullError};\n \n mod sync;\n \n@@ -22,7 +22,18 @@ fn main() -> anyhow::Result<()> {\n let sync = GitSync::from_current_dir()?;\n matc...
2025-01-30T15:24:39
vuejs/vue
183bd43c3ee276aac9052a5eaae8b782cd99a095
962b778e109807c2da34025c9ca8f6ba08c48bbe
fix v-bind.prop parse (fix #4432) (#4435) * reset isProp value * add test case * update test case * fix typo
[ { "path": "src/compiler/parser/index.js", "patch": "@@ -414,6 +414,7 @@ function processAttrs (el) {\n if (bindRE.test(name)) { // v-bind\n name = name.replace(bindRE, '')\n value = parseFilters(value)\n+ isProp = false\n if (modifiers) {\n if (modifiers.prop) ...
2016-12-11T15:16:23
ggml-org/llama.cpp
fb1cab201c6c4cd36731f100df74eece2f4706fa
b7a17463ec190aeee7b9077c606c910fb4688b84
vulkan: fix warnings (#13626) * small fixes * remove ifdef
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -4513,6 +4513,8 @@ static vk_pipeline ggml_vk_guess_matmul_pipeline(ggml_backend_vk_context * ctx,\n return aligned ? mmp->a_m : mmp->m;\n }\n return aligned ? mmp->a_l : mmp->l;\n+\n+ GGML_UNUSED(src1_type);\n }\n \n static u...
2025-05-20T21:35:16
nodejs/node
0ecdf2934039b6e847aa3d1441e3ec235a70d125
ae5e65c72f8db904f1596ada76cd0e695a88f16d
errors: migrate lib/console Migrate console.js to use internal/errors.js. PR-URL: https://github.com/nodejs/node/pull/11340 Ref: https://github.com/nodejs/node/issues/11273 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -570,6 +570,13 @@ The `'ERR_ARG_NOT_ITERABLE'` error code is used generically to identify that an\n iterable argument (i.e. a value that works with `for...of` loops) is required,\n but not provided to a Node.js API.\n \n+<a id=\"ERR_CONSOLE_WRITABLE_STREAM\"></a>\...
2017-02-13T16:28:51
golang/go
60651a1bc8540d9144e69fc71065f4994dfb0bbc
6dd11bcb35cba37f5994c1b9aaaf7d2dc13fd7cf
cmd/compile: add rule location to some rulegen logging This requires threading location information through varCount. This provides much more useful error messages. Change-Id: If5ff942cbbbf386724eda15a523c181c137fac20 Reviewed-on: https://go-review.googlesource.com/c/go/+/216221 Run-TryBot: Josh Bleecher Snyder <jos...
[ { "path": "src/cmd/compile/internal/ssa/gen/rulegen.go", "patch": "@@ -945,13 +945,13 @@ func genBlockRewrite(rule Rule, arch arch, data blockData) *RuleRewrite {\n // genMatch returns the variable whose source position should be used for the\n // result (or \"\" if no opinion), and a boolean that reports w...
2020-01-22T17:59:24
rust-lang/rust
447539324a15b118d6d77a200445b41beb98742e
e6f12c8b7d8d5c821c32fb2739ea01d1d874c58a
Fix a typo in profile-guided-optimization.md It's either "profile-guided" or "profiled-guided" and I think it'sw the former. :)
[ { "path": "src/doc/rustc/src/profile-guided-optimization.md", "patch": "@@ -3,7 +3,7 @@\n `rustc` supports doing profile-guided optimization (PGO).\n This chapter describes what PGO is, what it is good for, and how it can be used.\n \n-## What Is Profiled-Guided Optimization?\n+## What Is Profile-Guided Opt...
2025-01-30T12:53:03
huggingface/transformers
ace74d16bd576476f57c490522063507daa6ee6a
5e09af2acde21f232a6ed2ad2972c8f2269dcecf
Add Nougat (#25942) * Add conversion script * Add NougatImageProcessor * Add crop margin * More improvements * Add docs, READMEs * Remove print statements * Include model_max_length * Add NougatTokenizerFast * Fix imports * Improve postprocessing * Improve image processor * Fix image p...
[ { "path": ".circleci/create_circleci_config.py", "patch": "@@ -466,13 +466,15 @@ def job_name(self):\n \"sudo apt install tesseract-ocr\",\n \"pip install -U --upgrade-strategy eager pytesseract\",\n \"pip install -U --upgrade-strategy eager natten\",\n- # TODO (ydshieh): Remo...
2023-09-26T05:06:04
vuejs/vue
962b778e109807c2da34025c9ca8f6ba08c48bbe
29d6e33b33a6199f15f574d6d9192176713718b6
More informative warning message for comp name (#4429) This commit adds a more informative warning message for invalid component names. Also fixes a typo. Closes #4428.
[ { "path": "src/core/global-api/extend.js", "patch": "@@ -28,7 +28,8 @@ export function initExtend (Vue: GlobalAPI) {\n if (!/^[a-zA-Z][\\w-]*$/.test(name)) {\n warn(\n 'Invalid component name: \"' + name + '\". Component names ' +\n- 'can only contain alphanumeric characater...
2016-12-09T17:51:13
ggml-org/llama.cpp
b7a17463ec190aeee7b9077c606c910fb4688b84
be0239693c1530a18496086331fc18d8a9adbad1
mtmd-helper : bug fix to token batching in mtmd (#13650) * Update mtmd-helper.cpp * Update tools/mtmd/mtmd-helper.cpp Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com> --------- Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com>
[ { "path": "tools/mtmd/mtmd-helper.cpp", "patch": "@@ -231,12 +231,14 @@ int32_t mtmd_helper_eval_chunk_single(mtmd_context * ctx,\n while (i < n_tokens) { // split into batches\n text_batch.n_tokens = 0; // clear the batch\n for (; i < n_tokens && text_batch.n_tokens < n_batc...
2025-05-20T16:55:30
nodejs/node
ae5e65c72f8db904f1596ada76cd0e695a88f16d
d64d36126604f012461181d7f53c05233056394e
src: fix InspectorStarted macro guard Currently the InspectorStarted function is guarded by the else clause of the NODE_USE_V8_PLATFORM macro. If node is configured --without-ssl then NODE_USE_V8_PLATFORM will be 1 but the nested HAVE_INSPECTOR macro will not be 0 which will lead to that there will be no InspectorStar...
[ { "path": "src/node.cc", "patch": "@@ -295,10 +295,13 @@ static struct {\n \"so event tracing is not available.\\n\");\n }\n void StopTracingAgent() {}\n+#endif // !NODE_USE_V8_PLATFORM\n+\n+#if !NODE_USE_V8_PLATFORM || !HAVE_INSPECTOR\n bool InspectorStarted(Environment *env) {\n...
2017-05-23T05:40:48
golang/go
0f7088ade502250a65402efde32c31f9c57f457b
2dfdd85c4f3a5ca1b127644e8c7c6b2ba5a89bca
cmd/compile: dump contents when rulegen generates invalid code It's much easier to debug when you can see the contents in order to interpret the error message. Change-Id: I03bbb9dd3071aeca9577cc725a60d43f78118cf4 Reviewed-on: https://go-review.googlesource.com/c/go/+/215717 Run-TryBot: Josh Bleecher Snyder <josharian...
[ { "path": "src/cmd/compile/internal/ssa/gen/rulegen.go", "patch": "@@ -22,6 +22,7 @@ import (\n \t\"go/printer\"\n \t\"go/token\"\n \t\"io\"\n+\t\"io/ioutil\"\n \t\"log\"\n \t\"os\"\n \t\"path\"\n@@ -264,7 +265,13 @@ func genRulesSuffix(arch arch, suff string) {\n \tfset := token.NewFileSet()\n \tfile, err ...
2020-01-21T20:23:20
huggingface/transformers
5e09af2acde21f232a6ed2ad2972c8f2269dcecf
033ec57c038bbc1a85a936196c9a63072088d221
🌐 [i18n-KO] Translated `audio_classification.mdx` to Korean (#26200) * 🌐 [i18n-KO] Translated to Korean * update translation * fix some sentence editing and fixing punctuation * Update docs/source/ko/_toctree.yml Co-authored-by: Wonhyeong Seo <wonhseo@kakao.com> * Apply suggestions from code review ...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -49,11 +49,11 @@\n title: 자연어처리\n isExpanded: false\n - sections:\n- - local: in_translation\n- title: (번역중) Audio classification\n+ - local: tasks/audio_classification\n+ title: 오디오 분류\n - local: tasks/asr\n ...
2023-09-25T17:24:45
ggml-org/llama.cpp
be0239693c1530a18496086331fc18d8a9adbad1
a4090d1174aed22dde5cacce2a4c27656b987a2f
model : fix llama4 graph (#13663) ggml-ci
[ { "path": "src/llama-model.cpp", "patch": "@@ -4803,8 +4803,21 @@ struct llm_build_llama_iswa : public llm_graph_context {\n ggml_tensor * ffn_inp = ggml_add(ctx0, cur, inpSA);\n cb(ffn_inp, \"ffn_inp\", il);\n \n- {\n- // llama4 MoE\n+ // feed-fo...
2025-05-20T16:21:04
nodejs/node
d64d36126604f012461181d7f53c05233056394e
d9ee297afb54a3991bffb67b56370cec58c6e2c8
test: check noop invocation with mustNotCall() In test-child-process-spawnsync-validation-errors, check that functions used inappropriately as options are not invoked. PR-URL: https://github.com/nodejs/node/pull/13205 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Review...
[ { "path": "test/parallel/test-child-process-spawnsync-validation-errors.js", "patch": "@@ -31,7 +31,7 @@ function fail(option, value, message) {\n fail('cwd', false, err);\n fail('cwd', [], err);\n fail('cwd', {}, err);\n- fail('cwd', common.noop, err);\n+ fail('cwd', common.mustNotCall(), err);\n }...
2017-05-24T20:16:12
huggingface/transformers
d9e4bc2895a818d7fb339254c07ce44b201d66d3
546e7679e7f692ebeefcfc5063cec271a55bae20
Update tiny model information and pipeline tests (#26285) * Update tiny model summary file * add to pipeline tests * revert * fix import * fix import * fix * fix * update * update * update * fix * remove BarkModelTest * fix --------- Co-authored-by: ydshieh <ydshieh@users.nore...
[ { "path": "src/transformers/models/auto/modeling_tf_auto.py", "patch": "@@ -362,6 +362,7 @@\n TF_MODEL_FOR_DOCUMENT_QUESTION_ANSWERING_MAPPING_NAMES = OrderedDict(\n [\n (\"layoutlm\", \"TFLayoutLMForQuestionAnswering\"),\n+ (\"layoutlmv3\", \"TFLayoutLMv3ForQuestionAnswering\"),\n ]\...
2023-09-25T16:08:12
vuejs/vue
612d32105a4ba1d636e8b617cbcb0a3e59919a9e
0163a6fe53cc17a69450f5c0ef0ac16308c1f5b6
fix transition v-show display toggle timing for enter hooks (fix #4418)
[ { "path": "src/platforms/web/runtime/directives/show.js", "patch": "@@ -14,22 +14,28 @@ export default {\n bind (el: any, { value }: VNodeDirective, vnode: VNodeWithData) {\n vnode = locateNode(vnode)\n const transition = vnode.data && vnode.data.transition\n+ const originalDisplay = el.__vOrig...
2016-12-08T21:54:09
golang/go
b28a07e75fc598d9b65c2049fae03caf3efc368e
6396bc9df705310c9e7848773154960b7c92978c
cmd/go: convert TestExecutableGOROOT to the script framework Part of converting all tests to the script framework, but also just working around flakiness when adding t.Parallel to TestExecutableGOROOT. Also, undo the changes to copyFile in golang.org/cl/220317 because they didn't help. Fixes #37306 Change-Id: I3348...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -2454,116 +2454,11 @@ func copyFile(src, dst string, perm os.FileMode) error {\n \t}\n \n \t_, err = io.Copy(df, sf)\n-\terr2 := df.Sync()\n-\terr3 := df.Close()\n+\terr2 := df.Close()\n \tif err != nil {\n \t\treturn err\n \t}\n-\tif err2 != nil {\n-\t\tretur...
2020-02-20T20:49:25
ggml-org/llama.cpp
c9c64dee572c5eedf073a6c6eb5d92d8283f7639
c00a2634bec49805c6b31438b1a6006a2bd793cb
Set GLM4 blk.*.attn_output.weight, kqv_out-* matmul to GGML_PREC_F32 to fix infinity values in output (#13639)
[ { "path": "src/llama-graph.cpp", "patch": "@@ -1368,6 +1368,10 @@ ggml_tensor * llm_graph_context::build_attn(\n \n if (wo) {\n cur = build_lora_mm(wo, cur);\n+ if (arch == LLM_ARCH_GLM4) {\n+ // GLM4 seems to have numerical issues with half-precision accumulators\n+ ...
2025-05-20T08:11:56
nodejs/node
d9ee297afb54a3991bffb67b56370cec58c6e2c8
2db655675caec32b7fedc5d75533c9eb6399322b
n-api: add napi_get_version Add napi_get_version function so that addons can query the level of N-API supported. PR-URL: https://github.com/nodejs/node/pull/13207 Fixes: https://github.com/nodejs/abi-stable-node/issues/231 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> R...
[ { "path": "doc/api/n-api.md", "patch": "@@ -2946,6 +2946,35 @@ the `complete` callback will be invoked with a status value of\n `napi_cancelled`. The work should not be deleted before the `complete`\n callback invocation, even if it has been successfully cancelled.\n \n+## Version Management\n+\n+### napi_g...
2017-05-24T20:58:03
vuejs/vue
0163a6fe53cc17a69450f5c0ef0ac16308c1f5b6
8567e7dcedfdf0d8fb21e2c2f7ee935229b6a9e9
proper fix for #4392 (via #4402)
[ { "path": "src/platforms/web/runtime/modules/dom-props.js", "patch": "@@ -1,6 +1,6 @@\n /* @flow */\n \n-import { extend } from 'shared/util'\n+import { extend, toNumber } from 'shared/util'\n \n function updateDOMProps (oldVnode: VNodeWithData, vnode: VNodeWithData) {\n if (!oldVnode.data.domProps && !vn...
2016-12-08T21:02:26