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
ec7fca8495528bda169c44ac660747bf2a8000a8
8bf5af8edf966e6fad8f260234519cf40ab0cde6
Fix multiple attr in select with undefined value (#4859) Fix #4855
[ { "path": "src/platforms/web/runtime/node-ops.js", "patch": "@@ -7,7 +7,8 @@ export function createElement (tagName: string, vnode: VNode): Element {\n if (tagName !== 'select') {\n return elm\n }\n- if (vnode.data && vnode.data.attrs && 'multiple' in vnode.data.attrs) {\n+ // false or null will r...
2017-02-06T16:58:36
rust-lang/rust
883ba246655f5eced8eb5ffc76ac50ab759b4eed
7ad8dba51321ad6c7cb7e1a3842274ccbef5ee6f
clarify apply_random_float_error logic
[ { "path": "src/tools/miri/src/math.rs", "patch": "@@ -3,18 +3,26 @@ use rand::distributions::Distribution as _;\n use rustc_apfloat::Float as _;\n use rustc_apfloat::ieee::IeeeFloat;\n \n-/// Disturbes a floating-point result by a relative error on the order of (-2^scale, 2^scale).\n+/// Disturbes a floatin...
2025-01-31T09:44:57
nodejs/node
8741e3c7501cbe66696bd3fad4a0a923e76ba11d
3e02636bcbf59517e25ad5dd2ebb954d5de95b81
async_hooks: use parent promise as triggerId async_hooks init callback will be triggered when promise newly created, in previous version, the parent promise which pass from chrome V8 PromiseHook is ignored, so we can't tell the promise is a pure new promise or a chained promise. In this commit, we use the parent prom...
[ { "path": "src/async-wrap.cc", "patch": "@@ -294,6 +294,23 @@ static void PromiseHook(PromiseHookType type, Local<Promise> promise,\n PromiseWrap* wrap = Unwrap<PromiseWrap>(promise);\n if (type == PromiseHookType::kInit || wrap == nullptr) {\n bool silent = type != PromiseHookType::kInit;\n+ // ...
2017-06-01T11:28:06
huggingface/transformers
af38c837ee4f73a24b0b1e230af97af2fbd9a892
8878eb1bd91aff414a00d65f27f72b3457df8043
Fixed inconsistency in several fast tokenizers (#26561)
[ { "path": "src/transformers/models/bert/tokenization_bert_fast.py", "patch": "@@ -265,7 +265,7 @@ def build_inputs_with_special_tokens(self, token_ids_0, token_ids_1=None):\n \"\"\"\n output = [self.cls_token_id] + token_ids_0 + [self.sep_token_id]\n \n- if token_ids_1:\n+ if t...
2023-10-06T08:40:47
golang/go
583419e5d2a893e369095355035f4ebb18bb85f8
8e2dad5529d250d548e87720741d20e88a1dfaf2
cmd/go/internal/{test,vet}: use a standard flag.FlagSet to parse flags This removes much of the complexity of the implementation and use of the cmd/go/internal/cmdflag package, and makes the behavior of GOFLAGS in 'go test' and 'go vet' more consistent with other subcommands. Some of the complexity reduction has been...
[ { "path": "doc/go1.15.html", "patch": "@@ -47,6 +47,17 @@ <h3 id=\"go-command\">Go command</h3>\n TODO\n </p>\n \n+<h4 id=\"go-flag-parsing\">Flag parsing</h4>\n+\n+<p><!-- https://golang.org/cl/211358 -->\n+ Various flag parsing issues in <code>go</code> <code>test</code> and\n+ <code>go</code> <code>vet...
2019-12-11T14:12:25
vuejs/vue
8bf5af8edf966e6fad8f260234519cf40ab0cde6
e853d1994dd87b14fd1577e1fc301c88333944c8
fix `addClass` utlil bug (#4863) * fix addClass util bug `<transition-group move-class=“ value with leading or trailing whitespace ” />` * fix addClass util bug `<transition-group move-class=“ value with leading or trailing whitespace ” />` * fix addClass util bug `<transition-group move-class=“ value w...
[ { "path": "src/platforms/web/runtime/class-util.js", "patch": "@@ -6,7 +6,7 @@\n */\n export function addClass (el: Element, cls: ?string) {\n /* istanbul ignore if */\n- if (!cls || !cls.trim()) {\n+ if (!cls || !(cls = cls.trim())) {\n return\n }\n \n@@ -31,7 +31,7 @@ export function addClass (...
2017-02-06T16:53:04
huggingface/transformers
75a33d60f25d99ff8cdd657d6ba685dc4336a0d1
18fbeec824c471659ad0430b28da96f1cbb3b469
Don't install `pytorch-quantization` in Doc Builder docker file (#26622) Fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "docker/transformers-doc-builder/Dockerfile", "patch": "@@ -11,7 +11,6 @@ RUN apt-get -y update && apt-get install -y libsndfile1-dev && apt install -y te\n RUN python3 -m pip install --no-cache-dir ./transformers[deepspeed]\n \n RUN python3 -m pip install --no-cache-dir torchvision git+https://gi...
2023-10-05T14:57:50
nodejs/node
3e02636bcbf59517e25ad5dd2ebb954d5de95b81
9b9a25c5eb5114fb834ec83e833ce991690109fd
async_hooks,http: fix socket reuse with Agent Under very specific circumstances the `http` implementation could be brought to crash, because the Agent did not re-assign the async id field properly after setting up a socket for reuse. Fixes: https://github.com/nodejs/node/issues/13325 PR-URL: https://github.com/nodejs...
[ { "path": "lib/_http_agent.js", "patch": "@@ -168,6 +168,7 @@ Agent.prototype.addRequest = function addRequest(req, options, port/*legacy*/,\n var socket = this.freeSockets[name].shift();\n // Assign the handle a new asyncId and run any init() hooks.\n socket._handle.asyncReset();\n+ socket[a...
2017-05-31T21:15:41
rust-lang/rust
88260f4ba4b0b9f86094bd1b2495c027bf959dbe
b5741a36a897dd93936d31ea0c1688f1399a2e06
bootstrap: only build `crt{begin,end}.o` when compiling to MUSL only MUSL needs those objects and trying to compile them to other targets, e.g. Windows or macOS, will produce C compilation errors check the target before shelling out to the C compiler and tweak `make_run` to skip the actual C compilation when the targ...
[ { "path": "src/bootstrap/src/core/build_steps/compile.rs", "patch": "@@ -339,7 +339,7 @@ fn copy_self_contained_objects(\n // to using gcc from a glibc-targeting toolchain for linking.\n // To do that we have to distribute musl startup objects as a part of Rust toolchain\n // and link with them ...
2025-01-21T17:00:04
vuejs/vue
b80f8ba5ab74d46bdebc68589b97d281197e1144
068095579b1349e883f508fd69793886ea415d5a
only map ssr stack trace if error is indeed an Error
[ { "path": "src/server/create-bundle-renderer.js", "patch": "@@ -50,7 +50,9 @@ export function createBundleRendererCreator (createRenderer: () => Renderer) {\n runInVm(entry, files, context).then(app => {\n renderer.renderToString(app, cb)\n }).catch(err => {\n- rewriteErro...
2017-01-30T18:42:18
golang/go
ba093c4562e7464e95a4bde6505d270b71ed623f
490bc6097abda7dc769635f1a7ef8557b8f6ba93
doc/articles/race_detector: mention memory leak potential As far as I can tell, there is no public documentation on this topic, which cost me several days of debugging. I am possibly unusual in that I run binaries in production with the race detector turned on, but I think that others who do the same may want to be a...
[ { "path": "doc/articles/race_detector.html", "patch": "@@ -395,3 +395,14 @@ <h2 id=\"Runtime_Overheads\">Runtime Overhead</h2>\n The cost of race detection varies by program, but for a typical program, memory\n usage may increase by 5-10x and execution time by 2-20x.\n </p>\n+\n+<p>\n+The race detector curr...
2020-02-24T04:45:51
huggingface/transformers
18fbeec824c471659ad0430b28da96f1cbb3b469
9d20601259b8da3d238f3bfcba4efa0a6fc34309
[docs] Update to scripts building index.md (#26546) * build the table in index.md with links to the model_doc * removed list generation on index.md * fixed missing models * make style
[ { "path": "utils/check_copies.py", "patch": "@@ -15,7 +15,7 @@\n \"\"\"\n Utility that checks whether the copies defined in the library match the original or not. This includes:\n - All code commented with `# Copied from` comments,\n-- The list of models in the main README.md matches the ones in the localiz...
2023-10-05T14:20:41
nodejs/node
fc102d0197037a9cec939c98c0b1fe7267a3483e
163c0780ead0e245d8ff2e68955b7e7a906399cd
doc: suggest xcode-select --install If you don't have the full Xcode installed, the command-line tools are all you need. PR-URL: https://github.com/nodejs/node/pull/13264 Fixes: https://github.com/nodejs/node/issues/6449 Refs: https://github.com/nodejs/node/pull/9215 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "BUILDING.md", "patch": "@@ -81,13 +81,12 @@ Prerequisites:\n * Python 2.6 or 2.7\n * GNU Make 3.81 or newer\n \n-On macOS, you will also need:\n-* [Xcode](https://developer.apple.com/xcode/download/)\n- - You also need to install the `Command Line Tools` via Xcode. You can find\n- this under ...
2017-05-28T10:57:35
ggml-org/llama.cpp
12d0188c0dc6146ffde6d277a93f232ccbe699f8
eb3949938e82a128855bc0676220bb2ce6e4228d
kv-cache : refactor + add llama_memory_state_i (#13746) * kv-cache : simplify the "struct llama_kv_cache" interface ggml-ci * kv-cache : revert the (n_swa + n_ubatch) change (for next PR) ggml-ci * kv-cache : some comments ggml-ci * context : fix graph reserve for multiple sequences ggml-ci * kv-cache : fix ty...
[ { "path": "examples/parallel/parallel.cpp", "patch": "@@ -362,15 +362,17 @@ int main(int argc, char ** argv) {\n // process in chunks of params.n_batch\n int32_t n_batch = params.n_batch;\n \n- for (int32_t i = 0; i < (int32_t) batch.n_tokens; i += n_batch) {\n+ int32_t i_next ...
2025-05-31T07:24:04
huggingface/transformers
9d20601259b8da3d238f3bfcba4efa0a6fc34309
9e78c9acfbf75c78a3e4f339c13ea38c50834414
Fix `transformers-pytorch-gpu` docker build (#26615) Fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "docker/transformers-pytorch-gpu/Dockerfile", "patch": "@@ -9,10 +9,9 @@ RUN python3 -m pip install --no-cache-dir --upgrade pip\n \n ARG REF=main\n RUN git clone https://github.com/huggingface/transformers && cd transformers && git checkout $REF\n-RUN python3 -m pip install --no-cache-dir -e ./tr...
2023-10-05T13:33:35
nodejs/node
78b135806f10c39c3bbd00edf206ddc9f505597e
1e44fd960fe38b1191ed9ceb034eade3054b5531
test: check destroy hooks are called before exit Verify that the destroy callback for a TCP server is called before exit if it is closed in another destroy callback. Fixes: https://github.com/nodejs/node/issues/13262 PR-URL: https://github.com/nodejs/node/pull/13369 Reviewed-By: Trevor Norris <trev.norris@gmail.com> ...
[ { "path": "test/parallel/test-async-hooks-close-during-destroy.js", "patch": "@@ -0,0 +1,37 @@\n+'use strict';\n+// Test that async ids that are added to the destroy queue while running a\n+// `destroy` callback are handled correctly.\n+\n+const common = require('../common');\n+const assert = require('asser...
2017-06-01T12:13:58
vuejs/vue
d57f9428140993d8b04a13e54ef06e195d31f195
d14bd641430d936867a5d289d513a37917a0deb6
fixed typo on line 15 (#4829)
[ { "path": "src/core/vdom/helpers/normalize-children.js", "patch": "@@ -12,7 +12,7 @@ import VNode, { createTextVNode } from 'core/vdom/vnode'\n \n // 1. When the children contains components - because a functional component\n // may return an Array instead of a single root. In this case, just a simple\n-// ...
2017-02-01T15:10:37
ggml-org/llama.cpp
eb3949938e82a128855bc0676220bb2ce6e4228d
e562eece7cb476276bfc4cbb18deb7c0369b2233
CUDA: add a prop in ggml_cuda_device_infor for distinguish iGPU or dGPU in cuda (#13856) (#13895) * 1. add "integrated" in ggml_cuda_device_info for distinguish whether it is Intergrate_gpu or discrete_gpu 2. Adjust the func:"ggml_backend_cuda_device_supports_buft" for this new feature * Update ggml/src/ggml-cuda/gg...
[ { "path": "ggml/src/ggml-cuda/common.cuh", "patch": "@@ -635,6 +635,7 @@ struct ggml_cuda_device_info {\n int nsm; // number of streaming multiprocessors\n size_t smpb; // max. shared memory per block\n size_t smpbo; // max. shared memo...
2025-05-31T06:48:04
golang/go
987e4e892325ea91a15a34f7a858ab007fea39c4
b2696fde403a5b059936ac6dd22b6ec9a899e084
Revert "Revert "cmd/go/internal/modload: record the replacement for the module containing package main in BuildInfo"" This reverts CL 220722. Reason for revert: rolling forward with fix. Fixes #37392 Change-Id: Iba8b0c645267777fbb7019976292d691a10b906a Reviewed-on: https://go-review.googlesource.com/c/go/+/220898 R...
[ { "path": "src/cmd/go/internal/modload/build.go", "patch": "@@ -207,6 +207,7 @@ func PackageBuildInfo(path string, deps []string) string {\n \tif isStandardImportPath(path) || !Enabled() {\n \t\treturn \"\"\n \t}\n+\n \ttarget := mustFindModule(path, path)\n \tmdeps := make(map[module.Version]bool)\n \tfor ...
2020-02-25T14:58:30
huggingface/transformers
0a3b9d02fed3170965d359ea31f7d26651858306
e6d250e4cdc1dc800ff7d4056a297a6219f44812
#26566 swin2 sr allow in out channels (#26568) * feat: close #26566, changed model & config files to accept arbitary in and out channels * updated docstrings * fix: linter error * fix: update Copy docstrings * fix: linter update * fix: rename num_channels_in to num_channels to prevent breaking changes ...
[ { "path": "src/transformers/models/swin2sr/configuration_swin2sr.py", "patch": "@@ -44,6 +44,8 @@ class Swin2SRConfig(PretrainedConfig):\n The size (resolution) of each patch.\n num_channels (`int`, *optional*, defaults to 3):\n The number of input channels.\n+ num_cha...
2023-10-05T13:20:38
vuejs/vue
e7083d09f1eec1d8853b65720f1a8c6e0f22836e
6cbee6b286f705a86bf5502c49f764fe2bd2d30e
fix scoped slots with dynamic slot names + force update for child components with scoped slots (fix #4779)
[ { "path": "flow/component.js", "patch": "@@ -104,6 +104,8 @@ declare interface Component {\n _b: (data: any, value: any, asProp?: boolean) => VNodeData;\n // check custom keyCode\n _k: (eventKeyCode: number, key: string, builtInAlias: number | Array<number> | void) => boolean;\n+ // resolve scoped sl...
2017-01-24T16:04:02
nodejs/node
1e44fd960fe38b1191ed9ceb034eade3054b5531
98aa25c765f50eab80f27750b9b7f82888af4c8c
async_wrap: run destroy in uv_timer_t Calling the destroy callbacks in a uv_idle_t causes a timing issue where if a handle or request is closed then the class isn't deleted until uv_close() callbacks are called (which happens after the poll phase). This results in some destroy callbacks not being called just before th...
[ { "path": "src/async-wrap.cc", "patch": "@@ -138,34 +138,32 @@ RetainedObjectInfo* WrapperInfo(uint16_t class_id, Local<Value> wrapper) {\n // end RetainedAsyncInfo\n \n \n-static void DestroyIdsCb(uv_idle_t* handle) {\n- uv_idle_stop(handle);\n-\n- Environment* env = Environment::from_destroy_ids_idle_ha...
2017-06-01T11:56:29
huggingface/transformers
e6d250e4cdc1dc800ff7d4056a297a6219f44812
19f0b7dd02c7ea7cbf86cc87fe00667470266722
[`core`] fix silent bug `keep_in_fp32` modules (#26589) * fix silent bug `keep_in_fp32` modules * final fix * added a common test. * Trigger CI * revert
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -693,7 +693,9 @@ def _load_state_dict_into_meta_model(\n if dtype is not None and torch.is_floating_point(param):\n if (\n keep_in_fp32_modules is not None\n- and any(module_to_keep_in_fp32 in par...
2023-10-05T12:44:31
golang/go
b2696fde403a5b059936ac6dd22b6ec9a899e084
185898064555ee55598c6496c264d2ded46ceca8
cmd/link: Revert -buildmode=pie to internal linking When internal linking was broken buildmode PIE is set to external linking. Now internal linking is fixed, -buildmode=pie can default to internal linking again. Fixes #35545 Change-Id: Iaf86b3047eb76babebc1545a79125586a7a3980e Reviewed-on: https://go-review.googleso...
[ { "path": "src/cmd/link/internal/ld/config.go", "patch": "@@ -244,7 +244,7 @@ func determineLinkMode(ctxt *Link) {\n \t\t\tctxt.LinkMode = LinkExternal\n \t\t\tvia = \"via GO_EXTLINK_ENABLED \"\n \t\tdefault:\n-\t\t\tif extNeeded || (iscgo && externalobj) || ctxt.BuildMode == BuildModePIE {\n+\t\t\tif extNe...
2019-11-19T12:22:55
rust-lang/rust
27454db7d156cf8b99d6d59145ae2a1b92368a49
7eefa7671f59dba13a15fd6255684aa19ee05f7d
Insert null checks for pointer dereferences when debug assertions are enabled Similar to how the alignment is already checked, this adds a check for null pointer dereferences in debug mode. It is implemented similarly to the alignment check as a MirPass. This is related to a 2025H1 project goal for better UB checks i...
[ { "path": "src/driver.rs", "patch": "@@ -166,6 +166,8 @@ impl rustc_driver::Callbacks for ClippyCallbacks {\n // MIR passes can be enabled / disabled separately, we should figure out, what passes to\n // use for Clippy.\n config.opts.unstable_opts.mir_opt_level = Some(0);\n+ c...
2024-12-17T13:00:22
ggml-org/llama.cpp
e562eece7cb476276bfc4cbb18deb7c0369b2233
b47ab7b8e9c4f6154eb6abb6234866ab117d64c7
CUDA: fix typo in FlashAttention code (#13926)
[ { "path": "ggml/src/ggml-cuda/fattn-mma-f16.cuh", "patch": "@@ -1246,7 +1246,7 @@ static __global__ void flash_attn_ext_f16(\n NO_DEVICE_CODE;\n return;\n }\n-#endif __CUDA_ARCH__ == GGML_CUDA_CC_TURING\n+#endif // __CUDA_ARCH__ == GGML_CUDA_CC_TURING\n \n static_assert(!mla || DKQ >...
2025-05-30T19:22:03
vuejs/vue
90a455c95ceb5d38e5a26b172e958232c25265d2
379695c9126fcc00ab7af1a663bd97f949b03ad1
fix replaced component root nodes losing parent scopeId (fix #4774)
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -260,9 +260,14 @@ export function createPatchFunction (backend) {\n // of going through the normal attribute patching process.\n function setScope (vnode) {\n let i\n- if (isDef(i = vnode.context) && isDef(i = i.$options._scopeId)) {\n- nodeOp...
2017-01-23T16:42:59
nodejs/node
98aa25c765f50eab80f27750b9b7f82888af4c8c
6cfdbc74d95c501d022b413cf024eb211d23c808
test: make test-fs-watchfile reliable Omitting AIX from `fs.watch()` portion of this test. It works on AIX, but not reliably. PR-URL: https://github.com/nodejs/node/pull/13385 Fixes: https://github.com/nodejs/node/issues/13377 Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Michael Dawson <michael_daw...
[ { "path": "test/parallel/test-fs-watchfile.js", "patch": "@@ -64,8 +64,9 @@ fs.watchFile(enoentFile, {interval: 0}, common.mustCall(function(curr, prev) {\n }\n }, 2));\n \n-// Watch events should callback with a filename on supported systems\n-if (common.isLinux || common.isOSX || common.isWindows || com...
2017-06-02T05:34:59
huggingface/transformers
54e17a15dc4fb4be329eb9aaf534a4c6e776d598
2ab76c2c4f1d095a69aa04b8feef8833a2fa03b0
Fix failing tests on `main` due to torch 2.1 (#26607) * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/hubert/test_modeling_hubert.py", "patch": "@@ -438,6 +438,9 @@ def test_initialization(self):\n \n # Hubert cannot be TorchScripted because of torch.nn.utils.weight_norm\n def _create_and_check_torch_fx_tracing(self, config, inputs_dict, output_loss=False):\n+ # TODO: ...
2023-10-05T08:27:05
golang/go
185898064555ee55598c6496c264d2ded46ceca8
2e8dbae85ce88d02f651e53338984288057f14cb
cmd/go: fix typo in comment fix CompiledGoFIles to CompiledGoFiles. Change-Id: I1f21c2254e716197cb65a877ba7468e3d7009c6f GitHub-Last-Rev: 177aa1a4962b3a70642c7761f9ab99723f22bc3e GitHub-Pull-Request: golang/go#37440 Reviewed-on: https://go-review.googlesource.com/c/go/+/220879 Reviewed-by: Bryan C. Mills <bcmills@goo...
[ { "path": "src/cmd/go/internal/work/action.go", "patch": "@@ -41,7 +41,7 @@ type Builder struct {\n \tIsCmdList bool // running as part of go list; set p.Stale and additional fields below\n \tNeedError bool // list needs p.Error\n \tNeedExport bool // list needs p.Export\n-\tNee...
2020-02-25T14:16:07
rust-lang/rust
77f3081f84f60b4ce4081dfc517b3d1fe061fef6
7b19e13d324ba932f3e887c1100d18e4e9b353dc
Insert null checks for pointer dereferences when debug assertions are enabled Similar to how the alignment is already checked, this adds a check for null pointer dereferences in debug mode. It is implemented similarly to the alignment check as a MirPass. This is related to a 2025H1 project goal for better UB checks i...
[ { "path": "src/base.rs", "patch": "@@ -417,6 +417,16 @@ fn codegen_fn_body(fx: &mut FunctionCx<'_, '_, '_>, start_block: Block) {\n Some(source_info.span),\n );\n }\n+ AssertKind::NullPointerDereference => {\n+ ...
2024-12-17T13:00:22
vuejs/vue
769c4dc2032251323c8f61ad8eba2c26c615a618
b1e66b489144ec31ad3d4f3298e3809f00d6c4e6
ensure mutating extended constructor options does not affect parent (fix #4767)
[ { "path": "src/core/instance/state.js", "patch": "@@ -39,12 +39,14 @@ const isReservedProp = { key: 1, ref: 1, slot: 1 }\n \n function initProps (vm: Component, props: Object) {\n const propsData = vm.$options.propsData || {}\n- const keys = vm.$options._propKeys = Object.keys(props)\n+ // cache prop ke...
2017-01-22T18:01:00
ggml-org/llama.cpp
53f925074de02c5304b00c14b4d6d8910c58667d
db38704f0133be7832123495fa8fc2601ea999d4
sync : vendor (#13901) * sync : vendor ggml-ci * cont : fix httplib version ggml-ci * cont : fix lint * cont : fix lint * vendor : move to common folder /vendor ggml-ci * cont : fix lint * cont : move httplib to /vendor + use json_fwd.hpp ggml-ci * cont : fix server build ggml-ci * cont : add missing head...
[ { "path": ".editorconfig", "patch": "@@ -49,6 +49,6 @@ charset = unset\n trim_trailing_whitespace = unset\n insert_final_newline = unset\n \n-[tools/mtmd/vendor/miniaudio.h]\n+[vendor/miniaudio/miniaudio.h]\n trim_trailing_whitespace = unset\n insert_final_newline = unset", "additions": 1, "deletion...
2025-05-30T13:25:45
nodejs/node
6cfdbc74d95c501d022b413cf024eb211d23c808
7b56fd8cf07202e022c6411f8a57bddfa2588f61
doc: fix code examples in zlib.md * Use test() instead of match() in boolean context. * Add spaces in code example. * Fix typo. PR-URL: https://github.com/nodejs/node/pull/13342 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michael Dawson <michael_dawson@ca...
[ { "path": "doc/api/zlib.md", "patch": "@@ -102,10 +102,10 @@ http.createServer((request, response) => {\n \n // Note: This is not a conformant accept-encoding parser.\n // See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3\n- if (acceptEncoding.match(/\\bdeflate\\b/)) {\n+ if (/\\bdefl...
2017-05-31T18:10:55
huggingface/transformers
2ab76c2c4f1d095a69aa04b8feef8833a2fa03b0
253f9a3f9716d08a81fb305fe71f983122eb608b
[Falcon] Set `use_cache=False` before creating `presents` which relies on `use_cache` (#26328) * Set `presents=None` when `use_cache` is set to False for activation ckpt * Update modeling_falcon.py * fix black
[ { "path": "src/transformers/models/falcon/modeling_falcon.py", "patch": "@@ -1094,6 +1094,12 @@ def forward(\n \n hidden_states = inputs_embeds\n \n+ if self.gradient_checkpointing and self.training:\n+ if use_cache:\n+ logger.warning(\n+ \"`use_ca...
2023-10-05T08:18:27
rust-lang/rust
b151b513ba2b65c7506ec1a80f2712bbd09154d1
851322b74db9ac91a1b9d206c5f80fc51a97f7c1
Insert null checks for pointer dereferences when debug assertions are enabled Similar to how the alignment is already checked, this adds a check for null pointer dereferences in debug mode. It is implemented similarly to the alignment check as a MirPass. This is related to a 2025H1 project goal for better UB checks i...
[ { "path": "compiler/rustc_codegen_cranelift/src/base.rs", "patch": "@@ -417,6 +417,16 @@ fn codegen_fn_body(fx: &mut FunctionCx<'_, '_, '_>, start_block: Block) {\n Some(source_info.span),\n );\n }\n+ AssertKind::Null...
2024-12-17T13:00:22
golang/go
2e8dbae85ce88d02f651e53338984288057f14cb
450d0b2f30e820f402a638799de0b886c1da8dbe
sync: add new Map method LoadAndDelete This CL implements a LoadAndDelete method in sync.Map. Benchmark: name time/op LoadAndDeleteBalanced/*sync_test.RWMutexMap-12 98.8ns ± 1% LoadAndDeleteBalanced/*sync.Map-12 10.3ns ±11% LoadAndDeleteUnique/*sync_test....
[ { "path": "api/next.txt", "patch": "@@ -1,2 +1,3 @@\n pkg testing, method (*T) Deadline() (time.Time, bool)\n pkg time, method (*Ticker) Reset(Duration)\n+pkg sync, method (*Map) LoadAndDelete(interface{}) (interface{}, bool)", "additions": 1, "deletions": 0, "language": "Plain Text" }, { ...
2019-11-08T10:23:58
vuejs/vue
938fa4efcc9bf6232bf5ace5920398dc2e128ac9
9e38abca3e6ababe0b06dfc9838a90e06ff5ea88
fix(sfc): component contains '<' only (#4753) * fix(sfc): component contains '<' only * update based on reviews
[ { "path": "src/compiler/parser/html-parser.js", "patch": "@@ -123,7 +123,7 @@ export function parseHTML (html, options) {\n }\n \n let text, rest, next\n- if (textEnd > 0) {\n+ if (textEnd >= 0) {\n rest = html.slice(textEnd)\n while (\n !endTag.test(rest) &&"...
2017-01-20T03:23:20
ggml-org/llama.cpp
db38704f0133be7832123495fa8fc2601ea999d4
07e4351ce663a7802b31f92fd7bc0e555c2044b6
convert : fix rwkv bos/eos token (#13844)
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -1047,6 +1047,10 @@ def _set_vocab_rwkv_world(self):\n special_vocab.chat_template = \"rwkv-world\"\n # hack: Add '\\n\\n' as the EOT token to make it chat normally\n special_vocab._set_special_token(\"eot\", 261)\n+ # hack: Over...
2025-05-30T12:50:43
huggingface/transformers
253f9a3f9716d08a81fb305fe71f983122eb608b
b4e66d7a67f6371f31fe573ac1fd8aa01cb68a93
[`GPTNeoX`] Faster rotary embedding for GPTNeoX (based on llama changes) (#25830) * Faster rotary embedding for GPTNeoX * there might be un-necessary moves from device * fixup * fix dtype issue * add copied from statements * fox copies * oupsy * add copied from Llama for scaled ones as well * f...
[ { "path": "src/transformers/models/deprecated/open_llama/modeling_open_llama.py", "patch": "@@ -186,11 +186,13 @@ def rotate_half(x):\n return torch.cat((-x2, x1), dim=-1)\n \n \n+# Copied from transformers.models.llama.modeling_llama.apply_rotary_pos_emb\n def apply_rotary_pos_emb(q, k, cos, sin, posit...
2023-10-05T08:05:39
nodejs/node
160989914261785c7e270e0716c647f6e85b4771
84c066a9ce9f30999591943fc62e42ad2466041a
errors,util: migrate to use internal/errors.js PR-URL: https://github.com/nodejs/node/pull/13293 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
[ { "path": "lib/util.js", "patch": "@@ -25,6 +25,7 @@ const uv = process.binding('uv');\n const Buffer = require('buffer').Buffer;\n const internalUtil = require('internal/util');\n const binding = process.binding('util');\n+const errors = require('internal/errors');\n \n const isError = internalUtil.isError...
2017-05-30T11:17:09
rust-lang/rust
a616fa565745e2b8e8e245826f9452eb4c6d1191
18d417fdcfc372dc81244169be19c581499091ec
update NLL `get_default` test for poloniuses - it still mentions AST borrowck - it tracks errors that shouldn't exist and are fixed by polonius
[ { "path": "tests/ui/nll/get_default.legacy.stderr", "patch": "@@ -0,0 +1,18 @@\n+error[E0502]: cannot borrow `*map` as mutable because it is also borrowed as immutable\n+ --> $DIR/get_default.rs:35:17\n+ |\n+LL | fn err(map: &mut Map) -> &String {\n+ | - let's call the lifetime of this refe...
2025-01-31T09:10:15
vuejs/vue
9e38abca3e6ababe0b06dfc9838a90e06ff5ea88
466e849c85e21521c9ede360f44b0b72be2acb22
Support select multiple binding (fix #4755) (#4756) * support select multiple binding * improve select onchange handle * update style
[ { "path": "src/platforms/web/compiler/directives/model.js", "patch": "@@ -163,13 +163,14 @@ function genSelect (\n }\n \n const number = modifiers && modifiers.number\n- const assignment = `Array.prototype.filter` +\n+ const selectedVal = `Array.prototype.filter` +\n `.call($event.target.options,f...
2017-01-19T18:36:19
golang/go
450d0b2f30e820f402a638799de0b886c1da8dbe
0d6b317ee6f232191eadee7ec8c1d4fe98458752
runtime: allow float syscall return values on windows amd64 RELNOTE=yes Fixes #37273 Change-Id: Iedb7eab185dfeccb1b26902ef36411d2c53ea3e0 GitHub-Last-Rev: bbe30ba45d4a1bd53757b5824ad28024d5e2b179 GitHub-Pull-Request: golang/go#37380 Reviewed-on: https://go-review.googlesource.com/c/go/+/220578 Run-TryBot: Alex Brainm...
[ { "path": "src/runtime/sys_windows_amd64.s", "patch": "@@ -62,6 +62,10 @@ loadregs:\n \t// Return result.\n \tPOPQ\tCX\n \tMOVQ\tAX, libcall_r1(CX)\n+\t// Floating point return values are returned in XMM0. Setting r2 to this\n+\t// value in case this call returned a floating point value. For details,\n+\t//...
2020-02-24T23:46:00
huggingface/transformers
b4e66d7a67f6371f31fe573ac1fd8aa01cb68a93
43bfd093e1817c0333a1e10fcbdd54f1032baad0
[ `NougatProcessor`] Fix the default channel (#26608) fix
[ { "path": "src/transformers/models/nougat/processing_nougat.py", "patch": "@@ -61,7 +61,7 @@ def __call__(\n do_normalize: bool = None,\n image_mean: Optional[Union[float, List[float]]] = None,\n image_std: Optional[Union[float, List[float]]] = None,\n- data_format: Optional[\...
2023-10-05T07:38:08
ggml-org/llama.cpp
07e4351ce663a7802b31f92fd7bc0e555c2044b6
291f2b6913c7ef8350dbf0e77da38f7af131a08e
convert : allow partial update to the chkhsh pre-tokenizer list (#13847) * convert : allow partial update to the chkhsh pre-tokenizer list * code style * update tokenizer out * rm inp/out files for models not having gguf * fixed hash for glm * skip nomic-bert-moe test * Update convert_hf_to_gguf_update.py * fix...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -674,12 +674,12 @@ def get_vocab_base_pre(self, tokenizer) -> str:\n if chkhsh == \"8aeee3860c56296a157a1fe2fad249ec40aa59b1bb5709f4ade11c4e6fe652ed\":\n # ref: https://huggingface.co/tiiuae/falcon-7b\n res = \"falcon\"\n- ...
2025-05-30T10:24:37
nodejs/node
d63ff232b2b86587271732e17ddb38c290ecfe77
a60d3ea8238c64f7816aa5fc786fedec4fd06db7
doc: add missing make command to UPGRADING.md Added the missing make command in steps 6.3 when building asm_obsolete. Also updated the commit message to include the version nasm in addition to the gcc version. Fixes: https://github.com/nodejs/node/issues/13161 PR-URL: https://github.com/nodejs/node/pull/13233 Review...
[ { "path": "deps/openssl/doc/UPGRADING.md", "patch": "@@ -346,13 +346,16 @@ ohtsu@ubuntu:~/github/node/deps/openssl/asm_obsolete$ make clean\n find . -iname '*.asm' -exec rm \"{}\" \\;\n find . -iname '*.s' -exec rm \"{}\" \\;\n find . -iname '*.S' -exec rm \"{}\" \\;\n+ohtsu@ubuntu:~/github/node/deps/openss...
2017-05-30T17:26:48
rust-lang/rust
a8fc140848ccd1700fb1a403ef6d12e646b1f556
6054a33bf2f9b03db0f4123aacdf4fe9a44dd20e
create context for errors and diagnostics for last borrowck phase
[ { "path": "compiler/rustc_borrowck/src/lib.rs", "patch": "@@ -198,7 +198,7 @@ fn do_mir_borrowck<'tcx>(\n polonius_output,\n opt_closure_req,\n nll_errors,\n- localized_outlives_constraints,\n+ polonius_diagnostics,\n } = nll::compute_regions(\n &infcx,\n ...
2025-01-30T10:37:40
vuejs/vue
458671b732c709999cbd1f0fa37d38215cab839b
d01104e1242c870de12592da88d2c4ffd0c9c0c2
handle include/exclude changing to non-valid types (fix #4749)
[ { "path": "src/core/components/keep-alive.js", "patch": "@@ -12,9 +12,10 @@ function getComponentName (opts: ?VNodeComponentOptions): ?string {\n function matches (pattern: string | RegExp, name: string): boolean {\n if (typeof pattern === 'string') {\n return pattern.split(',').indexOf(name) > -1\n- ...
2017-01-19T15:13:55
golang/go
2aa7c6c5488d3ef5d3eeb53488f74d39facd9301
0fb1a49c1ae0e9e587c74947d6d6c3fe92c161df
cmd/compile: don't allow NaNs in floating-point constant ops We store 32-bit floating point constants in a 64-bit field, by converting that 32-bit float to 64-bit float to store it, and convert it back to use it. That works for *almost* all floating-point constants. The exception is signaling NaNs. The round trip des...
[ { "path": "src/cmd/compile/internal/gc/float_test.go", "patch": "@@ -483,6 +483,66 @@ func TestFloat32StoreToLoadConstantFold(t *testing.T) {\n \t}\n }\n \n+// Signaling NaN values as constants.\n+const (\n+\tsnan32bits uint32 = 0x7f800001\n+\tsnan64bits uint64 = 0x7ff0000000000001\n+)\n+\n+// Signaling NaN...
2020-01-06T19:23:08
huggingface/transformers
43bfd093e1817c0333a1e10fcbdd54f1032baad0
2d8ee9817c0ad750b37e7fefef692a5c473b5770
add zh translation for installation (#26084) * translate installation to zh * fix translation typo
[ { "path": "docs/source/zh/_toctree.yml", "patch": "@@ -3,4 +3,6 @@\n title: 🤗 Transformers简介\n - local: quicktour\n title: 快速上手\n+ - local: installation\n+ title: 安装\n title: 开始使用\n\\ No newline at end of file", "additions": 2, "deletions": 0, "language": "YAML" }, { "pa...
2023-10-04T16:39:02
ggml-org/llama.cpp
291f2b6913c7ef8350dbf0e77da38f7af131a08e
2c90da4c7ec694797f524042aaafbb047a7e65ff
llama : add support for DistilBert (#13907) * add distilbert * small fixes * add note for LLM_ARCH_DISTIL_BERT * Use MODEL_ARCH.BERT for DistilBert --------- Co-authored-by: dinhhuy <huy.dinh@brains-tech.co.jp>
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -523,15 +523,15 @@ def set_gguf_parameters(self):\n self.gguf_writer.add_context_length(n_ctx)\n logger.info(f\"gguf: context length = {n_ctx}\")\n \n- if (n_embd := self.find_hparam([\"hidden_size\", \"n_embd\"], optional=True))...
2025-05-30T09:56:02
vuejs/vue
55c87aa2c5fbb40f94d8b1cc0f14bf07cf5a1885
1ec501ebbfe7cc51e6f84d3143c6e21eebb34699
fix multi-select test case bug detection in IE9
[ { "path": "test/unit/features/directives/model-select.spec.js", "patch": "@@ -6,10 +6,11 @@ import { looseEqual } from 'shared/util'\n function hasMultiSelectBug () {\n var s = document.createElement('select')\n s.setAttribute('multiple', '')\n- s.innerHTML = '<option>1</option>'\n- s.options[0].selec...
2017-01-16T23:39:06
nodejs/node
a60d3ea8238c64f7816aa5fc786fedec4fd06db7
34b79caf40045b8cbe58b29a0e107b4f64d3b887
deps: update openssl asm and asm_obsolete files Regenerate asm files with Makefile and CC=gcc and ASM=nasm where gcc version was 5.4.0 and nasm version was 2.11.08. Also asm files in asm_obsolete dir to support old compiler and assembler are regenerated without CC and ASM envs. Fixes: https://github.com/nodejs/node/...
[ { "path": "deps/openssl/asm/arm-void-gas/aes/bsaes-armv7.S", "patch": "@@ -1298,7 +1298,7 @@ bsaes_cbc_encrypt:\n \tvmov\tq4,q15\t\t@ just in case ensure that IV\n \tvmov\tq5,q0\t\t\t@ and input are preserved\n \tbl\tAES_decrypt\n-\tvld1.8\t{q0}, [r9,:64]\t\t@ load result\n+\tvld1.8\t{q0}, [r9]\t\t@ load re...
2017-06-01T16:20:34
huggingface/transformers
2d8ee9817c0ad750b37e7fefef692a5c473b5770
f9ab07f9209fe90389399b5f35bd625174f74de3
[Wav2Vec2] Fix tokenizer set lang (#26349) * fix wav2vec2 doctest * suggestion * fix * final fix * revert since we need AddedTokens
[ { "path": "src/transformers/models/wav2vec2/tokenization_wav2vec2.py", "patch": "@@ -206,14 +206,9 @@ def __init__(\n \n # make sure that tokens made of several\n # characters are not split at tokenization\n-\n- # TODO @ArthurZ add them or just update the trie?\n- unique_no_spl...
2023-10-04T16:12:09
golang/go
e0c3ded337e95ded40eb401e7d9e74716e3a445f
17f7c12eb9ee0df304eb7a48b3f29ec165a384be
os/exec: use environment variables for user token when present Builds upon the changes from #32000 which supported sourcing environment variables for a new process from the environment of a Windows user token when supplied. But due to the logic of os/exec, the Env field of a process was always non-nil when it reached...
[ { "path": "src/go/build/deps_test.go", "patch": "@@ -153,6 +153,7 @@ var pkgDeps = map[string][]string{\n \t\"internal/syscall/unix\": {\"L0\", \"syscall\"},\n \t\"internal/syscall/windows\": {\"L0\", \"syscall\", \"internal/syscall/windows/sysdll\", \"unicode/utf16\"},\n \t\"internal/s...
2020-02-25T00:11:28
ggml-org/llama.cpp
dd8ba93416f492c168f7e20f0b1434c08ebeaeb5
66c92061f5c34d2f9a630b7b50cca5ce3ebb4b16
ggml: aarch64: Implement SVE F32 kernels for Mamba Sequential Scan Algorithm (#13882) * F32-Mamba-Seq_Scan-SVE * Fix formatting * ggml : missing space --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
[ { "path": "ggml/src/ggml-cpu/ops.cpp", "patch": "@@ -7633,39 +7633,83 @@ static void ggml_compute_forward_ssm_scan_f32(\n const int ir1 = MIN(ir0 + dr, nr);\n const int ir = ir1 - ir0;\n \n- for (int i3 = 0; i3 < n_s; ++i3) {\n- for (int i2 = 0; i2 < n_t; ++i2) {\n- const float...
2025-05-29T09:18:43
vuejs/vue
1ec501ebbfe7cc51e6f84d3143c6e21eebb34699
85d6f115bb9adbc7fbba57d4fbb445daaad79b52
fix raf bind in IE9
[ { "path": "src/platforms/web/runtime/transition-util.js", "patch": "@@ -28,7 +28,10 @@ if (hasTransition) {\n }\n \n // binding to window is necessary to make hot reload work in IE in strict mode\n-const raf = (inBrowser && window.requestAnimationFrame.bind(window)) || setTimeout\n+const raf = inBrowser && ...
2017-01-16T23:10:53
nodejs/node
34b79caf40045b8cbe58b29a0e107b4f64d3b887
cfd01566a58180cb09097f5421aa83efe0e0a329
deps: update openssl config files Regenerate config files for supported platforms with Makefile. Fixes: https://github.com/nodejs/node/issues/13161 PR-URL: https://github.com/nodejs/node/pull/13233 Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Michael Dawson ...
[ { "path": "deps/openssl/config/archs/aix-gcc/opensslconf.h", "patch": "@@ -235,7 +235,7 @@ extern \"C\" {\n even newer MIPS CPU's, but at the moment one size fits all for\n optimization options. Older Sparc's work better with only UNROLL, but\n there's no way to tell at compile time what it is you...
2017-05-26T05:48:34
huggingface/transformers
ca7912d191cad41f3a212ce491736d9dc4cb812b
8b03615b7b937ff67d81d9a6b8b6c8c9cf6dcfd4
Fix encoder->decoder typo bug in convert_t5x_checkpoint_to_pytorch.py (#26587) Fix bug in convert_t5x_checkpoint_to_pytorch.py
[ { "path": "src/transformers/models/t5/convert_t5x_checkpoint_to_pytorch.py", "patch": "@@ -139,7 +139,7 @@ def convert_t5x_to_pytorch(variables: dict, *, num_layers: int, is_encoder_only:\n new[f\"decoder.block.{i}.layer.2.DenseReluDense.wi_0.weight\"] = wi[0].T\n new[f\"deco...
2023-10-04T15:34:32
vuejs/vue
85d6f115bb9adbc7fbba57d4fbb445daaad79b52
c66991d961469f70b9649813e8bf5eb2f231fead
ensure instance-unique keys for <transition> child nodes during pending node removal (fix #4702)
[ { "path": "src/platforms/web/runtime/components/transition.js", "patch": "@@ -127,9 +127,13 @@ export default {\n return placeholder(h, rawChild)\n }\n \n- const key = child.key = child.key == null || child.isStatic\n- ? `__v${child.tag + this._uid}__`\n- : child.key\n+ // ensure a...
2017-01-16T23:00:34
ggml-org/llama.cpp
1b8fb8152d0f3357a9c1d9b4c02f6cc5b9cb7232
53ae30640e131082d8d19bd80485b47c4553d551
ggml: aarch64: Implement SVE F32 kernels for vector functions (#13843) * F32-Mamba-SVE * F32-Mamba-SVE * Resolve test errors-1 * Resolve test errors-2 * F32-vec-SVE * F32-vec-SVE * F32-vec-SVE
[ { "path": "ggml/src/ggml-cpu/ops.cpp", "patch": "@@ -7641,8 +7641,8 @@ static void ggml_compute_forward_ssm_scan_f32(\n const float * A = (const float *) ((const char *) src3->data + ir0*(src3->nb[1])); // {d_state, d_inner}\n const float * B = (const float *) ((const char *) src4-...
2025-05-29T06:01:33
golang/go
4f074b58d2016eee2b63ffb668f6ed28156ecf62
28c501b7b3405cf2afa7b9a440c9fc835d5276a0
runtime/cgo: fix unsetenv wrapper The wrapper takes a pointer to the argument, not the argument itself. Fixes #36705 Change-Id: I566d4457d00bf5b84e4a8315a26516975f0d7e10 Reviewed-on: https://go-review.googlesource.com/c/go/+/215942 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.o...
[ { "path": "src/runtime/cgo/gcc_setenv.c", "patch": "@@ -20,9 +20,9 @@ x_cgo_setenv(char **arg)\n \n /* Stub for calling unsetenv */\n void\n-x_cgo_unsetenv(char *arg)\n+x_cgo_unsetenv(char **arg)\n {\n \t_cgo_tsan_acquire();\n-\tunsetenv(arg);\n+\tunsetenv(arg[0]);\n \t_cgo_tsan_release();\n }", "additi...
2020-01-23T04:48:21
nodejs/node
cfd01566a58180cb09097f5421aa83efe0e0a329
9cb1da765a5999ba4e52a4d0375cd74e5ec8d6d0
deps: add -no_rand_screen to openssl s_client In openssl s_client on Windows, RAND_screen() is invoked to initialize random state but it takes several seconds in each connection. This added -no_rand_screen to openssl s_client on Windows to skip RAND_screen() and gets a better performance in the unit test of test-tls-s...
[ { "path": "deps/openssl/openssl/apps/app_rand.c", "patch": "@@ -124,7 +124,16 @@ int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn)\n char buffer[200];\n \n #ifdef OPENSSL_SYS_WINDOWS\n- RAND_screen();\n+ /*\n+ * allocate 2 to dont_warn not to use RAND_screen() via\n+ * -n...
2015-05-27T01:33:38
huggingface/transformers
8b03615b7b937ff67d81d9a6b8b6c8c9cf6dcfd4
9deb18ca1a2266bc73c05468780b17b92e6a27e5
Fix embarrassing typo in the doc chat template! (#26596)
[ { "path": "docs/source/en/chat_templating.md", "patch": "@@ -222,7 +222,7 @@ If you like this one, here it is in one-liner form, ready to copy into your code\n handy support for \"generation prompts\" - see the next section for more!\n \n ```\n-tokenizer.chat_template = \"{% if not add_generation_prompt is ...
2023-10-04T15:28:53
vuejs/vue
c66991d961469f70b9649813e8bf5eb2f231fead
a23b22e91d9c26552b40939d2396bd2330225412
Fix hot reload in IE in strict mode (#4725) Following a fix for v1 at #4274 for issue #4465
[ { "path": "src/platforms/web/runtime/transition-util.js", "patch": "@@ -27,7 +27,8 @@ if (hasTransition) {\n }\n }\n \n-const raf = (inBrowser && window.requestAnimationFrame) || setTimeout\n+// binding to window is necessary to make hot reload work in IE in strict mode\n+const raf = (inBrowser && window....
2017-01-16T21:45:24
ggml-org/llama.cpp
53ae30640e131082d8d19bd80485b47c4553d551
763d06edb7dd5094ea58bad1d81e2e8d35033e34
gguf-py : fix SafetensorRemote return on undefined size (< 0) (#13841)
[ { "path": "gguf-py/gguf/utility.py", "patch": "@@ -231,7 +231,7 @@ def get_data_by_range(cls, url: str, start: int, size: int = -1) -> bytes:\n response.raise_for_status()\n \n # Get raw byte data\n- return response.content[:size]\n+ return response.content[slice(size if size >...
2025-05-28T21:50:20
golang/go
5c7dbf40e1e0af9d8fc4521e1ce7bd0afaa1f2c4
bc98e35b536785a2931f805458a0ff763c4b4b5e
misc/cgo/testshared: explicitly set GOBIN (instead of unsetting it) If GOBIN is set in the GOENV file, then merely unsetting it in the process environment is not sufficient. We can instead either set GOBIN explicitly, or disable GOENV explicitly. For now, we (semi-arbitrary) choose the former. Fixes #37390 Change-Id...
[ { "path": "misc/cgo/testshared/shared_test.go", "patch": "@@ -105,6 +105,8 @@ func testMain(m *testing.M) (int, error) {\n \t\tfmt.Printf(\"+ cd %s\\n\", modRoot)\n \t}\n \tos.Setenv(\"GOPATH\", gopath)\n+\t// Explicitly override GOBIN as well, in case it was set through a GOENV file.\n+\tos.Setenv(\"GOBIN\...
2020-02-24T18:58:29
nodejs/node
9cb1da765a5999ba4e52a4d0375cd74e5ec8d6d0
b8a03a3664490aae9c4eb7db477b258c037c7326
openssl: fix keypress requirement in apps on win32 Reapply b910613792dac946b295855963869933a9089044 . Fixes: https://github.com/iojs/io.js/issues/589 PR-URL: https://github.com/iojs/io.js/pull/1389 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
[ { "path": "deps/openssl/openssl/apps/s_client.c", "patch": "@@ -180,6 +180,13 @@ typedef unsigned int u_int;\n # include <fcntl.h>\n #endif\n \n+/* Use Windows API with STD_INPUT_HANDLE when checking for input?\n+ Don't look at OPENSSL_SYS_MSDOS for this, since it is always defined if\n+ OPENSSL_SYS_WIN...
2015-02-17T02:30:28
vuejs/vue
fe6a26bb9c689acba0ee2b5619c17eeb9426a871
ee6ad6af0e7d39f7f7b22bb5931045d748e03ca7
keep-alive: prune cache on include/exclude change, also avoid firing deactivate for already inactive components (fix #4633)
[ { "path": "src/core/components/keep-alive.js", "patch": "@@ -5,6 +5,10 @@ import { getFirstComponentChild } from 'core/vdom/helpers/index'\n \n const patternTypes = [String, RegExp]\n \n+function getComponentName (opts: ?VNodeComponentOptions): ?string {\n+ return opts && (opts.Ctor.options.name || opts.ta...
2017-01-13T23:54:35
huggingface/transformers
0a49f909bcbc38cfdea610d9a52b23728ef6ce1d
6015f91a5a28548a597f8d24341d089fe04994e8
[Mistral] Update config docstring (#26593) * fix copies * fix missing docstring * make style * oops
[ { "path": "src/transformers/models/mistral/configuration_mistral.py", "patch": "@@ -60,24 +60,29 @@ class MistralConfig(PretrainedConfig):\n paper](https://arxiv.org/pdf/2305.13245.pdf). If it is not specified, will default to `8`.\n hidden_act (`str` or `function`, *optional*, defaults ...
2023-10-04T15:02:34
ggml-org/llama.cpp
763d06edb7dd5094ea58bad1d81e2e8d35033e34
10961339b26bd2eff01d5479e8879f435da261b7
llama : fix KV shift for qwen2vl (#13870) * llama : fix KV shift for qwen2vl * add ref to the PR
[ { "path": "src/llama-graph.cpp", "patch": "@@ -455,7 +455,7 @@ llm_graph_context::llm_graph_context(const llm_graph_params & params) :\n }\n \n int64_t llm_graph_context::n_pos_per_embd() const {\n- return arch == LLM_ARCH_QWEN2VL ? 4 : 1;\n+ return hparams.rope_type == LLAMA_ROPE_TYPE_MROPE ? 4 :...
2025-05-28T20:35:31
golang/go
bc98e35b536785a2931f805458a0ff763c4b4b5e
e092fc352ad393a4d2f1f7fa641df2d23572ccff
cmd/compile: avoid memmove -> SSA move rewrite when size is negative We should panic in this situation. Rewriting to a SSA op just leads to a compiler panic. Fixes #36259 Change-Id: I6e0bccbed7dd0fdac7ebae76b98a211947947386 Reviewed-on: https://go-review.googlesource.com/c/go/+/212405 Run-TryBot: Keith Randall <khr@...
[ { "path": "src/cmd/compile/internal/ssa/gen/generic.rules", "patch": "@@ -1938,6 +1938,7 @@\n \n // Inline small or disjoint runtime.memmove calls with constant length.\n (StaticCall {sym} s1:(Store _ (Const(64|32) [sz]) s2:(Store _ src s3:(Store {t} _ dst mem))))\n+\t&& sz >= 0\n \t&& isSameSym(sym,\"runt...
2019-12-24T02:16:22
vuejs/vue
ee6ad6af0e7d39f7f7b22bb5931045d748e03ca7
1a1952ba81cf3580660122ff14254c10c3fda191
fix v-on .once on multiple elements (fix #4655)
[ { "path": "src/platforms/web/runtime/modules/events.js", "patch": "@@ -4,11 +4,17 @@ import { updateListeners } from 'core/vdom/helpers/index'\n \n let target: HTMLElement\n \n-function add (event: string, handler: Function, once: boolean, capture: boolean) {\n+function add (\n+ event: string,\n+ handler:...
2017-01-13T17:14:23
nodejs/node
b8a03a3664490aae9c4eb7db477b258c037c7326
025dc56872dd258039cdd2bf6fed4bd693f7b6b1
deps: fix asm build error of openssl in x86_win32 See https://mta.openssl.org/pipermail/openssl-dev/2015-February/000651.html iojs needs to stop using masm and move to nasm or yasm on Win32. Fixes: https://github.com/iojs/io.js/issues/589 PR-URL: https://github.com/iojs/io.js/pull/1389 Reviewed-By: Fedor Indutny <fe...
[ { "path": "deps/openssl/openssl/crypto/perlasm/x86masm.pl", "patch": "@@ -18,10 +18,10 @@ sub ::generic\n \n if ($opcode =~ /lea/ && @arg[1] =~ s/.*PTR\\s+(\\(.*\\))$/OFFSET $1/)\t# no []\n {\t$opcode=\"mov\";\t}\n- elsif ($opcode !~ /movq/)\n+ elsif ($opcode !~ /mov[dq]$/)\n {\t# fix xmm ...
2015-02-13T09:33:59
huggingface/transformers
6015f91a5a28548a597f8d24341d089fe04994e8
8b46c5bcfc56d3e5ae6409a0af64e2bf57229484
refactor: change default block_size (#26229) * refactor: change default block_size * fix: return tf to origin * fix: change files to origin * rebase * rebase * rebase * rebase * rebase * rebase * rebase * rebase * refactor: add min block_size to files * reformat: add min block_size ...
[ { "path": "examples/pytorch/language-modeling/run_clm.py", "patch": "@@ -497,13 +497,12 @@ def tokenize_function(examples):\n \n if data_args.block_size is None:\n block_size = tokenizer.model_max_length\n- if block_size > 1024:\n+ if block_size > config.max_position_embeddings:\n ...
2023-10-04T14:31:38
ggml-org/llama.cpp
10961339b26bd2eff01d5479e8879f435da261b7
d98f2a35fcf4a8d3e660ad48cd19e2a1f3d5b2ef
mtmd : move helpers to dedicated library (⚠️ breaking change) (#13866) * mtmd : move helpers to dedicated library * fix server build * rm leftover cmakelist code
[ { "path": ".editorconfig", "patch": "@@ -49,6 +49,6 @@ charset = unset\n trim_trailing_whitespace = unset\n insert_final_newline = unset\n \n-[tools/mtmd/miniaudio.h]\n+[tools/mtmd/vendor/miniaudio.h]\n trim_trailing_whitespace = unset\n insert_final_newline = unset", "additions": 1, "deletions": 1,...
2025-05-28T20:35:22
golang/go
e092fc352ad393a4d2f1f7fa641df2d23572ccff
363cd66d6049aa8199c1e89bcc8ce00915e5a429
cmd/go/internal/modload: record the replacement for the module containing package main in BuildInfo Fixes #37392 Change-Id: I2cb051e6f556b0af95e059611dda3f62e7c1f21a Reviewed-on: https://go-review.googlesource.com/c/go/+/220645 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.o...
[ { "path": "src/cmd/go/internal/modload/build.go", "patch": "@@ -207,6 +207,7 @@ func PackageBuildInfo(path string, deps []string) string {\n \tif isStandardImportPath(path) || !Enabled() {\n \t\treturn \"\"\n \t}\n+\n \ttarget := mustFindModule(path, path)\n \tmdeps := make(map[module.Version]bool)\n \tfor ...
2020-02-24T16:27:38
vuejs/vue
1a1952ba81cf3580660122ff14254c10c3fda191
08bd81f8c0bd39816b5b509c5132a12188b412d7
handle single -> array & array -> single event handler patching (fix #4650)
[ { "path": "src/core/vdom/helpers/update-listeners.js", "patch": "@@ -9,10 +9,12 @@ export function updateListeners (\n remove: Function,\n vm: Component\n ) {\n- let name, cur, old, fn, event, capture, once\n+ let name, cur, old, curIsArray, oldIsArray, fn, event, capture, once\n for (name in on) {\...
2017-01-13T16:49:49
nodejs/node
025dc56872dd258039cdd2bf6fed4bd693f7b6b1
51ed26e432ae4b62d3f965df920da4917848500a
deps: fix openssl assembly error on ia32 win32 `x86masm.pl` was mistakenly using .486 instruction set, why `cpuid` (and perhaps others) are requiring .686 . Fixes: https://github.com/iojs/io.js/issues/589 PR-URL: https://github.com/iojs/io.js/pull/1389 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Ben N...
[ { "path": "deps/openssl/openssl/crypto/perlasm/x86masm.pl", "patch": "@@ -82,7 +82,7 @@ sub ::file\n IF \\@Version LT 800\n ECHO MASM version 8.00 or later is strongly recommended.\n ENDIF\n-.486\n+.686\n .MODEL\tFLAT\n OPTION\tDOTNAME\n IF \\@Version LT 800", "additions": 1, "deletions": 1, "la...
2014-01-08T19:05:01
huggingface/transformers
8b46c5bcfc56d3e5ae6409a0af64e2bf57229484
03af4c42a624ea44b3325ff78151f499392dd617
Add add_generation_prompt argument to apply_chat_template (#26573) * Add add_generation_prompt argument to apply_chat_template * Add add_generation_prompt argument to apply_chat_template and update default templates * Fix typo * Add generation prompts section to chat templating guide * Add generation promp...
[ { "path": "docs/source/en/chat_templating.md", "patch": "@@ -218,10 +218,11 @@ input formats. Our default template for models that don't have a class-specific\n {% endfor %}\n ```\n \n-If you like this one, here it is in one-liner form, ready to copy into your code:\n+If you like this one, here it is in one...
2023-10-04T14:15:29
ggml-org/llama.cpp
e0e3aa231d899720c2864d09cdb89d4c400eeb55
aa6dff05be25709bb218bf648951d690029c4b19
llama : add support for BertForSequenceClassification reranker (#13858) * convert: add support for BertForSequenceClassification * add support for reranking using BertForSequenceClassification * merge checks of eos and sep * fix lint --------- Co-authored-by: dinhhuy <huy.dinh@brains-tech.co.jp>
[ { "path": "common/common.cpp", "patch": "@@ -903,13 +903,16 @@ struct common_init_result common_init_from_params(common_params & params) {\n ok = false;\n }\n \n- if (llama_vocab_eos(vocab) == LLAMA_TOKEN_NULL) {\n- LOG_WRN(\"%s: warning: vocab does not have an EOS toke...
2025-05-28T17:01:58
vuejs/vue
08bd81f8c0bd39816b5b509c5132a12188b412d7
f4f3a015309ce361aa9ccc675ff2bb6ad1f36dd6
fix #4530 with smaller change scope
[ { "path": "flow/compiler.js", "patch": "@@ -6,7 +6,7 @@ declare type CompilerOptions = {\n directives?: { [key: string]: Function }; // platform specific directives\n isUnaryTag?: (tag: string) => ?boolean; // check if a tag is unary for the platform\n isReservedTag?: (tag: string) => ?boolean; // che...
2017-01-13T02:41:23
golang/go
363cd66d6049aa8199c1e89bcc8ce00915e5a429
afd691c579198387c874512ef1c75db651dba9bd
cmd/compile: assign correct declaration line to DIE of captured vars Fixes the declaration line reported in the DW_AT_decl_line for variables captured in a closure. Fixes #36542 Change-Id: I228d32b57121fd62c4615c2ef71a6e8da616a1e2 Reviewed-on: https://go-review.googlesource.com/c/go/+/214637 Reviewed-by: Heschi Krei...
[ { "path": "src/cmd/compile/internal/gc/pgen.go", "patch": "@@ -426,24 +426,7 @@ func debuginfo(fnsym *obj.LSym, infosym *obj.LSym, curfn interface{}) ([]dwarf.S\n \n \tvar varScopes []ScopeID\n \tfor _, decl := range decls {\n-\t\tpos := decl.Pos\n-\t\tif decl.Name.Defn != nil && (decl.Name.Captured() || de...
2020-01-14T07:57:03
ggml-org/llama.cpp
c962ae3382a1e759c8517a229549ee53685313a1
a3938fb53d0b5183db4f5a6db21fd9122a0e4780
server: fix remove 'image_url'/'input_audio' json-object effectlly for 'llama_params' in multimodal-model-mode (#13853) [fix]: remove 'image_url'/'input_audio' effectlly for 'llama_params' in multimodal-model-mode
[ { "path": "tools/server/utils.hpp", "patch": "@@ -573,7 +573,7 @@ struct oaicompat_parser_options {\n \n // used by /chat/completions endpoint\n static json oaicompat_chat_params_parse(\n- const json & body, /* openai api json semantics */\n+ json & body, /* openai api json semantics */\n const oa...
2025-05-28T14:33:54
vuejs/vue
ab0a2259e0ef3f4ebdc8d0d4b929fae3e3f579d8
4e830ba3c3c92e78bf3ffbea82a583865deaa52a
Revert "also bind static special attrs as props (fix #4530)" This reverts commit b3ebfef91d72b301b85bce07c4ffad4f59bc73e2.
[ { "path": "src/compiler/parser/index.js", "patch": "@@ -477,15 +477,6 @@ 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...
2017-01-13T01:58:32
golang/go
afd691c579198387c874512ef1c75db651dba9bd
1c0d664128ed5f1d7c66afb69cb2d15064a1ba43
runtime: special case interface hashing for pointers Interfaces often contain pointers. Implement a fast path for this case. name old time/op new time/op delta MapInterfaceString-16 21.4ns ±19% 20.5ns ±10% ~ (p=0.361 n=10+10) MapInterfacePtr-16 25.8ns ± 8% 17.3ns ± 7% -33.11% (p=0...
[ { "path": "src/runtime/alg.go", "patch": "@@ -160,7 +160,15 @@ func nilinterhash(p unsafe.Pointer, h uintptr) uintptr {\n // maps generated by reflect.MapOf (reflect_typehash, below).\n func typehash(t *_type, p unsafe.Pointer, h uintptr) uintptr {\n \tif t.tflag&tflagRegularMemory != 0 {\n-\t\treturn memha...
2020-02-13T16:34:41
huggingface/transformers
03af4c42a624ea44b3325ff78151f499392dd617
122b2657f8f36dbfc8e742ca5ec13fa69138ec64
Docstring check (#26052) * Fix number of minimal calls to the Hub with peft integration * Alternate design * And this way? * Revert * Nits to fix * Add util * Print when changes are made * Add list to ignore * Add more rules * Manual fixes * deal with kwargs * deal with enum defaults ...
[ { "path": ".circleci/config.yml", "patch": "@@ -209,6 +209,7 @@ jobs:\n - run: make deps_table_check_updated\n - run: python utils/update_metadata.py --check-only\n - run: python utils/check_task_guides.py\n+ - run: python utils/check_docstrings.py\n \n workflo...
2023-10-04T13:13:37
ggml-org/llama.cpp
a3938fb53d0b5183db4f5a6db21fd9122a0e4780
f7873fc698c09047e2873630ab7e7730a0bfb224
convert : fix qwen omni conversion (#13859) * convert : fix qwen omni conversion * fix typo
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -423,19 +423,19 @@ def load_hparams(dir_model: Path):\n try:\n # for security reason, we don't allow loading remote code by default\n # if a model need remote code, we will fallback to config.json\n- return AutoConfig...
2025-05-28T14:12:35
vuejs/vue
bb426258a1e5892e49ed20076c972cb35164b85c
3549e73c032143854bd65c8fdca6a6299ed89e39
skip multiple select tests on Android 4.4 by detecting its bug
[ { "path": "build/karma.sauce.config.js", "patch": "@@ -64,10 +64,8 @@ var batches = [\n },\n sl_android_4_4: {\n base: 'SauceLabs',\n- browserName: 'Browser',\n- platform: 'Android',\n- version: '4.4',\n- device: 'Android Emulator'\n+ browserName: 'android',\n+ ve...
2017-01-13T00:36:07
golang/go
1c0d664128ed5f1d7c66afb69cb2d15064a1ba43
78a608d785215364d16459c35a14690784438b0e
doc/go1.14: remove draft notice Use consistent indentation for one of the paragraphs. Include issue number in the visible text, so it is easier to read. Fixes #36878 Change-Id: Iab857b26b1d27b0137e981126207089db108d530 Reviewed-on: https://go-review.googlesource.com/c/go/+/220646 Reviewed-by: Alexander Rakoczy <ale...
[ { "path": "doc/go1.14.html", "patch": "@@ -14,24 +14,24 @@\n main ul li { margin: 0.5em 0; }\n </style>\n \n-<h2 id=\"introduction\">DRAFT RELEASE NOTES — Introduction to Go 1.14</h2>\n+<h2 id=\"introduction\">Introduction to Go 1.14</h2>\n \n <p>\n- <strong>\n- Go 1.14 is not yet released. These are ...
2020-02-24T17:51:45
nodejs/node
51ed26e432ae4b62d3f965df920da4917848500a
bd4a53493b4d130e39955a2497995707666cffd4
deps: copy all openssl header files to include dir All symlink files in deps/openssl/openssl/include/openssl/ are removed and replaced with real header files to avoid issues on Windows. Two files of opensslconf.h in crypto and include dir are replaced to refer config/opensslconf.h. Fixes: https://github.com/nodejs/no...
[ { "path": "deps/openssl/openssl/crypto/opensslconf.h", "patch": "@@ -1,265 +1 @@\n-/* opensslconf.h */\n-/* WARNING: Generated automatically from opensslconf.h.in by Configure. */\n-\n-#ifdef __cplusplus\n-extern \"C\" {\n-#endif\n-/* OpenSSL was configured with the following options: */\n-#ifndef OPENSSL_...
2017-05-26T05:43:45
huggingface/transformers
2c7b26f5083becb429bdae4c919feca28fdf5699
57f44dc4288a3521bd700405ad41e90a4687abc0
🌐 [i18n-KO] Translated `semantic_segmentation.md` to Korean (#26515) * docs: ko: sementic_segmentation.md * feat: manual draft * fix: manual edits * fix: resolve suggestions Co-authored-by: Wonhyeong Seo <wonhseo@kakao.com> * fix: resolve suggestions Co-authored-by: Steven Liu <59462357+stevhliu@use...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -58,8 +58,8 @@\n - sections:\n - local: tasks/image_classification\n title: 이미지 분류\n- - local: in_translation\n- title: (번역중) Semantic segmentation\n+ - local: tasks/semantic_segmentation\n+ title: 의미적 분할(Semantic ...
2023-10-03T17:25:50
ggml-org/llama.cpp
a68247439bd6fb756cc93ad2817e55a02aa0b100
26b79b6cb3e7840ff15729350e95907e19f9f480
CUDA: fix FA tg at long context for CC >= 8.9 (#13852)
[ { "path": "ggml/src/ggml-cuda/fattn-common.cuh", "patch": "@@ -623,8 +623,8 @@ static __global__ void flash_attn_combine_results(\n __builtin_assume(tid < D);\n \n extern __shared__ float2 meta[];\n- if (tid < 2*parallel_blocks) {\n- ((float *) meta)[threadIdx.x] = ((const float *)VKQ_meta...
2025-05-28T11:33:37
vuejs/vue
3549e73c032143854bd65c8fdca6a6299ed89e39
79c1c7f0fe91981ae3c66556aa1990b48adb3310
Updated Android 4 SauceLabs configuration (#4672) * update sauce config for android SauceLabs has sunset all versions of Android 4 prior to 4.4, as they are modernizing their infrastructure: https://wiki.saucelabs.com/pages/viewpage.action?pageId=67012495 This means the previous Selendroid configuration must...
[ { "path": "build/karma.sauce.config.js", "patch": "@@ -62,10 +62,12 @@ var batches = [\n browserName: 'iphone',\n version: '9.3'\n },\n- sl_android_4_2: {\n+ sl_android_4_4: {\n base: 'SauceLabs',\n- browserName: 'android',\n- version: '4.2'\n+ browserName: 'Browse...
2017-01-12T23:45:43
vuejs/vue
104b9406899299e3e18284b6fe4707dc93c9813e
fe02bc3a27b3b33f9467980f61126edf97105287
handle component root patch edge case (transition + keep-alive + HOC) (fix #4590)
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -178,6 +178,23 @@ export function createPatchFunction (backend) {\n }\n }\n \n+ function initComponent (vnode, insertedVnodeQueue) {\n+ if (vnode.data.pendingInsert) {\n+ insertedVnodeQueue.push.apply(insertedVnodeQueue, vnode.data.pendingInser...
2017-01-12T23:25:20
ggml-org/llama.cpp
26b79b6cb3e7840ff15729350e95907e19f9f480
1e8659e65ad0f640674d2785d02b556ab938728c
convert : fix tensor naming conflict for llama 4 vision (#13836) * convert : fix tensor naming conflict for llama 4 vision * add comment
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -2169,6 +2169,9 @@ def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iter\n # process vision tensors\n if \"positional_embedding_vlm\" in name and \".weight\" not in name:\n name += \".weight\"\...
2025-05-28T08:05:54
golang/go
d243408ae5ec14131dfd83923d2c140325158c0d
3093959ee10f5c28211094e784c954f6a304b9c9
go/types: report correct argument types for make() built-in calls Change Checker.index to return the type and constant index value rather than just a boolean valid flag and the constant value. While at it, rename some variables and simplify the control flow. Adjust all uses of Checker.index to new signature. In code ...
[ { "path": "src/go/types/builtins.go", "patch": "@@ -441,10 +441,13 @@ func (check *Checker) builtin(x *operand, call *ast.CallExpr, id builtinId) (_ b\n \t\t\tcheck.errorf(call.Pos(), \"%v expects %d or %d arguments; found %d\", call, min, min+1, nargs)\n \t\t\treturn\n \t\t}\n+\t\ttypes := []Type{T}\n \t\t...
2020-02-23T21:36:46
huggingface/transformers
2aef9a96011133f6b399b598fd69cfeca936eb37
ae9a344cce52ff244f721425f660b55ebc522b88
[`PEFT`] Final fixes (#26559) * fix issues with PEFT * logger warning futurewarning issues * fixup * adapt from suggestions * oops * rm test
[ { "path": "src/transformers/integrations/peft.py", "patch": "@@ -12,6 +12,7 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n import inspect\n+import warnings\n from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union\n \n from ..utils ...
2023-10-03T12:53:09
vuejs/vue
b708c04988e99f17e821dc82fa33faaeb92dc4a6
7131bc48155fb5224f4d6f0fb1c4b7eed6a79db4
Update util.js (#4700) Typo fix
[ { "path": "src/shared/util.js", "patch": "@@ -82,7 +82,7 @@ export function cached<F: Function> (fn: F): F {\n }\n \n /**\n- * Camelize a hyphen-delmited string.\n+ * Camelize a hyphen-delimited string.\n */\n const camelizeRE = /-(\\w)/g\n export const camelize = cached((str: string): string => {", "a...
2017-01-12T13:43:04