repo stringclasses 15
values | fix_commit stringlengths 40 40 | buggy_commit stringlengths 40 40 | message stringlengths 3 64.3k | files listlengths 1 300 | timestamp timestamp[s]date 2013-03-13 20:45:00 2026-04-11 07:48:46 |
|---|---|---|---|---|---|
huggingface/transformers | 94af1c0aa242d60faa8e69acf3391b1e4fd0d4bc | 2818307e93c6e73837ca08c4f37864adb56651df | [generate] return Cache object even if passed in a legacy format (#35673)
* generate returns a Cache object by default
* fix tests
* fix test for encoder-decoder models | [
{
"path": "src/transformers/generation/utils.py",
"patch": "@@ -2111,9 +2111,6 @@ def generate(\n # - `model_kwargs` may be updated in place with a cache as defined by the parameters in `generation_config`.\n # - different models have a different cache name expected by the model (default = \... | 2025-01-16T17:06:24 |
vercel/next.js | ae0b9f3378d06542fd4cb85250f2fd240129a0d6 | 2f2f15ad8a8ad5a393091ad3528d3956c3b96c87 | fix error message description (#151) | [
{
"path": "crates/turbopack-core/src/issue/resolve.rs",
"patch": "@@ -49,7 +49,7 @@ impl Issue for ResolvingIssue {\n \"An error happened during resolving.\n Error message: {error}\n Parsed request as written in source code: {request}\n-Directory where resolving has started: {context}\n+Path... | 2022-10-21T11:00:23 |
nodejs/node | 2652ab3c4563b86ba73b8454b8ed56b36c3fbdd3 | 743341d185af4676badbf8d28fb1745d5d598177 | doc: Uint8Array support in Buffer functions
Buffer.from / new Buffer accept Uint8Array
Fixes: https://github.com/nodejs/node/issues/14118
PR-URL: https://github.com/nodejs/node/pull/19949
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Benjamin Gruen... | [
{
"path": "doc/api/buffer.md",
"patch": "@@ -6,9 +6,8 @@\n \n Prior to the introduction of [`TypedArray`], the JavaScript language had no\n mechanism for reading or manipulating streams of binary data. The `Buffer` class\n-was introduced as part of the Node.js API to make it possible to interact with\n-octe... | 2018-04-12T05:46:48 |
electron/electron | 73d467d657e0009ee70287673c43b024acad454c | 6908eecd0cb6c8274fffb0c141fa29db7eeb7a2f | Turn off C++ exceptions
We weren't using them anyway, and don't intend to. This matches Chromium. | [
{
"path": "brightray/brightray.gypi",
"patch": "@@ -16,6 +16,7 @@\n 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++11',\n 'CLANG_CXX_LIBRARY': 'libstdc++',\n 'COMBINE_HIDPI_IMAGES': 'YES',\n+ 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO',\n 'GCC_ENABLE_CPP_RTTI': 'NO',\n 'GCC_TREAT_WARNINGS_AS_... | 2013-04-26T18:13:45 |
golang/go | 7fc638d6f1679f2e35862555531bf479c3e5b99c | b3896fc331c36a539f825f1f656cef3f9cdffd3f | cmd: move GOEXPERIMENT knob from make.bash to cmd/go
This CL changes GOEXPERIMENT to act like other GO[CONFIG] environment
variables. Namely, that it can be set at make.bash time to provide a
default value used by the toolchain, but then can be manually set when
running either cmd/go or the individual tools (compiler,... | [
{
"path": "src/cmd/asm/internal/lex/input.go",
"patch": "@@ -45,6 +45,16 @@ func NewInput(name string) *Input {\n // predefine installs the macros set by the -D flag on the command line.\n func predefine(defines flags.MultiFlag) map[string]*Macro {\n \tmacros := make(map[string]*Macro)\n+\n+\tif *flags.Comp... | 2020-12-24T03:49:39 |
vercel/next.js | d1db10cd3796e700c675a37a601bc747c6e2e0b4 | b1caa9ec34c919295a31feb2a48fbb3e8d87c005 | Bugfixes for merged PRs (vercel/turbo#155) | [
{
"path": "packages/next-swc/crates/next-dev/benches/bundlers/turbopack.rs",
"patch": "@@ -79,7 +79,7 @@ impl Bundler for Turbopack {\n proc.stdout\n .as_mut()\n .ok_or_else(|| anyhow!(\"missing stdout\"))?,\n- Regex::new(\"server listening on: (.*)\")?... | 2022-10-21T10:44:40 |
nodejs/node | 53822f605d3171530ab820d71e8832f473479c27 | d718d539965246d1822010b622c2810cadfcd622 | doc: add flags section to document all flags
Adds a section at the very end to document all flags and links
to it from every function that takes a flag argument.
Fixes: https://github.com/nodejs/node/issues/16971
PR-URL: https://github.com/nodejs/node/pull/20042
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
R... | [
{
"path": "doc/api/fs.md",
"patch": "@@ -917,7 +917,7 @@ changes:\n * `options` {Object|string}\n * `encoding` {string|null} **Default:** `'utf8'`\n * `mode` {integer} **Default:** `0o666`\n- * `flag` {string} **Default:** `'a'`\n+ * `flag` {string} See [support of file system `flags`][]. **Default:**... | 2018-04-15T01:50:48 |
rust-lang/rust | 505521efd6f6d83e01d867cb8852178d47a39270 | 26eedd8f95476b185b88465f62981bc78230ebbc | Fix dyn compatibility code bypassing callable_item_signature query | [
{
"path": "src/tools/rust-analyzer/crates/hir-ty/src/db.rs",
"patch": "@@ -150,7 +150,7 @@ pub trait HirDatabase: DefDatabase + std::fmt::Debug {\n #[salsa::invoke_actual(crate::lower::field_types_query)]\n fn field_types(&self, var: VariantId) -> Arc<ArenaMap<LocalFieldId, Binders<Ty>>>;\n \n- #... | 2025-04-10T14:55:03 |
electron/electron | 94d7b383c5f73d17fd19b6a18c972b06704ed05e | 48878af0db76979d4677eacdaa3220bf83d24324 | Fix DCHECK() assertion in BrowserClient | [
{
"path": "brightray/browser/browser_client.cc",
"patch": "@@ -20,7 +20,8 @@ BrowserClient* BrowserClient::Get() {\n return g_browser_client;\n }\n \n-BrowserClient::BrowserClient() {\n+BrowserClient::BrowserClient()\n+ : browser_main_parts_() {\n DCHECK(!g_browser_client);\n g_browser_client = thi... | 2013-04-24T14:54:53 |
huggingface/transformers | 2818307e93c6e73837ca08c4f37864adb56651df | aaa969e97d028b27f49fcd2b5daf0efb90b4ea60 | [generate] can instantiate `GenerationConfig(cache_implementation="static")` (#35679)
fix failing instantiation | [
{
"path": "src/transformers/generation/configuration_utils.py",
"patch": "@@ -43,7 +43,7 @@\n \n logger = logging.get_logger(__name__)\n METADATA_FIELDS = (\"_from_model_config\", \"_commit_hash\", \"_original_object_hash\", \"transformers_version\")\n-NEEDS_CACHE_CONFIG = {}\n+CACHE_CONFIG_MAPPING = {}\n N... | 2025-01-16T17:04:54 |
golang/go | b3896fc331c36a539f825f1f656cef3f9cdffd3f | 4dd9c7cadcbe689ef607931ed839456509e59104 | net/http: revert change to generated file from CL 296152
This file is generated, so the fix needs to happen upstream.
The file can then be regenerated using 'go generate net/http'.
Updates #44143
Change-Id: I13a1e7677470ba84a06976e5bbe24f4ce1e7cfb2
Reviewed-on: https://go-review.googlesource.com/c/go/+/301069
Trust:... | [
{
"path": "src/net/http/socks_bundle.go",
"patch": "@@ -362,8 +362,6 @@ func (d *socksDialer) DialWithConn(ctx context.Context, c net.Conn, network, add\n // Unlike DialContext, it returns a raw transport connection instead\n // of a forward proxy connection.\n //\n-// Dial uses context.Background internall... | 2021-03-11T20:04:16 |
vercel/next.js | 2f2f15ad8a8ad5a393091ad3528d3956c3b96c87 | 013c8bca96deab7f55da57231e778ca4da71f3fb | Bugfixes for merged PRs (#155) | [
{
"path": "crates/next-dev/benches/bundlers/turbopack.rs",
"patch": "@@ -79,7 +79,7 @@ impl Bundler for Turbopack {\n proc.stdout\n .as_mut()\n .ok_or_else(|| anyhow!(\"missing stdout\"))?,\n- Regex::new(\"server listening on: (.*)\")?,\n+ Re... | 2022-10-21T10:44:40 |
huggingface/transformers | aaa969e97d028b27f49fcd2b5daf0efb90b4ea60 | 80dbbd103c217f422de91a3265bf6d8e8bc414f7 | Remove `pt_to_tf` (#35672)
* rm command
* remove exception | [
{
"path": "src/transformers/commands/pt_to_tf.py",
"patch": "@@ -1,137 +0,0 @@\n-# Copyright 2022 The HuggingFace Team. All rights reserved.\n-#\n-# Licensed under the Apache License, Version 2.0 (the \"License\");\n-# you may not use this file except in compliance with the License.\n-# You may obtain a cop... | 2025-01-16T17:03:37 |
golang/go | 1853411d8376570295711f9084d494d458822578 | bbf79793bdeda04d520377406024d7bb66aa62dc | testing/fstest: test that ReadDirFile on a non-dir fails
ReadDirFile implementations should return an error for non-directories.
Change-Id: I99888562cb6cf829017904ae8c1e8887a416c4cd
Reviewed-on: https://go-review.googlesource.com/c/go/+/296391
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Josh Bleeche... | [
{
"path": "src/testing/fstest/testfs.go",
"patch": "@@ -119,6 +119,9 @@ func (t *fsTester) openDir(dir string) fs.ReadDirFile {\n \t\tt.errorf(\"%s: Open: %v\", dir, err)\n \t\treturn nil\n \t}\n+\t// It'd be nice to test here that f.Read fails, because f is a directory.\n+\t// However, FreeBSD supports cal... | 2021-02-25T17:44:35 |
nodejs/node | d718d539965246d1822010b622c2810cadfcd622 | fda2b9aca9ae813ba9fdb3f2ed253edc0f264fdd | buffer: fix deprecation warning emit
Due to npm using workers on Windows which inititate processes
for code within node_modules, the current way of testing is a
little too strict to catch all occurrences.
PR-URL: https://github.com/nodejs/node/pull/20163
Fixes: https://github.com/nodejs/node/issues/20160
Reviewed-By:... | [
{
"path": "lib/internal/util.js",
"patch": "@@ -332,21 +332,8 @@ function spliceOne(list, index) {\n const kNodeModulesRE = /^(.*)[\\\\/]node_modules[\\\\/]/;\n \n let getStructuredStack;\n-let mainPrefix;\n \n function isInsideNodeModules() {\n- // Match the prefix of the main file, if it is inside a `nod... | 2018-04-20T10:00:35 |
rust-lang/rust | ff008f187742bdb51051fb0ee57b55d5f80616dc | baecfcd9fc26f624f9bb3a3f6ffdc0c796a3f204 | fix: Walk const block expressions for unsafety checking | [
{
"path": "src/tools/rust-analyzer/crates/hir-def/src/expr_store.rs",
"patch": "@@ -282,6 +282,9 @@ impl ExpressionStore {\n }\n }\n \n+ /// Walks the immediate children expressions and calls `f` for each child expression.\n+ ///\n+ /// Note that this does not walk const blocks.\n p... | 2025-04-10T13:56:31 |
vercel/next.js | bdc53ef65182810fbc65273d293fdc256c07b0c3 | 001a67dfd9240f2035fa814ff64cd69fc3a4261a | Root layout head not required (#41621)
Remove head as required in root layout.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature request or RFC. Make sure ... | [
{
"path": "packages/next/client/components/react-dev-overlay/internal/container/RootLayoutError.tsx",
"patch": "@@ -14,7 +14,7 @@ export type RootLayoutErrorProps = { missingTags: string[] }\n export const RootLayoutError: React.FC<RootLayoutErrorProps> =\n function BuildError({ missingTags }) {\n con... | 2022-10-21T09:12:27 |
huggingface/transformers | 80dbbd103c217f422de91a3265bf6d8e8bc414f7 | aeeceb99167ad95f5e1e55400ad894fe101c2e18 | 🧹 remove `generate`-related objects and methods scheduled for removal in v4.48 (#35677)
* remove things scheduled for removal
* make fixup | [
{
"path": "src/transformers/__init__.py",
"patch": "@@ -1377,7 +1377,6 @@\n \"LogitNormalization\",\n \"LogitsProcessor\",\n \"LogitsProcessorList\",\n- \"LogitsWarper\",\n \"MaxLengthCriteria\",\n \"MaxTimeCriteria\",\n \"Mi... | 2025-01-16T17:03:20 |
golang/go | 0a655598e150ee8ddd96573744c4b60735658f32 | f009b5b2268a7fcdfe046057cbf2a75306dbfc5e | cmd/link: fix glink resolver generation on ppc64le
AddSymRef grows the section to fit the relocation. This was not
being accounted for. Instead, add a relocation and explicitly
populate it so we patch the desired instructions.
Change-Id: I583147e2545aea34c854f9d35ca920c57be60b90
Reviewed-on: https://go-review.googles... | [
{
"path": "src/cmd/link/internal/ppc64/asm.go",
"patch": "@@ -1039,8 +1039,11 @@ func ensureglinkresolver(ctxt *ld.Link, ldr *loader.Loader) *loader.SymbolBuilde\n \tglink.AddUint32(ctxt.Arch, 0x7800f082) // srdi r0,r0,2\n \n \t// r11 = address of the first byte of the PLT\n-\tglink.AddSymRef(ctxt.Arch, ctx... | 2021-03-10T20:32:27 |
nodejs/node | 998e174ce18f348096d9dd62ed6b2f1737df2855 | 08577906569a4c2de70ad2a861e2f8456cd8fcdd | test: fix flaky http-server-keep-alive-timeout
Make sure the connection is not closed until the 3 requests and the
`timeout` event are received.
Some code refactoring to avoid duplicated code.
Fixes: https://github.com/nodejs/node/issues/20013
PR-URL: https://github.com/nodejs/node/pull/20093
Reviewed-By: Luigi Pinca... | [
{
"path": "test/parallel/test-http-server-keep-alive-timeout.js",
"patch": "@@ -18,15 +18,28 @@ function run() {\n if (fn) fn(run);\n }\n \n-test(function serverEndKeepAliveTimeoutWithPipeline(cb) {\n+function done(server, socket, cb) {\n+ socket.destroy();\n+ server.close(cb);\n+}\n+\n+function serverT... | 2018-04-17T08:48:29 |
vercel/next.js | 10f86c151effbf4234e3e3f830bd082671f65a4f | e0aaf46266f7b85a5c5575bb1d46d4ef41685aaa | Fix formatting | [
{
"path": "crates/swc-ast-explorer/src/main.rs",
"patch": "@@ -61,7 +61,11 @@ fn main() -> Result<()> {\n let alernate_ws = Regex::new(r\" {8}\").unwrap();\n let alternating = alernate_ws.replace_all(\n &stripped,\n- NoExpand(&format!(\"{}{}\", \" \".on_default_color(), \" \".on... | 2022-10-21T06:34:31 |
electron/electron | 0b2b9d371e52f88302f00d474e5542d167d6ec13 | 34c4d734af9f28ec51c4e3b259863519713e408b | Remembers all opened web frames.
There is a hack in WebKit to switch to the creation context of exception
when under node context, so we need to remember all window contexts.
Remove this when we have multi-context node. | [
{
"path": "renderer/atom_render_view_observer.cc",
"patch": "@@ -4,24 +4,74 @@\n \n #include \"renderer/atom_render_view_observer.h\"\n \n+#include <algorithm>\n+#include <vector>\n+\n #include \"common/node_bindings.h\"\n #include \"renderer/atom_renderer_client.h\"\n+#include \"third_party/WebKit/Source/W... | 2013-04-20T05:05:23 |
huggingface/transformers | 91be6a5eb21f42ed22c414fb9ebdd2e9f344f642 | 8ebe9d7166bfe5c4566997e7b19b10e44a10dc34 | Modular: support for importing functions from any file (#35692)
* fix function imports
* improve comment
* Update modeling_switch_function.py
* make checks more robust
* improvement
* rename
* final test update | [
{
"path": "examples/modular-transformers/modeling_add_function.py",
"patch": "@@ -0,0 +1,66 @@\n+# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨\n+# This file was automatically generated from examples/modular-transformers/modular_ad... | 2025-01-16T16:37:53 |
golang/go | 415ca3f1f0fa05a98561752e0787f59b77f19645 | 0fc370c5d26353a865a29a01f093942c949d530a | test: add test that caused a gofrontend internal error
For #44383
Change-Id: I3610105dad3574e210e226d3ba80a4ba5a7eeaa6
Reviewed-on: https://go-review.googlesource.com/c/go/+/300789
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewe... | [
{
"path": "test/fixedbugs/issue44383.go",
"patch": "@@ -0,0 +1,18 @@\n+// compile\n+\n+// Copyright 2021 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+// Issue 44383: gofrontend internal compiler error\n+... | 2021-03-11T03:35:22 |
nodejs/node | 08577906569a4c2de70ad2a861e2f8456cd8fcdd | 700344e388b57651c190222f570d658504b8c06f | stream: prevent 'end' to be emitted after 'error'
This PR adds _readableState.errorEmitted and add the tracking of it.
Fixes: https://github.com/nodejs/node/issues/6083
PR-URL: https://github.com/nodejs/node/pull/20104
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Rev... | [
{
"path": "lib/_stream_readable.js",
"patch": "@@ -99,6 +99,9 @@ function ReadableState(options, stream, isDuplex) {\n this.endEmitted = false;\n this.reading = false;\n \n+ // Flipped if an 'error' is emitted.\n+ this.errorEmitted = false;\n+\n // a flag to be able to tell if the event 'readable'/'... | 2018-04-17T15:24:22 |
rust-lang/rust | baecfcd9fc26f624f9bb3a3f6ffdc0c796a3f204 | 3fbcd684118ab263b9ae871b755b2aff98e974c6 | fix: Fix invalid signature bitflags | [
{
"path": "src/tools/rust-analyzer/crates/hir-def/src/expr_store/pretty.rs",
"patch": "@@ -157,7 +157,7 @@ pub(crate) fn print_struct(\n wln!(p, \"#[repr(pack({}))]\", pack.bytes());\n }\n }\n- if flags.contains(StructFlags::IS_FUNDAMENTAL) {\n+ if flags.contains(StructFlags::F... | 2025-04-10T13:38:50 |
vercel/next.js | 88d0a40a9693a85aa23a71b1aa7a540fefd88669 | 276c844152526189244ed029d27003d3a8c63ef9 | fix tests (vercel/turbo#143) | [
{
"path": "packages/next-swc/crates/next-dev/tests/package.json",
"patch": "@@ -4,7 +4,8 @@\n \"expect\": \"^24.5.0\",\n \"jest-circus-browser\": \"^1.0.7\",\n \"react\": \"^18.2.0\",\n+ \"react-dom\": \"^18.2.0\",\n \"react-test-renderer\": \"^18.2.0\",\n- \"styled-jsx\": \"^5.0.7\"\n... | 2022-10-21T00:28:46 |
huggingface/transformers | 1302c32a844d737154f21a553a7e54fbb41301e4 | 3292e96a4f588ea42e973f4355afffdda6506bee | Add proper jinja2 error (#35533)
* Cleanup jinja2 imports
* Raise a proper error if Jinja is missing
* make fixup | [
{
"path": "src/transformers/utils/chat_template_utils.py",
"patch": "@@ -362,6 +362,11 @@ def _render_with_assistant_indices(\n \n @lru_cache\n def _compile_jinja_template(chat_template):\n+ if not is_jinja_available():\n+ raise ImportError(\n+ \"apply_chat_template requires jinja2 to b... | 2025-01-16T15:31:11 |
electron/electron | b313d94a2f936b32a6213c65ea48de4926439c9c | 7da34e65f7f57115292440789eef9f0f5430a0a5 | Fix README. | [
{
"path": "README.md",
"patch": "@@ -6,9 +6,6 @@ Experimental native layer for the [Atom](https://github.com/github/atom).\n \n ### One-time setup\n \n-You must previously have built and uploaded libchromiumcontent using its\n-`script/upload` script.\n-\n $ script/bootstrap https://gh-contractor-zcbenz.... | 2013-04-15T16:26:43 |
golang/go | b8e9ec856c2b2d717ab14e85f43e00b532c4370a | 9ece63f0647ec34cc729ad71a87254193014dcca | syscall: use runtime.KeepAlive for ProcThreadAttributeList arguments
It turns out that if you write Go pointers to Go memory, the Go compiler
must be involved so that it generates various calls to the GC in the
process. Letting Windows write Go pointers to Go memory violated this.
So, we replace that with just a borin... | [
{
"path": "src/syscall/exec_windows.go",
"patch": "@@ -7,6 +7,7 @@\n package syscall\n \n import (\n+\t\"runtime\"\n \t\"sync\"\n \t\"unicode/utf16\"\n \t\"unsafe\"\n@@ -368,6 +369,8 @@ func StartProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, handle\n \t\treturn 0, 0, err\n \t}\n \tdefer Clo... | 2021-03-10T14:21:56 |
nodejs/node | 700344e388b57651c190222f570d658504b8c06f | 1b438a773764d72bbe4aea0e99359db97193e57d | console: fix class inheritance regression
Due to a return statement with new inside the function, extending
Console class does not work when passing in just the stdout arg.
PR-URL: https://github.com/nodejs/node/pull/20158
Fixes: https://github.com/nodejs/node/issues/20157
Reviewed-By: Anna Henningsen <anna@addaleax.... | [
{
"path": "lib/console.js",
"patch": "@@ -62,22 +62,21 @@ function Console(options /* or: stdout, stderr, ignoreErrors = true */) {\n return new Console(...arguments);\n }\n \n- let stdout, stderr, ignoreErrors, colorMode;\n- if (options && typeof options.write !== 'function') {\n- ({\n- std... | 2018-04-19T22:37:54 |
huggingface/transformers | 3292e96a4f588ea42e973f4355afffdda6506bee | 8b78d9d6e797bc842b4c1364105b7741371a729c | [generation] fix type hint (#35725)
fix type hint | [
{
"path": "src/transformers/generation/streamers.py",
"patch": "@@ -284,7 +284,7 @@ class AsyncTextIteratorStreamer(TextStreamer):\n \"\"\"\n \n def __init__(\n- self, tokenizer: \"AutoTokenizer\", skip_prompt: bool = False, timeout: float | None = None, **decode_kwargs\n+ self, tokeni... | 2025-01-16T15:09:59 |
electron/electron | 3c96007131aebdfbd8ffff9d24ed3d6a704d5424 | c6e62dcffd5bab3582b79b34b9b210a44d80d9db | Don't quit browser when get fatal js error. | [
{
"path": "browser/atom/atom.js",
"patch": "@@ -1 +1,7 @@\n-console.log(process.argv);\n+process.on('uncaughtException', function(error) {\n+ console.error('uncaughtException:');\n+ if (error.stack)\n+ console.error(error.stack);\n+ else\n+ console.error(error.name + ': ' + error.message);\n+});",
... | 2013-04-13T15:38:29 |
vercel/next.js | 24389154eb5e5f801cd6bea3965466e1bcd8839d | 1f4804270e067dfaa6f4c117780312235d6269e3 | fix tests (#143) | [
{
"path": "crates/next-dev/tests/package.json",
"patch": "@@ -4,7 +4,8 @@\n \"expect\": \"^24.5.0\",\n \"jest-circus-browser\": \"^1.0.7\",\n \"react\": \"^18.2.0\",\n+ \"react-dom\": \"^18.2.0\",\n \"react-test-renderer\": \"^18.2.0\",\n- \"styled-jsx\": \"^5.0.7\"\n+ \"styled-jsx\... | 2022-10-21T00:28:46 |
golang/go | 68f3344fe95dde95685b0d7fbbf74d13f3e9ee04 | fdded79e6e3256118af182b42714d4d56f2000b0 | cmd/compile: remove 8-byte alignment requirement of stack slot on ppc64
This CL applies CL 267999 to ppc64.
Fixes #42385
Change-Id: I6462d647d1abdf7cec99607c40ef4d1fed1941e5
Reviewed-on: https://go-review.googlesource.com/c/go/+/297770
Reviewed-by: eric fang <eric.fang@arm.com>
Reviewed-by: Cherry Zhang <cherryyz@go... | [
{
"path": "src/cmd/compile/internal/ssagen/pgen.go",
"patch": "@@ -19,7 +19,6 @@ import (\n \t\"cmd/internal/obj\"\n \t\"cmd/internal/objabi\"\n \t\"cmd/internal/src\"\n-\t\"cmd/internal/sys\"\n )\n \n // cmpstackvarlt reports whether the stack variable a sorts before b.\n@@ -133,9 +132,6 @@ func (s *ssafn)... | 2021-03-02T06:05:00 |
huggingface/transformers | 8b78d9d6e797bc842b4c1364105b7741371a729c | 2cbcc5877d664f1d227cac419531cd2a78ddbd4b | Fix the bug that `Trainer` cannot correctly call `torch_jit_model_eval` (#35722)
Fix the bug that the accelerator.autocast does not pass parameters correctly when calling torch_jit_model_eval (#35706) | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -230,6 +230,7 @@\n from accelerate import __version__ as accelerate_version\n from accelerate.state import AcceleratorState\n from accelerate.utils import (\n+ AutocastKwargs,\n DistributedDataParallelKwargs,\n Distribu... | 2025-01-16T14:53:37 |
nodejs/node | 1b438a773764d72bbe4aea0e99359db97193e57d | a456775efa9ea284dd1a1d37602699bfb5bbd561 | test: removes string literals from test-domain-timer.js
String literals from two `assert.strictEquals()` calls were
removed as these string literals did not match the value of
`e.message` when an `AssertionError` occurred. Now the default
error message is displayed when an error occurs.
PR-URL: https://github.com/nod... | [
{
"path": "test/parallel/test-domain-timers.js",
"patch": "@@ -27,8 +27,7 @@ const assert = require('assert');\n const timeoutd = domain.create();\n \n timeoutd.on('error', common.mustCall(function(e) {\n- assert.strictEqual(e.message, 'Timeout UNREFd',\n- 'Domain should catch timer err... | 2018-04-14T14:00:17 |
electron/electron | c6e62dcffd5bab3582b79b34b9b210a44d80d9db | 409228207caaf6873e3867f4121af1f8b84b2122 | Use node's error reporting system in browser. | [
{
"path": "common/node_bindings.cc",
"patch": "@@ -28,6 +28,9 @@ void NodeBindings::Initialize() {\n for (size_t i = 0; i < str_argv.size(); ++i)\n argv[i] = const_cast<char*>(str_argv[i].c_str());\n \n+ // Open node's error reporting system for browser process.\n+ node::g_standalone_mode = is_brows... | 2013-04-13T15:38:13 |
vercel/next.js | 276c844152526189244ed029d27003d3a8c63ef9 | d87b96bb49831088f069054ed8cdb1ec13df0985 | prettier fixes (vercel/turbo#41) | [
{
"path": "packages/next-swc/crates/next-dev/tests/integration/turbopack/basic/browser-alias-field/dir/indirect.js",
"patch": "@@ -1 +1 @@\n-export { default } from \"../node.js\"\n+export { default } from \"../node.js\";",
"additions": 1,
"deletions": 1,
"language": "JavaScript"
},
{
"p... | 2022-10-20T23:46:26 |
huggingface/transformers | 2cbcc5877d664f1d227cac419531cd2a78ddbd4b | fd4f14c968cf186a4dec325143cc89c10ca6dc5e | Fix condition when GA loss bug fix is not performed (#35651)
* fix condition when GA loss bug fix is not performed
* max loss diff is 2.29
* fix typo
* add an extra validation that loss should not vary too much | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -3672,10 +3672,7 @@ def training_step(\n return loss_mb.reduce_mean().detach().to(self.args.device)\n \n with self.compute_loss_context_manager():\n- if self.model_accepts_loss_kwargs:\n- loss = self.compute_... | 2025-01-16T12:59:53 |
golang/go | fdded79e6e3256118af182b42714d4d56f2000b0 | 1bad3831a0afe76d3403f564e89be6b76f8c6d98 | cmd/compile: fix handling of partially inferred type arguments
In the case of partially inferred type arguments, we need to use the
IndexExpr as the key in g.info.Inferred[] rather than the CallExpr.
Added an extra fromStrings1 call in the settable.go test that tests
partially inferred type arguments. This new call u... | [
{
"path": "src/cmd/compile/internal/noder/expr.go",
"patch": "@@ -96,7 +96,17 @@ func (g *irgen) expr0(typ types2.Type, expr syntax.Expr) ir.Node {\n \n \tcase *syntax.CallExpr:\n \t\tfun := g.expr(expr.Fun)\n-\t\tif inferred, ok := g.info.Inferred[expr]; ok && len(inferred.Targs) > 0 {\n+\n+\t\t// The key ... | 2021-03-10T02:24:51 |
nodejs/node | a456775efa9ea284dd1a1d37602699bfb5bbd561 | e32eddc550eb1aad8fe291a2808c22d1d6142aa5 | doc: fix inconsistency in documentation for building
Specifically, fix the inconsistency where the documentation
suggests running "$ make test" instead of "$ make -j4 test".
The "-j4" flag uses multiple processes, making the command
faster.
Fixes: https://github.com/nodejs/node/issues/19919
PR-URL: https://github.co... | [
{
"path": "BUILDING.md",
"patch": "@@ -179,10 +179,10 @@ If you are running tests prior to submitting a Pull Request, the recommended\n command is:\n \n ```console\n-$ make test\n+$ make -j4 test\n ```\n \n-`make test` does a full check on the codebase, including running linters and\n+`make -j4 test` does a... | 2018-04-17T00:46:25 |
electron/electron | f62b00eaac03eea6eee23e5459c40cef272753a6 | f5e74e1b651330bc68b3094a96fd880b6d502151 | Fix devtools. | [
{
"path": "browser/native_window.cc",
"patch": "@@ -83,7 +83,7 @@ void NativeWindow::ShowDevTools() {\n }\n \n void NativeWindow::CloseDevTools() {\n- // inspectable_web_contents()->CloseDevTools();\n+ inspectable_web_contents()->GetView()->CloseDevTools();\n }\n \n content::WebContents* NativeWindow::Get... | 2013-04-12T08:41:15 |
huggingface/transformers | fd4f14c968cf186a4dec325143cc89c10ca6dc5e | bef7dded22a2800908d034540d49837e9ef6fd39 | Fix: Falcon tie_word_embeddings in GGUF (#35715)
* fix falcon tie_word_embeddings
* fix style | [
{
"path": "src/transformers/modeling_gguf_pytorch_utils.py",
"patch": "@@ -400,8 +400,9 @@ def load_gguf_checkpoint(gguf_checkpoint_path, return_tensors=False, model_to_lo\n \n # Handle tie_word_embeddings, if lm_head.weight is not present in tensors,\n # tie_word_embeddings is true otherwise false\... | 2025-01-16T12:18:22 |
vercel/next.js | 1f4804270e067dfaa6f4c117780312235d6269e3 | 460070fb0ca3c7dff1d6bc37873e94fbd6af0c15 | prettier fixes (#41) | [
{
"path": ".editorconfig",
"patch": "@@ -18,20 +18,10 @@ indent_style = tab\n [{go.mod,go.sum,*.go}]\n indent_style = tab\n \n-[*.{md,mdx}]\n-insert_final_newline = true\n-\n-[*.html]\n-insert_final_newline = false\n-\n [nginx.conf]\n indent_size = 8\n \n-[*.svg]\n-insert_final_newline = false\n-\n-[LICENSE... | 2022-10-20T23:46:26 |
golang/go | aa26687e457d825fc9c580e8c029b768e0e70d38 | f9ed8b3f1e180d3cd8534897103683e8165df5f0 | runtime, time: disable preemption in addtimer
The timerpMask optimization updates a mask of Ps (potentially)
containing timers in pidleget / pidleput. For correctness, it depends on
the assumption that new timers can only be added to a P's own heap.
addtimer violates this assumption if it is preempted after computing... | [
{
"path": "src/runtime/time.go",
"patch": "@@ -263,13 +263,18 @@ func addtimer(t *timer) {\n \n \twhen := t.when\n \n+\t// Disable preemption while using pp to avoid changing another P's heap.\n+\tmp := acquirem()\n+\n \tpp := getg().m.p.ptr()\n \tlock(&pp.timersLock)\n \tcleantimers(pp)\n \tdoaddtimer(pp, ... | 2021-03-10T21:06:47 |
nodejs/node | e32eddc550eb1aad8fe291a2808c22d1d6142aa5 | 76f5b3966bc9bcc275728ce2317183272899272c | src: move v8::HandleScope call to Emit
Move v8::HandleScope call to Emit removing it from previous locations
where it was added to avoid crashing (constructor and destructor of
AsyncWrap) for a more general and fool-proof solution.
Ref: https://github.com/nodejs/node/pull/19972#issuecomment-381353894
PR-URL: https:/... | [
{
"path": "src/async_wrap-inl.h",
"patch": "@@ -50,15 +50,13 @@ inline AsyncWrap::AsyncScope::AsyncScope(AsyncWrap* wrap)\n Environment* env = wrap->env();\n if (env->async_hooks()->fields()[Environment::AsyncHooks::kBefore] == 0)\n return;\n- v8::HandleScope handle_scope(env->isolate());\n EmitB... | 2018-04-15T09:59:33 |
electron/electron | 881a203b571c6ce0a8359ca3a9f87a390948a2f2 | 90691e394fdfd0b7370a895b03e7a9b2bc845bbc | Fix double-delete of BrowserMainParts
The caller of BrowserClient::CreateBrowserMainParts handles destroying the
BrowserMainParts instance we return. | [
{
"path": "brightray/browser/browser_client.cc",
"patch": "@@ -24,8 +24,9 @@ BrowserMainParts* BrowserClient::OverrideCreateBrowserMainParts(const content::M\n }\n \n content::BrowserMainParts* BrowserClient::CreateBrowserMainParts(const content::MainFunctionParams& parameters) {\n- browser_main_parts_.res... | 2013-03-27T12:54:19 |
huggingface/transformers | 99e0ab6ed888136ea4877c6d8ab03690a1478363 | 12dfd99007dd803b3dfab5fe2ec66260b8007a23 | Fix typo in /docs/source/ja/model_doc/decision_transformer.md URL (#35705)
doc: Update original code repository URL | [
{
"path": "docs/source/ja/model_doc/decision_transformer.md",
"patch": "@@ -23,31 +23,28 @@ Lili Chen, Kevin Lu, Aravind Rajeswaran, Kimin Lee, Aditya Grover, Michael Laski\n \n 論文の要約は次のとおりです。\n \n-*強化学習(RL)をシーケンスモデリング問題として抽象化するフレームワークを紹介します。\n+_強化学習(RL)をシーケンスモデリング問題として抽象化するフレームワークを紹介します。\n これにより、Transforme... | 2025-01-15T15:36:50 |
vercel/next.js | 001a67dfd9240f2035fa814ff64cd69fc3a4261a | 75aab126a28a74e103cc292601993770d32563df | Add test fixture `e2e/app-dir/next-image` (#41609)
This PR adds a test fixture `e2e/app-dir/next-image` to ensure `next/image` works with the `app` dir. | [
{
"path": "test/e2e/app-dir/next-image.test.ts",
"patch": "@@ -0,0 +1,318 @@\n+import { createNext, FileRef } from 'e2e-utils'\n+import { NextInstance } from 'test/lib/next-modes/base'\n+import { fetchViaHTTP, renderViaHTTP } from 'next-test-utils'\n+import cheerio from 'cheerio'\n+import path from 'path'\n... | 2022-10-20T23:21:28 |
golang/go | c41bf9ee81e26d0fc0aca858a3d96d96be29ccba | 5ce51ea74177513b473e2da05d0e4e9b7affb3c4 | runtime: check partial lock ranking order
To ease readability we typically keep the partial order lists sorted by
rank. This isn't required for correctness, it just makes it (slightly)
easier to read the lists.
Currently we must notice out-of-order entries during code review, which
is an error-prone process.
Add a t... | [
{
"path": "src/runtime/export_test.go",
"patch": "@@ -46,6 +46,14 @@ var NetpollGenericInit = netpollGenericInit\n var Memmove = memmove\n var MemclrNoHeapPointers = memclrNoHeapPointers\n \n+var LockPartialOrder = lockPartialOrder\n+\n+type LockRank lockRank\n+\n+func (l LockRank) String() string {\n+\tret... | 2021-03-09T21:13:23 |
nodejs/node | 3d480dcf4c270cbf5a3acef08fc6b8d25576411b | bbdb4af0bd7abd9751e2d7bf85e7b535cb0802fa | http: fix _dump regression
A recent set of changes removed _consuming tracking from server
incoming messages which ensures that _dump only runs if the
user has never attempted to read the incoming data. Fix by
reintroducing _consuming which tracks whether _read was ever
successfully called.
PR-URL: https://github.com... | [
{
"path": "lib/_http_incoming.js",
"patch": "@@ -38,6 +38,8 @@ function readStop(socket) {\n function IncomingMessage(socket) {\n Stream.Readable.call(this);\n \n+ this._readableState.readingMore = true;\n+\n this.socket = socket;\n this.connection = socket;\n \n@@ -63,6 +65,7 @@ function IncomingMes... | 2018-04-16T22:45:43 |
electron/electron | 90691e394fdfd0b7370a895b03e7a9b2bc845bbc | 4fc0fed0810419ea71f9439570c89230c107c91a | Fix lifetime management of URLRequestContextGetter
I noticed this bug while adding persistent cookie storage. | [
{
"path": "brightray/browser/browser_context.cc",
"patch": "@@ -43,11 +43,11 @@ BrowserContext::~BrowserContext() {\n \n net::URLRequestContextGetter* BrowserContext::CreateRequestContext(content::ProtocolHandlerMap* protocol_handlers) {\n DCHECK(!url_request_getter_);\n- url_request_getter_.reset(new UR... | 2013-03-27T12:53:53 |
huggingface/transformers | 12dfd99007dd803b3dfab5fe2ec66260b8007a23 | 387663e571f0442feece6acf0c6016cc569cb4aa | Fix : Nemotron Processor in GGUF conversion (#35708)
* fixing nemotron processor
* make style | [
{
"path": "src/transformers/modeling_gguf_pytorch_utils.py",
"patch": "@@ -221,6 +221,17 @@ def process(self, weights, name, **kwargs):\n return GGUFTensor(weights, name, {})\n \n \n+class NemotronTensorProcessor(TensorProcessor):\n+ def __init__(self, config=None):\n+ super().__init__(con... | 2025-01-15T13:25:44 |
rust-lang/rust | ac4014bd2004811851caea3e81c22cbed7b92aa5 | 9d28fe39763974a96d61232e96ac856735e4cdd6 | Add minimal x86_64-lynx-lynxos178 support.
It's possible to build no_std programs with this compiler.
> A tier 3 target must have a designated developer or developers (the "target
maintainers") on record to be CCed when issues arise regarding the target. (The
mechanism to track and CC such developers may evolve over ... | [
{
"path": "compiler/rustc_target/src/spec/base/lynxos178.rs",
"patch": "@@ -0,0 +1,31 @@\n+use std::borrow::Cow;\n+\n+use crate::spec::{\n+ PanicStrategy, RelocModel, RelroLevel, SplitDebuginfo, StackProbeType, TargetOptions, cvs,\n+};\n+\n+pub(crate) fn opts() -> TargetOptions {\n+ TargetOptions {\n+... | 2025-01-23T00:05:26 |
vercel/next.js | d87b96bb49831088f069054ed8cdb1ec13df0985 | 3cb06901df892008f118954e43b48c5d7dabe77a | add postcss and tailwindcss to unimplemented files (vercel/turbo#137)
Note that this doesn't completely close out
[vercel/turbo#54](https://github.com/vercel/web-tooling-internal/issues/54) as the
[tailwindcss config is
optional](https://tailwindcss.com/docs/configuration). I'm digging
deeper at additional ways to... | [
{
"path": "packages/next-swc/crates/next-dev/src/lib.rs",
"patch": "@@ -162,7 +162,13 @@ async fn handle_issues<T: Into<RawVc>>(source: T, console_ui: ConsoleUiVc) -> Re\n }\n \n async fn handle_unimplemented_files(project_path: &FileSystemPathVc) -> Result<()> {\n- const UNIMPLEMENTED_FILES: [&str; 3] =... | 2022-10-20T23:03:17 |
golang/go | 5ce51ea74177513b473e2da05d0e4e9b7affb3c4 | d0b79e3513a29628f3599dc8860666b6eed75372 | flag: panic if flag name begins with - or contains =
Fixes #41792
Change-Id: I9b4aae8a899e3c3ac9532d27932d275cfb1fab48
GitHub-Last-Rev: f06b1e17674bf77bdc2d3e798df4c4379748c8d2
GitHub-Pull-Request: golang/go#42737
Reviewed-on: https://go-review.googlesource.com/c/go/+/271788
Reviewed-by: Emmanuel Odeke <emmanuel@orij... | [
{
"path": "src/flag/flag.go",
"patch": "@@ -857,17 +857,23 @@ func Func(name, usage string, fn func(string) error) {\n // of strings by giving the slice the methods of Value; in particular, Set would\n // decompose the comma-separated string into the slice.\n func (f *FlagSet) Var(value Value, name string, ... | 2021-03-10T12:55:56 |
nodejs/node | 2c23e31c317025f6064c194f8850a474f4b6bf53 | 7e269f52667104c94dcf65e527b04c2632d701bb | src: throw ERR_INVALID_ARG_TYPE in C++ argument checks
- Moves THROW_AND_RETURN_IF_NOT_BUFFER and
THROW_AND_RETURN_IF_NOT_STRING from node_crypto.cc to
node_errors.h so it can be reused.
- Move THROW_AND_RETURN_UNLESS_BUFFER in util.h to
node_buffer.cc and call THROW_AND_RETURN_IF_NOT_BUFFER
there. The only ot... | [
{
"path": "src/module_wrap.cc",
"patch": "@@ -4,6 +4,7 @@\n #include \"module_wrap.h\"\n \n #include \"env.h\"\n+#include \"node_errors.h\"\n #include \"node_url.h\"\n #include \"util-inl.h\"\n #include \"node_internals.h\"\n@@ -677,8 +678,8 @@ void ModuleWrap::Resolve(const FunctionCallbackInfo<Value>& arg... | 2018-04-16T14:58:19 |
electron/electron | 4fc0fed0810419ea71f9439570c89230c107c91a | 115eef52a323192f28baa389144df015d966d0e2 | Persist cookies to disk
We use Chrome's SQLitePersistentCookieStore to save cookies to a file called
"Cookies" within the application support directory.
Fixes #5. | [
{
"path": "brightray/browser/url_request_context_getter.cc",
"patch": "@@ -2,11 +2,12 @@\n // Use of this source code is governed by a BSD-style license that can be\n // found in the LICENSE-CHROMIUM file.\n \n-#include \"url_request_context_getter.h\"\n+#include \"browser/url_request_context_getter.h\"\n \... | 2013-03-27T12:53:35 |
huggingface/transformers | 387663e571f0442feece6acf0c6016cc569cb4aa | 615bf9c5e4ab29ff63be8d5ba49525d6e3d1b3a7 | Enable gptqmodel (#35012)
* gptqmodel
Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
* fix format
Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
* update readme
Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
* gptqmodel need use checkpoint_format (#1)
* gptqmodel need use checkpoint_fo... | [
{
"path": "docs/source/en/quantization/gptq.md",
"patch": "@@ -22,15 +22,42 @@ Try GPTQ quantization with PEFT in this [notebook](https://colab.research.google\n \n </Tip>\n \n-The [AutoGPTQ](https://github.com/PanQiWei/AutoGPTQ) library implements the GPTQ algorithm, a post-training quantization technique ... | 2025-01-15T13:22:49 |
golang/go | d0b79e3513a29628f3599dc8860666b6eed75372 | cd3b4ca9f20fd14187ed4cdfdee1a02ea87e5cd8 | encoding/xml: prevent infinite loop while decoding
This change properly handles a TokenReader which
returns an EOF in the middle of an open XML
element.
Thanks to Sam Whited for reporting this.
Fixes CVE-2021-27918
Fixes #44913
Change-Id: Id02a3f3def4a1b415fa2d9a8e3b373eb6cb0f433
Reviewed-on: https://team-review.gi... | [
{
"path": "src/encoding/xml/xml.go",
"patch": "@@ -271,7 +271,7 @@ func NewTokenDecoder(t TokenReader) *Decoder {\n // it will return an error.\n //\n // Token implements XML name spaces as described by\n-// https://www.w3.org/TR/REC-xml-names/. Each of the\n+// https://www.w3.org/TR/REC-xml-names/. Each o... | 2021-03-01T14:54:00 |
nodejs/node | 7e269f52667104c94dcf65e527b04c2632d701bb | 0f16528247b2b1dee1e5825d3fee17f0c00bd5e6 | src: migrate ERR_INDEX_OUT_OF_RANGE in C++
This patch migrates the "Index out of range" errors in C++
to errors with the code `ERR_INDEX_OUT_OF_RANGE` which have
equivalents in JavaScript.
PR-URL: https://github.com/nodejs/node/pull/20121
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Anna Henn... | [
{
"path": "src/node_buffer.cc",
"patch": "@@ -21,6 +21,7 @@\n \n #include \"node.h\"\n #include \"node_buffer.h\"\n+#include \"node_errors.h\"\n \n #include \"env-inl.h\"\n #include \"string_bytes.h\"\n@@ -38,7 +39,7 @@\n \n #define THROW_AND_RETURN_IF_OOB(r) \\\n ... | 2018-04-16T14:25:11 |
electron/electron | 909b3cd18f8eaae8394445c36a00218157ea081b | 4ca59ba27904c52b5c63b6533028cacdcb38a200 | Stop disabling the sandbox
Now that we have the resources bundle hooked up correctly, the sandbox
functions just fine.
Fixes #4. | [
{
"path": "brightray/common/main_delegate.cc",
"patch": "@@ -25,9 +25,6 @@ bool MainDelegate::BasicStartupComplete(int* exit_code) {\n }\n \n void MainDelegate::PreSandboxStartup() {\n- // FIXME: We don't currently support running sandboxed.\n- CommandLine::ForCurrentProcess()->AppendSwitch(switches::kNoS... | 2013-03-14T18:00:52 |
vercel/next.js | 460070fb0ca3c7dff1d6bc37873e94fbd6af0c15 | 744bc70fc6dfeb8ed6cd197de78a940c6e6cd673 | add postcss and tailwindcss to unimplemented files (#137)
Note that this doesn't completely close out
[#54](https://github.com/vercel/web-tooling-internal/issues/54) as the
[tailwindcss config is
optional](https://tailwindcss.com/docs/configuration). I'm digging
deeper at additional ways to detect tailwind, but pu... | [
{
"path": "crates/next-dev/src/lib.rs",
"patch": "@@ -162,7 +162,13 @@ async fn handle_issues<T: Into<RawVc>>(source: T, console_ui: ConsoleUiVc) -> Re\n }\n \n async fn handle_unimplemented_files(project_path: &FileSystemPathVc) -> Result<()> {\n- const UNIMPLEMENTED_FILES: [&str; 3] = [\"next.config.js... | 2022-10-20T23:03:17 |
golang/go | cd3b4ca9f20fd14187ed4cdfdee1a02ea87e5cd8 | 1811aeae66bee899317403c92c83b56673919775 | archive/zip: fix panic in Reader.Open
When operating on a Zip file that contains a file prefixed with "../",
Open(...) would cause a panic in toValidName when attempting to strip
the prefixed path components.
Fixes CVE-2021-27919
Fixes #44916
Change-Id: Ic755d8126cb0897e2cbbdacf572439c38dde7b35
Reviewed-on: https://... | [
{
"path": "src/archive/zip/reader.go",
"patch": "@@ -664,7 +664,7 @@ func toValidName(name string) string {\n \tif strings.HasPrefix(p, \"/\") {\n \t\tp = p[len(\"/\"):]\n \t}\n-\tfor strings.HasPrefix(name, \"../\") {\n+\tfor strings.HasPrefix(p, \"../\") {\n \t\tp = p[len(\"../\"):]\n \t}\n \treturn p",
... | 2021-03-02T18:00:53 |
nodejs/node | 61e287953964367202a5293cfaea05de412362d4 | ceab78f9d8738b0a0036aeb59fe973459cf529b2 | doc: add myself to list of TSC members
PR-URL: https://github.com/nodejs/node/pull/20132
Fixes: https://github.com/nodejs/TSC/issues/485
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gireesh Punathil <gpunathi@i... | [
{
"path": "README.md",
"patch": "@@ -264,6 +264,8 @@ For more information about the governance of the Node.js project, see\n **Michaël Zasso** <targos@protonmail.com> (he/him)\n * [thefourtheye](https://github.com/thefourtheye) -\n **Sakthipriyan Vairamani** <thechargingvolcano@gmail.com> (he/hi... | 2018-04-18T15:22:49 |
electron/electron | 561fc9a342f62edd1f56c9ad137c0dbdaa651dac | 4bff7a592aa50887eefdc81a158bc6c7e3ee95ea | Fix a NSSplitView leak | [
{
"path": "brightray/browser/mac/bry_inspectable_web_contents_view.mm",
"patch": "@@ -35,6 +35,7 @@ - (instancetype)initWithInspectableWebContentsViewMac:(InspectableWebContentsVie\n }\n \n - (void)dealloc {\n+ [_private->splitView release];\n [_private release];\n _private = nil;\n ",
"additions":... | 2013-03-14T17:06:58 |
golang/go | 1811aeae66bee899317403c92c83b56673919775 | 5edab39f490dd3cff7bf02101b2d37a90827fa6d | cmd/compile: deal with helper generic types that add methods to T
Deal with cases like: 'type P[T any] T' (used to add methods to an
arbitrary type T), In this case, P[T] has kind types.TTYPEPARAM (as does
T itself), but requires more code to substitute than a simple TTYPEPARAM
T. See the comment near the beginning o... | [
{
"path": "src/cmd/compile/internal/noder/stencil.go",
"patch": "@@ -553,7 +553,25 @@ func (subst *subster) typ(t *types.Type) *types.Type {\n \t\t\t\treturn subst.targs[i].Type()\n \t\t\t}\n \t\t}\n-\t\treturn t\n+\t\t// If t is a simple typeparam T, then t has the name/symbol 'T'\n+\t\t// and t.Underlying... | 2021-03-06T06:07:56 |
huggingface/transformers | 615bf9c5e4ab29ff63be8d5ba49525d6e3d1b3a7 | 09d5f76274b54673bc5eadcedfe008313baf27d9 | Add future import for Py < 3.10 (#35666)
* Add future import for Py < 3.10
* make fixup
* Same issue in convert_olmo2_weights_to_hf.py | [
{
"path": "src/transformers/generation/streamers.py",
"patch": "@@ -13,6 +13,8 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n \n+from __future__ import annotations\n+\n import asyncio\n from queue import Queue\n from typing import TYPE_CHECKIN... | 2025-01-15T12:45:43 |
nodejs/node | ceab78f9d8738b0a0036aeb59fe973459cf529b2 | 52491529ba940faa6d69b20bb5fe89ae3b3e137c | doc: fully document --experimental-repl-await
PR-URL: https://github.com/nodejs/node/pull/20133
Fixes: https://github.com/nodejs/node/pull/19604#issuecomment-382427090
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Uj... | [
{
"path": "doc/api/cli.md",
"patch": "@@ -74,6 +74,14 @@ added: v8.5.0\n Enable experimental ES module support and caching modules.\n \n \n+### `--experimental-repl-await`\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+Enable experimental top-level `await` keyword support in REPL.\n+\n+\n ### `--experimental-vm-... | 2018-04-18T15:50:35 |
electron/electron | b2a79856ef9cddc654f1cdc80912eddc2a5d401b | e1b5e5e1bfc82c950a14cdb3c0fb6bc92ecde17c | Add InspectableWebContents
This class can be used to create a content::WebContents that can be inspected
by the Chrome Dev Tools. This requires embedding applications to copy
content_shell.pak into their resource bundle.
Right now the dev tools are always docked to the bottom of the view; we don't
yet support undocki... | [
{
"path": "brightray/brightray.gyp",
"patch": "@@ -23,14 +23,30 @@\n 'browser/browser_main_parts.cc',\n 'browser/browser_main_parts.h',\n 'browser/browser_main_parts_mac.mm',\n+ 'browser/devtools_delegate.cc',\n+ 'browser/devtools_delegate.h',\n+ 'browser/devtool... | 2013-03-14T13:03:50 |
nodejs/node | 52491529ba940faa6d69b20bb5fe89ae3b3e137c | f565bbb193c90a974ad1500b86047b834d58606d | doc: fix misplaced entries in test/common doc
One entry is placed in the wrong module and other entries are not in
alphabetical order.
PR-URL: https://github.com/nodejs/node/pull/20117
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Richard Lau <r... | [
{
"path": "test/common/README.md",
"patch": "@@ -119,9 +119,6 @@ Tests whether `name`, `expected`, and `code` are part of a raised warning. If\n an expected warning does not have a code then `common.noWarnCode` can be used\n to indicate this.\n \n-### noWarnCode\n-See `common.expectWarning()` for usage.\n-\... | 2018-04-18T05:17:20 |
golang/go | 5edab39f490dd3cff7bf02101b2d37a90827fa6d | 489231111f2ef097e99b150232cc0c5323c9729e | cmd/gofmt: fix const association to avoid inaccurate comment
The const parseTypeParams was grouped with printer-related consts in
gofmt.go, implicitly suggesting that it must be kept in sync with
go/format/format.go.
Change-Id: Ia65dc15c27fef2c389f963071252adee32ec6bd6
Reviewed-on: https://go-review.googlesource.com/... | [
{
"path": "src/cmd/gofmt/gofmt.go",
"patch": "@@ -51,12 +51,12 @@ const (\n \t//\n \t// This value is defined in go/printer specifically for go/format and cmd/gofmt.\n \tprinterNormalizeNumbers = 1 << 30\n-\n-\t// parseTypeParams tells go/parser to parse type parameters. Must be kept in\n-\t// sync with go/... | 2021-03-10T16:33:23 |
huggingface/transformers | 09d5f76274b54673bc5eadcedfe008313baf27d9 | c61fcde910c34c983ec2c3da2ed41bba3601313f | Clean-up composite configs (#34603)
* remove manual assignment tie-word-embeddings
* remove another unused attribute
* fix tests
* fix tests
* remove unnecessary overwrites
* fix
* decoder=True
* clean pix2struct
* run-all
* forgot `_tied_weights_keys` when adding Emu3
* also Aria + fix-c... | [
{
"path": "examples/modular-transformers/modeling_new_task_model.py",
"patch": "@@ -249,9 +249,6 @@ def set_decoder(self, decoder):\n def get_decoder(self):\n return self.language_model.get_decoder()\n \n- def tie_weights(self):\n- return self.language_model.tie_weights()\n-\n def ... | 2025-01-15T09:04:07 |
electron/electron | e1b5e5e1bfc82c950a14cdb3c0fb6bc92ecde17c | 65dd011fa379d4c92248ed92f0d341444e40d0d7 | Store the disk cache in an app-specific location
We deduce the name of the application from the CFBundleName of the .app bundle
and use a path based on that. Similar logic should be implementable for other
platforms.
Fixes #3. | [
{
"path": "brightray/brightray.gyp",
"patch": "@@ -7,6 +7,7 @@\n 'target_name': 'brightray',\n 'type': 'static_library',\n 'include_dirs': [\n+ '.',\n '<(libchromiumcontent_include_dir)',\n ],\n 'direct_dependent_settings': {\n@@ -28,6 +29,8 @@\n 'browser... | 2013-03-13T20:45:00 |
vercel/next.js | 75aab126a28a74e103cc292601993770d32563df | 6bd789dad3bb01e2e7c8e2262bd09e8fe75812bb | remove next/future/image ref (#41610)
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implemen... | [
{
"path": "docs/basic-features/image-optimization.md",
"patch": "@@ -167,8 +167,6 @@ If none of the suggested methods works for sizing your images, the `next/image`\n \n ## Styling\n \n-> Note: Many of the styling issues listed below can be solved with [`next/future/image`](/docs/api-reference/next/future/i... | 2022-10-20T21:02:59 |
huggingface/transformers | a11041ffad285b13d578127cc304b90c2f12ce1f | df2a812e95bfb7482de66cd0e1ea1f557cde1c79 | Fix : add require_read_token for gemma2 gated model (#35687)
fix gemma2 gated model test | [
{
"path": "tests/quantization/ggml/test_ggml.py",
"patch": "@@ -18,6 +18,7 @@\n from transformers import AddedToken, AutoModelForCausalLM, AutoModelForSeq2SeqLM, AutoTokenizer\n from transformers.testing_utils import (\n require_gguf,\n+ require_read_token,\n require_torch_gpu,\n slow,\n ... | 2025-01-14T10:47:05 |
nodejs/node | f565bbb193c90a974ad1500b86047b834d58606d | be92eab92a185fdd954da85bc41ab85af0f16690 | test: remove message from strictEqual assertions
If values are not equals in strictEqual assertions, an AssertionError is
thrown with a message property set equals to the value of the message
parameter. If we pass a message, this message will be printed instead of
the default message, which contains the value that is ... | [
{
"path": "test/parallel/test-http-response-readable.js",
"patch": "@@ -31,10 +31,9 @@ const testServer = new http.Server(function(req, res) {\n \n testServer.listen(0, function() {\n http.get({ port: this.address().port }, function(res) {\n- assert.strictEqual(res.readable, true, 'res.readable initial... | 2018-04-16T07:30:45 |
golang/go | bc489dd6d5e8fdb6089b41b21e2cca1151a8a691 | 30c28bbf0507cba9219633192e02b68719ab8280 | runtime: update signature of reflectcall functions
reflectcall tail calls runtime.call{16,32,...} functions, so they
have the same signature as reflectcall. It is important for them
to have the correct arg map, because those functions, as well as
the function being reflectcall'd, could move the stack. When that
happen... | [
{
"path": "src/runtime/stubs.go",
"patch": "@@ -318,33 +318,34 @@ func return0()\n \n // in asm_*.s\n // not called directly; definitions here supply type information for traceback.\n-func call16(typ, fn, arg unsafe.Pointer, n, retoffset uint32)\n-func call32(typ, fn, arg unsafe.Pointer, n, retoffset uint32... | 2021-03-10T03:58:55 |
rust-lang/rust | 231918f56b346b1b3057bd3c37e2dc6070850ad6 | 8408e2810b5e670b6ae82b72e4e6770363e90f78 | fix: shadow type by module
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> | [
{
"path": "src/tools/rust-analyzer/crates/hir-def/src/resolver.rs",
"patch": "@@ -107,6 +107,12 @@ pub enum TypeNs {\n // ModuleId(ModuleId)\n }\n \n+#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]\n+pub enum ModuleOrTypeNs {\n+ ModuleNs(ModuleId),\n+ TypeNs(TypeNs),\n+}\n+\n #[derive(Debug, Cl... | 2025-03-27T06:59:20 |
vercel/next.js | 6bd789dad3bb01e2e7c8e2262bd09e8fe75812bb | 56b097a8fb0deb1be8af2b9523105a409716c596 | Fix missing JSON.stringify in loader (#41599)
We can't directly put `filePath` in the generated code as it can contain in valid JavaScript string such as `"\2"` in `"C:\Users\foo\2022\bar.js"`. Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Deprecated_octal
Reported issue in Next.... | [
{
"path": "packages/next/build/webpack/loaders/next-app-loader.ts",
"patch": "@@ -94,7 +94,7 @@ async function createTreeCodeFromPath({\n }\n return `${\n file === FILE_TYPES.layout\n- ? `layoutOrPagePath: '${filePath}',`\n+ ? `la... | 2022-10-20T18:41:25 |
huggingface/transformers | df2a812e95bfb7482de66cd0e1ea1f557cde1c79 | 050636518a8b19edb36eec76c9b7676571a115a5 | Fix expected output for ggml test (#35686)
fix expected output | [
{
"path": "tests/quantization/ggml/test_ggml.py",
"patch": "@@ -630,9 +630,9 @@ def test_falcon7b_q2_k(self):\n )\n \n text = tokenizer(self.example_text, return_tensors=\"pt\")[\"input_ids\"].to(torch_device)\n- out = model.generate(text, max_new_tokens=10)\n+ out = model.gene... | 2025-01-14T10:46:55 |
nodejs/node | 95fafc0254f6636b7c7546ac63599c79a7182fd9 | 4f2000f9fecbd7102403cc24b962f4e40994243a | http: fix undefined error in parser event
The current check for socket.server[kIncomingMessage] does not
account for the possibility of a socket.server that doesn't
have that property defined. Fix it.
PR-URL: https://github.com/nodejs/node/pull/20029
Fixes: https://github.com/nodejs/node/issues/19231
Reviewed-By: Ben... | [
{
"path": "lib/_http_common.js",
"patch": "@@ -62,7 +62,8 @@ function parserOnHeaders(headers, url) {\n function parserOnHeadersComplete(versionMajor, versionMinor, headers, method,\n url, statusCode, statusMessage, upgrade,\n shouldKeepAlive... | 2018-04-14T12:01:13 |
golang/go | 4d608eb224fe1ba8e8532fcc44f91702a5b17f9f | 643d240a11b2d00e1718b02719707af0708e7519 | testing: fix typo in a comment
Change-Id: I781808327be84113cd55c52bc214b821cd166114
Reviewed-on: https://go-review.googlesource.com/c/go/+/300269
Trust: fannie zhang <Fannie.Zhang@arm.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org> | [
{
"path": "src/testing/testing.go",
"patch": "@@ -388,7 +388,7 @@ type common struct {\n \tw io.Writer // For flushToParent.\n \tran bool // Test or benchmark (or one of its subtests) was executed.\n \tfailed bool // Test or benchmark has fai... | 2021-03-10T02:09:39 |
huggingface/transformers | 050636518a8b19edb36eec76c9b7676571a115a5 | 715fdd6459b37336ba79f90ffdd6f9adb8ee22a5 | Fix : HQQ config when hqq not available (#35655)
* fix
* make style
* adding require_hqq
* make style | [
{
"path": "src/transformers/testing_utils.py",
"patch": "@@ -87,6 +87,7 @@\n is_gguf_available,\n is_grokadamw_available,\n is_hadamard_available,\n+ is_hqq_available,\n is_ipex_available,\n is_jieba_available,\n is_jinja_available,\n@@ -1213,6 +1214,13 @@ def require_auto_gptq(te... | 2025-01-14T10:37:37 |
vercel/next.js | 56b097a8fb0deb1be8af2b9523105a409716c596 | 77ba4a867adecc737fe3a2517d0f9fd43c6c0032 | Updating size-adjust calculation (#41406)
<!--
Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change that you're making:
## Bug
- [ ] Rela... | [
{
"path": "packages/font/src/local/loader.ts",
"patch": "@@ -6,7 +6,7 @@ import fontFromBuffer from '@next/font/dist/fontkit'\n import type { AdjustFontFallback, FontLoader } from 'next/font'\n \n import { promisify } from 'util'\n-import { validateData } from './utils'\n+import { calcAzWidth, validateData ... | 2022-10-20T17:58:26 |
golang/go | 643d240a11b2d00e1718b02719707af0708e7519 | d33e2192a71c33a604af247161ba1d2c1969e4c7 | internal/poll: implement a pipe pool for splice() call
In scenarios where splice() is called, splice() is usually called not just once, but many times,
which means that a lot of pipes will be created and destroyed frequently, costing an amount of system resources
and slowing down performance, thus I suggest that we ad... | [
{
"path": "src/internal/poll/export_linux_test.go",
"patch": "@@ -0,0 +1,22 @@\n+// Copyright 2021 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+// Export guts for testing on linux.\n+// Since testing imp... | 2020-11-19T11:09:14 |
nodejs/node | 4f2000f9fecbd7102403cc24b962f4e40994243a | 734eb17e5d19145c4c5a696aa94e81c9655272f5 | timers: call destroy on interval error
When an interval callback throws an error, the destroy
hook is never called due to a faulty if condition.
PR-URL: https://github.com/nodejs/node/pull/20001
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: M... | [
{
"path": "lib/timers.js",
"patch": "@@ -292,7 +292,7 @@ function tryOnTimeout(timer, start) {\n if (timerAsyncId !== null) {\n if (!threw)\n emitAfter(timerAsyncId);\n- if (!timer._repeat && destroyHooksExist() &&\n+ if ((threw || !timer._repeat) && destroyHooksExist() &&\n ... | 2018-04-13T08:37:28 |
rust-lang/rust | df0873e888a2f4c89f8aefbea0d58c2804abc508 | d711d0a19a834fc4aa31946bf86d86f8eb8569f0 | Fix a small bug with catastrophic effects
The tiny bug was that `FnFlags::DEPRECTAED_SAFE_2024` and `FnFlags::RUSTC_ALLOW_INCOHERENT_IMPLS` were assigned the same value.
The catastrophic effect was that every function marked as `#[rustc_allow_incoherent_impl]` was considered safe-deprecated for edition 2024, which ... | [
{
"path": "src/tools/rust-analyzer/crates/hir-def/src/signatures.rs",
"patch": "@@ -503,7 +503,7 @@ bitflags! {\n /// it if needed.\n const HAS_TARGET_FEATURE = 1 << 8;\n const DEPRECATED_SAFE_2024 = 1 << 9;\n- const RUSTC_ALLOW_INCOHERENT_IMPLS = 1 << 9;\n+ const RUSTC... | 2025-04-10T06:37:37 |
huggingface/transformers | 4b8d1f7fca7b3f043ddaf375b7c1417064b120c5 | 34f76bb62b915b43617aa88557aea97840e163f0 | Fix : adding einops lib in the CI docker for some bitsandbytes tests (#35652)
* fix docker
* fix | [
{
"path": "docker/transformers-all-latest-gpu/Dockerfile",
"patch": "@@ -65,6 +65,9 @@ RUN python3 -m pip install --no-cache-dir python-Levenshtein\n # For `FastSpeech2ConformerTokenizer` tokenizer\n RUN python3 -m pip install --no-cache-dir g2p-en\n \n+# For Some bitsandbytes tests\n+RUN python3 -m pip ins... | 2025-01-14T06:36:10 |
vercel/next.js | 77ba4a867adecc737fe3a2517d0f9fd43c6c0032 | 138a7bfda2934526a8556aa6313997cae72fb64a | Font loader types (#41591)
Make local and google font loaders more similar. Both should define `weight: string` and `style: string`.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an... | [
{
"path": "packages/font/src/google/loader.ts",
"patch": "@@ -130,7 +130,7 @@ const downloadGoogleFonts: FontLoader = async ({\n return {\n css: updatedCssResponse,\n fallbackFonts: fallback,\n- weight: weight === 'variable' ? undefined : Number(weight),\n+ weight: weight === 'variable' ? un... | 2022-10-20T17:42:19 |
nodejs/node | 734eb17e5d19145c4c5a696aa94e81c9655272f5 | 31d6cec60e2644dae2ed993342b933dc882e9fb9 | timers: fix subsequent enroll calls not working
A bug was introduced in #17704 which meant that subsequent
calls to enroll would unset the new _idleTimeout and the
enrolled object could never again function as a timer.
PR-URL: https://github.com/nodejs/node/pull/19936
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail... | [
{
"path": "lib/timers.js",
"patch": "@@ -353,13 +353,14 @@ exports.unenroll = util.deprecate(unenroll,\n // This function does not start the timer, see `active()`.\n // Using existing objects as timers slightly reduces object overhead.\n function enroll(item, msecs) {\n- item._idleTimeout = validateTimerDu... | 2018-04-11T08:43:21 |
golang/go | d33e2192a71c33a604af247161ba1d2c1969e4c7 | 41245ab28390fed22ba03ee87c0e3db97b16c73b | cmd/go: allow '+' in package import paths in module mode
This change upgrades x/mod to pull in the fix from CL 300149.
Fixes #44776.
Change-Id: I273f41df2abfff76d91315b7f19fce851c8770d8
Reviewed-on: https://go-review.googlesource.com/c/go/+/300176
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills... | [
{
"path": "src/cmd/go.mod",
"patch": "@@ -6,7 +6,7 @@ require (\n \tgithub.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2\n \tgolang.org/x/arch v0.0.0-20201008161808-52c3e6f60cff\n \tgolang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897\n-\tgolang.org/x/mod v0.4.2-0.20210301144719-c8bb1bd8a2aa\n+\tgol... | 2021-03-09T22:23:04 |
ollama/ollama | 2a94f03823d9abcb4940804cfeaf478d3faeecda | eb97274e5cf3c97cd52aa39e5e9f1d859c22d716 | launch: add re-run hint to dependency error message (#15439) | [
{
"path": "cmd/launch/openclaw.go",
"patch": "@@ -547,7 +547,7 @@ func ensureOpenclawInstalled() (string, error) {\n \t\tif gitErr != nil {\n \t\t\tmissing = append(missing, \"git: https://git-scm.com/\")\n \t\t}\n-\t\treturn \"\", fmt.Errorf(\"openclaw is not installed and required dependencies are missing... | 2026-04-09T16:51:34 |
huggingface/transformers | 34f76bb62b915b43617aa88557aea97840e163f0 | c23a1c19322152dbc89cfaa5f22310bd0afb92d0 | Fix `zero_shot_image_classification` documentation guide link in SigLIP (#35671) | [
{
"path": "docs/source/en/model_doc/siglip.md",
"patch": "@@ -102,7 +102,7 @@ If you want to do the pre- and postprocessing yourself, here's how to do that:\n \n A list of official Hugging Face and community (indicated by 🌎) resources to help you get started with SigLIP.\n \n-- [Zero-shot image classificat... | 2025-01-13T19:08:17 |
vercel/next.js | 138a7bfda2934526a8556aa6313997cae72fb64a | 6d29713023467f6aa9d0aa2e1d7a67fc4a26c4fc | Add transpilePackages option (#41583)
This is a new experimental feature to specify a list of packages (or
subpaths in packages, like `pkg/src/index.ts`), to opt-in Next.js
transpilation in the server build.
cc @jescalan
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests adde... | [
{
"path": "packages/next/build/webpack-config.ts",
"patch": "@@ -119,7 +119,9 @@ function errorIfEnvConflicted(config: NextConfigComplete, key: string) {\n \n function isResourceInPackages(resource: string, packageNames?: string[]) {\n return packageNames?.some((p: string) =>\n- new RegExp('[/\\\\\\\\]... | 2022-10-20T16:49:29 |
rust-lang/rust | 0aa0d074cd1ce3f58eaffcf6019c1a236adc4dc1 | 253ecb9d7dfbfe3110c7e58e5017b31058f96d80 | Remove brackets around type name when it is no longer a prefix
When `<T>::default()` is replaced by `T` when `T` is a singleton,
the brackets around the type name can be removed. | [
{
"path": "clippy_lints/src/default_constructed_unit_structs.rs",
"patch": "@@ -1,6 +1,6 @@\n use clippy_utils::diagnostics::span_lint_and_then;\n use clippy_utils::is_ty_alias;\n-use clippy_utils::sugg::DiagExt as _;\n+use clippy_utils::source::SpanRangeExt as _;\n use hir::ExprKind;\n use hir::def::Res;\n... | 2025-03-06T22:08:15 |
ollama/ollama | eb97274e5cf3c97cd52aa39e5e9f1d859c22d716 | 6b5db12aa2f8841629cac89d9deb87486512fdb4 | modelfiles: fix /save command and add shortname for safetensors based models (#15413)
This change fixes two issues with Modelfiles:
1. If a user uses `ollama show --modelfile` to show a safetensors based
model, the Model would leave the "FROM" field blank which won't allow
a user to recreate the model. Th... | [
{
"path": "cmd/cmd.go",
"patch": "@@ -695,7 +695,7 @@ func RunHandler(cmd *cobra.Command, args []string) error {\n \t\t}\n \t}\n \n-\topts.ParentModel = info.Details.ParentModel\n+\tapplyShowResponseToRunOptions(&opts, info)\n \n \t// Check if this is an embedding model\n \tisEmbeddingModel := slices.Contai... | 2026-04-09T04:05:39 |
nodejs/node | 31d6cec60e2644dae2ed993342b933dc882e9fb9 | 15e136d9c5c31041c6202179f5847fd518e93c23 | errors: alter ERR_INVALID_CURSOR_POS
Changes the base instance for ERR_INVALID_CURSOR_POS from Error to
TypeError as a more accurate representation of the error.
PR-URL: https://github.com/nodejs/node/pull/19960
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Review... | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -879,10 +879,8 @@ E('ERR_INVALID_BUFFER_SIZE',\n 'Buffer size must be a multiple of %s', RangeError);\n E('ERR_INVALID_CALLBACK', 'Callback must be a function', TypeError);\n E('ERR_INVALID_CHAR', invalidChar, TypeError);\n-\n-// This should probably be a `... | 2018-04-12T00:08:03 |
golang/go | acd7cb5887f486558fbcd517ed636a96447d695d | 142a76530cf610fe02d151727fa0d8038c552127 | cmd/compile/internal/types2: better error reporting framework (starting point)
Until now, errors which came with additional details (e.g., a declaration
cycle error followed by the list of objects involved in the cycle, one per
line) were reported as an ordinary error followed by "secondary" errors,
with the secondary... | [
{
"path": "src/cmd/compile/internal/noder/irgen.go",
"patch": "@@ -41,14 +41,6 @@ func check2(noders []*noder) {\n \t\tCompilerErrorMessages: true, // use error strings matching existing compiler errors\n \t\tError: func(err error) {\n \t\t\tterr := err.(types2.Error)\n-\t\t\tif len(terr.Msg) > 0 && terr.Ms... | 2021-02-25T22:54:04 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.