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
nodejs/node
0e35683876bfe0a9c008865232bfabc974e3ddd3
ebfa8b14645798b486e010e3f8bcec693f42cd6f
test: Remove unnecessary asserion messages in test-crypto-hash.js This commit improves asserion messages in parallel/test-crypto-hash.js. Instead of just simple string literal, messages are changed to also include values used in assertion, which should improve debugging in case of errors. PR-URL: https://github.com/n...
[ { "path": "test/parallel/test-crypto-hash.js", "patch": "@@ -82,15 +82,15 @@ assert.deepStrictEqual(\n );\n \n // stream interface should produce the same result.\n-assert.deepStrictEqual(a5, a3, 'stream interface is consistent');\n-assert.deepStrictEqual(a6, a3, 'stream interface is consistent');\n-assert....
2018-02-25T13:14:36
huggingface/transformers
f55595b177d66c3f8d9d43c8cccd52d263580bd1
4e2e8809ff4a596f7a9398c04293804a01cbe1d5
Fix performance in get_imports regexp (#34298) * fix: Fix performance in get_imports regexp * Minimize get_imports content regexp
[ { "path": "src/transformers/dynamic_module_utils.py", "patch": "@@ -152,7 +152,8 @@ def get_imports(filename: Union[str, os.PathLike]) -> List[str]:\n content = f.read()\n \n # filter out try/except block so in custom code we can have try/except imports\n- content = re.sub(r\"\\s*try\\s*:\\s*...
2024-10-29T17:29:24
vercel/next.js
83f89c4f87a7d3bf90bf0b54a0ee7132fa769dfd
7903b04bb42c07eab3cca2e4223c028cc2b31092
Improve types for `<Image />` and `responseLimit` (#40863) Currently, a developer building a website using Next.js could write this code with no type errors: ```tsx <Image width="kangaroo" height="100px" quality="medium" {...rest} /> ``` This PR adds stricter type checking, which will catch this ...
[ { "path": "packages/next/client/future/image.tsx", "patch": "@@ -72,6 +72,8 @@ interface StaticRequire {\n \n type StaticImport = StaticRequire | StaticImageData\n \n+type SafeNumber = number | `${number}`\n+\n function isStaticRequire(\n src: StaticRequire | StaticImageData\n ): src is StaticRequire {\n@...
2022-09-27T05:41:25
golang/go
6ac91e460c294bda5a50e628b7556bf20525fa44
44361140c02556a0a71bc52299149bb8de26024b
doc/go1.16: minor markup fixes Add missing <code> tags. Remove unnecessary <br> tag. For #40700 Change-Id: I03d3ce1c89a9ae3d3195dcd2bb8b1a61f011e1ed Reviewed-on: https://go-review.googlesource.com/c/go/+/288275 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Review...
[ { "path": "doc/go1.16.html", "patch": "@@ -146,7 +146,7 @@ <h4 id=\"modules\">Modules</h4>\n <code>retract</code> directives may now be used in a <code>go.mod</code> file\n to indicate that certain published versions of the module should not be used\n by other modules. A module author may retract a ve...
2021-01-31T12:42:44
ollama/ollama
fbd82ba5bb35c42a6b09f5bd50ff1aa0690b9626
2e742544bfc5242be4d76c6fee5082c7e41b3df2
Grace/deepseek v3 migration (#12385) * init deepseek model file * temp removal of flash attention implementation * shapes and proper, can make a pass * query, key, value have good cosine similarity, but the max diff is a bit high * Attention block is working! ** with eager for now, have not added the mask line * ...
[ { "path": "model/models/deepseek2/model.go", "patch": "@@ -0,0 +1,324 @@\n+package deepseek2\n+\n+// uses deepseek 2 architecture but written based on deepseek 3 model\n+\n+import (\n+\t\"math\"\n+\n+\t\"github.com/ollama/ollama/fs\"\n+\t\"github.com/ollama/ollama/kvcache\"\n+\t\"github.com/ollama/ollama/ml...
2025-09-24T22:19:47
huggingface/transformers
e9ad46049411624bb1b6e830fbc1138991c0135e
f339042b0b8bdc0b57a70d37f67cafbea960a2ab
Adding `optimizer_cls_and_kwargs` to `Trainer.__init__` (#34358) * Adding `optimizer_cls_and_kwargs` to `Trainer.__init__` * formatting * make fix-copies docstring * added more docs for optimizer_cls_and_kwargs * add docs for Trainer(optimizer_cls_and_kwargs) * reverting anchor names
[ { "path": "docs/source/en/trainer.md", "patch": "@@ -252,7 +252,70 @@ trainer = Trainer(..., args=training_args)\n \n NEFTune is disabled after training to restore the original embedding layer to avoid any unexpected behavior.\n \n-## GaLore\n+## Liger Kernel\n+\n+[Liger-Kernel](https://github.com/linkedin/...
2024-10-29T15:23:16
nodejs/node
ebfa8b14645798b486e010e3f8bcec693f42cd6f
1ed36aeb53266f8f01e1cd442069024d258f632a
repl: better handling of recoverable errors Below syntax errors are handled without force .break/clear - Unexpected Token (prefix errors) - missing ) after argument list In the multiline expression, recoverable errors are truly recoverable, otherwise syntax error will be thrown. PR-URL: https://github.com/nodejs...
[ { "path": "lib/repl.js", "patch": "@@ -1473,14 +1473,15 @@ function isRecoverableError(e, code) {\n if (e && e.name === 'SyntaxError') {\n var message = e.message;\n if (message === 'Unterminated template literal' ||\n- message === 'Missing } in template expression') {\n+ message ===...
2018-02-21T12:18:23
vercel/next.js
242bf65f987f63d58d14107e80c1fae90bd02480
3544c795828150f625e0c1ec78701bf7ac39a715
Revert "Fix: Contentful webhook body parse." (#40925) Reverts vercel/next.js#40732 x-ref: https://github.com/vercel/next.js/pull/40732#issuecomment-1258779835
[ { "path": "examples/cms-contentful/pages/api/revalidate.js", "patch": "@@ -14,7 +14,9 @@ export default async function handler(req, res) {\n }\n \n try {\n- let postSlug = JSON.parse(req.body).fields.slug['en-US']\n+ // Note: if this fails to parse you may have forget to set the\n+ // \"content...
2022-09-27T00:01:54
golang/go
a59cb5109d49ac0dc09337449b9c7760ecc66c0e
507e641963c6e4277ae4bc9d5f44469d2b4c9c8f
[dev.typeparams] cmd/compile/internal/types2: handle untyped constant arithmetic overflow Factor out the existing "constant representation" check after untyped constant arithmetic and combine with an overflow check. Use a better heuristic for determining the error position if we know the error is for a constant opera...
[ { "path": "src/cmd/compile/internal/types2/expr.go", "patch": "@@ -83,13 +83,67 @@ func (check *Checker) op(m opPredicates, x *operand, op syntax.Operator) bool {\n \treturn true\n }\n \n-// The unary expression e may be nil. It's passed in for better error messages only.\n-func (check *Checker) unary(x *op...
2021-01-28T22:29:25
huggingface/transformers
56c45d575786de60acba02838fb2b0d1176b4ff7
0ab0a4265131536d7422c57d0cc74c2afee1afd9
Bug fix for drop path decay rate in swin transformer (#34291) * potential bug fix for drop path * variable name change * forgot to rename the variables * back to original * modify dpr properly * check_copies auto fix * corresponsing swin2 changes * auto fix * linting * default value for drop...
[ { "path": "src/transformers/models/clap/modeling_clap.py", "patch": "@@ -575,15 +575,15 @@ def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:\n \n # Copied from transformers.models.swin.modeling_swin.SwinLayer with SwinDropPath->ClapDropPath, Swin->ClapAudio\n class ClapAudioLayer(nn.Module):\n...
2024-10-29T15:09:18
nodejs/node
1ed36aeb53266f8f01e1cd442069024d258f632a
8b69d4aca9a89db1e986ce137ff67f4b8bf8803f
module: check file ext before dir as documented The documented resolution algorithm started to search for package.json files prior to searching for file extensions when searching for a specifier. Oddly, it did not search for index files at same time it searched for package.json. This restores the documented behavior o...
[ { "path": "lib/module.js", "patch": "@@ -219,6 +219,9 @@ Module._findPath = function(request, paths, isMain) {\n var exts;\n var trailingSlash = request.length > 0 &&\n request.charCodeAt(request.length - 1) === CHAR_FORWARD_SLASH;\n+ if (!trailingSlash) {\n+ trailingSlash = /(?:^|\\/)\\.?\\.$/....
2017-08-24T14:59:52
vercel/next.js
11deaaa82bda301254167967903a384ef6c4c51f
2af6b63dd1b54f5ecfc93a50389a9cb1b709ef0b
edge-ssr: bundle next/dist as ESM for better tree-shaking (#40251) # Context Edge SSR'd routes cold boot performances are proportional to the executed code size. In order to improve it, we are trying to optimize for the bundle size of a packed Edge SSR route. This PR adds ESM compilation targets for all Nex...
[ { "path": "packages/next/amp.js", "patch": "@@ -1 +1,4 @@\n-module.exports = require('./dist/shared/lib/amp')\n+module.exports =\n+ process.env.NEXT_RUNTIME === 'edge'\n+ ? require('./dist/esm/shared/lib/amp')\n+ : require('./dist/shared/lib/amp')", "additions": 4, "deletions": 1, "langua...
2022-09-26T23:56:16
golang/go
44361140c02556a0a71bc52299149bb8de26024b
68058edc39edae96e34225ca163002233b623c97
embed: update docs for proposal tweaks //go:embed variables can be type aliases. //go:embed variables can't be local to a function. For #43216 For #43602 Fixes #43978 Change-Id: Ib1d104dfa32b97c91d8bfc5ed5d461ca14da188f Reviewed-on: https://go-review.googlesource.com/c/go/+/288072 Trust: Ian Lance Taylor <iant@gola...
[ { "path": "src/embed/embed.go", "patch": "@@ -9,18 +9,28 @@\n // files read from the package directory or subdirectories at compile time.\n //\n // For example, here are three ways to embed a file named hello.txt\n-// and then print its contents at run time:\n+// and then print its contents at run time.\n /...
2021-01-29T18:25:34
huggingface/transformers
0ab0a4265131536d7422c57d0cc74c2afee1afd9
8755dd26b7e5ac25987a03627d317624dcdad2a1
fix-qwen2vl-no-position_ids (#33487)
[ { "path": "src/transformers/models/qwen2_vl/modeling_qwen2_vl.py", "patch": "@@ -1719,6 +1719,9 @@ def forward(\n if attention_mask is not None:\n attention_mask = attention_mask.to(inputs_embeds.device)\n \n+ if position_ids is None and input_ids is not None:\n+ ...
2024-10-29T14:27:34
ollama/ollama
fd88cd7cb0966a26f41ec41bc012f2c4d725ab98
e1979c571aff857568c9c35f5994da40568ef15c
harmony: don't sanitize built-ins In #11910 we started sanitizing function names, but we accidentally were modifying built-ins like `browser.open` to `browser_open`. This was removing the special prompt rendering for built-ins, but this wasn't immediately apparent since the models seem to be reasonably good at remembe...
[ { "path": "harmony/harmonyparser.go", "patch": "@@ -463,6 +463,10 @@ func (h *HarmonyMessageHandler) HasThinkingSupport() bool {\n \n func (m *FunctionNameMap) ConvertAndAdd(userFunctionName string) string {\n \tharmonyFunctionName := m.deriveName(userFunctionName)\n+\t// built-in functions should not be re...
2025-09-24T06:34:55
rust-lang/rust
59ca7679c7db634465b5f021060f143567824ac4
45b40a75966b36d3588f173441896fddad01cd80
slice: Remove some uses of unsafe in first/last chunk methods Remove unsafe `split_at_unchecked` and `split_at_mut_unchecked` in some slice `split_first_chunk`/`split_last_chunk` methods. Replace those calls with the safe `split_at` and `split_at_checked` where applicable. Add codegen tests to check for no panics whe...
[ { "path": "library/core/src/slice/mod.rs", "patch": "@@ -382,16 +382,11 @@ impl<T> [T] {\n #[stable(feature = \"slice_first_last_chunk\", since = \"1.77.0\")]\n #[rustc_const_stable(feature = \"slice_first_last_chunk\", since = \"1.77.0\")]\n pub const fn split_first_chunk<const N: usize>(&self)...
2025-03-29T18:47:09
nodejs/node
0eec0735d0bcbb4290f032cd71f2356376bd13d7
49963f4da9fba92d54536fa39786478dd96c057c
doc: update internal errors documentation PR-URL: https://github.com/nodejs/node/pull/19203 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <t...
[ { "path": "CPP_STYLE_GUIDE.md", "patch": "@@ -256,13 +256,13 @@ env->SetMethod(target, \"foo\", Foo);\n exports.foo = function(str) {\n // Prefer doing the type-checks in JavaScript\n if (typeof str !== 'string') {\n- throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'str', 'string');\n+ throw ne...
2018-03-06T13:23:36
vercel/next.js
2af6b63dd1b54f5ecfc93a50389a9cb1b709ef0b
82682a3a53cb2a4a65d19aa4bddd5a87bc6621d1
Should resolve esm external module imports on server (#40865) ### Issue When import an esm package in client component, and use it in server component page, it will fail to SSR but render successfully on client. It's because the import to esm package will make the client chunk become an **async module** since es...
[ { "path": "packages/next/build/webpack-config.ts", "patch": "@@ -1007,14 +1007,7 @@ export default async function getBaseWebpackConfig(\n alias: process.env.__NEXT_REACT_CHANNEL\n ? {\n react: `react-${process.env.__NEXT_REACT_CHANNEL}`,\n- 'react...
2022-09-26T22:46:01
golang/go
41bb49b878ce4dd24c0055aaf734577d3fb37d50
725a642c2d0b42e2b4435dfbfbff6b138d37d2ce
cmd/go: revert TestScript/build_trimpath to use ioutil.ReadFile This call was changed to os.ReadFile in CL 266365, but the test also builds that source file using gccgo if present, and released versions of gccgo do not yet support ioutil.ReadFile. Manually tested with gccgo gccgo 10.2.1 (see #35786). Fixes #43974. U...
[ { "path": "src/cmd/go/testdata/script/build_trimpath.txt", "patch": "@@ -121,6 +121,7 @@ package main\n import (\n \t\"bytes\"\n \t\"fmt\"\n+\t\"io/ioutil\"\n \t\"log\"\n \t\"os\"\n \t\"os/exec\"\n@@ -130,7 +131,7 @@ import (\n \n func main() {\n \texe := os.Args[1]\n-\tdata, err := os.ReadFile(exe)\n+\tdat...
2021-01-28T16:14:23
ollama/ollama
e1979c571aff857568c9c35f5994da40568ef15c
bf78ed6ee94e593a7edae2e277a736379cbc2413
fix: leaf alt name (#12390) a leaf node with an alternative name gets all its alternatives names added into the same branch rather than creating branches themselves
[ { "path": "model/model.go", "patch": "@@ -187,15 +187,17 @@ func populateFields(base Base, v reflect.Value, tags ...Tag) reflect.Value {\n \t\t\t\t\t\t\t\tnames = append(names, prefix+n+suffix)\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t}\n-\n-\t\t\t\t\t\tif childNames := fn(tags[1:], tags[0].prefix, tags[0].suffix); ...
2025-09-24T00:50:53
rust-lang/rust
08f6747ac7428dcbc1e35732eac120d2659669b0
1111a9788650b6cde6f78250a81328f6ab211b51
Update tidy exceptions
[ { "path": "src/tools/tidy/src/deps.rs", "patch": "@@ -181,6 +181,8 @@ const EXCEPTIONS_RUSTBOOK: ExceptionList = &[\n \n const EXCEPTIONS_CRANELIFT: ExceptionList = &[\n // tidy-alphabetical-start\n+ (\"cranelift-assembler-x64\", \"Apache-2.0 WITH LLVM-exception\"),\n+ (\"cranelift-assembler-x64-m...
2025-03-30T15:48:52
nodejs/node
49963f4da9fba92d54536fa39786478dd96c057c
a910320ef3aa379ac8c64d8b166b165c53bb1578
lib: remove unused internal error constructors PR-URL: https://github.com/nodejs/node/pull/19203 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nieß...
[ { "path": "lib/fs.js", "patch": "@@ -36,6 +36,8 @@ const fs = exports;\n const { Buffer } = require('buffer');\n const errors = require('internal/errors');\n const {\n+ ERR_FS_WATCHER_ALREADY_STARTED,\n+ ERR_FS_WATCHER_NOT_STARTED,\n ERR_INVALID_ARG_TYPE,\n ERR_INVALID_CALLBACK,\n ERR_OUT_OF_RANGE\n...
2018-03-06T13:17:37
vercel/next.js
3837aa1cb0f7d23d17f8ec4f7326aff6895430fb
9ec041efbf7c3e0ee0fb12bc0f6b0cd97786792c
Update expected middleware test error (#40918) Fixes: https://github.com/vercel/next.js/actions/runs/3128790934/jobs/5078100658#step:8:2223
[ { "path": "test/e2e/middleware-general/test/index.test.ts", "patch": "@@ -440,7 +440,7 @@ describe('Middleware Runtime', () => {\n const payload = readMiddlewareJSON(response)\n expect('error' in payload).toBe(true)\n expect(payload.error.name).toBe('AbortError')\n- expect(payload.err...
2022-09-26T21:05:26
golang/go
725a642c2d0b42e2b4435dfbfbff6b138d37d2ce
4b068cafb5a5e094dd0b7ed37ff73e08309a39e7
runtime: correct syscall10/syscall10X on openbsd/amd64 The syscall10/syscall10X implementation uses an incorrect stack offset for arguments a7 to a10. Correct this so that the syscall arguments work as intended. Updates #36435 Fixes #43927 Change-Id: Ia7ae6cc8c89f50acfd951c0f271f3b3309934499 Reviewed-on: https://go-...
[ { "path": "src/runtime/sys_openbsd_amd64.s", "patch": "@@ -676,27 +676,31 @@ TEXT runtime·syscall10(SB),NOSPLIT,$0\n \tPUSHQ\tBP\n \tMOVQ\tSP, BP\n \tSUBQ $48, SP\n+\n+\t// Arguments a1 to a6 get passed in registers, with a7 onwards being\n+\t// passed via the stack per the x86-64 System V ABI\n+\t// (ht...
2021-01-27T12:09:57
rust-lang/rust
ba315abda789c9f59f2100102232bddb30b0d3d3
66b1f3ba0c9bbd40e671078a320c6d99f415a055
Fix rustc test suite
[ { "path": "scripts/test_rustc_tests.sh", "patch": "@@ -27,7 +27,6 @@ done\n git checkout -- tests/ui/issues/auxiliary/issue-3136-a.rs # contains //~ERROR, but shouldn't be removed\n git checkout -- tests/ui/proc-macro/pretty-print-hack/\n git checkout -- tests/ui/entry-point/auxiliary/bad_main_functions.rs\...
2025-03-30T15:01:39
ollama/ollama
64883e3c4c0238dc70fddcc456af569d1489415d
41efdd404828f361790c5397c55cca8aa55336ac
auth: fix problems with the ollama keypairs (#12373) * auth: fix problems with the ollama keypairs This change adds several fixes including: - reading in the pubkey files correctly - fixing the push unit test to create a keypair file in a temp directory - not return 500 errors for normal status error
[ { "path": "api/client.go", "patch": "@@ -45,6 +45,12 @@ func checkError(resp *http.Response, body []byte) error {\n \t\treturn nil\n \t}\n \n+\tif resp.StatusCode == http.StatusUnauthorized {\n+\t\tauthError := AuthorizationError{StatusCode: resp.StatusCode}\n+\t\tjson.Unmarshal(body, &authError)\n+\t\tretu...
2025-09-23T06:20:20
nodejs/node
a910320ef3aa379ac8c64d8b166b165c53bb1578
7314b170a49fd5f24ef91f95dfc6ee3bf93b73ae
test: do not check text for engine-generated error In test-tls-wrap-event-emitter, the text of a TypeError is checked as part of the test. However, this text is generated by the JavaScript engine (V8) and not Node.js. Thus, we should not check the text as JS engine error messages can change without it being considered...
[ { "path": "test/parallel/test-tls-wrap-event-emmiter.js", "patch": "@@ -15,5 +15,5 @@ const TlsSocket = require('tls').TLSSocket;\n const EventEmitter = require('events').EventEmitter;\n assert.throws(\n () => { new TlsSocket(new EventEmitter()); },\n- /^TypeError: (.+) is not a function$/\n+ TypeError\...
2018-03-08T04:08:17
vercel/next.js
9ec041efbf7c3e0ee0fb12bc0f6b0cd97786792c
bb1dd47019f3ad3c271433aa8dec4c5f32d1f8a1
Update font loader output path (#40868) Updates the output path so it's the same as when font files are imported in CSS: `url(./font.woff2)` Also adds missing font types to next package. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link ...
[ { "path": "packages/next/build/webpack/loaders/next-font-loader/index.ts", "patch": "@@ -22,7 +22,7 @@ export default async function nextFontLoader(this: any) {\n const interpolatedName = loaderUtils.interpolateName(\n this,\n // Font files ending with .p.(woff|woff2|eot|ttf|otf) are p...
2022-09-26T19:59:38
golang/go
4b068cafb5a5e094dd0b7ed37ff73e08309a39e7
376518d77fb5d718f90c8b66ea25660aa3734032
doc/go1.16: document go/build/constraint package For #40700 For #41184 Fixes #43957 Change-Id: Ia346f4cf160431b721efeba7dc5f1fb8814efd95 Reviewed-on: https://go-review.googlesource.com/c/go/+/287472 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Russ Cox <rsc@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshu...
[ { "path": "doc/go1.16.html", "patch": "@@ -762,6 +762,25 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n </dd>\n </dl><!-- go/build -->\n \n+<dl id=\"go/build/constraint\"><dt><a href=\"/pkg/go/build/constraint/\">go/build/constraint</a></dt>\n+ <dd>\n+ <p><!-- CL 240604 -->\n+...
2021-01-27T21:54:10
huggingface/transformers
004530aa050efcdd489f1ac6809626fa578636ad
9e3d704e2340fe9b306b5bd6b12605e4341c012b
Fix regression loading dtype (#34409) * fix regression * add test for torchao * expected output * better fix
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -943,13 +943,14 @@ def _load_state_dict_into_meta_model(\n old_param = model\n splits = param_name.split(\".\")\n for split in splits:\n- old_param = getattr(old_param, split)\n- # Not all the attribut...
2024-10-29T10:41:04
nodejs/node
099e6216489c33edabdf951e154d90c585219ffb
1dd9c9787bcf08db022ee63ce633fc9d497720e6
build: update arm64 minimum supported platform This is already true in practice. PR-URL: https://github.com/nodejs/node/pull/19164 Fixes: https://github.com/nodejs/build/issues/1164 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
[ { "path": "BUILDING.md", "patch": "@@ -39,7 +39,8 @@ platforms in production.\n \n | System | Support type | Version | Architectures | Notes |\n |--------------|--------------|----------------------------------|----------------------|------------------|\n-| G...
2018-03-06T08:20:44
rust-lang/rust
ebae4c65a10a593b838d9c2f07f4c13e342ec03e
a27ec8521dfb6d4b069fe27d269e604bc1e7bb14
Fix partial clone link
[ { "path": "src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md", "patch": "@@ -63,7 +63,7 @@ cd rust\n > **NOTE**: A shallow clone limits which `git` commands can be run.\n > If you intend to work on and contribute to the compiler, it is\n > generally recommended to fully clone the repository [as s...
2025-03-30T12:21:01
golang/go
a5a5e2c968eb14335f4e46606d8edfbdbdcea728
8cfa01943a7f43493543efba81996221bb0f27f8
runtime: make sure to remove open-coded defer entries in all cases after a recover We add entries to the defer list at panic/goexit time on-the-fly for frames with open-coded defers. We do this so that we can correctly process open-coded defers and non-open-coded defers in the correct order during panics/goexits. But ...
[ { "path": "src/runtime/crash_test.go", "patch": "@@ -294,6 +294,18 @@ func TestRecursivePanic4(t *testing.T) {\n \n }\n \n+func TestRecursivePanic5(t *testing.T) {\n+\toutput := runTestProg(t, \"testprog\", \"RecursivePanic5\")\n+\twant := `first panic\n+second panic\n+panic: third panic\n+`\n+\tif !strings...
2021-01-26T01:51:03
ollama/ollama
242df70a759695dc258c00f56fa373ab5c06b8b2
dba39b2eee48d50f6e6c4aef102c710709bea765
parsers: fix `&`s in qwen3coder parameter values In <https://github.com/ollama/ollama/issues/12357> we that the model will output tool calls such as ``` <function=shell> <parameter=command> pwd && ls -la </parameter> </function> ``` We parse this using the approach of transforming into valid xml and then using an xm...
[ { "path": "model/parsers/qwen3coder.go", "patch": "@@ -393,18 +393,55 @@ func parseValue(raw string, paramType api.PropertyType) any {\n \treturn raw\n }\n \n-var qwenTagRegex = regexp.MustCompile(`<(\\w+)=([^>]+)>`)\n+var (\n+\tqwenTagRegex = regexp.MustCompile(`<(\\w+)=([^>]+)>`)\n+\tqwenXMLTagRegex = ...
2025-09-20T19:10:58
vercel/next.js
bb1dd47019f3ad3c271433aa8dec4c5f32d1f8a1
194b6ad1c136a8c75a68bf82a5b80504703ec162
Correct link for "Deploy" button (#40894) The old link was cloning the "with-chakra-ui-typescript" repo which has been deprecated. <!-- 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....
[ { "path": "examples/with-chakra-ui/README.md", "patch": "@@ -10,7 +10,7 @@ We are connecting the Next.js `_app.js` with `chakra-ui`'s Provider and theme so\n \n Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlit...
2022-09-26T19:51:31
huggingface/transformers
9e3d704e2340fe9b306b5bd6b12605e4341c012b
626c610a4d9d36427d392e0ed70a5c7018900eba
Fixes for Modular Converter on Windows (#34266) * Separator in regex * Standardize separator for relative path in auto generated message * open() encoding * Replace `\` on `os.path.abspath` --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
[ { "path": "utils/modular_model_converter.py", "patch": "@@ -56,7 +56,7 @@ def get_module_source_from_name(module_name: str) -> str:\n if spec is None or spec.origin is None:\n return f\"Module {module_name} not found\"\n \n- with open(spec.origin, \"r\") as file:\n+ with open(spec.origin, ...
2024-10-29T10:40:41
golang/go
217a461f56cecee1756bef29f9ad2dcd389a255b
08a598f8c1c123fda3b7ad30659fa05a8be1ccde
[dev.typeparams] cmd/compile/internal/types2: report unused packages in source order 1) Rather than map-iterate through all file scopes and collect unused packages, collect all imports in the Checker.imports list so that errors are reported in source order. 2) From cmd/compile, borrow the idea of a "dotImportRe...
[ { "path": "src/cmd/compile/internal/types2/check.go", "patch": "@@ -74,6 +74,12 @@ type importKey struct {\n \tpath, dir string\n }\n \n+// A dotImportKey describes a dot-imported object in the given scope.\n+type dotImportKey struct {\n+\tscope *Scope\n+\tobj Object\n+}\n+\n // A Checker maintains the st...
2021-01-26T20:08:18
ollama/ollama
dba39b2eee48d50f6e6c4aef102c710709bea765
9f3a37fd36bf1c46cc86a47bc5372535f8ee3547
gemma: fix rope scaling for qat models (#12348) * gemma: fix rope scaling for qat models * gofumpt yourself
[ { "path": "model/models/gemma2/model.go", "patch": "@@ -128,7 +128,7 @@ func (sa *SelfAttention) Forward(ctx ml.Context, hiddenState, positionIDs ml.Ten\n }\n \n func (m *Model) Shift(ctx ml.Context, layer int, key, shift ml.Tensor) (ml.Tensor, error) {\n-\treturn fast.RoPE(ctx, key, shift, m.Options.attnKe...
2025-09-19T22:04:40
huggingface/transformers
626c610a4d9d36427d392e0ed70a5c7018900eba
439334c8fb4edf11314dc94c72dda868f87a0808
Fix perplexity computation in perplexity.md (#34387) fix average NLL in perplexity.md
[ { "path": "docs/source/en/perplexity.md", "patch": "@@ -107,7 +107,8 @@ max_length = model.config.n_positions\n stride = 512\n seq_len = encodings.input_ids.size(1)\n \n-nlls = []\n+nll_sum = 0.0\n+n_tokens = 0\n prev_end_loc = 0\n for begin_loc in tqdm(range(0, seq_len, stride)):\n end_loc = min(begin_...
2024-10-29T10:10:10
rust-lang/rust
18c787f48f08352ad5167b99920c395e3d703f62
2196affd0165ee2352522d33544447c61d351937
Fix up partial res of segment in primitive resolution hack
[ { "path": "compiler/rustc_resolve/src/late.rs", "patch": "@@ -4598,6 +4598,11 @@ impl<'a, 'ast, 'ra: 'ast, 'tcx> LateResolutionVisitor<'a, 'ast, 'ra, 'tcx> {\n }\n };\n \n+ // Fix up partial res of segment from `resolve_path` call.\n+ if let ...
2025-03-30T04:21:20
nodejs/node
db30142ececd4ece2039008e665b39c4519f2143
635c8c4e1c3155d66e35aec4c6370e72cf53fdeb
test: address nits and rename the corresponding fixture Refs: https://github.com/nodejs/node/issues/19105 PR-URL: https://github.com/nodejs/node/pull/19161 Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Brid...
[ { "path": "test/sequential/test-fs-stat-sync-overflow.js", "patch": "@@ -34,7 +34,7 @@ const assert = require('assert');\n const { exec } = require('child_process');\n \n const cmd =\n- `\"${process.execPath}\" \"${fixturesDir}/test-regress-GH-4015.js\"`;\n+ `\"${process.execPath}\" \"${fixturesDir}/test-...
2018-03-06T13:59:21
vercel/next.js
84aa99e2c0c326d5e7882ec92c3a19676ec94e05
904619509e9ea2de60fccafe19b5d3aa1634d107
Update pre-compiled (#40914) Fixes: https://github.com/vercel/next.js/actions/runs/3128790934/jobs/5077187888
[ { "path": "packages/next/compiled/ora/index.js", "patch": "@@ -1 +1 @@\n-(()=>{var e={581:(e,t,r)=>{\"use strict\";const s=r(154);let i=false;t.show=(e=process.stderr)=>{if(!e.isTTY){return}i=false;e.write(\"\u001b[?25h\")};t.hide=(e=process.stderr)=>{if(!e.isTTY){return}s();i=true;e.write(\"\u001b[?25l\")}...
2022-09-26T17:59:04
golang/go
8cfa01943a7f43493543efba81996221bb0f27f8
ff9e8364c6501e9092564dd1e1fadf27f91b2fbb
runtime: block console ctrlhandler when the signal is handled Fixes #41884 I can confirm this change fixes my issue. I can't confirm that this doesn't break any and everything else. I see that this code has been tweaked repeatedly, so I would really welcome guidance into further testing. Change-Id: I1986dd0c2f30cfe1...
[ { "path": "src/runtime/os_windows.go", "patch": "@@ -46,6 +46,7 @@ const (\n //go:cgo_import_dynamic runtime._SetThreadPriority SetThreadPriority%2 \"kernel32.dll\"\n //go:cgo_import_dynamic runtime._SetUnhandledExceptionFilter SetUnhandledExceptionFilter%1 \"kernel32.dll\"\n //go:cgo_import_dynamic runtime...
2021-01-27T19:02:37
ollama/ollama
9f3a37fd36bf1c46cc86a47bc5372535f8ee3547
7460259eb3712a3cdb1dde40e25e36383ce4cea6
fix: model load for unsupported embedding models (#12311) with #12181, there's now support for embeddings in ollama engine. this is done by mutating the architecture and adding _embed when it detects an embedding model. however this introduced a bug where if an embedding model was run based on an existing ollama engin...
[ { "path": "model/model.go", "patch": "@@ -107,23 +107,12 @@ func New(modelPath string, params ml.BackendParams) (Model, error) {\n \t\treturn nil, err\n \t}\n \n-\tarch := b.Config().Architecture()\n-\tif pooling.Type(b.Config().Uint(\"pooling_type\")) != pooling.TypeNone {\n-\t\tarch = arch + \"_embed\"\n-...
2025-09-18T23:11:08
huggingface/transformers
a1835195d134f5a244aed1212342be94fa27b40c
655bec2da7120a8681acc2ce951f8d58c6f0e6ef
🚨🚨🚨 [SuperPoint] Fix keypoint coordinate output and add post processing (#33200) * feat: Added int conversion and unwrapping * test: added tests for post_process_keypoint_detection of SuperPointImageProcessor * docs: changed docs to include post_process_keypoint_detection method and switched from opencv to ma...
[ { "path": "docs/source/en/model_doc/superpoint.md", "patch": "@@ -86,24 +86,32 @@ model = SuperPointForKeypointDetection.from_pretrained(\"magic-leap-community/sup\n \n inputs = processor(images, return_tensors=\"pt\")\n outputs = model(**inputs)\n-\n-for i in range(len(images)):\n- image_mask = outputs....
2024-10-29T09:36:03
nodejs/node
282e65cfe3d38c582b77939c26b9c00952805340
fbf7ff92d7f7a7f63ad4649519e8316d90b04826
2018-03-07, Version 9.8.0 (Current) Notable Changes: * crypto: - add cert.fingerprint256 as SHA256 fingerprint (Hannes Magnusson) https://github.com/nodejs/node/pull/17690 * http2: - Fixed issues with aborted connections in the HTTP/2 implementation (Anna Henningsen) https://github.com/nodejs/node/pul...
[ { "path": "CHANGELOG.md", "patch": "@@ -31,7 +31,9 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V9.md#9.7.0\">9.7.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V9.md#9.8.0\">9.8.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V9.md#9.7.1\">9.7.1</...
2018-03-06T21:58:16
vercel/next.js
d9d37d8499d5023d413168dfeb69f9a9a9f76df5
fd2ba92b6509dd97070c6d59ba0363e69f74cdd7
JSON modules as ES placeable (#415) This PR makes JSON modules ES chunk placeable. Fixes #412 and #413
[ { "path": "crates/turbo-tasks-fs/src/lib.rs", "patch": "@@ -1211,13 +1211,30 @@ impl FileContentVc {\n }\n }\n \n+/// A file's content interpreted as a JSON value.\n #[turbo_tasks::value(shared, serialization = \"none\")]\n pub enum FileJsonContent {\n Content(#[turbo_tasks(trace_ignore)] JsonValue)...
2022-09-26T13:24:55
huggingface/transformers
63ca6d9771b13b603deb228420623681188a4dc2
808d6c50f8c6911d972f27bb5155c04e513c99ee
Fix CI (#34458) * fix * fix mistral
[ { "path": "src/transformers/generation/flax_utils.py", "patch": "@@ -397,6 +397,8 @@ def generate(\n \"(https://huggingface.co/docs/transformers/main/en/main_classes/text_generation)\"\n )\n generation_config.max_length = generation_config.max_new_tokens + inp...
2024-10-29T07:26:04
ollama/ollama
22ccdd74c2a74e2955d2842e96642e78c05fd184
0c3d0e7533629322bb00d77244eb11d4c27665c6
server: add unauthorized error to remote chat handler (#12338)
[ { "path": "server/routes.go", "patch": "@@ -259,7 +259,10 @@ func (s *Server) GenerateHandler(c *gin.Context) {\n \t\t\t\t\tc.JSON(http.StatusUnauthorized, gin.H{\"error\": \"error getting public key\"})\n \t\t\t\t\treturn\n \t\t\t\t}\n-\t\t\t\tc.JSON(http.StatusUnauthorized, gin.H{\"public_key\": pk})\n+\t...
2025-09-18T22:40:31
rust-lang/rust
2dfd2a2a242e920b7378328b87f901652d9d81be
d4812c8638173ec163825d56a72a33589483ec4c
Remove attribute `#[rustc_error]`
[ { "path": "compiler/rustc_feature/src/builtin_attrs.rs", "patch": "@@ -1087,9 +1087,9 @@ pub static BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[\n WarnFollowing, EncodeCrossCrate::No\n ),\n rustc_attr!(\n- TEST, rustc_error, Normal,\n- template!(Word, List: \"delayed_bug_from_i...
2025-03-29T21:39:55
golang/go
ff9e8364c6501e9092564dd1e1fadf27f91b2fbb
cd176b361591420f84fcbcaaf0cf24351aed0995
cmd/go: skip issue33139 when the 'cc' script command is unavailable With CGO disabled, the test suite tries to run the following and fail: CGO_ENABLED=0 go test -run=TestScript/link_syso_issue33139 cmd/go go test proxy running at GOPROXY=http://127.0.0.1:38829/mod --- FAIL: TestScript (0.01s) --- FAIL: TestScript...
[ { "path": "src/cmd/go/testdata/script/link_syso_issue33139.txt", "patch": "@@ -2,7 +2,7 @@\n # embedded in a package, that is referenced by a Go assembly function.\n # See issue 33139.\n [!gc] skip\n-[!exec:cc] skip\n+[!cgo] skip\n \n # External linking is not supported on linux/ppc64.\n # See: https://gith...
2021-01-27T16:24:14
vercel/next.js
d4d9d9156689a333857af8be57354e56ce1122f3
50ab2e48f78af5221614b65b4a2d467a85fc5bec
Add `optoutServerComponentsBundle` option (#40770) Follow-up for #40739 to add an option to opt-out specific packages from being bundled. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implemen...
[ { "path": "packages/next/build/webpack-config.ts", "patch": "@@ -1021,7 +1021,7 @@ export default async function getBaseWebpackConfig(\n })\n : null\n \n- // Special internal modules that must be bundled for Server Components.\n+ // Special internal modules that require to be bundled...
2022-09-24T18:47:42
huggingface/transformers
808d6c50f8c6911d972f27bb5155c04e513c99ee
fe76b603702c7ae7ee4acafd1bc8a7ed80d61950
Generation: fix test (#34369) * fix test * fix copies
[ { "path": "tests/generation/test_utils.py", "patch": "@@ -671,29 +671,6 @@ def test_beam_sample_generate(self):\n else:\n self.assertTrue(output_generate.shape[-1] == self.max_new_tokens + inputs_dict[\"input_ids\"].shape[-1])\n \n- # for VLMs inputs embeds won't match...
2024-10-29T06:57:10
ollama/ollama
0c3d0e7533629322bb00d77244eb11d4c27665c6
eb0a5d44598b1ad29431e7574de187340bd3cf34
build: avoid unbounded parallel builds (#12319) With the addition of cuda v13, on a clean setup, the level of parallelism was causing docker desktop to become overwhelmed and compilers were crashing. This limits to 8 parallel per build stage, with the ability to override if you have many more cores available.
[ { "path": "Dockerfile", "patch": "@@ -1,6 +1,7 @@\n # vim: filetype=dockerfile\n \n ARG FLAVOR=${TARGETARCH}\n+ARG PARALLEL=8\n \n ARG ROCMVERSION=6.3.3\n ARG JETPACK5VERSION=r35.4.1\n@@ -34,68 +35,75 @@ ENV LDFLAGS=-s\n FROM base AS cpu\n RUN dnf install -y gcc-toolset-11-gcc gcc-toolset-11-gcc-c++\n ENV P...
2025-09-18T21:57:01
nodejs/node
50b1cb39bd11811866b77b74b2822620aeb405cb
5826fe4e79e96fe5ba47ec349790af107b9d10bb
src: fix deprecation id for non-string env value This is a follow-up of https://github.com/nodejs/node/pull/18990. A new deprecation id was assigned in it, but it was not reflected in code and test. PR-URL: https://github.com/nodejs/node/pull/19209 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-...
[ { "path": "src/node.cc", "patch": "@@ -2667,7 +2667,7 @@ static void EnvSetter(Local<Name> property,\n \"Assigning any value other than a string, number, or boolean to a \"\n \"process.env property is deprecated. Please make sure to convert the \"\n \"value to a string before s...
2018-03-07T19:12:41
golang/go
5cdf0da1bfc74ad1017a488044a865850f7c3c8e
210f70e298cf7e45a2b2638545228a44c78740de
syscall: clean up mkasm related changes The mkasm_darwin.go file was renamed to mkasm.go in CL 270380, with OpenBSD support being added. The mkasm_openbsd.go file should not have been merged, so remove it. Fix up references to mkasm_$GOOS.go and provide $GOOS as an argument on invocation. Updates #36435 Change-Id: I...
[ { "path": "src/syscall/mkall.sh", "patch": "@@ -125,13 +125,13 @@ darwin_amd64)\n \tmkerrors=\"$mkerrors -m64\"\n \tmksyscall=\"./mksyscall.pl -darwin\"\n \tmktypes=\"GOARCH=$GOARCH go tool cgo -godefs\"\n-\tmkasm=\"go run mkasm_darwin.go\"\n+\tmkasm=\"go run mkasm.go\"\n \t;;\n darwin_arm64)\n \tmkerrors=\...
2021-01-26T14:00:05
huggingface/transformers
fe76b603702c7ae7ee4acafd1bc8a7ed80d61950
a769ed45e17c44fd17b85c025863c4e4f2f73634
LLaVA: latency issues (#34460) * fix llavas * code style * green ci
[ { "path": "src/transformers/models/llava/modeling_llava.py", "patch": "@@ -472,76 +472,75 @@ def forward(\n (input_ids == self.config.image_token_index).sum(1).max() < self.config.image_seq_length\n ) or (input_ids.shape[-1] == 1 and pixel_values is not None)\n \n+ image_f...
2024-10-29T06:54:51
vercel/next.js
50ab2e48f78af5221614b65b4a2d467a85fc5bec
bf0827d0ce42186a101127fc3ce9275d1660ebe9
Use startTransition for hydrateRoot to opt-in to non-blocking hydration (#40874) As per @sebmarkbage's recommendation. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing fe...
[ { "path": "packages/next/client/app-index.tsx", "patch": "@@ -186,7 +186,9 @@ export function hydrate() {\n const isError = document.documentElement.id === '__next_error__'\n const reactRoot = isError\n ? (ReactDOMClient as any).createRoot(appElement)\n- : (ReactDOMClient as any).hydrateRoot(appE...
2022-09-24T18:10:40
ollama/ollama
ceac416ec279c8324b770af380621f9ef26dd767
2717dce6fe1bb4eab80abd5fbbd713211a7fc276
fix(integration): check truncated length (#12337)
[ { "path": "integration/embed_test.go", "patch": "@@ -8,6 +8,7 @@ import (\n \t\"testing\"\n \t\"time\"\n \n+\t\"github.com/google/go-cmp/cmp\"\n \t\"github.com/ollama/ollama/api\"\n )\n \n@@ -44,9 +45,8 @@ func TestAllMiniLMEmbeddings(t *testing.T) {\n \t}\n \n \tres, err := embeddingTestHelper(ctx, client,...
2025-09-18T21:00:21
golang/go
210f70e298cf7e45a2b2638545228a44c78740de
0f797f168d1aec8481ee43ace57d3209aee93dba
doc/go1.16: fix closing brace in .Export format A parenthesis of go list "-f" flag format is double curly braces. Change-Id: Ifd38e0b0ae3c46272a4acd65584818228168b7c6 GitHub-Last-Rev: b46030492b5caf18fe127621fdf92cbec4c03ad5 GitHub-Pull-Request: golang/go#43924 Reviewed-on: https://go-review.googlesource.com/c/go/+/2...
[ { "path": "doc/go1.16.html", "patch": "@@ -275,7 +275,7 @@ <h4 id=\"list-buildid\">The <code>list</code> command</h4>\n When the <code>-export</code> flag is specified, the <code>BuildID</code>\n field is now set to the build ID of the compiled package. This is equivalent\n to running <code>go</code> ...
2021-01-26T12:53:08
huggingface/transformers
a769ed45e17c44fd17b85c025863c4e4f2f73634
6cc4a67b3d22445cd17e26922ba4435a5e97f759
Add `post_process_depth_estimation` for GLPN (#34413) * add depth postprocessing for GLPN * remove previous temp fix for glpn tests * Style changes for GLPN's `post_process_depth_estimation` Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * additional style fix --------- Co-au...
[ { "path": "src/transformers/models/glpn/image_processing_glpn.py", "patch": "@@ -14,7 +14,11 @@\n # limitations under the License.\n \"\"\"Image processor class for GLPN.\"\"\"\n \n-from typing import List, Optional, Union\n+from typing import TYPE_CHECKING, Dict, List, Optional, Tuple, Union\n+\n+\n+if TYP...
2024-10-28T18:44:20
vercel/next.js
bf0827d0ce42186a101127fc3ce9275d1660ebe9
01ecb60264f8d769ecb799e82b3504c1cfb9a73f
Flight client navigation error (#40861) When navigating from app to pages, we do a flight render on the server to generate the redirected path. However due to our new bundling strategy we can't use the bundled `ComponentMod.renderToReadableStream` because the component is now a regular component, not a RSC. In that...
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -558,9 +558,6 @@ export async function renderToHTMLOrFlight(\n ? staticGenerationAsyncStorage.getStore()\n : staticGenerationAsyncStorage\n \n- const { CONTEXT_NAMES } =\n- ComponentMod.serverHooks as typeof import('../cli...
2022-09-24T00:51:12
nodejs/node
a6c14b2f4259a9ca080a7b486dc934e4ccef8938
6c25f2ea49c2521dfd2423bf3a06222633ec4dc9
test: skip postmortem metadata test when nm fails On Windows with msys installation, `nm` is available but it is not able to grab symbols from the Windows build. Skipping the test if nm outputs anything to stderr fixes that. PR-URL: https://github.com/nodejs/node/pull/19107 Reviewed-By: Ben Noordhuis <info@bnoordhuis...
[ { "path": "test/parallel/test-postmortem-metadata.js", "patch": "@@ -26,6 +26,11 @@ const nm = spawnSync('nm', args);\n if (nm.error && nm.error.errno === 'ENOENT')\n common.skip('nm not found on system');\n \n+const stderr = nm.stderr.toString();\n+if (stderr.length > 0) {\n+ common.skip(`Failed to exec...
2018-03-03T09:25:58
ollama/ollama
2717dce6fe1bb4eab80abd5fbbd713211a7fc276
9b8187b487159cda3e753f9d242303d857ba321c
convert: convert bf16 vision weights to fp16 (#12324) This change moves back to converting bf16 vision weights to fp16, specifically if they start with the name "v." (such as v.blk.0.attn_k.weight). This fixes a bug where converted images are failing because they are trying to call `im2col` which doesn't have a bf16 ...
[ { "path": "convert/reader_safetensors.go", "patch": "@@ -96,7 +96,7 @@ type safetensor struct {\n \n func (st safetensor) Kind() uint32 {\n \tkind := st.tensorBase.Kind()\n-\tif st.dtype == \"BF16\" && kind != tensorKindFP32 {\n+\tif !strings.HasPrefix(st.name, \"v.\") && st.dtype == \"BF16\" && kind != ten...
2025-09-18T00:43:17
golang/go
0f797f168d1aec8481ee43ace57d3209aee93dba
8634a234df2a9e93ed1de58bf59d2eb843d8f464
math: fix typo in sqrt.go code comment "it does not necessary" -> "it is not necessary" Change-Id: I66f9cf2670d76b3686badb4a537b3ec084447d62 GitHub-Last-Rev: 52a0f9993abf25369cdb6b31eaf476df1626cf87 GitHub-Pull-Request: golang/go#43935 Reviewed-on: https://go-review.googlesource.com/c/go/+/287052 Reviewed-by: Robert ...
[ { "path": "src/math/sqrt.go", "patch": "@@ -67,7 +67,7 @@ package math\n //\n // One may easily use induction to prove (4) and (5).\n // Note. Since the left hand side of (3) contain only i+2 bits,\n-// it does not necessary to do a full (53-bit) comparison\n+// it is not nec...
2021-01-26T23:29:47
huggingface/transformers
c1753436dbb8bcbcee183cdd6eba9f08a90d602a
8b3b9b48fcd6bc06bd9c576f1b09266d577db257
New option called `"best"` for `args.save_strategy`. (#31817) * Add _determine_best_metric and new saving logic. 1. Logic to determine the best logic was separated out from `_save_checkpoint`. 2. In `_maybe_log_save_evaluate`, whether or not a new best metric was achieved is determined after each evaluation, and...
[ { "path": "src/transformers/trainer.py", "patch": "@@ -117,9 +117,9 @@\n EvalPrediction,\n HPSearchBackend,\n HubStrategy,\n- IntervalStrategy,\n PredictionOutput,\n RemoveColumnsCollator,\n+ SaveStrategy,\n TrainerMemoryTracker,\n TrainOutput,\n check_target_module_exi...
2024-10-28T15:02:22
vercel/next.js
6a11e22e2daee604a36c9d40ca794bc4d14931d4
b3b8836e172d5c3e2f30c128258d1771fe385d84
Update .env.local.example (#40839) We use the variable "SANITY_REVALIDATE_SECRET" on the index page, but the .env.local.example does not have this variable. <!-- 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...
[ { "path": "examples/cms-sanity/.env.local.example", "patch": "@@ -1,3 +1,4 @@\n NEXT_PUBLIC_SANITY_PROJECT_ID=\n NEXT_PUBLIC_SANITY_DATASET=\n SANITY_API_READ_TOKEN=\n+SANITY_REVALIDATE_SECRET=", "additions": 1, "deletions": 0, "language": "Unknown" } ]
2022-09-23T21:02:24
nodejs/node
6c25f2ea49c2521dfd2423bf3a06222633ec4dc9
48b5c11b16a4c0035c9beecf252997721dfc2fdd
fs: improve errors thrown from fs.watch() - Add an accessor property `initialized `to FSEventWrap to check the state of the handle from the JS land - Introduce ERR_FS_WATCHER_ALREADY_STARTED so calling start() on a watcher that is already started will throw instead of doing nothing silently. - Introduce ERR_FS_W...
[ { "path": "doc/api/errors.md", "patch": "@@ -783,6 +783,18 @@ falsy value.\n An invalid symlink type was passed to the [`fs.symlink()`][] or\n [`fs.symlinkSync()`][] methods.\n \n+<a id=\"ERR_FS_WATCHER_ALREADY_STARTED\"></a>\n+### ERR_FS_WATCHER_ALREADY_STARTED\n+\n+An attempt was made to start a watcher r...
2018-03-02T16:28:05
huggingface/transformers
8b3b9b48fcd6bc06bd9c576f1b09266d577db257
92bcdff2ef0932cf6dec4c3538389d7ccfd92f59
exclude fsdp from delay_optimizer_creation (#34140) * exclude fsdp from delay_optimizer_creation * add test case for trainer: FSDP mode and fp8 as mixed precision * rearrange imports * ruff formatted * adapt _init_fsdp to fp8 * use _init_fsdp only when resume_from_checkpoint * In case of FDP, self.la...
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -144,6 +144,7 @@\n \n if is_accelerate_available():\n from accelerate.state import AcceleratorState, PartialState\n+ from accelerate.utils.imports import is_fp8_available\n \n \n if is_pytest_available():\n@@ -1000,6 +1001,13 @@ def require_...
2024-10-28T12:50:16
golang/go
08a598f8c1c123fda3b7ad30659fa05a8be1ccde
cecc1dfcba15a06a06a7f3ea79e809e95c166c25
[dev.typeparams] cmd/compile: fix MethodExpr handling with embedded fields The recent refactoring of SelectorExpr code to helpers broke the handling of MethodExprs when there is an embedded field involved (e.g. test/method7.go, line 48). If there is an embedded field involved, the node op seen in DotMethod() is an ODO...
[ { "path": "src/cmd/compile/internal/noder/expr.go", "patch": "@@ -140,6 +140,7 @@ func (g *irgen) selectorExpr(pos src.XPos, expr *syntax.SelectorExpr) ir.Node {\n \tembeds, last := index[:len(index)-1], index[len(index)-1]\n \n \tx := g.expr(expr.X)\n+\torigx := x\n \tfor _, ix := range embeds {\n \t\tx = ...
2021-01-24T17:59:20
vercel/next.js
719116ac81da79db427937698f27d50d7fc7301d
2e02204dc9b4916a67607d2cdc28b75c6f137a53
Allow export const in font loader (#40836) Allow `export const font = Font()` syntax ## 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 ...
[ { "path": "packages/next-swc/crates/core/src/next_font_loaders/font_imports_generator.rs", "patch": "@@ -68,7 +68,7 @@ impl<'a> FontImportsGenerator<'a> {\n None\n }\n \n- fn check_var_decl(&mut self, var_decl: &VarDecl) {\n+ fn check_var_decl(&mut self, var_decl: &VarDecl) -> Option<Ident...
2022-09-23T20:40:59
ollama/ollama
9c5bf342bc34f94de9aa4a171d726e6b341a91e6
564b558c92973ae9eda4ad585359e7f39b2dbff2
fix: multi-cuda version skew (#12318) Ensure that in a version skewed multi-cuda setup we use the lowest version for all GPUs
[ { "path": "discover/cuda_common.go", "patch": "@@ -16,7 +16,7 @@ import (\n // Included to drive logic for reducing Ollama-allocated overhead on L4T/Jetson devices.\n var CudaTegra string = os.Getenv(\"JETSON_JETPACK\")\n \n-func cudaVariant(gpuInfo CudaGPUInfo) string {\n+func cudaVariant(gpuInfos []CudaGP...
2025-09-17T20:05:09
nodejs/node
48b5c11b16a4c0035c9beecf252997721dfc2fdd
9759573997a1bbd58fc0ba62e8aa1b4f607ec158
n-api: update documentation Document which APIs work while an exception is pending. This is the list of all APIs which do not start with `NAPI_PREAMBLE(env)`. Fixes: https://github.com/nodejs/abi-stable-node/issues/257 PR-URL: https://github.com/nodejs/node/pull/19078 Reviewed-By: Michael Dawson <michael_dawson@ca.ib...
[ { "path": "doc/api/n-api.md", "patch": "@@ -279,6 +279,8 @@ Do not rely on the content or format of any of the extended information as it\n is not subject to SemVer and may change at any time. It is intended only for\n logging purposes.\n \n+This API can be called even if there is a pending JavaScript excep...
2018-03-01T22:44:51
huggingface/transformers
92bcdff2ef0932cf6dec4c3538389d7ccfd92f59
9360f1827d620c00d64755d40cd526dceabf5060
Fix batch size handling in prediction_loop for DataLoaderShard (#34343) * Fix batch size handling in prediction_loop for DataLoaderShard Updated the prediction_loop method in the Trainer class to correctly handle batch size when using DataLoaderShard. This ensures that the batch size is retrieved from total_batch_s...
[ { "path": "src/transformers/trainer.py", "patch": "@@ -4714,7 +4714,17 @@ def prediction_loop(\n elif args.bf16_full_eval:\n model = model.to(dtype=torch.bfloat16, device=args.device)\n \n- batch_size = dataloader.batch_size\n+ batch_size = (\n+ dataloade...
2024-10-28T12:23:52
golang/go
cecc1dfcba15a06a06a7f3ea79e809e95c166c25
e48d7d3b21d39f8cf82e7e2547bd9ce47df68dde
[dev.typeparams] test: enable excluded test fixedbugs/issue7742.go The test is fine and probably was excluded by mistake. Change-Id: I98508e603afe01a781ad7c8638830514aa75939c Reviewed-on: https://go-review.googlesource.com/c/go/+/286732 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang...
[ { "path": "test/run.go", "patch": "@@ -1985,6 +1985,5 @@ var excluded = map[string]bool{\n \t\"fixedbugs/issue7525c.go\": true, // types2 reports init cycle error on different line - ok otherwise\n \t\"fixedbugs/issue7525d.go\": true, // types2 reports init cycle error on different line - ok otherwise\n \...
2021-01-26T05:37:56
vercel/next.js
ce77607e50d76c49ddb305bb1b1cf6050d513517
1bbd2642164098ceb9cebfb36deba9aed7e8a53b
Update error handling during app static generation (#40823) This updates to ensure we properly error during static generation when a non-dynamic SSR error is thrown so that unexpected errors are not tolerated. This also fixes the static generation async storage not being shared correctly due to different instances ...
[ { "path": "packages/next/build/webpack/loaders/next-app-loader.ts", "patch": "@@ -192,6 +192,8 @@ const nextAppLoader: webpack.LoaderDefinitionFunction<{\n : 'null'\n }\n \n+ export const staticGenerationAsyncStorage = require('next/dist/client/components/static-generation-async-storage.js')....
2022-09-23T02:44:30
ollama/ollama
564b558c92973ae9eda4ad585359e7f39b2dbff2
a417ac97ee685e6197dc35cec24bba6cffee1f94
fix(llama): other llama flavours (#12308) * fix(llama): rope scale * spm llama * skip moe models * cleanup
[ { "path": "model/models/gemma2/model.go", "patch": "@@ -63,7 +63,7 @@ func New(c fs.Config) (model.Model, error) {\n \t\t\tattnValLen: int(c.Uint(\"attention.value_length\")),\n \t\t\teps: c.Float(\"attention.layer_norm_rms_epsilon\"),\n \t\t\tropeBase: c.Float(\"rope.freq_base...
2025-09-17T19:12:21
huggingface/transformers
fddbd3c13cca7a51515a039c6f2497e94905acb4
1d063793318b20654ebb850f48f43e0a247ab7bb
Fix pix2struct (#34374) * fix * fix and test use_cache test * style * remove atol
[ { "path": "src/transformers/models/pix2struct/modeling_pix2struct.py", "patch": "@@ -762,11 +762,14 @@ def _relative_position_bucket(relative_position, bidirectional=True, num_buckets\n return relative_buckets\n \n # Adapted from transformers.models.t5.modeling_t5.T5Attention.compute_bias\n- ...
2024-10-28T10:24:56
nodejs/node
9759573997a1bbd58fc0ba62e8aa1b4f607ec158
b4c1222acc6ada19349c4f18723edce105bfce72
deps: cherry-pick 46c4979 from upstream V8 Original commit message: Use wider types for max_old_space_size and co. Make --max_old_space_size and friends work with values >= 2**31. Such values did not work reliably (or sometimes not all) due to signed integer overflow in size computations, which is UB...
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.3',\n+ 'v8_embedder_string': '-node.4',\n \n # Enable disassembler for `--print-code...
2018-03-07T11:37:54
vercel/next.js
1bbd2642164098ceb9cebfb36deba9aed7e8a53b
bebf3725a83f59b3c07635f985fe6cec368c1b0b
Add additional fix in hydration error document (#40675) I had the same issue, so the fix that worked for me was pulled from this thread https://stackoverflow.com/a/71870995 I have been experiencing the same problem lately with NextJS and i am not sure if my observations are applicable to other libraries. I had b...
[ { "path": "errors/react-hydration-error.md", "patch": "@@ -37,6 +37,40 @@ function MyComponent() {\n }\n ```\n \n+Another example:\n+\n+Invalid HTML may cause hydration mismatch such as div inside p.\n+\n+```jsx\n+export const IncorrectComponent = () => {\n+ return (\n+ <p>\n+ <div>\n+ This ...
2022-09-23T01:14:18
ollama/ollama
b225508c9b8f9118b57798c76f51f0e52835fabc
fa1c987a29df360ae503c09f1b3ddd2d6db6336a
logutil: fix source field (#12279)
[ { "path": "logutil/logutil.go", "patch": "@@ -5,6 +5,8 @@ import (\n \t\"io\"\n \t\"log/slog\"\n \t\"path/filepath\"\n+\t\"runtime\"\n+\t\"time\"\n )\n \n const LevelTrace slog.Level = -8\n@@ -29,10 +31,18 @@ func NewLogger(w io.Writer, level slog.Level) *slog.Logger {\n \t}))\n }\n \n+type key string\n+\n ...
2025-09-16T23:18:07
huggingface/transformers
6a62a6d1b54123ede3a1e3bda57c924c64e78124
f73f5e62e2383c1cb6975fca70082d6dc51ec6f2
Fix typos in agents_advanced.md (#34405)
[ { "path": "docs/source/en/agents_advanced.md", "patch": "@@ -66,10 +66,10 @@ manager_agent.run(\"Who is the CEO of Hugging Face?\")\n \n Let's take again the tool example from main documentation, for which we had implemented a `tool` decorator.\n \n-If you need to add variation, like custom attributes for y...
2024-10-25T15:52:29
nodejs/node
9396a9f02c75c2e7a7a6f07e761354633e5f22b5
d68ee7eab74c10a7d9323e2c2e447911c7ab7118
deps: cherry-pick 8bfbe25 from upstream V8 Original commit message: [compiler] Fix typing of NumberToString operator. It must be monotone. R=bmeurer@chromium.org Bug: v8:7354 Change-Id: I08dcd3333518029eef08c074c2b91b5c20ad699e Reviewed-on: https://chromium-review.googlesource.com/880982 ...
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.1',\n+ 'v8_embedder_string': '-node.2',\n \n # Enable disassembler for `--print-code...
2018-03-02T11:06:06
huggingface/transformers
f73f5e62e2383c1cb6975fca70082d6dc51ec6f2
e447185b1f19df3032b11b586506225bfdf6d111
Avoid check expected exception when it is on CUDA (#34408) * update * update --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/pipelines/test_pipelines_summarization.py", "patch": "@@ -85,8 +85,9 @@ def run_pipeline_test(self, summarizer, _):\n and len(summarizer.model.trainable_weights) > 0\n and \"GPU\" in summarizer.model.trainable_weights[0].device\n ):\n- ...
2024-10-25T15:14:07
ollama/ollama
a1cff89b30b6f0343ed79051b4a4868dc76bc2ad
93c64ea1b1941bc6077ff1cf48c8eac902052f77
fix: fix CUDA detection for older GPUs (#12300) Prioritize GPU compute capability over driver version to ensure Pascal GPUs (CC 6.1) use compatible CUDA v12 libraries instead of v13.
[ { "path": "discover/cuda_common.go", "patch": "@@ -45,10 +45,18 @@ func cudaVariant(gpuInfo CudaGPUInfo) string {\n \t\t}\n \t}\n \n+\t// Check GPU compute capability FIRST\n+\tisOldGPU := gpuInfo.computeMajor < 7 || (gpuInfo.computeMajor == 7 && gpuInfo.computeMinor < 5)\n+\tif isOldGPU {\n+\t\t// GPU is P...
2025-09-16T14:47:06
vercel/next.js
bebf3725a83f59b3c07635f985fe6cec368c1b0b
f19241bf33d0428ff08469913bca78e719147e48
fix/window.gtag is not defined for Next.js-hydration event(#40410) (#40645) Next.js-hydration now triggered after gtag is initialized. Fixed by adding _document.js and appropriate script elements. --- ## Documentation / Examples - [X] Related issues linked using fixes #40410 - [X] Make sure the linting passes by runn...
[ { "path": "examples/with-google-analytics/pages/_document.js", "patch": "@@ -0,0 +1,25 @@\n+import { Html, Head, Main, NextScript } from 'next/document'\n+\n+export default function Document() {\n+ return (\n+ <Html>\n+ <Head />\n+ <body>\n+ <Main />\n+ <NextScript />\n+\n+ ...
2022-09-23T01:13:16
nodejs/node
d727cf923d90fdfdc5db3e221e69781817a7bba2
5c8937c3c63d4721e0366da0a8a3b2dd10b73395
v8: add missing ',' in OpenBSD's 'sources' section. Add stack_trace_posix to 'sources' as well. Fixes https://github.com/nodejs/node/issues/15784 Fixes https://github.com/nodejs/help/issues/992 add stack_trace_posix to OpenBSD's sources PR-URL: https://github.com/nodejs/node/pull/18448 Reviewed-By: Daniel Bevenius ...
[ { "path": "deps/v8/src/v8.gyp", "patch": "@@ -2090,9 +2090,10 @@\n '-L/usr/local/lib -lexecinfo',\n ]},\n 'sources': [\n+ 'base/debug/stack_trace_posix.cc',\n 'base/platform/platform-openbsd.cc',\n 'base/platform/platform-posix...
2018-01-30T03:05:51
golang/go
c97af0036b8cd8ab2a7ed3f68c3ba72968637e4d
3663a437a781f4e7ce242aa334af2f2ce71ecef9
[dev.typeparams] cmd/compile: force untyped constants from types2 to expected kind Currently, types2 sometimes produces constant.Values with a Kind different than the untyped constant type's Is{Integer,Float,Complex} info, which irgen expects to always match. While we mull how best to proceed in #43891, this CL adapt...
[ { "path": "src/cmd/compile/internal/noder/decl.go", "patch": "@@ -5,6 +5,8 @@\n package noder\n \n import (\n+\t\"go/constant\"\n+\n \t\"cmd/compile/internal/base\"\n \t\"cmd/compile/internal/ir\"\n \t\"cmd/compile/internal/syntax\"\n@@ -58,7 +60,22 @@ func (g *irgen) constDecl(out *ir.Nodes, decl *syntax.C...
2021-01-26T01:26:07
huggingface/transformers
e447185b1f19df3032b11b586506225bfdf6d111
186b8dc190481032892d0a5d68b3db64f4ad4543
Fix bnb training test failure (#34414) * Fix bnb training test: compatibility with OPTSdpaAttention
[ { "path": "tests/quantization/bnb/test_4bit.py", "patch": "@@ -29,6 +29,7 @@\n BitsAndBytesConfig,\n pipeline,\n )\n+from transformers.models.opt.modeling_opt import OPTAttention\n from transformers.testing_utils import (\n apply_skip_if_not_implemented,\n is_bitsandbytes_available,\n@@ -565...
2024-10-25T14:23:20
ollama/ollama
3f6642f6fcf971ed6da02aac30ecb68168556482
6f7117145f56e00d16572ed11cb8f83c4b3af636
model: implement bert in ollama engine (#9080) * fix truncate * s/SentencePieceModel/SentencePiece/ * bert * wordpiece * refactor pooling * more tokenizers * normalize embeddings
[ { "path": "convert/convert_bert.go", "patch": "@@ -28,6 +28,7 @@ type bertModel struct {\n \tLayerNormEPS float32 `json:\"layer_norm_eps\"`\n \tLayerNormEpsilon float32 `json:\"layer_norm_epsilon\"`\n \tNormEpsilon float32 `json:\"norm_epsilon\"`\n+\tnormalizeEmbeddings bool\n \n \...
2025-09-15T22:35:59
nodejs/node
5c8937c3c63d4721e0366da0a8a3b2dd10b73395
bde8de8892c9f9455cdc06bf030b59e9673eb8c0
test: fix esm message tests after V8 update PR-URL: https://github.com/nodejs/node/pull/18453 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yang Guo <yangguo@chromium.org> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Michael Dawson <michael_...
[ { "path": "test/message/esm_display_syntax_error.out", "patch": "@@ -4,4 +4,3 @@ await async () => 0;\n ^^^^^\n SyntaxError: Unexpected reserved word\n at translators.set (internal/loader/Translators.js:*:*)\n- at <anonymous>", "additions": 0, "deletions": 1, "language": "Unknown" }, ...
2018-01-02T14:40:25
golang/go
1d5e14632edc2ba76156c8a771a2a1a5c5387326
cf263e9f772eeeac21df6fe8f51a8c93e8ad5a27
os: further document limitations around naked file descriptors NewFile requires the file descriptor to be either closed through the returned File instance, or to stay valid at least until the finalizer runs during garbage collection. These requirements are easily violated when file descriptors are closed via unix.Clo...
[ { "path": "src/os/file_unix.go", "patch": "@@ -66,6 +66,10 @@ type file struct {\n // making it invalid; see runtime.SetFinalizer for more information on when\n // a finalizer might be run. On Unix systems this will cause the SetDeadline\n // methods to stop working.\n+// Because file descriptors can be reu...
2021-01-24T05:53:36
huggingface/transformers
9f365fe0ac7fda3aa8adac6707f9368ac981cdd3
5779bac4c45b2c881603cafd20663892869d5860
Fix right padding in LLaVA models (#34305) * fix right pad llavas * device mismatch
[ { "path": "src/transformers/models/llava/modeling_llava.py", "patch": "@@ -354,7 +354,12 @@ def _merge_input_ids_with_image_features(self, image_features, inputs_embeds, in\n (batch_size, max_embed_dim), True, dtype=torch.bool, device=inputs_embeds.device\n )\n image_to_overwrite...
2024-10-25T09:02:07
vercel/next.js
2cbbd61b4a54ebf0c90fa1bd5fcc8cb89b9a3f31
50b98d50819cc1782c3a650fdb2f4a0edc0a9cff
Update publish script to skip lerna (#40815) This updates our `publish-release` script to bypass lerna so that we can retry publishing automatically when there is an npm error and tolerate non-fatal publish errors like already existing published versions. Currently this will only allow publishing a canary release t...
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -1008,7 +1008,7 @@ jobs:\n - run: npm i -g pnpm@${PNPM_VERSION}\n - run: echo \"//registry.npmjs.org/:_authToken=$NPM_TOKEN\" >> ~/.npmrc\n - run: ./scripts/publish-native.js $GITHUB_REF\n- - run: ./scripts/publish-rele...
2022-09-22T23:22:17
ollama/ollama
053092185eda0ac5272400ac4d4be135944800f7
44a679287366daf04c56c61fe0ab135de7de94c2
Fix image cannot be seen with slice image on llama engine Ollama's recent engine update, llama.cpp, caused all models requiring a slice schema to not display images. As a result, the value of numTokens isn't always the length of the sliced ​​image embed, but rather the end length of the schema. This causes the image e...
[ { "path": "llama/llama.go", "patch": "@@ -515,33 +515,34 @@ func (c *MtmdContext) NewEmbed(llamaContext *Context, data []byte) ([][]float32,\n \t}\n \tnChunks := C.mtmd_input_chunks_size(ic)\n \tnumEmbed := llamaContext.Model().NEmbd()\n-\tlastChunkSize := 0\n+\tembed := make([][]float32, 0)\n \tfor i := ra...
2025-09-12T23:25:12
rust-lang/rust
865a5a7e164950cf728439d12efb762e29c46c2c
34a340e85923dd0d327a08effe9bcf7701758079
mention that know-bug test directive takes arguments
[ { "path": "src/doc/rustc-dev-guide/src/tests/ui.md", "patch": "@@ -415,6 +415,14 @@ reasons, including:\n can alert the developer so they know that the associated issue has been fixed\n and can possibly be closed.\n \n+This directive takes comma-separated issue numbers as arguments, or `\"unknown\"`:\...
2025-03-29T18:02:01
nodejs/node
42e9b483c0d5a0ee49b91428415b4ccd8e94ebe4
1d2fd8b65bacaf4401450edc8ed529106cbcfc67
doc: improve onboarding instructions - Suggest to use a TOTP app if the new collaborator cannot receive SMS messages from GitHub - Suggest to install node-core-utils and set up credentials before the onboarding session. - Ask about subsystem teams that they want to join - Note about squashing commits - Other small...
[ { "path": "COLLABORATOR_GUIDE.md", "patch": "@@ -470,10 +470,11 @@ $ npm install -g node-core-utils\n $ git node land $PRID\n ```\n \n-If it's the first time you ever use `node-core-utils`, you will be prompted\n-to type the password of your GitHub account in the console so the tool can\n-create the GitHub ...
2018-03-03T12:32:01
huggingface/transformers
5779bac4c45b2c881603cafd20663892869d5860
940a6bd343cfd2ff4f4425b4cbc548d1e1d316da
Fix onnx non-expotable inplace aten op (#34376) * fix onnx non-expotable inplace op * mistral, qwen2, qwen2_vl, starcoder2 * fixup copies
[ { "path": "src/transformers/models/mimi/modeling_mimi.py", "patch": "@@ -1156,7 +1156,7 @@ def _prepare_4d_causal_attention_mask_with_cache_position(\n sliding_attend_mask = torch.arange(target_length, device=device) <= (\n cache_position.reshape(-1, 1) - config.s...
2024-10-25T07:44:09
vercel/next.js
50b98d50819cc1782c3a650fdb2f4a0edc0a9cff
66ca4c21eb9504abd46b5d3064e905af52302bdc
Tolerate already published error for retrying (#40812) This updates our `publish-native` script to tolerate the already published npm error so that we can retry publishing on an `npm` [service error like noticed here](https://github.com/vercel/next.js/actions/runs/3108335849/jobs/5037966318#step:10:2076). We proba...
[ { "path": "scripts/publish-native.js", "patch": "@@ -46,7 +46,17 @@ const cwd = process.cwd()\n } catch (err) {\n // don't block publishing other versions on single platform error\n console.error(`Failed to publish`, platform)\n- throw err\n+\n+ if (\n+ err.messa...
2022-09-22T21:35:09
ollama/ollama
61fb912ca46fe902180892316f6cc34adda07b67
aba157531521192a04d09811fac3cda20e1a8340
CI: fix windows cuda build (#12246) * ci: adjust cuda component list v13 has a different breakdown of the components required to build ollama * review comments
[ { "path": ".github/workflows/release.yaml", "patch": "@@ -65,13 +65,26 @@ jobs:\n arch: amd64\n preset: 'CUDA 12'\n install: https://developer.download.nvidia.com/compute/cuda/12.8.0/local_installers/cuda_12.8.0_571.96_windows.exe\n+ cuda-components:\n+ ...
2025-09-11T19:25:26