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 |
|---|---|---|---|---|---|
ollama/ollama | 85ab552028b8d53fc85561c0c588a80924ecd621 | b3af953a55f0bd054937374404506c4229fbda8c | ollama-debug.c: correct mistype
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com> | [
{
"path": "ml/backend/ggml/ggml/src/ollama-debug.c",
"patch": "@@ -24,7 +24,7 @@ static void print_tensor(const void *tensor, void (*cb)(const void *, int),\n fprintf(stderr, \"[\");\n for (int i = 0; i < dims[0]; i++) {\n if (i >= nitems && i < dims[0] - nitems) {\n- fprintf(stde... | 2025-03-12T14:32:30 |
nodejs/node | 4ac7be94f004811a57545c5a191381156af23e43 | 93df1169ea451983f09611c0acc9d3c98760dd28 | doc: be more explicit in the sypnosis
Assuming less knowledge on the part of the reader, making it easier
to get start using Node.js.
PR-URL: https://github.com/nodejs/node/pull/17977
Fixes: https://github.com/nodejs/node/issues/17970,
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Gireesh Punathil... | [
{
"path": "doc/api/synopsis.md",
"patch": "@@ -9,9 +9,58 @@ Please see the [Command Line Options][] document for information about\n different options and ways to run scripts with Node.js.\n \n ## Example\n-\n An example of a [web server][] written with Node.js which responds with\n-`'Hello World'`:\n+`'Hel... | 2018-01-04T10:17:01 |
huggingface/transformers | 614c79a9b0ef2c337d05d3e759fea6fc0f283c15 | b09234cfc12d256db2905e232160a9d1c533d293 | Fix kwargs passed by AutoQuantizationConfig.from_pretrained (#33798)
fix kwargs
Co-authored-by: kylesayrs <kyle@neuralmagic.com> | [
{
"path": "src/transformers/quantizers/auto.py",
"patch": "@@ -108,7 +108,7 @@ def from_pretrained(cls, pretrained_model_name_or_path, **kwargs):\n quantization_config_dict = model_config.quantization_config\n quantization_config = cls.from_dict(quantization_config_dict)\n # Update w... | 2024-10-02T12:12:03 |
vercel/next.js | 4f3606493891740d36c64da97fa3536d4dc69f84 | ca807d66f90e9af76e87706c029176d6497d1513 | Update docker image for stats action (#40032)
Noticed the stats action was leveraging the wasm fallback incorrectly
which seems to be due to the necessary glibc version not being available
in the docker image we were leveraging so this updates the base docker
image used so the wasm fallback isn't needed and the dev... | [
{
"path": ".github/actions/next-stats-action/Dockerfile",
"patch": "@@ -1,4 +1,4 @@\n-FROM node:14-buster\n+FROM node:16-bullseye\n \n LABEL com.github.actions.name=\"Next.js PR Stats\"\n LABEL com.github.actions.description=\"Compares stats of a PR with the main branch\"",
"additions": 1,
"deletion... | 2022-08-28T18:43:29 |
ollama/ollama | 83f0ec8269eeaaef993af5b61916919db34e8cb7 | c6b6938b3a5d0aef109464e8d42c7849d72bacce | all: address linter errors | [
{
"path": "convert/convert.go",
"patch": "@@ -228,7 +228,6 @@ func ConvertModel(fsys fs.FS, ws io.WriteSeeker) error {\n \tswitch {\n \tcase vocabSize == 0:\n \t\tslog.Warn(\"vocabulary size was not explicitly set by the model\", \"default size\", len(t.Vocabulary.Tokens))\n-\t\tvocabSize = len(t.Vocabulary... | 2025-03-11T18:00:13 |
huggingface/transformers | fe484726aacde240628ccb380a6362fc501a26cb | 181c962aabb4be59ddba82071d82adbbe3b3922d | Add falcon gguf (#33437)
* feat(gguf): add falcon q2 k
* fix(gguf): remove useless renaming
* feat(gguf): seperate falcon 7b and 40b
* feat(gguf): apply fixup
* fix(test): error rebase
* feat(gguf): add fp16 weight comparison for falcon
* feat(gguf): test weight of all layers
* test(gguf): add fal... | [
{
"path": "docs/source/en/gguf.md",
"patch": "@@ -81,6 +81,7 @@ For now the supported model architectures are the architectures that have been v\n - Qwen2Moe\n - Phi3\n - Bloom\n+- Falcon\n \n ## Example usage\n ",
"additions": 1,
"deletions": 0,
"language": "Markdown"
},
{
"path": "src/... | 2024-10-02T12:10:39 |
nodejs/node | b8f7f84fc233a5876b1d275fed63775bdbb7932f | e5429204679cab10cd4ee28d5dfec9026a91a6d1 | test: fix flaky test-http2-session-unref
This test should exit naturally or will timeout on its own,
a separate unrefed timer is not necessary.
PR-URL: https://github.com/nodejs/node/pull/18589
Fixes: https://github.com/nodejs/node/issues/18587
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Jame... | [
{
"path": "test/parallel/test-http2-session-unref.js",
"patch": "@@ -49,5 +49,3 @@ server.listen(0, common.mustCall(() => {\n }));\n server.emit('connection', serverSide);\n server.unref();\n-\n-setTimeout(common.mustNotCall(() => {}), 1000).unref();",
"additions": 0,
"deletions": 2,
"language":... | 2018-02-05T20:55:15 |
vercel/next.js | d592d20673c0cc9a7eaa36f8818ff815608bd2e8 | 47dc97cc616b9c6ae9ba083035af732bfed4fb41 | Avoid bundling `next/script` in the server build by default (#40013)
We only use `if (child.type === Script)` on the server side to check the
element type, that's unnecessary because we can add a special flag for
that (`__nextScript` in this PR).
This reduces the server bundle by ~13kb if `next/script` is not imp... | [
{
"path": "packages/next/client/script.tsx",
"patch": "@@ -215,4 +215,6 @@ function Script(props: ScriptProps): JSX.Element | null {\n return null\n }\n \n+Object.defineProperty(Script, '__nextScript', { value: true })\n+\n export default Script",
"additions": 2,
"deletions": 0,
"language": "U... | 2022-08-28T18:36:42 |
ollama/ollama | c6b6938b3a5d0aef109464e8d42c7849d72bacce | fb4664fcec8c205b48ea7edd0c6f760fc2c346b0 | kvcache: fix tests by adding AvgPool2D stub | [
{
"path": "kvcache/causal_test.go",
"patch": "@@ -445,6 +445,10 @@ func (t *testTensor) AvgPool1D(ctx ml.Context, k, s, p int) ml.Tensor {\n \tpanic(\"not implemented\")\n }\n \n+func (t *testTensor) AvgPool2D(ctx ml.Context, k, s int, p float32) ml.Tensor {\n+\tpanic(\"not implemented\")\n+}\n+\n func (t *... | 2025-03-11T17:57:48 |
nodejs/node | d797775fb82caae5f721140625dfb0f984ce929e | c0762c2f54f80b92f2f5e0f9af51f4c048c53e4f | tools: add fixer for prefer-assert-iferror.js
PR-URL: https://github.com/nodejs/node/pull/16648
Refs: https://github.com/nodejs/node/issues/16636
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Br... | [
{
"path": "test/parallel/test-eslint-prefer-assert-iferror.js",
"patch": "@@ -14,12 +14,18 @@ new RuleTester().run('prefer-assert-iferror', rule, {\n ],\n invalid: [\n {\n- code: 'if (err) throw err;',\n- errors: [{ message: 'Use assert.ifError(err) instead.' }]\n+ code: 'require(\"as... | 2017-10-31T20:01:02 |
huggingface/transformers | 50290cf7a0234c1b30bfdbf08fbb714fae3a2f19 | 2292be6c1b139a2f425dedc650e7cd59bfdbc5f3 | Uniformize model processors (#31368)
* add initial design for uniform processors + align model
* add uniform processors for altclip + chinese_clip
* add uniform processors for blip + blip2
* fix mutable default :eyes:
* add configuration test
* handle structured kwargs w defaults + add test
* protect... | [
{
"path": "src/transformers/models/blip/processing_blip.py",
"patch": "@@ -19,9 +19,25 @@\n from typing import List, Optional, Union\n \n from ...image_utils import ImageInput\n-from ...processing_utils import ProcessorMixin\n-from ...tokenization_utils_base import BatchEncoding, PaddingStrategy, PreTokeniz... | 2024-10-02T08:41:08 |
golang/go | 37f138df6bcd7bb7cf62148cd8388f3916388ab6 | 3d8a3cb06b98d24e4fbf99d7d8706271cbb9634f | [dev.regabi] cmd/compile: split out package test [generated]
[git-generate]
cd src/cmd/compile/internal/gc
rf '
mv bench_test.go constFold_test.go dep_test.go \
fixedbugs_test.go iface_test.go float_test.go global_test.go \
inl_test.go lang_test.go logic_test.go \
reproduciblebuilds_test.go shift_test.go ssa_te... | [
{
"path": "src/cmd/compile/internal/test/bench_test.go",
"patch": "@@ -2,7 +2,7 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n-package gc\n+package test\n \n import \"testing\"\n ",
"additions": 1,
"deletions": 1,
"language": "... | 2020-12-23T06:09:46 |
vercel/next.js | e6862e4061e61efa3d51d22703a6cec3b285f395 | afbf4b10e907cbe5d52849a97465c97a0e89371e | fix(#39993): avoid race condition for next/script onReady (#40002)
Fixes #39993.
Before the PR:
- `next/script` component mount, `useEffect` for `onReady` executes
- The script's cacheKey is not added to `LoadCache`, skip `onReady`
- The second `useEffect` for `loadScript` executes
- The script's cacheKey is added t... | [
{
"path": "packages/next/client/script.tsx",
"patch": "@@ -61,6 +61,9 @@ const loadScript = (props: ScriptProps): void => {\n \n const loadPromise = new Promise<void>((resolve, reject) => {\n el.addEventListener('load', function (e) {\n+ // add cacheKey to LoadCache when load successfully\n+ ... | 2022-08-28T08:47:55 |
ollama/ollama | 06007c0a187f3fa12cde58fc337f15cbf7a6cbf8 | a8e83a7654fffa169b90fa927e6d19c4c0c765d7 | Allow models to force a new batch
This is useful for a few things:
- Work around bugs, such as having 2 images in one batch
- Keep the image in a single batch for fully connected attention
- Improve performance by not evaluating embeddings multiple times | [
{
"path": "model/input/input.go",
"patch": "@@ -15,6 +15,12 @@ type Input struct {\n \t// stored in Multimodal, used for caching and comparing\n \t// equality.\n \tMultimodalHash uint64\n+\n+\t// BatchBreak forces a new batch to be started with this\n+\t// input. For example, this can be used to align image... | 2025-03-11T03:03:29 |
huggingface/transformers | 2292be6c1b139a2f425dedc650e7cd59bfdbc5f3 | 61ac161a9d67dd6e7a7a971d8828f08fb127a2c6 | Fix: typo (#33880)
Update llm_tutorial.md: typo | [
{
"path": "docs/source/en/llm_tutorial.md",
"patch": "@@ -164,7 +164,7 @@ If not specified in the [`~generation.GenerationConfig`] file, `generate` return\n By default, and unless specified in the [`~generation.GenerationConfig`] file, `generate` selects the most likely token at each iteration (greedy decod... | 2024-10-02T08:12:21 |
nodejs/node | c0762c2f54f80b92f2f5e0f9af51f4c048c53e4f | 030384833f95ee9f61fc194cdcab4075df083926 | errors: move error creation helpers to errors.js
This commit moves error creation helpers scattered around
under lib/ into lib/internal/errors.js in the hope of being clearer
about the differences of errors that we throw into the user land.
- Move util._errnoException and util._exceptionWithHostPort
into internal/e... | [
{
"path": "lib/dgram.js",
"patch": "@@ -45,8 +45,8 @@ const SEND_BUFFER = false;\n // Lazily loaded\n var cluster = null;\n \n-const errnoException = util._errnoException;\n-const exceptionWithHostPort = util._exceptionWithHostPort;\n+const errnoException = errors.errnoException;\n+const exceptionWithHostPo... | 2018-02-03T09:09:15 |
vercel/next.js | afbf4b10e907cbe5d52849a97465c97a0e89371e | f6c96e05c08cf839b8f64ea83f11fa430cf6b49b | Add test for server CSS imports (#40019)
Now we are covering all 8 scenarios in our tests: server-client × global-CSS Modules × page-layout. Next step is to cover HMR and page navigation cases.
## Bug
- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have helpful link attac... | [
{
"path": "test/e2e/app-dir/app/app/css/css-page/page.server.js",
"patch": "@@ -1,5 +1,13 @@\n import './style.css'\n+import styles from './style.module.css'\n \n export default function Page() {\n- return <h1>Page</h1>\n+ return (\n+ <>\n+ <h1>Page</h1>\n+ <div id=\"cssm\" className={styles.... | 2022-08-28T00:49:59 |
ollama/ollama | 2c40c4d35eddc86673c5b0c116e2a34ef8ee2c4a | e95278932bfd0eac5800ec28efe5c49a0d9ce8c3 | Fix follow up images and images split across batches | [
{
"path": "model/models/gemma3/model.go",
"patch": "@@ -5,7 +5,6 @@ import (\n \t\"encoding/binary\"\n \t\"hash/fnv\"\n \t\"image\"\n-\t\"slices\"\n \n \t\"github.com/ollama/ollama/kvcache\"\n \t\"github.com/ollama/ollama/ml\"\n@@ -99,49 +98,43 @@ func (m *Model) EncodeMultimodal(ctx ml.Context, multimodalD... | 2025-03-10T04:29:58 |
huggingface/transformers | 61ac161a9d67dd6e7a7a971d8828f08fb127a2c6 | 1baa08897d20ba39b918b5acdef5858584b0b08e | Add support for custom inputs and batched inputs in ProcessorTesterMixin (#33711)
* add support for custom inputs and batched inputs in ProcessorTesterMixin
* Fix batch_size behavior ProcessorTesterMixin
* Change format prepare inputs batched
* Remove override test pixtral processor
* Remove unnecessary te... | [
{
"path": "src/transformers/models/instructblipvideo/image_processing_instructblipvideo.py",
"patch": "@@ -57,8 +57,11 @@ def make_batched_videos(videos) -> List[VideoInput]:\n elif len(videos[0].shape) == 4:\n return [list(video) for video in videos]\n \n- elif is_valid_image(videos)... | 2024-10-01T21:52:03 |
nodejs/node | 030384833f95ee9f61fc194cdcab4075df083926 | 12ae33476a69a3b13477ffd60a7497088e769870 | fs: do not call new when creating uvException
We cannot make uvException a proper class due to compatibility
reasons for now, so there is no need to call new since
it only returns a newly-created Error.
PR-URL: https://github.com/nodejs/node/pull/18546
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/fs.js",
"patch": "@@ -407,7 +407,7 @@ fs.accessSync = function(path, mode) {\n binding.access(pathModule.toNamespacedPath(path), mode, undefined, ctx);\n \n if (ctx.errno !== undefined) {\n- throw new errors.uvException(ctx);\n+ throw errors.uvException(ctx);\n }\n };\n \n@@ -638,... | 2018-02-03T09:35:04 |
ollama/ollama | 2e54d72fc36f85d45c4392f14b2433972736d035 | 6b32a2d549ca3c37cae64ae6d6d2419e0f2bc139 | fix gemma3 1b conversion | [
{
"path": "convert/convert_gemma3.go",
"patch": "@@ -80,12 +80,13 @@ func (p *gemma3Model) KV(t *Tokenizer) ggml.KV {\n \t\tkv[\"gemma3.attention.key_length\"] = p.HeadDim\n \t\tkv[\"gemma3.attention.value_length\"] = p.HeadDim\n \t\tkv[\"gemma3.attention.sliding_window\"] = p.SlidingWindow\n-\t\tkv[\"gemma... | 2025-03-10T22:35:07 |
vercel/next.js | 8fa05a22bc039d6d77632be99973221cf43a5646 | 357f91822c7ccecea1241e7d5458c56e4e674668 | Reduce files to trace (#290)
- We only need the entry chunk, which is the last item of `entrypoint.getFiles()`
- Found the `yarn version` handle the `prerelease` version incorrectly: https://github.com/yarnpkg/berry/issues/4799
- Prevent OOM on Vercel build by limiting the chunks count in every `node-file-trace` invok... | [
{
"path": "packages/turbo-tracing-next-plugin/package.json",
"patch": "@@ -1,6 +1,6 @@\n {\n \"name\": \"@vercel/turbo-tracing-next-plugin\",\n- \"version\": \"0.0.3-alpha.0\",\n+ \"version\": \"0.0.7-beta.0\",\n \"license\": \"UNLICENSED\",\n \"main\": \"dist/index.js\",\n \"types\": \"dist/index... | 2022-08-27T09:31:48 |
huggingface/transformers | 1baa08897d20ba39b918b5acdef5858584b0b08e | 68a2b500690e684ff38da410363ffac24dbe6048 | Repo consistency fix after #33339 (#33873)
* Repo consistency fix after #33339
* [run-slow] omdet_turbo | [
{
"path": "src/transformers/models/omdet_turbo/modeling_omdet_turbo.py",
"patch": "@@ -418,29 +418,6 @@ def __init__(self, config: OmDetTurboConfig, num_heads: int, n_points: int):\n \n self.disable_custom_kernels = config.disable_custom_kernels\n \n- self._reset_parameters()\n-\n- def _re... | 2024-10-01T20:03:15 |
nodejs/node | 12ae33476a69a3b13477ffd60a7497088e769870 | bff5d5b8f0c462880ef63a396d8912d5188bbd31 | util: skip type checks in internal getSystemErrorName
PR-URL: https://github.com/nodejs/node/pull/18546
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/internal/util.js",
"patch": "@@ -221,14 +221,6 @@ function getConstructorOf(obj) {\n }\n \n function getSystemErrorName(err) {\n- if (typeof err !== 'number') {\n- throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'err', 'number', err);\n- }\n- if (err >= 0 || !Number.isSafeInteger(err... | 2018-02-03T09:30:48 |
ollama/ollama | f888912870c16bf11511880775132804c441e731 | 9e4642e9b3e9a26d423c62915805375ca253d7d1 | fix vision encoder | [
{
"path": "model/models/gemma3/model_text.go",
"patch": "@@ -180,7 +180,7 @@ func (m *TextModel) Forward(ctx ml.Context, inputs, positions, outputs ml.Tensor\n \tif multimodal != nil {\n \t\tvisionOutputs := multimodal[0].Multimodal.(ml.Tensor)\n \t\toffset := multimodal[0].Index - 1 - visionOutputs.Dim(1)\... | 2025-03-09T23:18:13 |
vercel/next.js | f6c96e05c08cf839b8f64ea83f11fa430cf6b49b | 6da621df635304615783b2442b002f0618199796 | Fix incorrect build log for moduleResolution (#39991)
Removes extra log shown when checking `moduleResolution` in
`tsconfig.json` and adds regression test.
## Bug
- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md` | [
{
"path": "packages/next/lib/typescript/writeConfigurationDefaults.ts",
"patch": "@@ -90,9 +90,6 @@ export function getRequiredConfiguration(\n const desiredCompilerOptions = getDesiredCompilerOptions(ts)\n for (const optionKey of Object.keys(desiredCompilerOptions)) {\n const ev = desiredCompilerOp... | 2022-08-27T00:05:12 |
golang/go | e4895ab4c0eb44de6ddc5dc8d860a827b20d2781 | 01fd2d05c8b7bfc083977ca73123a5541b289737 | [dev.regabi] cmd/compile: split out package walk [generated]
[git-generate]
cd src/cmd/compile/internal/gc
rf '
# Late addition to package ir.
mv closuredebugruntimecheck ClosureDebugRuntimeCheck
mv hasemptycvars IsTrivialClosure
mv ClosureDebugRuntimeCheck IsTrivialClosure func.go
mv func.go cmd/compile/internal... | [
{
"path": "src/cmd/compile/fmtmap_test.go",
"patch": "@@ -37,7 +37,6 @@ var knownFormats = map[string]string{\n \t\"[]cmd/compile/internal/syntax.token %s\": \"\",\n \t\"cmd/compile/internal/arm.shift %d\": \"\",\n \t\"cmd/compile/internal/gc.RegIndex %d\": \"\",\n-\t\"cmd/compile/... | 2020-12-23T06:05:16 |
ollama/ollama | 9e4642e9b3e9a26d423c62915805375ca253d7d1 | 6b0486c216d639257b48f7c0b0bb01358bdbc765 | ollama debug tensor | [
{
"path": "llama/patches/0020-ollama-debug-tensor.patch",
"patch": "@@ -0,0 +1,33 @@\n+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001\n+From: Michael Yang <mxyng@pm.me>\n+Date: Sun, 9 Mar 2025 14:44:16 -0700\n+Subject: [PATCH] ollama debug tensor\n+\n+---\n+ ggml/src/ggml-cpu/ggml-cp... | 2025-03-09T21:45:36 |
nodejs/node | e7cb694a609de41817ba7492fe6848ab6dcb4768 | 610cac26f0f0d98df2541bdc4251c624cca52702 | stream: always reset awaitDrain when emitting data
The complicated `awaitDrain` machinery can be made a bit
slimmer, and more correct, by just resetting the value
each time `stream.emit('data')` is called.
By resetting the value before emitting the data chunk, and
seeing whether any pipe destinations return `.write()... | [
{
"path": "lib/_stream_readable.js",
"patch": "@@ -258,6 +258,7 @@ function readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {\n \n function addChunk(stream, state, chunk, addToFront) {\n if (state.flowing && state.length === 0 && !state.sync) {\n+ state.awaitDrain = 0;\n strea... | 2018-02-02T00:41:35 |
vercel/next.js | 6da621df635304615783b2442b002f0618199796 | f7df3fc1587089f25de8f9cba41ce436059e0bbe | feat: add `experimental.fallbackNodePolyfills` flag (#39248)
For historical reasons, Next.js has been falling back to polyfill certain Node.js APIs in the browser. `webpack` itself stopped doing it, and so should Next.js. This might unexpectedly break some packages in the ecosystem though, so it is being introduced as... | [
{
"path": "packages/next/build/webpack-config.ts",
"patch": "@@ -1577,61 +1577,74 @@ export default async function getBaseWebpackConfig(\n },\n {\n resolve: {\n- // Full list of old polyfills is accessible here:\n- ... | 2022-08-26T23:11:57 |
golang/go | 01fd2d05c8b7bfc083977ca73123a5541b289737 | 6c34d2f42077bd7757c942c8d1b466366190b45a | [dev.regabi] cmd/compile: split out package dwarfgen [generated]
[git-generate]
cd src/cmd/compile/internal/gc
rf '
# Inline and remove ngotype.
ex {
import "cmd/compile/internal/ir"
import "cmd/compile/internal/reflectdata"
var n ir.Node
ngotype(n) -> reflectdata.TypeSym(n.Type())
}
rm ngotype
mv recor... | [
{
"path": "src/cmd/compile/internal/dwarfgen/dwarf.go",
"patch": "@@ -2,13 +2,17 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n-package gc\n+package dwarfgen\n \n import (\n+\t\"bytes\"\n+\t\"flag\"\n+\t\"fmt\"\n \t\"sort\"\n \n \t\"cmd/co... | 2020-12-23T05:58:27 |
ollama/ollama | 9b54267e6951ec6cff7fc2188899ac5d4169ab79 | 46bb0169c40f466994cde8a89b455d8e3f9e177e | fix configs | [
{
"path": "convert/convert_gemma3.go",
"patch": "@@ -10,6 +10,7 @@ type gemma3Model struct {\n \tgemmaModel\n \tArchitecture string\n \tTextModel struct {\n+\t\tHeadDim uint32 `json:\"head_dim\"`\n \t\tHiddenSize uint32 `json:\"hidden_size\"`\n \t\tHiddenLayers uint32 `json:\"num_hidde... | 2025-03-09T00:16:23 |
rust-lang/rust | 282b61b64174f8dca382932c5f5f3385c28c4a11 | 48005578576c7820590f680b92f5f6213b9165f5 | fix: `nonminimal_bool` wrongly showed the macro definition | [
{
"path": "clippy_lints/src/booleans.rs",
"patch": "@@ -13,7 +13,7 @@ use rustc_hir::{BinOpKind, Body, Expr, ExprKind, FnDecl, UnOp};\n use rustc_lint::{LateContext, LateLintPass, Level};\n use rustc_session::impl_lint_pass;\n use rustc_span::def_id::LocalDefId;\n-use rustc_span::{Span, sym};\n+use rustc_sp... | 2025-03-17T15:28:43 |
nodejs/node | d1d9e2fce521ae1deae4fa2b75a7f93a9c5bdafb | ac829f0135b02e0c130e2433e028235c2bed2059 | doc: fix typo in http2.md
PR-URL: https://github.com/nodejs/node/pull/18602
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com> | [
{
"path": "doc/api/http2.md",
"patch": "@@ -1701,7 +1701,7 @@ changes:\n and the total frame length will *not* necessarily be aligned at 8 bytes.\n * `peerMaxConcurrentStreams` {number} Sets the maximum number of concurrent\n streams for the remote peer as if a SETTINGS frame had been received.... | 2018-02-06T16:38:31 |
vercel/next.js | f7df3fc1587089f25de8f9cba41ce436059e0bbe | 6a65dc5d3deebcabde380f103e95758727122a92 | Ensure prefetch heuristic matches with and without middleware (#39920)
This fixes the prefetching handling when middleware is present as currently we are incorrectly triggering data requests for non-SSG pages to handle the case where a middleware rewrite is present and pointing to an SSG path. Since the majority use c... | [
{
"path": "packages/next/shared/lib/router/router.ts",
"patch": "@@ -2231,12 +2231,6 @@ export default class Router implements BaseRouter {\n ? options.locale || undefined\n : this.locale\n \n- const isMiddlewareMatch = await matchesMiddleware({\n- asPath: asPath,\n- locale: loc... | 2022-08-26T21:24:10 |
ollama/ollama | 0e886595bf3d4ee33737f4b30154210b0df2d2df | c62861f4fa4bd5a82a1c8b46bea74b1672d384b3 | Fix tests and drift from main | [
{
"path": "kvcache/causal_test.go",
"patch": "@@ -499,6 +499,10 @@ func (t *testTensor) Contiguous(ctx ml.Context) ml.Tensor {\n \tpanic(\"not implemented\")\n }\n \n+func (t *testTensor) Set(ctx ml.Context, t2 ml.Tensor, offset int, strides ...int) ml.Tensor {\n+\tpanic(\"not implemented\")\n+}\n+\n func (... | 2025-03-08T00:05:56 |
golang/go | 6c34d2f42077bd7757c942c8d1b466366190b45a | de65151e507e7b3c8e46d74f223d7c562177bedc | [dev.regabi] cmd/compile: split out package ssagen [generated]
[git-generate]
cd src/cmd/compile/internal/gc
rf '
# maxOpenDefers is declared in ssa.go but used only by walk.
mv maxOpenDefers walk.go
# gc.Arch -> ssagen.Arch
# It is not as nice but will do for now.
mv Arch ArchInfo
mv thearch Arch
mv Arch Arc... | [
{
"path": "src/cmd/compile/internal/amd64/galign.go",
"patch": "@@ -5,13 +5,13 @@\n package amd64\n \n import (\n-\t\"cmd/compile/internal/gc\"\n+\t\"cmd/compile/internal/ssagen\"\n \t\"cmd/internal/obj/x86\"\n )\n \n var leaptr = x86.ALEAQ\n \n-func Init(arch *gc.Arch) {\n+func Init(arch *ssagen.ArchInfo) ... | 2020-12-23T05:57:10 |
huggingface/transformers | 68a2b500690e684ff38da410363ffac24dbe6048 | 8635802af9c9ec1c9fa30541992994b88e3ec1d3 | [Fix] ViViT interpolate_pos_encoding (#33815)
* fix:test_inference_interpolate_pos_encoding
* style:make style;make fixup
* test: add suggestion to test_modeling_vivit
* chore:add suggestions
* style:make style
* [run_slow] vivit
* ci:slow test fix
* [run_slow] vivit | [
{
"path": "src/transformers/models/vivit/modeling_vivit.py",
"patch": "@@ -104,9 +104,10 @@ def __init__(self, config):\n torch.zeros(1, self.patch_embeddings.num_patches + 1, config.hidden_size)\n )\n self.dropout = nn.Dropout(config.hidden_dropout_prob)\n+ self.patch_siz... | 2024-10-01T19:14:35 |
nodejs/node | 6a29630c30186d7a0c71203fe7b15a39ea080c1d | 075eef59561c259b7d9df9f72672419feaf4a40e | src: fix crypto.pbkdf2 callback error argument
Callbacks should always return `null` instead of `undefined` if no
error occurred.
PR-URL: https://github.com/nodejs/node/pull/18458
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Fedor Indutny <fedor.indutny@gm... | [
{
"path": "src/node_crypto.cc",
"patch": "@@ -4943,7 +4943,7 @@ void PBKDF2Request::Work(uv_work_t* work_req) {\n \n void PBKDF2Request::After(Local<Value> (*argv)[2]) {\n if (success_) {\n- (*argv)[0] = Undefined(env()->isolate());\n+ (*argv)[0] = Null(env()->isolate());\n (*argv)[1] = Buffer::... | 2018-01-30T17:43:50 |
vercel/next.js | 6a65dc5d3deebcabde380f103e95758727122a92 | c6dafda053730dd9ebd295ae389c6a7471fba8d3 | Fix `next/future/image` incorrectly warning for `fill` + `blur` (#39986)
This warning was incorrectly printed when `fill` and `placeholder="blur"` were used together:
> Image with src "/test.jpg" is smaller than 40x40. Consider removing the "placeholder='blur'" property to improve performance. | [
{
"path": "packages/next/client/future/image.tsx",
"patch": "@@ -697,7 +697,7 @@ export default function Image({\n }\n \n if (placeholder === 'blur') {\n- if ((widthInt || 0) * (heightInt || 0) < 1600) {\n+ if (widthInt && heightInt && widthInt * heightInt < 1600) {\n warnOnce(\n ... | 2022-08-26T21:03:51 |
ollama/ollama | c62861f4fa4bd5a82a1c8b46bea74b1672d384b3 | 0df1800436bfb48b0556fce8f37c5d2e256c1d0a | fix conversion | [
{
"path": "convert/convert.go",
"patch": "@@ -190,8 +190,8 @@ func ConvertModel(fsys fs.FS, ws io.WriteSeeker) error {\n \t\tconv = &gemmaModel{}\n \tcase \"Gemma2ForCausalLM\":\n \t\tconv = &gemma2Model{}\n-\tcase \"Gemma3ForConditionalGeneration\":\n-\t\tconv = &gemma3Model{}\n+\tcase \"Gemma3ForCausalLM\... | 2025-03-07T22:06:10 |
huggingface/transformers | 8635802af9c9ec1c9fa30541992994b88e3ec1d3 | a43e84cb3b78fcac3d5d9374a8488f74f3f19245 | Move weight initilization deformabledetr (#33339)
* fix(copy): fixup copy
* fix(deformable_detr): move weight initialization to the right place
* fix(grounding_dino): move weight initialization to the right place
* fix(rt_detr): move weight initialization to the right place
* [run-slow] deformable_detr, gr... | [
{
"path": "src/transformers/models/deformable_detr/modeling_deformable_detr.py",
"patch": "@@ -660,29 +660,6 @@ def __init__(self, config: DeformableDetrConfig, num_heads: int, n_points: int):\n \n self.disable_custom_kernels = config.disable_custom_kernels\n \n- self._reset_parameters()\n-\n... | 2024-10-01T19:08:57 |
nodejs/node | a27f48d6199eac396a488b5625a1b3f629d5b070 | 3e910fb8f7bc42cfd9f114260322265d0ec00278 | assert: fix generatedMessage
The generatedMessage was wrong in case simple assert was used and
a message was auto generated. This fixed the TODO.
PR-URL: https://github.com/nodejs/node/pull/18322
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Joyee C... | [
{
"path": "lib/assert.js",
"patch": "@@ -204,7 +204,10 @@ function innerOk(args, fn) {\n var [value, message] = args;\n \n if (!value) {\n+ let generatedMessage = false;\n+\n if (args.length === 0) {\n+ generatedMessage = true;\n message = 'No value argument passed to `assert.ok()`';\n... | 2018-01-31T14:43:09 |
golang/go | de65151e507e7b3c8e46d74f223d7c562177bedc | 4dfb5d91a86dfcc046ced03cee6e844df0751e41 | [dev.regabi] cmd/compile: split out package reflectdata [generated]
[git-generate]
cd src/cmd/compile/internal/gc
rf '
ex {
import "cmd/compile/internal/base"
thearch.LinkArch.Name -> base.Ctxt.Arch.Name
}
# Move out of reflect.go a few functions that should stay.
mv addsignats obj.go
mv deferstruct ssa.go
... | [
{
"path": "src/cmd/compile/internal/gc/abiutils_test.go",
"patch": "@@ -7,6 +7,7 @@ package gc\n import (\n \t\"bufio\"\n \t\"cmd/compile/internal/base\"\n+\t\"cmd/compile/internal/reflectdata\"\n \t\"cmd/compile/internal/typecheck\"\n \t\"cmd/compile/internal/types\"\n \t\"cmd/internal/obj\"\n@@ -38,10 +39... | 2020-12-23T05:55:38 |
vercel/next.js | 2407ab22b9d2ca7e3ff5e3a03552240d84d5fa13 | 7397be779285231f7e259fcf4c6fcebf71a91853 | Treat non page file as non route under app dir (#39976)
## Bug
Adding a components folder inside a catch-all page triggers the error: "Catch-all must be the last part of the URL", having the component outside works, for example `app/[...slug]/components/*.tsx` fails but `app/components/*.tsx` works as expected.
... | [
{
"path": "packages/next/server/dev/next-dev-server.ts",
"patch": "@@ -44,7 +44,7 @@ import { eventCliSession } from '../../telemetry/events'\n import { Telemetry } from '../../telemetry/storage'\n import { setGlobal } from '../../trace'\n import HotReloader from './hot-reloader'\n-import { findPageFile } f... | 2022-08-26T18:21:53 |
ollama/ollama | 4346c2409dec7bb182aa91d236f0759d592a1b42 | 4b037a97dcc0387d2b94d293d4bd20e7e262d609 | fix drift from main | [
{
"path": "kvcache/causal_test.go",
"patch": "@@ -441,6 +441,10 @@ func (t *testTensor) Scale(ctx ml.Context, s float64) ml.Tensor {\n \tpanic(\"not implemented\")\n }\n \n+func (t *testTensor) AvgPool1D(ctx ml.Context, k, s, p int) ml.Tensor {\n+\tpanic(\"not implemented\")\n+}\n+\n func (t *testTensor) Co... | 2025-03-07T17:30:10 |
huggingface/transformers | a43e84cb3b78fcac3d5d9374a8488f74f3f19245 | 0256520794529ef86b2d3e9fbefd20b54b0c7426 | Make ASR pipeline compliant with Hub spec + add tests (#33769)
* Remove max_new_tokens arg
* Add ASR pipeline to testing
* make fixup
* Factor the output test out into a util
* Full error reporting
* Full error reporting
* Update src/transformers/pipelines/automatic_speech_recognition.py
Co-author... | [
{
"path": "src/transformers/pipelines/automatic_speech_recognition.py",
"patch": "@@ -11,6 +11,7 @@\n # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n # See the License for the specific language governing permissions and\n # limitations under the License.\n+import warnings\n from... | 2024-10-01T17:15:04 |
golang/go | 4dfb5d91a86dfcc046ced03cee6e844df0751e41 | fbc82f03b104ba9bde67ad202e9cb00a13842dca | [dev.regabi] cmd/compile: split out package staticdata [generated]
[git-generate]
cd src/cmd/compile/internal/gc
rf '
# Export API and move to its own files.
mv addrsym InitAddr
mv pfuncsym InitFunc
mv slicesym InitSlice
mv slicebytes InitSliceBytes
mv stringsym StringSym
mv funcsym FuncSym
mv makefuncsym Nee... | [
{
"path": "src/cmd/compile/internal/gc/dcl.go",
"patch": "@@ -28,57 +28,6 @@ func NoWriteBarrierRecCheck() {\n \n var nowritebarrierrecCheck *nowritebarrierrecChecker\n \n-// funcsym returns s·f.\n-func funcsym(s *types.Sym) *types.Sym {\n-\t// funcsymsmu here serves to protect not just mutations of funcsym... | 2020-12-23T05:54:11 |
vercel/next.js | 7397be779285231f7e259fcf4c6fcebf71a91853 | b02b2f708c895aae5f0f0227d69603d02b2570b9 | test: pin typescript version to 4.7 (#39978)
Typescript published 4.8 and the ts tests are filling. Fix it by pining it to 4.7 temproraily
x-ref: https://github.com/vercel/next.js/runs/8037717851?check_suite_focus=true#step:9:211 | [
{
"path": "test/development/correct-tsconfig-defaults/index.test.ts",
"patch": "@@ -14,7 +14,7 @@ describe('correct tsconfig.json defaults', () => {\n },\n skipStart: true,\n dependencies: {\n- typescript: 'latest',\n+ typescript: '4.7.4',\n '@types/react': 'latest',\... | 2022-08-26T14:59:33 |
huggingface/transformers | 0256520794529ef86b2d3e9fbefd20b54b0c7426 | f205da9660c7f6cca00e7473b674eda40aa94ba0 | fix: repair depth estimation multiprocessing (#33759)
* fix: repair depth estimation multiprocessing
* test: add test for multiprocess depth estimation | [
{
"path": "src/transformers/pipelines/depth_estimation.py",
"patch": "@@ -89,20 +89,22 @@ def _sanitize_parameters(self, timeout=None, **kwargs):\n \n def preprocess(self, image, timeout=None):\n image = load_image(image, timeout)\n- self.image_size = image.size\n model_inputs = s... | 2024-10-01T16:59:59 |
nodejs/node | 3e910fb8f7bc42cfd9f114260322265d0ec00278 | 6101bd209e059a27356e95322e1317e49443f9b5 | assert: do not read Node.js modules
Prevent reading a Node.js module. That could theoretically lead to
false errors being thrown otherwise.
PR-URL: https://github.com/nodejs/node/pull/18322
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Joyee Cheung ... | [
{
"path": "lib/assert.js",
"patch": "@@ -25,13 +25,13 @@ const {\n isDeepEqual,\n isDeepStrictEqual\n } = require('internal/util/comparisons');\n-const { AssertionError, TypeError } = require('internal/errors');\n+const { AssertionError, TypeError, errorCache } = require('internal/errors');\n const { op... | 2018-01-23T15:45:28 |
vercel/next.js | 7383dc816c573b72a465e790f48d8ad2ef4f2e40 | a6a035082b8953c0891de2cfcff66adf310d7683 | Fix log level flag for node-file-trace (#289) | [
{
"path": "packages/webpack-nmt/src/index.ts",
"patch": "@@ -93,7 +93,8 @@ export class NodeModuleTracePlugin implements WebpackPluginInstance {\n }\n const logLevel = this.options?.log?.level\n if (logLevel) {\n- args.push(`--log-level ${logLevel}`)\n+ args.push(`--log-level`)\n+ ... | 2022-08-26T14:07:34 |
ollama/ollama | 9926eae01516fa3ab65d60df7dd0b51dceccdebf | 7e34f4fbfa192b3a2334d8fc28e24d69b83064d9 | fix: pad tensor item if ge zero
this produces a nicer output since both positive and negative values
produces the same width | [
{
"path": "ml/backend.go",
"patch": "@@ -5,6 +5,7 @@ import (\n \t\"encoding/binary\"\n \t\"fmt\"\n \t\"os\"\n+\t\"slices\"\n \t\"strconv\"\n \t\"strings\"\n )\n@@ -241,16 +242,17 @@ func dump[S ~[]E, E number](ctx Context, t Tensor, items int, fn func(E) string)\n \t}\n \n \tshape := t.Shape()\n+\tslices.R... | 2025-03-08T02:04:16 |
huggingface/transformers | f205da9660c7f6cca00e7473b674eda40aa94ba0 | 0c4c2d7e07c299eb8781c0d525b297684297ce06 | Avoid using context that is not accessable from external contributors (#33866)
* fix
* fix
* fix
* fix
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": ".circleci/config.yml",
"patch": "@@ -186,7 +186,19 @@ workflows:\n version: 2\n setup_and_quality:\n when:\n- not: <<pipeline.parameters.nightly>>\n+ and:\n+ - equal: [<<pipeline.project.git_url>>, https://github.com/huggingface/transformers]\n... | 2024-10-01T15:42:45 |
golang/go | de454eef5f47212dc8a9d9c2c8b598fa343d2c2b | 071ab0a14c294cda484e6f03140cb3cd27a5dca9 | [dev.regabi] cmd/compile: split out package escape [generated]
[git-generate]
cd src/cmd/compile/internal/gc
rf '
# Trivial min, max defined in escape.go but only used in ssa.go.
mv min8 max8 ssa.go
# Export package escape API.
mv escapes Funcs
mv escapeFuncs Batch
mv escFmt Fmt
mv unsafeUintptrTag UnsafeUint... | [
{
"path": "src/cmd/compile/internal/escape/escape.go",
"patch": "@@ -2,18 +2,19 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n-package gc\n+package escape\n \n import (\n+\t\"fmt\"\n+\t\"math\"\n+\t\"strings\"\n+\n \t\"cmd/compile/internal... | 2020-12-23T05:51:28 |
nodejs/node | 6101bd209e059a27356e95322e1317e49443f9b5 | 0548034272d2f91e00fc2f600e3dcbba868e28bc | doc: fix typo in n-api.md
PR-URL: https://github.com/nodejs/node/pull/18590
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-B... | [
{
"path": "doc/api/n-api.md",
"patch": "@@ -3449,7 +3449,7 @@ invoking the callback. This should be a value previously obtained\n from [`napi_async_init`][].\n - `[out] result`: The newly created scope.\n \n-There are cases(for example resolving promises) where it is\n+There are cases (for example resolving... | 2018-02-06T00:00:12 |
rust-lang/rust | 89f85cbfa7e508e55f2f05c00356b6d430c55c4e | db687889a5833381b8b02738a1af93a09a97ba16 | std: move process implementations to `sys`
As per #117276, this moves the implementations of `Process` and friends out of the `pal` module and into the `sys` module, removing quite a lot of error-prone `#[path]` imports in the process (hah, get it ;-)). I've also made the `zircon` module a dedicated submodule of `pal:... | [
{
"path": "library/std/src/sys/mod.rs",
"patch": "@@ -17,6 +17,7 @@ pub mod io;\n pub mod net;\n pub mod os_str;\n pub mod path;\n+pub mod process;\n pub mod random;\n pub mod stdio;\n pub mod sync;",
"additions": 1,
"deletions": 0,
"language": "Rust"
},
{
"path": "library/std/src/sys/pa... | 2025-02-12T15:26:34 |
ollama/ollama | 4614fafae0ee58af5b9d04ec4b8c2eb3846274da | 4100ed7bdd417ae6d25bf64467fb9df33f3f6525 | ollamarunner: Don't panic for unimplemented features at runtime.
It's ok to fail on startup but we shouldn't panic during runtime
based on user input. Downgrade the panic to a warning. | [
{
"path": "runner/ollamarunner/runner.go",
"patch": "@@ -436,10 +436,9 @@ func (s *Server) processBatch() error {\n \t\t// if done processing the prompt, generate an embedding and return\n \t\tif seq.embeddingOnly {\n \t\t\t// TODO(jessegross): Embedding support\n-\t\t\t// s.removeSequence(i, \"\")\n-\t\t\t... | 2025-03-09T02:48:32 |
vercel/next.js | c7c514b8c388c6cfd9c2526b7462d161381e7610 | af15680a4eb9480cd5029ccc09af915a652c06a1 | require.resolve to non-entry packages throw errors (#286)
`require.resolve('@vercel/node-module-trace')` and the binary package throw errors because they don't have `main`/`exports` fields in package.json. We can resolve the `package.json` file in its. | [
{
"path": "packages/turbo-tracing-next-plugin/package.json",
"patch": "@@ -1,6 +1,6 @@\n {\n \"name\": \"@vercel/turbo-tracing-next-plugin\",\n- \"version\": \"0.0.2\",\n+ \"version\": \"0.0.3-alpha.0\",\n \"license\": \"UNLICENSED\",\n \"main\": \"dist/index.js\",\n \"types\": \"dist/index.d.ts\"... | 2022-08-26T09:08:05 |
huggingface/transformers | 0c4c2d7e07c299eb8781c0d525b297684297ce06 | 5f9f58fc59f4ba26e3c627df3f047444ef74bbe0 | Add include_loss_for_metrics (#33088)
* Add include_loss_for_metrics
* Fix styling
* Initialize inputs and losses to avoid AttributeError
* Ruff styling
* Refactor compute_metrics and update EvalPrediction
* Change Naming
* Added include_for_metrics to group both args
* Fix style
* Change warni... | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -4047,6 +4047,7 @@ def evaluation_loop(\n all_inputs = EvalLoopContainer(self.args.eval_do_concat_batches, padding_index=-100)\n \n metrics = None\n+ eval_set_kwargs = {}\n \n # Will be useful when we have an iterable datas... | 2024-10-01T14:51:41 |
nodejs/node | 0548034272d2f91e00fc2f600e3dcbba868e28bc | 563fff2938110065589a3dc1b34692670206e4e4 | build: add doc linting when runnning `make lint`
Fixes: https://github.com/nodejs/node/issues/18466
PR-URL: https://github.com/nodejs/node/pull/18472
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com> | [
{
"path": "Makefile",
"patch": "@@ -1186,6 +1186,7 @@ lint: ## Run JS, C++, MD and doc linters.\n \t$(MAKE) lint-js || EXIT_STATUS=$$? ; \\\n \t$(MAKE) lint-cpp || EXIT_STATUS=$$? ; \\\n \t$(MAKE) lint-addon-docs || EXIT_STATUS=$$? ; \\\n+\t$(MAKE) lint-md || EXIT_STATUS=$$? ; \\\n \texit $$EXIT_STATUS\n CO... | 2018-01-31T05:16:19 |
ollama/ollama | 0daaaef8c99d94853eb12e897b2c15e0743a2575 | 98272fbd58699366de72b5111d4f8fa79d9f71a4 | ollamarunner: Quiet debug logging and panic on unimplemented features
Debug logging of every token has previously caused test timeouts
on slower machines. | [
{
"path": "model/process_text.go",
"patch": "@@ -177,7 +177,6 @@ func (bpe BytePairEncoding) Encode(s string, addSpecial bool) ([]int32, error) {\n \tfor _, frag := range fragments {\n \t\tif len(frag.ids) > 0 {\n \t\t\tids = append(ids, frag.ids...)\n-\t\t\tslog.Debug(\"encoded\", \"text\", frag.value, \"i... | 2025-03-07T23:14:22 |
huggingface/transformers | f8110a6ddf3d441412912d415cf6b7cd5fef9c8a | 326b2bad1c1834b826f5b0460b6e43706e993386 | Raise `accelerate` dependency error in case of defaulting `low_cpu_mem_usage=True` (#33830)
Clarify warning, add import check | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -3477,7 +3477,7 @@ def from_pretrained(\n # Force-set to `True` for more mem efficiency\n if low_cpu_mem_usage is None:\n low_cpu_mem_usage = True\n- logger.warning(\"`low_cpu_mem_usage` was N... | 2024-10-01T14:44:38 |
vercel/next.js | a037c0867ddbc18a5e5911cbf5b749e7c850713b | d267c300faa9c8886be1267742525823234ed518 | fix(ts): use `AppProps`'s generic for `pageProps` (#38867)
Currently, you cannot set `pageProps`'s type when using `AppProps`'s generic, it's always `any`.
Before:

After:
 deprecation warning
Replace `v8::Isolate::GetCpuProfiler()` with `v8::CpuProfiler::New()`
and cache the instance; creating and disposing an instance every loop
tick is too expensive.
PR-URL: https://github.com/nodejs/node/pull/18534
Fixes: https://github.com/nodejs/node/issues/18039
Reviewed... | [
{
"path": "src/env.cc",
"patch": "@@ -1,6 +1,5 @@\n #include \"node_internals.h\"\n #include \"async_wrap.h\"\n-#include \"v8-profiler.h\"\n #include \"node_buffer.h\"\n #include \"node_platform.h\"\n \n@@ -67,6 +66,15 @@ IsolateData::IsolateData(Isolate* isolate,\n IsolateData::~IsolateData() {\n if (pla... | 2018-02-02T16:39:34 |
huggingface/transformers | 326b2bad1c1834b826f5b0460b6e43706e993386 | b1c914e463b4136e598f1d8c5248e87c46bd19bf | This PR contains additional changes for #33143 (#33581)
* fix: Fix optimizer bug in ModelCard
* fix: fix W293
* Fixes in modelcard.py for issue #33143
---------
Co-authored-by: moontidef <53668275+relic-yuexi@users.noreply.github.com> | [
{
"path": "src/transformers/modelcard.py",
"patch": "@@ -874,13 +874,17 @@ def extract_hyperparameters_from_trainer(trainer):\n if total_eval_batch_size != hyperparameters[\"eval_batch_size\"]:\n hyperparameters[\"total_eval_batch_size\"] = total_eval_batch_size\n \n- if trainer.args.adafacto... | 2024-10-01T14:42:30 |
vercel/next.js | 5e5d56c1f7922cf8cca50b376169bdad3eb7c1d2 | 434a8699d21922f5aa02ae9df9cbb46c41dfb7d7 | Fix passing VERCEL_CLI_VERSION env for deploy tests (#39946)
The quotes around the env were being passed literally breaking usage of the env variable so this removes them.
x-ref: [slack thread](https://vercel.slack.com/archives/C02K2HCH5V4/p1661417510950809?thread_ts=1659529028.137779&cid=C02K2HCH5V4) | [
{
"path": "test/lib/next-modes/next-deploy.ts",
"patch": "@@ -76,9 +76,7 @@ export class NextDeployInstance extends NextInstance {\n \n if (process.env.VERCEL_CLI_VERSION) {\n additionalEnv.push('--build-env')\n- additionalEnv.push(\n- `VERCEL_CLI_VERSION=\"${process.env.VERCEL_CLI_VER... | 2022-08-25T19:03:00 |
huggingface/transformers | b1c914e463b4136e598f1d8c5248e87c46bd19bf | ac28a23b3d1a16dd30d3d7f6e9d53e30d1048bb1 | Fix device mismatch errors (#33851)
fix device mismatch errors | [
{
"path": "src/transformers/models/llava/modeling_llava.py",
"patch": "@@ -521,7 +521,10 @@ def forward(\n # TODO: @raushan retain only the new behavior after v4.47\n else:\n special_image_mask = (\n- (input_ids == self.config.image_token_index).uns... | 2024-10-01T13:55:57 |
nodejs/node | ca473be461b87a9a6a020d9b78225139251c54c4 | c64e130913a4c1a65b35253fcacf942fc5389223 | test: remove NodeTestFixture from Env constructor
PR-URL: https://github.com/nodejs/node/pull/18558
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> | [
{
"path": "test/cctest/node_test_fixture.h",
"patch": "@@ -100,9 +100,7 @@ class EnvironmentTestFixture : public NodeTestFixture {\n public:\n class Env {\n public:\n- Env(const v8::HandleScope& handle_scope,\n- const Argv& argv,\n- NodeTestFixture* test_fixture) {\n+ Env(const v8:... | 2018-02-03T17:25:59 |
vercel/next.js | f12788dee8088f4faed3a86c2a51295f7720a070 | a799d25cfaf602c898ba3afa3a8cbd6f6eb7957b | HMR for client CSS imports (#39916)
Follow-up to #39758, this PR makes sure that CSS imports (both global and CSS modules) from client components are not handled by mini-css-extract's HMR logic. Instead, we trigger a server component update and let the client to refetch the RSC payload.
However, we are still leveragi... | [
{
"path": "packages/next/build/webpack/config/blocks/css/index.ts",
"patch": "@@ -201,59 +201,121 @@ export const css = curry(async function css(\n \n // CSS Modules support must be enabled on the server and client so the class\n // names are available for SSR or Prerendering.\n- fns.push(\n- loader... | 2022-08-25T16:40:16 |
huggingface/transformers | ac28a23b3d1a16dd30d3d7f6e9d53e30d1048bb1 | acdfdd9387a4b16be69cdcb9a578ba8fa06cf712 | Workaround for bark issue in pipelines (#33824)
* Quick workaround for bark + generation_config issue
* make fixup
* [run slow] bark | [
{
"path": "src/transformers/models/bark/modeling_bark.py",
"patch": "@@ -1721,6 +1721,8 @@ def generate(\n kwargs_fine[key] = value\n \n # 1. Generate from the semantic model\n+ if \"generation_config\" in kwargs_semantic:\n+ kwargs_semantic.pop(\"generation_con... | 2024-10-01T13:40:12 |
nodejs/node | df3402995cfdb40da8f997b2f7c627aef41474a2 | d379db31fda166b61dc6e0dfbca57576d578fbb3 | src: handle exceptions in env->SetImmediates
PR-URL: https://github.com/nodejs/node/pull/18297
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com> | [
{
"path": "src/env.cc",
"patch": "@@ -290,13 +290,26 @@ void Environment::RunAndClearNativeImmediates() {\n size_t ref_count = 0;\n std::vector<NativeImmediateCallback> list;\n native_immediate_callbacks_.swap(list);\n- for (const auto& cb : list) {\n- cb.cb_(this, cb.data_);\n- if ... | 2018-01-26T18:53:14 |
golang/go | b9693d7627089204e6c2448f543c3512d86dae70 | dac0de3748cc816352da56f516506f80c33db4a5 | [dev.regabi] cmd/compile: split out package typecheck [generated]
This commit splits the typechecking logic into its own package,
the first of a sequence of CLs to break package gc into more
manageable units.
[git-generate]
cd src/cmd/compile/internal/gc
rf '
# The binary import/export has to be part of typechecking... | [
{
"path": "src/cmd/compile/internal/gc/abiutils_test.go",
"patch": "@@ -7,6 +7,7 @@ package gc\n import (\n \t\"bufio\"\n \t\"cmd/compile/internal/base\"\n+\t\"cmd/compile/internal/typecheck\"\n \t\"cmd/compile/internal/types\"\n \t\"cmd/internal/obj\"\n \t\"cmd/internal/obj/x86\"\n@@ -42,7 +43,7 @@ func Te... | 2020-12-23T05:41:49 |
ollama/ollama | 4289c74359ad7cac0d4350c22e6af3f92c5f091c | a7e63b82be6dfcd8011e0b45f19658be71c0e2b9 | llama: fix kv loading on snowflake-arctic-embed models (#9536) | [
{
"path": "llama/llama.cpp/src/llama-vocab.cpp",
"patch": "@@ -1443,7 +1443,7 @@ void llama_vocab::impl::load(llama_model_loader & ml, const LLM_KV & kv) {\n \n const int precompiled_charsmap_keyidx = gguf_find_key(ctx, kv(LLM_KV_TOKENIZER_PRECOMPILED_CHARSMAP).c_str());\n if (precom... | 2025-03-07T17:25:34 |
vercel/next.js | a799d25cfaf602c898ba3afa3a8cbd6f6eb7957b | 9a7a8acc6456decf3de6b599076191b7775311a4 | Mention `largePageDataBytes` in warning docs (#39941)
Also fix the KB unit to `kB` (https://en.wikipedia.org/wiki/Kilobyte)
## Documentation / Examples
- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.... | [
{
"path": "errors/large-page-data.md",
"patch": "@@ -2,11 +2,11 @@\n \n #### Why This Error Occurred\n \n-One of your pages includes a large amount of page data (>= 128KB). This can negatively impact performance since page data must be parsed by the client before the page is hydrated.\n+One of your pages in... | 2022-08-25T15:52:32 |
huggingface/transformers | 351873a145f52685ae611c0a15190fec5949e133 | 88d960937c81a32bfb63356a2e8ecf7999619681 | fix: skip dropout in eval for flash_attn in various models (#33844)
* fix(m2m_100): skip dropout in eval for flash_attn
* fix(misc): skip dropout in eval for flash attn various models
* chore(m2m_100): copy flash attn from bart
* chore: run make fix-copies
* [run-slow] bart, m2m_100 | [
{
"path": "src/transformers/models/bark/modeling_bark.py",
"patch": "@@ -263,7 +263,7 @@ def forward(\n value,\n attention_mask,\n query_len,\n- dropout=self.dropout,\n+ dropout=self.dropout if self.training else 0.0,\n use_top_left_mask=... | 2024-10-01T12:39:21 |
nodejs/node | a5553971859366c1171e86e8ef52d61017a3eb67 | c2b9048ac8934d205d53d5a194cf9428987acfe3 | n-api: add methods to open/close callback scope
Add support for the following methods;
napi_open_callback_scope
napi_close_callback_scope
These are needed when running asynchronous methods directly
using uv.
PR-URL: https://github.com/nodejs/node/pull/18089
Fixes: https://github.com/nodejs/node/issues/15604
Revi... | [
{
"path": "doc/api/n-api.md",
"patch": "@@ -3431,6 +3431,42 @@ is sufficient and appropriate. Use of the `napi_make_callback` function\n may be required when implementing custom async behavior that does not use\n `napi_create_async_work`.\n \n+### *napi_open_callback_scope*\n+<!-- YAML\n+added: REPLACEME\n+... | 2017-12-13T00:37:40 |
ollama/ollama | a7e63b82be6dfcd8011e0b45f19658be71c0e2b9 | b70fc4d51e76fc023afcd005c467d415c0c62750 | ollamarunner: Improve multimodal input handling
Various vision models have different requirements for how they
receive their inputs. For example:
- Mllama wants images together with text and the image embeddings
don't themselves have positions or get stored in the main KV cache
- Llava-style models feed in embedd... | [
{
"path": "model/model.go",
"patch": "@@ -3,7 +3,6 @@ package model\n import (\n \t\"errors\"\n \t\"fmt\"\n-\t\"image\"\n \t_ \"image/jpeg\"\n \t_ \"image/png\"\n \t\"log/slog\"\n@@ -22,14 +21,40 @@ import (\n \t_ \"github.com/ollama/ollama/ml/backend\"\n )\n \n+// Input represents one token in the input st... | 2025-03-05T20:08:06 |
huggingface/transformers | 88d960937c81a32bfb63356a2e8ecf7999619681 | 22266be9703c2e30e4734fe7a91f7abab9ff6b23 | Refactor image features selection in LlaVa (#33696)
* refactor image features selection
* break line
* remove whitespace
* add pr comments: include projection and rename function
* make fix-copies
* fix get_image_feature in vip llava | [
{
"path": "src/transformers/models/llava/modeling_llava.py",
"patch": "@@ -279,6 +279,21 @@ def resize_token_embeddings(self, new_num_tokens: Optional[int] = None, pad_to_m\n self.vocab_size = model_embeds.num_embeddings\n return model_embeds\n \n+ def get_image_features(\n+ self, ... | 2024-10-01T12:37:31 |
vercel/next.js | 3148d3b67bc87acdc773377ed28e7f0c32642110 | 5156dcfc2563df17bf0af96febe64cf98c5caa62 | fix windows path separators (vercel/turbo#281) | [
{
"path": "packages/next-swc/crates/next-dev/tests/integration.rs",
"patch": "@@ -15,6 +15,7 @@ use test_generator::test_resources;\n use tokio::{net::TcpSocket, task::JoinHandle};\n use tungstenite::{error::ProtocolError::ResetWithoutClosingHandshake, Error::Protocol};\n use turbo_tasks::TurboTasks;\n+use ... | 2022-08-25T15:44:11 |
golang/go | 527a1895d675ec0384f564dd76e56b3631948dd4 | 65c4c6dfb22c344415e27b72ccdc58d95ca8f6c2 | [dev.regabi] cmd/compile: move helpers into package ir [generated]
[git-generate]
cd src/cmd/compile/internal/gc
sed -i '' 's/TestBuiltin.*/& t.Skip("mkbuiltin needs fixing")/' builtin_test.go
gofmt -w builtin_test.go
rf '
# Inline a few little-used constructors to avoid bringing them.
ex {
import "cmd/compile/int... | [
{
"path": "src/cmd/compile/internal/gc/alg.go",
"patch": "@@ -147,10 +147,10 @@ func genhash(t *types.Type) *obj.LSym {\n \n \t// func sym(p *T, h uintptr) uintptr\n \targs := []*ir.Field{\n-\t\tnamedfield(\"p\", types.NewPtr(t)),\n-\t\tnamedfield(\"h\", types.Types[types.TUINTPTR]),\n+\t\tir.NewField(base.... | 2020-12-23T05:38:15 |
nodejs/node | d4b605b9903f261c2cadbec3d04822b0de4e14e2 | 47f664ee88eab74f2173acdad7abfd285235de54 | doc: expand on promises and async_hooks
AsyncHooks have a few subtleties with being able to track promises.
This commit adds a section to the docs that explains things the issues.
PR-URL: https://github.com/nodejs/node/pull/18540
Fixes: https://github.com/nodejs/node/issues/18520
Reviewed-By: James M Snell <jasnell@g... | [
{
"path": "doc/api/async_hooks.md",
"patch": "@@ -509,6 +509,9 @@ const server = net.createServer(function onConnection(conn) {\n });\n ```\n \n+Note that promise contexts may not get precise executionAsyncIds by default.\n+See the section on [promise execution tracking][].\n+\n #### `async_hooks.triggerAsy... | 2018-02-02T23:48:09 |
ollama/ollama | ba7d31240eb0b44064a8220a8a6143307b1459ef | d25efe395415353152feafb9b766a8a7a1496517 | fix: own lib/ollama directory
expand backend loading error handling to catch more problems and log
them instead of panicing | [
{
"path": "llama/patches/0015-try-catch-backend-load.patch",
"patch": "@@ -1,69 +0,0 @@\n-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001\n-From: Michael Yang <mxyng@pm.me>\n-Date: Tue, 11 Feb 2025 14:06:36 -0800\n-Subject: [PATCH] try/catch backend load\n-\n----\n- ggml/src/ggml-back... | 2025-03-03T19:05:21 |
huggingface/transformers | d19ab15421ee3516c3943925df204cb8b5e62fa8 | fbde09c8c94e40a63ab2cd3a20045cb4d2693b18 | post reminder comment only once (#33848)
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": ".github/workflows/slow_ci_remainder.yml",
"patch": "@@ -32,20 +32,8 @@ jobs:\n - run: |\n echo ${{ steps.find_comment.outputs.comment-id }}\n \n- - name: Delete previous comment (if found)\n- if: steps.find_comment.outputs.comment-id != ''\n- uses: actions/github-script@v... | 2024-10-01T10:52:53 |
vercel/next.js | b441067789f0dda163cebb9561061b05bb8e055c | 96dbb5bdac375b69825b5ab866aedfe0a6844180 | fix windows path separators (#281) | [
{
"path": "crates/next-dev/tests/integration.rs",
"patch": "@@ -15,6 +15,7 @@ use test_generator::test_resources;\n use tokio::{net::TcpSocket, task::JoinHandle};\n use tungstenite::{error::ProtocolError::ResetWithoutClosingHandshake, Error::Protocol};\n use turbo_tasks::TurboTasks;\n+use turbo_tasks_fs::ut... | 2022-08-25T15:44:11 |
nodejs/node | 83c93158fb0e979dbffb4a776d237da0db8f7b08 | b9a873e044045a68104d2c046a272cc87b954301 | test: remove destructor from node_test_fixture
This commit removes the destructor from node_test_fixture.h which calls
the TearDown function causing TearDown to be called twice. This also
allows us to remove the check of the platform_ in TearDown.
Also the Setup/TearDown functions in AliasBufferTest are removed as th... | [
{
"path": "test/cctest/node_test_fixture.h",
"patch": "@@ -64,10 +64,6 @@ class NodeTestFixture : public ::testing::Test {\n protected:\n v8::Isolate* isolate_;\n \n- ~NodeTestFixture() {\n- TearDown();\n- }\n-\n virtual void SetUp() {\n CHECK_EQ(0, uv_loop_init(¤t_loop));\n platform... | 2018-02-02T09:35:43 |
ollama/ollama | 657685e85d1a187c031ad7722b7395c48d8947b0 | a14912858e71392e9240c87e7e162d5d203dcb4e | fix: replace deprecated functions | [
{
"path": "llama/llama.go",
"patch": "@@ -262,7 +262,7 @@ func LoadModelFromFile(modelPath string, params ModelParams) (*Model, error) {\n \t\tcparams.progress_callback_user_data = unsafe.Pointer(&handle)\n \t}\n \n-\tm := Model{c: C.llama_load_model_from_file(C.CString(modelPath), cparams)}\n+\tm := Model{... | 2025-02-28T19:50:01 |
golang/go | 65c4c6dfb22c344415e27b72ccdc58d95ca8f6c2 | 9ee309255a94499c6f4e6d3ac7653b5eeb4ae7b7 | [dev.regabi] cmd/compile: group known symbols, packages, names [generated]
There are a handful of pre-computed magic symbols known by
package gc, and we need a place to store them.
If we keep them together, the need for type *ir.Name means that
package ir is the lowest package in the import hierarchy that they
can go... | [
{
"path": "src/cmd/compile/internal/amd64/ggen.go",
"patch": "@@ -7,6 +7,7 @@ package amd64\n import (\n \t\"cmd/compile/internal/base\"\n \t\"cmd/compile/internal/gc\"\n+\t\"cmd/compile/internal/ir\"\n \t\"cmd/internal/obj\"\n \t\"cmd/internal/obj/x86\"\n \t\"cmd/internal/objabi\"\n@@ -102,7 +103,7 @@ func... | 2020-12-23T05:10:25 |
huggingface/transformers | fbde09c8c94e40a63ab2cd3a20045cb4d2693b18 | 808997a6343c46fbd7e6c92d507805d51750baf4 | fix check for hidden size in text model for deepspeed zero3 auto entries (#33829)
* fix check for hidden size in text model for deepspeed zero3 auto entries
* fix typo | [
{
"path": "src/transformers/integrations/deepspeed.py",
"patch": "@@ -228,6 +228,11 @@ def trainer_config_finalize(self, args, model, num_training_steps):\n elif hasattr(model.config, \"hidden_sizes\"):\n # if there are many hidden sizes pick the largest one\n hid... | 2024-10-01T10:28:26 |
vercel/next.js | 9a7a8acc6456decf3de6b599076191b7775311a4 | a9772b13100b58c217760ea85a8804ae0c961c04 | fix hash-link (#39929) | [
{
"path": "docs/api-reference/next/future/image.md",
"patch": "@@ -51,7 +51,7 @@ Compared to `next/image`, the new `next/future/image` component has the followin\n - Use [`priority`](#priority) if the image is above the fold\n - [Firefox 67+](https://bugzilla.mozilla.org/show_bug.cgi?id=1556156) displays ... | 2022-08-25T15:42:45 |
nodejs/node | b9a873e044045a68104d2c046a272cc87b954301 | 9974d6a84df96d3a86c576c2a4ec8be9da86e86b | test: fix cctest -Wunused-variable warning
PR-URL: https://github.com/nodejs/node/pull/18530
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> | [
{
"path": "test/cctest/test_node_postmortem_metadata.cc",
"patch": "@@ -130,7 +130,7 @@ TEST_F(DebugSymbolsTest, ReqWrapList) {\n // NOTE (mmarchini): Workaround to fix failing tests on ARM64 machines with\n // older GCC. Should be removed once we upgrade the GCC version used on our\n // ARM64 CI mach... | 2018-02-02T15:25:37 |
ollama/ollama | eed11ded30f1fa386632ed8922a4349fe5140096 | b42aba40ed21862532b9d195a28915a1fca88560 | server/.../safetensors: fix offsets and include all model parts (#9427)
Also, require the -as flag to be set when importing a model. This
prevents the confusing error message "invalid name".
Also, allow short names to be used when importing a model and
auto-complete the name with the default mask. | [
{
"path": "server/internal/client/ollama/registry.go",
"patch": "@@ -147,14 +147,23 @@ func (e *Error) UnmarshalJSON(b []byte) error {\n \treturn nil\n }\n \n-var defaultName = func() names.Name {\n-\tn := names.Parse(\"registry.ollama.ai/library/_:latest\")\n+const DefaultMask = \"registry.ollama.ai/librar... | 2025-02-28T21:08:10 |
huggingface/transformers | 808997a6343c46fbd7e6c92d507805d51750baf4 | c269c5c74d08b00e8fc86c620997b6d639016aee | Fix passing str dtype to static cache (#33741)
Co-authored-by: Guang Yang <guangyang@fb.com> | [
{
"path": "src/transformers/integrations/executorch.py",
"patch": "@@ -68,7 +68,7 @@ def __init__(self, model: PreTrainedModel):\n config=self.model.config,\n batch_size=self.model.generation_config.cache_config.batch_size,\n max_cache_len=self.model.generation_config.cac... | 2024-10-01T07:50:17 |
rust-lang/rust | f386d92c409dc44f0931cb2a9f2b52d1c3538280 | 9134ee9d477f343747e7ad96b0387558638cb427 | fix: Handle multiple `#[repr(..)]` attrs correctly | [
{
"path": "src/tools/rust-analyzer/crates/hir-def/src/attr.rs",
"patch": "@@ -233,7 +233,12 @@ impl Attrs {\n }\n \n pub fn repr(&self) -> Option<ReprOptions> {\n- self.by_key(&sym::repr).tt_values().find_map(parse_repr_tt)\n+ self.by_key(&sym::repr).tt_values().filter_map(parse_repr_t... | 2025-03-22T09:57:37 |
golang/go | 9ee309255a94499c6f4e6d3ac7653b5eeb4ae7b7 | ead4957892bc1975d9cc9c32777733c67e5a885e | [dev.regabi] cmd/compile: move helpers into package types [generated]
[git-generate]
cd src/cmd/compile/internal/gc
rf '
# Type hash (formatting).
mv typehash TypeHash
mv TypeHash fmt.go
# Method sorting.
mv methcmp MethodsByName
mv MethodsByName MethodsByName.Len MethodsByName.Swap \
MethodsByName.Less sort.... | [
{
"path": "src/cmd/compile/internal/gc/alg.go",
"patch": "@@ -13,56 +13,10 @@ import (\n \t\"sort\"\n )\n \n-// AlgKind describes the kind of algorithms used for comparing and\n-// hashing a Type.\n-type AlgKind int\n-\n-//go:generate stringer -type AlgKind -trimprefix A\n-\n-const (\n-\t// These values are... | 2020-12-23T05:08:03 |
vercel/next.js | a9772b13100b58c217760ea85a8804ae0c961c04 | 3da768f839b69c498def4a16f1df582c57d54ef3 | Adds note about custom server requirements (#39931)
This wasn't obvious to me when trying out middleware in our project, and the error message was `Invalid URL` - took me embarrassingly long to remember that we run a custom server. Would it be possibly to detect that middleware is used and then throw a descriptive err... | [
{
"path": "docs/advanced-features/middleware.md",
"patch": "@@ -21,6 +21,8 @@ Middleware runs _before_ cached content, so you can personalize static files and\n \n > **Note:** If you were using Middleware prior to `12.2`, please see the [upgrade guide](https://nextjs.org/docs/messages/middleware-upgrade-gui... | 2022-08-25T14:39:31 |
ollama/ollama | 41dc280491a7054876e826dac0eff66836d53ae8 | 53d2990d9b60fae08437e98141eca5d9e393deaa | server/internal/registry: implement CloseNotify and Flush (for now) (#9402)
This fixes panics introduced in 2412adf42b8380748ac79476e273f5b337c3b977
when Gin ungracefully assumes that the http.ResponseWriter implements
http.CloseNotifier and http.Flusher, which our new statusCodeRecorder
does not. This is a temporary ... | [
{
"path": "server/internal/registry/server.go",
"patch": "@@ -72,6 +72,26 @@ func (r *statusCodeRecorder) WriteHeader(status int) {\n \tr.ResponseWriter.WriteHeader(status)\n }\n \n+var (\n+\t_ http.ResponseWriter = (*statusCodeRecorder)(nil)\n+\t_ http.CloseNotifier = (*statusCodeRecorder)(nil)\n+\t_ http... | 2025-02-27T22:00:37 |
huggingface/transformers | c269c5c74d08b00e8fc86c620997b6d639016aee | 570c89625b329a2d33ecbfb972a9aae015535471 | Fix Mamba slow path bug with dtype mismatch. (#32691)
* Fix Mamba slow path bug with dtype mismatch.
* Update test_modeling_mamba.py
* Improve style.
* Fix issue with cache position of dtype mismatch test.
* Change test for slow path.
* Revert changes.
* Switch to buggy code and add test to catch it.... | [
{
"path": "src/transformers/cache_utils.py",
"patch": "@@ -1797,7 +1797,7 @@ def update_conv_state(\n cache_position = cache_position.clamp(0, self.conv_kernel_size - 1)\n \n conv_state = conv_state.roll(shifts=-1, dims=-1)\n- conv_state[:, :, cache_position] = new_conv_state.to(conv_... | 2024-10-01T07:28:40 |
nodejs/node | b0f114ddb08a289dcef4a2ec68a598d31fc36f0c | 05e702d9f16f6808e83f6a47cfa4294dea3f7343 | loader: fix up #18394
This commit fixes up some issues in #18394.
* Switch vm.Module internals to use the new link method properly
* Fix bug with ModuleWrap::Link
* Add tests for ModuleWrap::Link
PR-URL: https://github.com/nodejs/node/pull/18509
Fixes: https://github.com/nodejs/node/issues/18249
Refs: https://github... | [
{
"path": "lib/internal/loader/ModuleWrap.js",
"patch": "@@ -0,0 +1,5 @@\n+'use strict';\n+\n+// exposes ModuleWrap for testing\n+\n+module.exports = internalBinding('module_wrap').ModuleWrap;",
"additions": 5,
"deletions": 0,
"language": "JavaScript"
},
{
"path": "lib/internal/vm/Module... | 2018-02-01T15:44:27 |
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.