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 |
|---|---|---|---|---|---|
vercel/next.js | fe762d329fdf9d6d6e6bf084198ad49f696d42b7 | 422ccb98b881816bd8f32b11d867dc5765292c10 | Fix `next/image` svg blur placeholder with `fill` (#41573)
This PR fixes two bugs:
- Fixes #40419
- Fixes #41393
The first is when the aspect ratio of the `width` and `height` does not
match the aspect ratio of the `blurDataURL` provided. This can result in
artifacts around the edges. The solution is to add... | [
{
"path": "packages/next/shared/lib/image-blur-svg.ts",
"patch": "@@ -20,5 +20,8 @@ export function getImageBlurSvg({\n const feComponentTransfer = blurDataURL.startsWith('data:image/jpeg')\n ? `%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%`\n ... | 2022-10-19T20:21:41 |
nodejs/node | c1a05e5c26492a2107d49cbc3ef86baece578a79 | 6eaeabcbecd31a96205802e395166671f4c70406 | tools: fix broken link in icu notes
Link text and url were swapped around, this pr puts
the link text inside [] and the url inside ().
PR-URL: https://github.com/nodejs/node/pull/20030
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Tobias Nießen <tniesse... | [
{
"path": "tools/icu/README.md",
"patch": "@@ -1,6 +1,6 @@\n # Notes about the `tools/icu` subdirectory\n \n-This directory contains tools, data, and information about the [http://icu-project.org](ICU)\n+This directory contains tools, data, and information about the [ICU](http://icu-project.org)\n (Internat... | 2018-04-14T13:06:43 |
golang/go | 009bfeae866f45549865e554420a05c10e9578ca | f901ea701ddac5a4d600d49007e54caa32b4c9b5 | reflect: add VisibleFields function
When writing code that reflects over a struct type, it's a common requirement to know the full set of struct fields, including fields available due to embedding of anonymous members while excluding fields that are erased because they're at the same level as another field with the sa... | [
{
"path": "src/reflect/visiblefields.go",
"patch": "@@ -0,0 +1,101 @@\n+package reflect\n+\n+// VisibleFields returns all the visible fields in t, which must be a\n+// struct type. A field is defined as visible if it's accessible\n+// directly with a FieldByName call. The returned fields include fields\n+//... | 2021-01-01T12:14:34 |
huggingface/transformers | d3fe9fa3fec08d8793f9ba7bab991a2908393304 | 395b114bd1a5686fa5670915321af20569d2a9f9 | PR for Issue #22694: Fixed Training Evaluation table display for VSCode (#35557) | [
{
"path": "src/transformers/utils/import_utils.py",
"patch": "@@ -1096,8 +1096,7 @@ def is_in_notebook():\n get_ipython = sys.modules[\"IPython\"].get_ipython\n if \"IPKernelApp\" not in get_ipython().config:\n raise ImportError(\"console\")\n- if \"VSCODE_PID\" in os.envi... | 2025-01-09T15:05:47 |
vercel/next.js | 422ccb98b881816bd8f32b11d867dc5765292c10 | 4ba1002175397c8ae4432698706fd458f9cf7313 | fix: allow user directory with `styled-jsx` prefix in `next dev` (#41484)
Fixes #41476, ref #40679
## Bug
- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature request or RFC. ... | [
{
"path": "packages/next/build/webpack-config.ts",
"patch": "@@ -69,8 +69,7 @@ const babelIncludeRegexes: RegExp[] = [\n /next[\\\\/]dist[\\\\/](esm[\\\\/])?shared[\\\\/]lib/,\n /next[\\\\/]dist[\\\\/](esm[\\\\/])?client/,\n /next[\\\\/]dist[\\\\/](esm[\\\\/])?pages/,\n- /[\\\\/](strip-ansi|ansi-rege... | 2022-10-19T19:01:48 |
ollama/ollama | c2b0bb7a52b02a50e63274f07a21a4539e3cfe19 | 22c2bdbd8add79c6fca2eb2538ab36fcd4a9ca48 | mlx: update as of 3/23 (#14789)
* mlx: update to HEAD on 3/23
Also fixes a few misc vendoring bugs uncovered with this first update.
This also renames the version files to make them clearer.
* CUDA Fast Gated Delta kernel
* mlx: detect eval errors and panic
On model errors or missing kernels, don't mask the error,... | [
{
"path": "Dockerfile",
"patch": "@@ -157,7 +157,7 @@ COPY CMakeLists.txt CMakePresets.json .\n COPY ml/backend/ggml/ggml ml/backend/ggml/ggml\n COPY x/imagegen/mlx x/imagegen/mlx\n COPY go.mod go.sum .\n-COPY MLX_VERSION MLX_CORE_VERSION .\n+COPY MLX_VERSION MLX_C_VERSION .\n RUN curl -fsSL https://golang.... | 2026-03-23T18:28:44 |
rust-lang/rust | 5697022c7746d699c5950c865890cff4b8f973db | 7d7ad655d9874141211909f165795f1b737f02d7 | internal: fix `NameGenerator`'s and `AnyMap`'s rustdocs | [
{
"path": "src/tools/rust-analyzer/crates/ide-db/src/syntax_helpers/suggest_name.rs",
"patch": "@@ -83,7 +83,7 @@ const USELESS_METHODS: &[&str] = &[\n ///\n /// ```\n /// # use ide_db::syntax_helpers::suggest_name::NameGenerator;\n-/// let mut generator = NameGenerator::new();\n+/// let mut generator = Nam... | 2025-04-09T16:27:04 |
nodejs/node | 6eaeabcbecd31a96205802e395166671f4c70406 | 594e59d18df303477e7887c9c8b29de981c7476f | src: add HandleScope to fix error
Add `HandleError`s to the AsyncScope constructor and destructor in
async_wrap-inl.h to fix "FATAL ERROR" incurring observed while running
test-http2-respond-with-file using the --trace-events-enabled flag.
Fixes: https://github.com/nodejs/node/issues/19921
PR-URL: https://github.com... | [
{
"path": "src/async_wrap-inl.h",
"patch": "@@ -50,13 +50,15 @@ inline AsyncWrap::AsyncScope::AsyncScope(AsyncWrap* wrap)\n Environment* env = wrap->env();\n if (env->async_hooks()->fields()[Environment::AsyncHooks::kBefore] == 0)\n return;\n+ v8::HandleScope handle_scope(env->isolate());\n EmitB... | 2018-04-12T11:13:15 |
huggingface/transformers | 395b114bd1a5686fa5670915321af20569d2a9f9 | 82dd6c14bb811379d126acb801b8f7fd857eb2cc | Small fix rope kwargs (#35589)
* don't know why this keeps popping up?
* remove unused rope_kwargs | [
{
"path": "docs/source/en/model_doc/musicgen_melody.md",
"patch": "@@ -266,7 +266,6 @@ Tips:\n ## MusicgenMelodyFeatureExtractor\n \n [[autodoc]] MusicgenMelodyFeatureExtractor\n- - _extract_stem_indices\n \n ## MusicgenMelodyConfig\n ",
"additions": 0,
"deletions": 1,
"language": "Markdown"
... | 2025-01-09T14:40:36 |
vercel/next.js | 4ba1002175397c8ae4432698706fd458f9cf7313 | fda355daa2b83ac07f51e06d44bbe2615cff0ad9 | Create hash digest for errors in app in production (#41559) | [
{
"path": "packages/next/server/app-render.tsx",
"patch": "@@ -42,6 +42,7 @@ import { DYNAMIC_ERROR_CODE } from '../client/components/hooks-server-context'\n import { NOT_FOUND_ERROR_CODE } from '../client/components/not-found'\n import { HeadManagerContext } from '../shared/lib/head-manager-context'\n impo... | 2022-10-19T17:56:55 |
ollama/ollama | d7c176ab91724751df0eb74ee1df1f8571b515ce | 0ff7d724ff5a807c420dfe6f9bd1870c546ea426 | llm, mlxrunner: fix done channel value consumed by first receiver
Receiving from a buffered chan error consumes the value, so only the
first caller (WaitUntilRunning, HasExited, or Close) sees the signal.
Subsequent receivers block or take the wrong branch. Replace with a
closed chan struct{} which can be received fro... | [
{
"path": "llm/server.go",
"patch": "@@ -87,7 +87,8 @@ type LlamaServer interface {\n type llmServer struct {\n \tport int\n \tcmd *exec.Cmd\n-\tdone chan error // Channel to signal when the process exits\n+\tdone chan struct{} // closed when the process exits\n+\tdoneErr error ... | 2026-03-18T23:30:43 |
nodejs/node | 594e59d18df303477e7887c9c8b29de981c7476f | 1d72434c8b80607078bf83c415307be811a6cd95 | doc: close event does not take arguments
Explicitly added in the docs that the close event does not expect
any arguments when invoked.
Fixes: https://github.com/nodejs/node/issues/20018
PR-URL: https://github.com/nodejs/node/pull/20031
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Trivikram Kamat... | [
{
"path": "doc/api/http2.md",
"patch": "@@ -128,7 +128,8 @@ solely on the API of the `Http2Session`.\n added: v8.4.0\n -->\n \n-The `'close'` event is emitted once the `Http2Session` has been destroyed.\n+The `'close'` event is emitted once the `Http2Session` has been destroyed. Its\n+listener does not expe... | 2018-04-14T13:19:45 |
huggingface/transformers | 82dd6c14bb811379d126acb801b8f7fd857eb2cc | eb4579cf43bf8911b5556506ad1379d566a2ef4d | Fix flaky `SwitchTransformersModelTest::test_training_gradient` (#35587)
* fix
* Update tests/models/switch_transformers/test_modeling_switch_transformers.py
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
Co-auth... | [
{
"path": "tests/models/switch_transformers/test_modeling_switch_transformers.py",
"patch": "@@ -576,6 +576,8 @@ class SwitchTransformersModelTest(ModelTesterMixin, GenerationTesterMixin, Pipel\n test_torchscript = False\n # The small SWITCH_TRANSFORMERS model needs higher percentages for CPU/MP tes... | 2025-01-09T14:36:22 |
golang/go | fb03be9d5577a3d22834a25b3b62916aee30db2a | a22bd3dc73bfcc9bf37cbd651933c54c82799c2a | cmd/compile: use getcallersp for gorecover "fp" arg
Currently, the compiler synthesize a special ".fp" node, which
points to the FP of the current frame, be to used to call
gorecover. Later that node turns to an Arg in SSA that is not
really an arg, causing problems for the new ABI work which changes
the handling of A... | [
{
"path": "src/cmd/compile/internal/ir/name.go",
"patch": "@@ -509,5 +509,3 @@ func NewPkgName(pos src.XPos, sym *types.Sym, pkg *types.Pkg) *PkgName {\n \tp.pos = pos\n \treturn p\n }\n-\n-var RegFP *Name",
"additions": 0,
"deletions": 2,
"language": "Go"
},
{
"path": "src/cmd/compile/i... | 2021-03-02T15:27:18 |
vercel/next.js | fda355daa2b83ac07f51e06d44bbe2615cff0ad9 | 897af6238e9ea18ce9c6d06f1adb1a622ea1e02c | Improve type checking (#41427)
This PR implements the process of generating strict "type guard" files,
to ensure that all entrypoints have the correct export types. The type
checking process happens automatically during `next build`.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration t... | [
{
"path": "packages/next/build/index.ts",
"patch": "@@ -170,7 +170,8 @@ function verifyTypeScriptSetup(\n disableStaticImages: boolean,\n cacheDir: string | undefined,\n numWorkers: number | undefined,\n- enableWorkerThreads: boolean | undefined\n+ enableWorkerThreads: boolean | undefined,\n+ isApp... | 2022-10-19T16:28:36 |
ollama/ollama | 0ff7d724ff5a807c420dfe6f9bd1870c546ea426 | 46cb7795e1b59e24c6f540ce1fad5ac630982a0a | mlx: fix subprocess log deadlock
The stderr reader used bufio.Scanner which has a 64KB max line size.
If the subprocess wrote a line exceeding this limit, the scanner would
stop reading, the OS pipe buffer would fill, and the subprocess would
deadlock.
Replace the scanner with a statusWriter that wraps io.Copy. The w... | [
{
"path": "x/mlxrunner/client.go",
"patch": "@@ -2,6 +2,7 @@ package mlxrunner\n \n import (\n \t\"bufio\"\n+\t\"bytes\"\n \t\"context\"\n \t\"encoding/json\"\n \t\"errors\"\n@@ -38,12 +39,66 @@ type Client struct {\n \tmemory atomic.Uint64\n \tdone chan error\n \tclient *http.Client\... | 2026-03-18T00:02:51 |
huggingface/transformers | eb4579cf43bf8911b5556506ad1379d566a2ef4d | 320512df46d1746d0c1b2a7963acab30dd8ee3be | `tokenizer` train from iterator without pre_tokenizers (#35396)
* fix if else issues
* add a test
* fix the test
* style | [
{
"path": "src/transformers/tokenization_utils_fast.py",
"patch": "@@ -813,17 +813,17 @@ def train_new_from_iterator(\n kwargs[\"end_of_word_suffix\"] = tokenizer_json[\"model\"][\"end_of_word_suffix\"]\n if tokenizer_json[\"model\"][\"type\"] == \"Unigram\" and unk_token is not None:\n ... | 2025-01-09T14:34:43 |
nodejs/node | 7a33c2cc7cb7710973d57f9f95c216fb55ef5915 | 5879f480b1bb1e92f18b64693b04dafb2a903d0a | test: set clientOpts.port property
Currently this test will overwrite the clientOpts object with the port,
instead of setting the port property on the clientOpts object which
looks like the original intent.
Doing this the test fails reporting that the fake-cnnic-root-cert has
expired. This is indeed true:
$ openssl x... | [
{
"path": "test/parallel/test-tls-cnnic-whitelist.js",
"patch": "@@ -28,7 +28,7 @@ const testCases = [\n rejectUnauthorized: true,\n ca: [loadPEM('fake-cnnic-root-cert')]\n },\n- errorCode: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'\n+ errorCode: 'CERT_HAS_EXPIRED'\n },\n // Test 1: for the... | 2018-04-03T08:35:45 |
golang/go | a829114b21b5a4238dea13dc97b030d650935ed8 | d85083911d6ea742901933a544467dad55bb381f | cmd/compile: match Aux and AuxInt explicitly in store combining rule
CL 280456 introduced a new store combining rule. On the LHS some
of the Aux and AuxInt of the stores are not specified, therefore
ignored during the matching. The rule is only correct if they
match. This CL adds explict match.
TODO: maybe we want th... | [
{
"path": "src/cmd/compile/internal/ssa/gen/AMD64.rules",
"patch": "@@ -1970,15 +1970,15 @@\n && clobber(x)\n => (MOVQstore [i] {s} p0 w0 mem)\n \n-(MOVBstore [7] p1 (SHRQconst [56] w)\n- x1:(MOVWstore [5] p1 (SHRQconst [40] w)\n- x2:(MOVLstore [1] p1 (SHRQconst [8] w)\n- x3:(MOVBstore p1 w mem))))\n... | 2021-03-05T20:12:37 |
vercel/next.js | c5bc290c329a03b4053833f705e6ac62ad92d51c | aff0a0f7c53735c3856b45d4a3280430368736ee | add `node:` prefixed aliases for polyfills (vercel/turbo#102) | [
{
"path": "packages/next-swc/crates/next-core/src/next_import_map.rs",
"patch": "@@ -42,6 +42,10 @@ pub fn get_next_client_fallback_import_map(pages_dir: FileSystemPathVc) -> Impor\n \n for (original, alias) in NEXT_ALIASES {\n import_map.insert_exact_alias(original, request_to_import_mapping(pa... | 2022-10-19T16:07:28 |
huggingface/transformers | 832c6191ede752f35fa5d2f43cac96f286545aed | 1b2f942af7c36777064fb9297459e2c003899f4d | Add inputs_embeds param to ModernBertModel (#35373)
* update modular_modernbert -- add inputs_embeds param to ModernBertModel
* Fix implementation issues; extend to other classes; docstring
First of all, the inputs_embeds shouldn't fully replace `self.embeddings(input_ids)`, because this call also does layer nor... | [
{
"path": "src/transformers/models/modernbert/modeling_modernbert.py",
"patch": "@@ -205,12 +205,17 @@ def __init__(self, config: ModernBertConfig):\n def compiled_embeddings(self, input_ids: torch.LongTensor) -> torch.Tensor:\n return self.drop(self.norm(self.tok_embeddings(input_ids)))\n \n- ... | 2025-01-09T13:17:26 |
ollama/ollama | 46cb7795e1b59e24c6f540ce1fad5ac630982a0a | 126d8db7f3ad151ead9fb588f3a56cd5f5c9c13b | add ability to turn on debug request logging (#14106)
If `OLLAMA_DEBUG_LOG_REQUESTS` is set, then on server startup a temp
folder will be created. Upon any inference request, the body will be
logged to a file in this folder, as well as a small shell script to
"replay" the request using cURL.
This is just intended for... | [
{
"path": "envconfig/config.go",
"patch": "@@ -214,6 +214,8 @@ func LogLevel() slog.Level {\n var (\n \t// FlashAttention enables the experimental flash attention feature.\n \tFlashAttention = BoolWithDefault(\"OLLAMA_FLASH_ATTENTION\")\n+\t// DebugLogRequests logs inference requests to disk for replay/debu... | 2026-03-20T00:08:17 |
nodejs/node | 5879f480b1bb1e92f18b64693b04dafb2a903d0a | 8826cc985acc5588185a1af84260bbaaf7f7c19c | test: update keys/Makefile to clean and build all
Currently when running make clean, followed by make not all certificates
get genenerated. In addition there are also the following error messages
related to the startdate in agent8-cert.pem, and agent9-cert.pem:
start date is invalid, it should be YYMMDDHHMMSSZ
After ... | [
{
"path": "test/fixtures/keys/Makefile",
"patch": "@@ -1,4 +1,4 @@\n-all: agent1-cert.pem agent2-cert.pem agent3-cert.pem agent4-cert.pem agent5-cert.pem ca2-crl.pem ec-cert.pem dh512.pem dh1024.pem dh2048.pem dsa1025.pem dsa_private_1025.pem dsa_public_1025.pem rsa_private_1024.pem rsa_private_2048.pem rsa... | 2018-04-12T13:42:03 |
golang/go | d85083911d6ea742901933a544467dad55bb381f | 39bdd41d03725878f1fd6f8b500ba6700f03bdad | runtime: encapsulate access to allgs
Correctly accessing allgs is a bit hairy. Some paths need to lock
allglock, some don't. Those that don't are safest using atomicAllG, but
usage is not consistent.
Rather than doing this ad-hoc, move all access* through forEachG /
forEachGRace, the locking and atomic versions, resp... | [
{
"path": "src/runtime/heapdump.go",
"patch": "@@ -403,9 +403,10 @@ func dumpgoroutine(gp *g) {\n }\n \n func dumpgs() {\n+\tassertWorldStopped()\n+\n \t// goroutines & stacks\n-\tfor i := 0; uintptr(i) < allglen; i++ {\n-\t\tgp := allgs[i]\n+\tforEachG(func(gp *g) {\n \t\tstatus := readgstatus(gp) // The w... | 2020-12-23T20:05:37 |
vercel/next.js | 2a483842536fe34381bd4d7d671cad634f766397 | 7dd92608a9d7bb6082af29627e8919fdce7eb770 | add `node:` prefixed aliases for polyfills (#102) | [
{
"path": "crates/next-core/src/next_import_map.rs",
"patch": "@@ -42,6 +42,10 @@ pub fn get_next_client_fallback_import_map(pages_dir: FileSystemPathVc) -> Impor\n \n for (original, alias) in NEXT_ALIASES {\n import_map.insert_exact_alias(original, request_to_import_mapping(pages_dir, alias));\... | 2022-10-19T16:07:28 |
huggingface/transformers | 1b2f942af7c36777064fb9297459e2c003899f4d | 4adc415b6de5b899a48379b6cba01bd930cb587d | Fix flaky `test_batching_equivalence` (#35564)
* yes!
* oh no!!!
* oh no!!!
* style
* oh no!!!
* oh no!!!
* oh no!!!
* oh no!!!
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "src/transformers/testing_utils.py",
"patch": "@@ -1409,17 +1409,42 @@ def assert_screenout(out, what):\n \n \n def set_model_tester_for_less_flaky_test(test_case):\n- if hasattr(test_case.model_tester, \"num_hidden_layers\"):\n- test_case.model_tester.num_hidden_layers = 1\n+ target_... | 2025-01-09T13:00:08 |
ollama/ollama | 126d8db7f3ad151ead9fb588f3a56cd5f5c9c13b | 3f3a24b4189a6c143d691c0747af3f284ff8928f | parsers: robust xml tool repair (#14961)
Previous xml repair for glm was a good start, but we need to go further and repair any incorrect open or closing tags
Co-authored-by: Dongluo Chen <dongluo.chen@gmail.com> | [
{
"path": "model/parsers/glm46.go",
"patch": "@@ -345,44 +345,163 @@ func escapeGLM46Content(s string) string {\n \treturn result.String()\n }\n \n-// repairUnclosedArgValues inserts missing </arg_value> closing tags.\n-// GLM models sometimes omit the closing tag, producing XML like:\n-//\n-//\t<arg_value>... | 2026-03-19T18:24:48 |
nodejs/node | 8826cc985acc5588185a1af84260bbaaf7f7c19c | 6dca62b28d3432c11fedc13f3942125097cd3ec5 | errors: alter and test ERR_INVALID_REPL_EVAL_CONFIG
changes the base instance for ERR_INVALID_REPL_EVAL_CONFIG
from Error to TypeError as a more accurate representation
of the error and adds a unit test for the repl options that
trigger this error.
PR-URL: https://github.com/nodejs/node/pull/19984
Reviewed-By: James ... | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -903,10 +903,8 @@ E('ERR_INVALID_PERFORMANCE_MARK',\n \n // This should probably be a `TypeError`.\n E('ERR_INVALID_PROTOCOL', 'Protocol \"%s\" not supported. Expected \"%s\"', Error);\n-\n-// This should probably be a `TypeError`.\n E('ERR_INVALID_REPL_EVAL_... | 2018-04-12T19:00:24 |
golang/go | 39bdd41d03725878f1fd6f8b500ba6700f03bdad | 44721f4565858526545c69b4846daeea40843a98 | cmd/go/internal/modfetch/codehost: report git errors more accurately
Previously, if you attempted to fetch a private repository, or your
Git/curl client failed for an unknown reason, codehost would return an
UnknownRevisionError, which reported that a given revision in go.mod
was "unknown". This is confusing to many u... | [
{
"path": "src/cmd/go/internal/modfetch/codehost/git.go",
"patch": "@@ -296,6 +296,9 @@ func (r *gitRepo) stat(rev string) (*RevInfo, error) {\n \t// Or maybe it's the prefix of a hash of a named ref.\n \t// Try to resolve to both a ref (git name) and full (40-hex-digit) commit hash.\n \tr.refsOnce.Do(r.loa... | 2021-03-02T19:54:36 |
huggingface/transformers | 4adc415b6de5b899a48379b6cba01bd930cb587d | c8ab6ce6ce85fa50d95bde5731fa63e3a2d3622e | Setup loss_type in config at model init time (#34616)
* setup loss_type in config at model init time
ensures no additional graph break introduced when torch.compile'ed
fixes #34615
Signed-off-by: ChanderG <mail@chandergovind.org>
* lookup loss mapping at init time instead of manual setup
Signed-off-by: ChanderG <... | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -1319,6 +1319,17 @@ def __init__(self, config: PretrainedConfig, *inputs, **kwargs):\n )\n self.config = config\n \n+ # for initialization of the loss\n+ loss_type = self.__class__.__name__\n+ if loss_type ... | 2025-01-09T12:32:21 |
vercel/next.js | aff0a0f7c53735c3856b45d4a3280430368736ee | 381badcde321d24d2c25bccd1edb459c7e7bd431 | Fix CSS HMR for SSR (vercel/turbo#85)
Since we used to build the HTML using our own `<Document>` component, we
were previously adding a data-turbopack-chunk-id attribute to our
`<link>` tags to reconcile chunk paths with their chunk ids when
initializing HMR. However, Next.js is now responsible for building the
HT... | [
{
"path": "packages/next-swc/crates/next-core/js/src/dev/client.ts",
"patch": "@@ -2,7 +2,9 @@ import { connect } from \"./hmr-client\";\n import { connectHMR } from \"./websocket\";\n \n export function initializeHMR(options: { assetPrefix: string }) {\n- connect();\n+ connect({\n+ assetPrefix: option... | 2022-10-19T16:06:40 |
ollama/ollama | 3f3a24b4189a6c143d691c0747af3f284ff8928f | 96e36c0d90b1da23304658a2ba90784b4a1c822d | app: fix desktop app stuck loading when OLLAMA_HOST is an unspecified bind address (#14885) | [
{
"path": "app/ui/ui.go",
"patch": "@@ -155,7 +155,7 @@ func (s *Server) ollamaProxy() http.Handler {\n \t\t\t\t\treturn\n \t\t\t\t}\n \n-\t\t\t\ttarget := envconfig.Host()\n+\t\t\t\ttarget := envconfig.ConnectableHost()\n \t\t\t\ts.log().Info(\"configuring ollama proxy\", \"target\", target.String())\n \n ... | 2026-03-19T16:57:57 |
nodejs/node | 6dca62b28d3432c11fedc13f3942125097cd3ec5 | 2119ceedbf5e828bb08d7bc60e69836fba5afeb4 | doc: include error code in buffer documentation
Replace mentions of `RangeError` with the specific error code (e.g.,
`ERR_INVALID_OPT_VALUE`). Minor improvements to nearby text (wrap at 80
chars, serial comma, remove unnecessary articles, use present tense
consistently).
PR-URL: https://github.com/nodejs/node/pull/19... | [
{
"path": "doc/api/buffer.md",
"patch": "@@ -442,9 +442,9 @@ changes:\n \n * `size` {integer} The desired length of the new `Buffer`.\n \n-Allocates a new `Buffer` of `size` bytes. If the `size` is larger than\n-[`buffer.constants.MAX_LENGTH`] or smaller than 0, a [`RangeError`] will be\n-thrown. A zero-len... | 2018-04-12T18:10:46 |
huggingface/transformers | 487c31a21f9fea1864e8478228457d7584947778 | 965a2fb3204375492787d7bb2fbec76964cef692 | Minor fix in video text 2 text docs (#35546)
minor fix in docs | [
{
"path": "docs/source/en/tasks/video_text_to_text.md",
"patch": "@@ -144,4 +144,4 @@ print(processor.decode(output[0][2:], skip_special_tokens=True)[len(user_prompt)\n \n And voila! \n \n-To learn more about chat templates and token streaming for video-text-to-text models, refer to the [image-text-to-text]... | 2025-01-09T10:20:36 |
vercel/next.js | 7dd92608a9d7bb6082af29627e8919fdce7eb770 | 3717bb118c2733936e135264ecf73485b8970e9f | Fix CSS HMR for SSR (#85)
Since we used to build the HTML using our own `<Document>` component, we
were previously adding a data-turbopack-chunk-id attribute to our
`<link>` tags to reconcile chunk paths with their chunk ids when
initializing HMR. However, Next.js is now responsible for building the
HTML, and it h... | [
{
"path": "crates/next-core/js/src/dev/client.ts",
"patch": "@@ -2,7 +2,9 @@ import { connect } from \"./hmr-client\";\n import { connectHMR } from \"./websocket\";\n \n export function initializeHMR(options: { assetPrefix: string }) {\n- connect();\n+ connect({\n+ assetPrefix: options.assetPrefix,\n+ ... | 2022-10-19T16:06:40 |
golang/go | 44721f4565858526545c69b4846daeea40843a98 | c082f9fee0e08ac5ea6498ade1153fb6e68f7c72 | test: enable "-d=panic" by default for errorcheck*
Fixes #43311
Change-Id: I134d6c0524c198998a3c093dd3a8144052e8f7a9
Reviewed-on: https://go-review.googlesource.com/c/go/+/298715
Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Go Bot <gobot@golang.... | [
{
"path": "test/run.go",
"patch": "@@ -725,7 +725,7 @@ func (t *test) run() {\n \t\t// Fail if wantError is true and compilation was successful and vice versa.\n \t\t// Match errors produced by gc against errors in comments.\n \t\t// TODO(gri) remove need for -C (disable printing of columns in error message... | 2021-03-04T15:31:43 |
nodejs/node | 2119ceedbf5e828bb08d7bc60e69836fba5afeb4 | 985d180855d1d57f64ee213ed72fb460328f53f0 | errors: alter ERR_INVALID_IP_ADDRESS
changes the base instance for ERR_INVALID_IP_ADDRESS
from Error to TypeError as a more accurate representation
of the error.
PR-URL: https://github.com/nodejs/node/pull/19979
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed... | [
{
"path": "lib/dns.js",
"patch": "@@ -316,7 +316,7 @@ function setServers(servers) {\n return newSet.push([ipVersion, s, parseInt(p)]);\n }\n \n- throw new ERR_INVALID_IP_ADDRESS.Error(serv);\n+ throw new ERR_INVALID_IP_ADDRESS(serv);\n });\n \n const errorNumber = this._handle.setServer... | 2018-04-12T16:48:03 |
ollama/ollama | 96e36c0d90b1da23304658a2ba90784b4a1c822d | 6f8ddbb26b829949d2f925755507dbb8f3f01de5 | mlxrunner: share KV cache across conversations with common prefixes
Enable multiple conversations to reuse cached computations when they
share token prefixes (e.g. the same system prompt). A prefix trie
tracks shared regions so switching between conversations only
recomputes tokens that diverge. Inactive conversation ... | [
{
"path": "x/mlxrunner/cache.go",
"patch": "@@ -1,19 +1,40 @@\n+// cache.go manages a shared KV cache across conversations using a compressed\n+// prefix trie. Each trie node stores a token sequence (edge) and optional\n+// per-layer snapshots that can be paged in/out of the live MLX cache arrays.\n+//\n+//... | 2026-03-05T23:45:36 |
golang/go | fbee173545da4ecbdd80a59edcb93e6c4605241f | 9e6b1fcd0a42db0f4699ff17e3b248e563f7eee4 | cmd/compile: fix wrong condition in tcShift
CL 279442 refactored typecheck arithmetic operators, but using wrong
condition for checking invalid rhs.
Updates #43311
Change-Id: I7a03a5535b82ac4ea4806725776b0a4f7af1b79a
Reviewed-on: https://go-review.googlesource.com/c/go/+/298714
Trust: Cuong Manh Le <cuong.manhle.vn@... | [
{
"path": "src/cmd/compile/internal/typecheck/expr.go",
"patch": "@@ -48,7 +48,7 @@ func tcAddr(n *ir.AddrExpr) ir.Node {\n }\n \n func tcShift(n, l, r ir.Node) (ir.Node, ir.Node, *types.Type) {\n-\tif l.Type() == nil || l.Type() == nil {\n+\tif l.Type() == nil || r.Type() == nil {\n \t\treturn l, r, nil\n ... | 2021-03-04T15:27:41 |
vercel/next.js | 3717bb118c2733936e135264ecf73485b8970e9f | bb5fb1fe70174eea8fa977e64c2f2ccdc2194c2e | limit max chunk count to 10 until we fix the performance problem (#104)
There is currently a performance problem that too many requests slow
down the whole system due to the too high cost of adding tasks to
TaskScopes.
Until we can fix the real problem, this is a workaround to reduce the
problem | [
{
"path": "crates/turbopack-css/src/chunk/optimize.rs",
"patch": "@@ -59,6 +59,13 @@ async fn merge_chunks(first: CssChunkVc, chunks: &[CssChunkVc]) -> Result<CssChu\n ))\n }\n \n+/// Max number of local chunks. Will be merged into a single chunk when over the\n+/// threshold.\n+const LOCAL_CHUNK_MERGE_... | 2022-10-19T16:04:16 |
huggingface/transformers | 965a2fb3204375492787d7bb2fbec76964cef692 | 137965ca7d0b453b22806c0a5fffc51fde821c33 | More model refactoring! (#35359)
* cohere
* style
* phi3
* style
* small fix
* small fix
* phi3 longrope
* oups
* Update rope (only for phi3 still)
* Update test_modeling_rope_utils.py
* Update modeling_phi3.py
* fix
* fix copies
* style
* Fix copied from bad renaming | [
{
"path": "src/transformers/modeling_rope_utils.py",
"patch": "@@ -279,25 +279,20 @@ def _compute_longrope_parameters(\n # `original_max_position_embeddings` field containing the pretrained value. They use the ratio between these two\n # values to compute the default attention scaling factor, instea... | 2025-01-09T10:09:09 |
nodejs/node | 2b0825e77feb262cf862982cabf7a67bf58f4d5b | bfe54df81240151a3aeaf99dcd91c362bab3a6b0 | assert: remove `errorDiff` property
The property is not necessary as it is possible to check for the
operator instead.
PR-URL: https://github.com/nodejs/node/pull/19467
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/assert.js",
"patch": "@@ -54,9 +54,6 @@ const meta = [\n \n const escapeFn = (str) => meta[str.charCodeAt(0)];\n \n-const ERR_DIFF_NOT_EQUAL = 1;\n-const ERR_DIFF_EQUAL = 2;\n-\n let warned = false;\n \n // The assert module provides functions that throw\n@@ -321,8 +318,7 @@ assert.deepStrict... | 2018-04-02T16:42:11 |
ollama/ollama | 6f8ddbb26b829949d2f925755507dbb8f3f01de5 | b5e78884148828672fa122fdcbfae6a4d578108e | mlxrunner: fix Slice(0, 0) returning full dimension instead of empty
Slice used cmp.Or to resolve a zero stop value to the dimension size,
intended to support open-ended slices like a[i:]. This made Slice(0, 0)
indistinguishable from Slice(), so any slice with a zero stop would
silently include the entire dimension in... | [
{
"path": "x/mlxrunner/mlx/slice.go",
"patch": "@@ -4,10 +4,14 @@ package mlx\n import \"C\"\n \n import (\n-\t\"cmp\"\n+\t\"math\"\n \t\"unsafe\"\n )\n \n+// End is a sentinel value meaning \"to the end of the dimension\",\n+// equivalent to an omitted stop in Python (e.g. a[i:]).\n+const End = math.MaxInt... | 2026-03-18T21:10:08 |
golang/go | 9e6b1fcd0a42db0f4699ff17e3b248e563f7eee4 | 51d8d351c1bb2cac74e1bbf8545245cdbc8914c3 | cmd/compile: do not report error for invalid constant
Invalid constant was already reported by noder, so don't re-check in
typecheck, which lead to compiler crashing.
Updates #43311
Change-Id: I48e2f540601cef725c1ff628c066ed15d848e771
Reviewed-on: https://go-review.googlesource.com/c/go/+/298713
Trust: Cuong Manh Le... | [
{
"path": "src/cmd/compile/internal/noder/noder.go",
"patch": "@@ -689,7 +689,7 @@ func (p *noder) expr(expr syntax.Expr) ir.Node {\n \t\tif expr.Kind == syntax.RuneLit {\n \t\t\tn.SetType(types.UntypedRune)\n \t\t}\n-\t\tn.SetDiag(expr.Bad) // avoid follow-on errors if there was a syntax error\n+\t\tn.SetD... | 2021-03-04T15:24:58 |
vercel/next.js | 6d088205b3200dabf5ef7f4369a74c557eb21ad4 | 3f7e922a402dcffad2f1f200606f5d7370d4c3bf | Fix docs typo in `next/image` sizes using fill prop (#41560)
Fix typo mentioned in
https://github.com/vercel/next.js/pull/41434#issuecomment-1283855509 | [
{
"path": "docs/api-reference/next/image.md",
"patch": "@@ -147,7 +147,7 @@ const Example = () => (\n <div className=\"grid-element\">\n <Image\n src=\"/example.png\"\n- layout=\"fill\"\n+ fill\n sizes=\"(max-width: 768px) 100vw,\n (max-width: 1200px) 50vw,\n ... | 2022-10-19T13:53:03 |
huggingface/transformers | 8cad65a698556023b8ea4f4b1bb87d54f50c1b3b | 2e2f8015c089421f86ee28829f680e35839ad8c6 | Fix multi-gpu loss (#35395)
push to device | [
{
"path": "src/transformers/loss/loss_utils.py",
"patch": "@@ -34,6 +34,7 @@ def ForCausalLMLoss(\n ):\n # Upcast to float if we need to compute the loss to avoid potential precision issues\n logits = logits.float()\n+ labels = labels.to(logits.device)\n # Shift so that tokens < n predict n\n... | 2025-01-09T09:14:31 |
nodejs/node | bfe54df81240151a3aeaf99dcd91c362bab3a6b0 | f2d112c6b7e81263de7ff911fa189a336d863892 | assert: improve default error messages
This improves the error messages for:
- assert.notDeepStrictEqual
- assert.deepStrictEqual
- assert.notStrictEqual
- assert.strictEqual
Those will now always use the same error message as used in the
strict mode.
PR-URL: https://github.com/nodejs/node/pull/19467
Reviewed-By: Ma... | [
{
"path": "lib/assert.js",
"patch": "@@ -54,7 +54,6 @@ const meta = [\n \n const escapeFn = (str) => meta[str.charCodeAt(0)];\n \n-const ERR_DIFF_DEACTIVATED = 0;\n const ERR_DIFF_NOT_EQUAL = 1;\n const ERR_DIFF_EQUAL = 2;\n \n@@ -323,7 +322,7 @@ assert.deepStrictEqual = function deepStrictEqual(actual, exp... | 2018-03-12T21:14:24 |
rust-lang/rust | 7ae5c7f32dfc85c0e57949dee1c54bd1c6586e37 | f419b18d16be992b5db21e0008aa7be16f92803f | Avoid an empty trait name in impl blocks.
`resolve_ident_in_lexical_scope` checks for an empty name. Why is this
necessary? Because `parse_item_impl` can produce an `impl` block with an
empty trait name in some cases. This is pretty gross and very
non-obvious.
This commit avoids the use of the empty trait name. In on... | [
{
"path": "compiler/rustc_parse/src/parser/item.rs",
"patch": "@@ -649,6 +649,7 @@ impl<'a> Parser<'a> {\n other => {\n if let TyKind::ImplTrait(_, bounds) = other\n && let [bound] = bounds.as_slice()\n+ && le... | 2025-04-09T04:16:22 |
ollama/ollama | 5759c2d2d20bc3193e4520f4a6af42545dbbc104 | 42b1c2642b7b3d4de543c68f9d78b1efb0a254e3 | launch: fix openclaw not picking up newly selected model (#14943)
Sessions with a stale model field were not updated when the primary
changed, so the old model continued to be used. | [
{
"path": "cmd/launch/openclaw.go",
"patch": "@@ -609,6 +609,8 @@ func clearSessionModelOverride(primary string) {\n \t\tif override, _ := sess[\"modelOverride\"].(string); override != \"\" && override != primary {\n \t\t\tdelete(sess, \"modelOverride\")\n \t\t\tdelete(sess, \"providerOverride\")\n+\t\t}\n+... | 2026-03-18T20:20:10 |
golang/go | 80098ef00c1c8a832b2d67d7cbd4dea5f8eff6e9 | 70b277cf2e953bb9994b00898280f4659a47471e | cmd/compile: don't expand invalid embedded interface
The invalid interface type will be reported already, so don't expand
that invalid one, which causes the compiler crashes.
Updates #43311
Change-Id: Ic335cfa74f0b9fcfd0929dc5fd31d9156a8f5f5c
Reviewed-on: https://go-review.googlesource.com/c/go/+/298710
Trust: Cuong... | [
{
"path": "src/cmd/compile/internal/types/size.go",
"patch": "@@ -100,7 +100,7 @@ func expandiface(t *Type) {\n \t}\n \n \tfor _, m := range t.Methods().Slice() {\n-\t\tif m.Sym != nil {\n+\t\tif m.Sym != nil || m.Type == nil {\n \t\t\tcontinue\n \t\t}\n ",
"additions": 1,
"deletions": 1,
"langu... | 2021-03-04T07:40:50 |
vercel/next.js | bb5fb1fe70174eea8fa977e64c2f2ccdc2194c2e | 80b8b0dd2bcfe3811dd87198f516624f61547a85 | Fix include_dir cargo file caching (#103)
Without the "nightly" feature, the `include_dir!` macro does not keep
track of which files/directories it includes, and as such changing a
file in an included directory does not invalidate the cargo compilation.
This PR fixes that. | [
{
"path": "crates/turbo-tasks-fs/Cargo.toml",
"patch": "@@ -14,7 +14,7 @@ bitflags = \"1.3.2\"\n concurrent-queue = \"1.2.2\"\n futures = \"0.3.24\"\n futures-retry = \"0.6.0\"\n-include_dir = \"0.7.2\"\n+include_dir = { version = \"0.7.2\", features = [\"nightly\"] }\n lazy_static = \"1.4.0\"\n mime = \"0.... | 2022-10-19T13:29:39 |
rust-lang/rust | f419b18d16be992b5db21e0008aa7be16f92803f | d4f880f8ce832cd7560bb2f1ebc34f967055ffd7 | Return early on an error path in `parse_item_impl`.
Currently the code continues, using an empty path, but it doesn't need
to. | [
{
"path": "compiler/rustc_parse/src/parser/item.rs",
"patch": "@@ -602,21 +602,13 @@ impl<'a> Parser<'a> {\n let polarity = self.parse_polarity();\n \n // Parse both types and traits as a type, then reinterpret if necessary.\n- let err_path = |span| ast::Path::from_ident(Ident::new(kw... | 2025-04-08T23:30:51 |
nodejs/node | bd0a690632268789a9c5611e90ea5255265e7cac | a486736af8d451b9bde58e6d1bf0e00cae3f2c87 | test: fix warning in dlopen-ping-pong/binding.cc
Currently, the following compiler warning is issued:
../binding.cc:26:27:
warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
const String::Utf8Value filename(args[0]);
^
This commit updates the code to use the Isolate version.
P... | [
{
"path": "test/addons/dlopen-ping-pong/binding.cc",
"patch": "@@ -23,7 +23,7 @@ typedef const char* (*ping)(void);\n static ping ping_func;\n \n void LoadLibrary(const FunctionCallbackInfo<Value>& args) {\n- const String::Utf8Value filename(args[0]);\n+ const String::Utf8Value filename(args.GetIsolate(),... | 2018-04-12T05:35:13 |
ollama/ollama | 727d69ddf39ef80ecebb76e417ccbc0b83861498 | f622b0c5fc0afa46f0275b1a38adf072de3c0424 | tui: fix signin on headless Linux systems (#14627)
Defensively handle environments without a display server to ensure signin remains usable on headless VMs and SSH sessions.
- Skip calling xdg-open when neither DISPLAY nor WAYLAND_DISPLAY is set, preventing silent failures or unexpected browser handlers
- Render the ... | [
{
"path": "cmd/launch/models.go",
"patch": "@@ -92,6 +92,10 @@ func OpenBrowser(url string) {\n \tcase \"darwin\":\n \t\t_ = exec.Command(\"open\", url).Start()\n \tcase \"linux\":\n+\t\t// Skip on headless systems where no display server is available\n+\t\tif os.Getenv(\"DISPLAY\") == \"\" && os.Getenv(\"W... | 2026-03-18T18:11:17 |
huggingface/transformers | 3f483beab9076705cf3a900c20837e7555303c3d | 4c2c12b3de39eb51b5f44ef43d55f19fc370a57e | [`PixtralLarge`] Update Pixtral conversion script to support large format! (#34801)
* update conversion script
* update for bias again
* remove pdv
* use my dir
* Update how we initialize the tokenizer
* Convert in bfloat16
* Undo that one again
* fix config dump
* .to() was broken for BatchMixFeature
* quick... | [
{
"path": "src/transformers/models/llava/configuration_llava.py",
"patch": "@@ -50,6 +50,8 @@ class LlavaConfig(PretrainedConfig):\n The index of the layer to select the vision feature.\n image_seq_length (`int`, *optional*, defaults to 576):\n Sequence length of one image em... | 2025-01-08T16:39:47 |
golang/go | 70b277cf2e953bb9994b00898280f4659a47471e | d4247f516724cae2e84a4d1bef71bd47aa2fd1d8 | cmd/compile: only check return for valid functions
CheckReturn uses fn.Type() unconditionally, so for invalid function,
fn.Type() will be nil, causes the compiler crashes.
Updates #43311
Change-Id: I4420dd296c72ea83986b38fbf2c7f51fa59757c8
Reviewed-on: https://go-review.googlesource.com/c/go/+/298709
Trust: Cuong Ma... | [
{
"path": "src/cmd/compile/internal/typecheck/typecheck.go",
"patch": "@@ -2104,7 +2104,7 @@ func CheckUnused(fn *ir.Func) {\n \n // CheckReturn makes sure that fn terminates appropriately.\n func CheckReturn(fn *ir.Func) {\n-\tif fn.Type().NumResults() != 0 && len(fn.Body) != 0 {\n+\tif fn.Type() != nil &&... | 2021-03-04T07:27:36 |
vercel/next.js | 4e40ba84881c7c4011d672deaa66d71cfd4e8577 | 9ac231a0b4f4e9cbd8fffe1f9155962f5b212df4 | Fix case where dispatch was missing (#41553) | [
{
"path": "packages/next/client/components/react-dev-overlay/hot-reloader.tsx",
"patch": "@@ -128,7 +128,7 @@ function performFullReload(err: any, sendMessage: any) {\n \n // Attempt to update code on the fly, fall back to a hard reload.\n function tryApplyUpdates(\n- onHotUpdateSuccess: any,\n+ onHotUpda... | 2022-10-19T11:28:24 |
rust-lang/rust | 375cb5402fb1aa6bf8b4c513921b5f087decb3ca | 4e5cbbeda169377e5025a979105d0dac31bf560a | Resolve small errors identified by recent clippy | [
{
"path": "library/compiler-builtins/libm/crates/libm-test/src/precision.rs",
"patch": "@@ -13,6 +13,7 @@ use crate::{BaseName, CheckBasis, CheckCtx, Float, Identifier, Int, TestResult};\n pub struct SpecialCase;\n \n /// ULP allowed to differ from the results returned by a test basis.\n+#[allow(clippy::sin... | 2025-04-09T02:22:15 |
nodejs/node | 4082bdf1995a602fc145fc18ce0ea4eee798b2f6 | dadddcbf7b844a249b73bec96d0265c303bf6dab | doc: remove _writableState reference
PR-URL: https://github.com/nodejs/node/pull/20004
Fixes: https://github.com/nodejs/node/issues/6799
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Tobias Nie... | [
{
"path": "doc/api/stream.md",
"patch": "@@ -1652,8 +1652,7 @@ const { StringDecoder } = require('string_decoder');\n class StringWritable extends Writable {\n constructor(options) {\n super(options);\n- const state = this._writableState;\n- this._decoder = new StringDecoder(state.defaultEncodin... | 2018-04-13T09:00:16 |
ollama/ollama | d727aacd04e531db9fe2a797b31c032d626b69ef | fa69b833cd1323b2d96b80da9e38cadc7e8fe97a | mlx: quantized embeddings, fast SwiGLU, and runtime fixes (#14884)
Add QuantizedEmbedding and EmbeddingLayer interface so models can
use quantized embedding weights and expose tied output projections.
This change updates gemma3, glm4_moe_lite, llama, qwen3, and qwen3_5
to use the new interface. | [
{
"path": "x/mlxrunner/mlx/ops_extra.go",
"patch": "@@ -310,6 +310,12 @@ func Log(a *Array) *Array {\n \treturn out\n }\n \n+func Logaddexp(a, b *Array) *Array {\n+\tout := New(\"LOGADDEXP\")\n+\tC.mlx_logaddexp(&out.ctx, a.ctx, b.ctx, DefaultStream().ctx)\n+\treturn out\n+}\n+\n func SoftmaxAxis(a *Array, ... | 2026-03-17T18:21:38 |
huggingface/transformers | 8490d3159ce37087151e30211e33f59008a44233 | 4349a0e4012330b83116a3dc671292a8e46df923 | Add ViTPose (#30530)
* First draft
* Make fixup
* Make forward pass worké
* Improve code
* More improvements
* More improvements
* Make predictions match
* More improvements
* Improve image processor
* Fix model tests
* Add classic decoder
* Convert classic decoder
* Verify image pr... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -741,6 +741,8 @@\n title: ViTMatte\n - local: model_doc/vit_msn\n title: ViTMSN\n+ - local: model_doc/vitpose\n+ title: ViTPose\n - local: model_doc/yolos\n title: YOLOS\n - local: model_doc/zoedepth"... | 2025-01-08T16:02:14 |
golang/go | d4247f516724cae2e84a4d1bef71bd47aa2fd1d8 | 67b9ecb23b16ed63f974e6741e1f229eab023ff5 | text/template: wrap errors returned by template functions instead of stringifying them
Fixes #34201
Change-Id: Ic2e2967e4b01167345cf38bd006cabb206a64377
GitHub-Last-Rev: 5d0c4856550614484a8dbfb68c37aa1abcfcc529
GitHub-Pull-Request: golang/go#42398
Reviewed-on: https://go-review.googlesource.com/c/go/+/267838
Reviewed... | [
{
"path": "src/text/template/exec.go",
"patch": "@@ -727,7 +727,7 @@ func (s *state) evalCall(dot, fun reflect.Value, node parse.Node, name string, a\n \t// error to the caller.\n \tif err != nil {\n \t\ts.at(node)\n-\t\ts.errorf(\"error calling %s: %v\", name, err)\n+\t\ts.errorf(\"error calling %s: %w\", ... | 2021-03-05T15:59:12 |
rust-lang/rust | 189b0761c80a146f125e3f6e64fbf346672e81eb | 97bb0639585096faa050b80a289836e46ddc3210 | fix: map_entry: don't emit lint before checks have been performed
Fixes #14449, introduced in #14314 | [
{
"path": "clippy_lints/src/entry.rs",
"patch": "@@ -95,14 +95,13 @@ impl<'tcx> LateLintPass<'tcx> for HashMapPass {\n return;\n };\n \n- if then_search.is_key_used_and_no_copy || else_search.is_key_used_and_no_copy {\n- span_lint(cx, MAP_ENTRY, expr.spa... | 2025-04-09T00:54:35 |
vercel/next.js | f78bf9bc866672cf7e95c01d702faa7a6656da98 | 5018fee6dec5420274249a71525f252edf27a938 | Fix chunk path hashing (#94)
This follows https://github.com/vercel/the-three-body/pull/86 to finally
(hopefully) fix our snapshot tests. The issue is that there we were
directly observing the hash of a `Vc`, which is not stable. Every test
run can generate new `Vc` wrappers, and thus receive different hash
output... | [
{
"path": "crates/turbo-tasks-hash/Cargo.toml",
"patch": "@@ -1,5 +1,5 @@\n [package]\n-name = \"turbopack-hash\"\n+name = \"turbo-tasks-hash\"\n version = \"0.1.0\"\n edition = \"2021\"\n autobenches = false",
"additions": 1,
"deletions": 1,
"language": "Unknown"
},
{
"path": "crates/tu... | 2022-10-19T09:14:30 |
ollama/ollama | bcf6d55b54b9792083e785b5cfaf6ad8eb9f8dca | 810d4f9c22319491cd3ac360afed6d2cae6be99a | launch: fix web search, add web fetch, and enable both for local (#14886) | [
{
"path": "cmd/launch/openclaw.go",
"patch": "@@ -14,6 +14,8 @@ import (\n \t\"strings\"\n \t\"time\"\n \n+\t\"golang.org/x/mod/semver\"\n+\n \t\"github.com/ollama/ollama/api\"\n \t\"github.com/ollama/ollama/cmd/internal/fileutil\"\n \t\"github.com/ollama/ollama/envconfig\"\n@@ -90,10 +92,8 @@ func (c *Open... | 2026-03-16T23:26:19 |
nodejs/node | dadddcbf7b844a249b73bec96d0265c303bf6dab | 8e305890c9eb4488c7daf4600eca016b814b39bf | tools: treat SIGABRT as crash
Otherwise, potentially no output is shown for aborts.
PR-URL: https://github.com/nodejs/node/pull/19990
Refs: https://github.com/nodejs/node/issues/19903
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cj... | [
{
"path": "tools/test.py",
"patch": "@@ -582,8 +582,7 @@ def HasCrashed(self):\n # Timed out tests will have exit_code -signal.SIGTERM.\n if self.output.timed_out:\n return False\n- return self.output.exit_code < 0 and \\\n- self.output.exit_code != -signal.SIGABRT\n+ ... | 2018-04-12T22:34:57 |
huggingface/transformers | 4349a0e4012330b83116a3dc671292a8e46df923 | 88e18b3c6317388eaad34111e309afdfc827f670 | fix: Qwen2-VL generate with inputs_embeds (#35466)
* fix: Qwen2-VL generate with inputs_embeds
* change: optional input_ids in get_rope_index | [
{
"path": "src/transformers/models/qwen2_vl/modeling_qwen2_vl.py",
"patch": "@@ -32,13 +32,8 @@\n from ...activations import ACT2FN\n from ...cache_utils import Cache, DynamicCache, SlidingWindowCache, StaticCache\n from ...generation import GenerationMixin\n-from ...modeling_attn_mask_utils import (\n- ... | 2025-01-08T15:36:03 |
rust-lang/rust | f151ceadfe19a4c12c1381468cc8c516f3be9f39 | e643f59f6da3a84f43e75dea99afaa5b041ea6bf | emit a better error message for using the macro incorrectly | [
{
"path": "compiler/rustc_builtin_macros/src/autodiff.rs",
"patch": "@@ -234,7 +234,7 @@ mod llvm_enzyme {\n let meta_item_vec: ThinVec<MetaItemInner> = match meta_item.kind {\n ast::MetaItemKind::List(ref vec) => vec.clone(),\n _ => {\n- dcx.emit_err(errors::A... | 2025-04-09T01:54:34 |
golang/go | 67b9ecb23b16ed63f974e6741e1f229eab023ff5 | 280c735b07af9ea313d73049b0031f466e8d1000 | runtime: update paniclk ordering
Now that allglock is no longer taken in throw, paniclk can move to the
bottom of the lock order where it belongs.
There is no fundamental reason that we really need to skip checks on
paniclk in lockWithRank (despite the recursive throws that could be
caused by lock rank checking, star... | [
{
"path": "src/runtime/lockrank.go",
"patch": "@@ -44,7 +44,6 @@ const (\n \tlockRankPollDesc\n \tlockRankSched\n \tlockRankDeadlock\n-\tlockRankPanic\n \tlockRankAllg\n \tlockRankAllp\n \n@@ -92,6 +91,7 @@ const (\n \t// rank, we don't allow any further locks to be acquired other than more\n \t// hchan loc... | 2020-11-17T17:28:40 |
ollama/ollama | 810d4f9c22319491cd3ac360afed6d2cae6be99a | 856c047a6cad0cff20cc0e1995f92826a7280dba | runner: fix swallowed error in allocModel graph reservation
In allocModel(), the first call to reserveWorstCaseGraph(true) had its
error silently discarded — `return nil` was used instead of `return err`.
This meant that if the prompt-sized graph reservation failed (e.g. due
to insufficient memory), the error was swa... | [
{
"path": "runner/ollamarunner/runner.go",
"patch": "@@ -1231,7 +1231,7 @@ func (s *Server) allocModel(\n \n \terr = s.reserveWorstCaseGraph(true)\n \tif err != nil {\n-\t\treturn nil\n+\t\treturn err\n \t}\n \n \treturn s.reserveWorstCaseGraph(false)",
"additions": 1,
"deletions": 1,
"language"... | 2026-03-14T02:35:40 |
vercel/next.js | 3e2aec5e767a580a2cc9510a72f72913006a8a4d | bc335d7ef7aeddc2a943e520973636103bfe7972 | Fix E2E deploy test for API bodies (#41542)
Fixes:
https://github.com/vercel/next.js/actions/runs/3275381974/jobs/5390966319 | [
{
"path": "test/e2e/middleware-fetches-with-body/index.test.ts",
"patch": "@@ -64,7 +64,10 @@ describe('Middleware fetches with body', () => {\n )\n \n expect(res.status).toBe(413)\n- expect(res.statusText).toBe('Body exceeded 1mb limit')\n+\n+ if (!(global as any).isNextDeploy) {\n+ ... | 2022-10-19T01:07:39 |
nodejs/node | 61e232b9b89a99e0b7edf647e694d90489ba945b | 50e9f8df62e2d8a7f05ec6c2fbd01528a96f3468 | fs: complete error message for validate function
PR-URL: https://github.com/nodejs/node/pull/19909
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> | [
{
"path": "lib/internal/fs.js",
"patch": "@@ -350,11 +350,13 @@ function validateLen(len) {\n let err;\n \n if (!isInt32(len)) {\n- if (typeof value !== 'number') {\n+ if (typeof len !== 'number') {\n err = new ERR_INVALID_ARG_TYPE('len', 'number', len);\n- } else {\n- // TODO(Bridge... | 2018-04-10T07:31:35 |
huggingface/transformers | 88e18b3c6317388eaad34111e309afdfc827f670 | 29e74b7cbcf8f2acaa82090f72d1766bc0c7edcf | Update doc for `metric_for_best_model` when `save_strategy="best"`. (#35389)
* Updated docstring for _determine_best_metric.
* Updated docstring for metric_for_best_model.
* Added test case for save strategy.
* Updated incorrect test case.
* Changed eval_strategy to match save_strategy.
* Separated test cases for... | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -3156,7 +3156,6 @@ def _load_rng_state(self, checkpoint):\n def _determine_best_metric(self, metrics, trial):\n \"\"\"\n Determine if the model should be saved based on the evaluation metrics.\n- If args.metric_for_best_model i... | 2025-01-08T15:32:35 |
rust-lang/rust | 12311ef8ac93028f55fae69cb2e3caabab93ad49 | d4f880f8ce832cd7560bb2f1ebc34f967055ffd7 | fix title of offset_of_enum feature | [
{
"path": "src/doc/unstable-book/src/language-features/offset-of-enum.md",
"patch": "@@ -1,4 +1,4 @@\n-# `offset_of_slice`\n+# `offset_of_enum`\n \n The tracking issue for this feature is: [#120141]\n ",
"additions": 1,
"deletions": 1,
"language": "Markdown"
}
] | 2025-04-08T23:21:52 |
golang/go | 280c735b07af9ea313d73049b0031f466e8d1000 | a2f70672334ecc71c81bd1f424e1734485d8cb83 | cmd/go: require a module root in 'go list -m' with an unversioned path
Fixes #44803
Change-Id: Ie6ee2e3bca1809c91ecedec75d2c6620da914b29
Reviewed-on: https://go-review.googlesource.com/c/go/+/298752
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot... | [
{
"path": "src/cmd/go/internal/modload/list.go",
"patch": "@@ -72,8 +72,13 @@ func listModules(ctx context.Context, args []string, listVersions, listRetracted\n \t\tif search.IsRelativePath(arg) {\n \t\t\tbase.Fatalf(\"go: cannot use relative path %s to specify module\", arg)\n \t\t}\n-\t\tif !HasModRoot() ... | 2021-03-05T04:12:22 |
vercel/next.js | 17773a1cf3b087f0c4dee75b07b9f9c5fa70c4ce | cf1c0b60758a67f5f94fcbdc7d51055be9caa2ec | Fix links to `next/legacy/image` demo (#41539)
This PR fixes links to `next/legacy/image` (demo, deploy, etc) | [
{
"path": "docs/api-reference/next/legacy/image.md",
"patch": "@@ -89,18 +89,18 @@ The layout behavior of the image as the viewport changes size.\n | `responsive` | Scale to fit width of container | `640w`, `750w`, ... `2048w`, `3840w` (based on [imageSizes](#image-sizes) a... | 2022-10-18T23:09:43 |
nodejs/node | 50e9f8df62e2d8a7f05ec6c2fbd01528a96f3468 | a37e267d2184d495df82b812cec947dd0bfc6459 | doc: improve http.setHeader and getHeader typeinfo
http.setHeader() coerces input values.
http.getHeader() returns the type as passed to setHeader().
PR-URL: https://github.com/nodejs/node/pull/19902
Fixes: https://github.com/nodejs/node/issues/13825
Reviewed-By: Chen Gang <gangc.cxy@foxmail.com>
Reviewed-By: Ruben B... | [
{
"path": "doc/api/http.md",
"patch": "@@ -587,13 +587,24 @@ added: v1.6.0\n -->\n \n * `name` {string}\n-* Returns: {string}\n+* Returns: {any}\n \n Reads out a header on the request. Note that the name is case insensitive.\n+The type of the return value depends on the arguments provided to\n+[`request.set... | 2018-04-09T20:43:37 |
huggingface/transformers | 29e74b7cbcf8f2acaa82090f72d1766bc0c7edcf | 657bb14f981c8d7e3ad77fe309bee0951cbf7186 | Add: num_additional_image_tokens to models (#35052)
* Add: num_additional_image_tokens to models
* docs: update docstring for num_additional_image_tokens in configuration files
* Add num_additional_image_tokens to LlavaNextVideo model and update feature selection logic
* revert
* Fix: adjust num_image_toke... | [
{
"path": "src/transformers/models/llava/modeling_llava.py",
"patch": "@@ -240,6 +240,7 @@ def __init__(self, config: LlavaConfig):\n self.vocab_size = config.text_config.vocab_size\n self.language_model = AutoModelForCausalLM.from_config(config.text_config)\n self.pad_token_id = sel... | 2025-01-08T15:20:01 |
golang/go | a2f70672334ecc71c81bd1f424e1734485d8cb83 | c5a1c2276ee41a65cce93b7e443d333dfa29aba7 | reflect: include the alignment of zero-sized types in stack offsets
This change modifies the reflect ABI assignment algorithm to catch
zero-sized types at the top level of each argument and faux-stack-assign
them. It doesn't actually generate an ABI step, which is unnecessary,
but it ensures that the offsets of furthe... | [
{
"path": "src/reflect/abi.go",
"patch": "@@ -123,6 +123,24 @@ func (a *abiSeq) stepsForValue(i int) []abiStep {\n func (a *abiSeq) addArg(t *rtype) *abiStep {\n \tpStart := len(a.steps)\n \ta.valueStart = append(a.valueStart, pStart)\n+\tif t.size == 0 {\n+\t\t// If the size of the argument type is zero, t... | 2021-02-18T17:33:01 |
vercel/next.js | 10e03dd7dfc8a7acbfebc85164e4340ba8100383 | 6ccfd8846f768c50fefa735f7ba9d104ed434733 | Remove debug println (#92)
Was logging `versions BrowserData { chrome: Some(Version { major ...`. | [
{
"path": "crates/turbopack-ecmascript/src/transform/mod.rs",
"patch": "@@ -89,7 +89,6 @@ impl EcmascriptInputTransform {\n }\n EcmascriptInputTransform::PresetEnv(env) => {\n let versions = env.runtime_versions().await?;\n- println!(\"versions {:?}\", ... | 2022-10-18T18:43:35 |
nodejs/node | a37e267d2184d495df82b812cec947dd0bfc6459 | 019a2c4f8460548ececa4225f1c7a6d11eb8bd25 | errors: alter ERR_HTTP2_INVALID_CONNECTION_HEADERS
changes the base instance for ERR_HTTP2_INVALID_CONNECTION_HEADERS
from Error to TypeError as a more accurate representation
of the error.
PR-URL: https://github.com/nodejs/node/pull/19807
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <t... | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -728,15 +728,12 @@ E('ERR_HTTP2_GOAWAY_SESSION',\n E('ERR_HTTP2_HEADERS_AFTER_RESPOND',\n 'Cannot specify additional headers after response initiated', Error);\n E('ERR_HTTP2_HEADERS_SENT', 'Response has already been initiated.', Error);\n-\n E('ERR_HTTP2_H... | 2018-04-04T17:59:00 |
huggingface/transformers | f1639ea51d9f7868b3f717763c285c642d56b226 | bd39b0627b20e83ce6bcc36c1cf4cdcd476ffaa9 | Update missing model error message (#35370)
* Update missing model error message
* Update missing model error message
* Update missing model error message
* Fix capitalization | [
{
"path": "src/transformers/models/auto/configuration_auto.py",
"patch": "@@ -1065,7 +1065,12 @@ def from_pretrained(cls, pretrained_model_name_or_path, **kwargs):\n raise ValueError(\n f\"The checkpoint you are trying to load has model type `{config_dict['model_type']}` ... | 2025-01-08T14:05:06 |
rust-lang/rust | 6f5501583557d2d918cd42fab3f99ad153152afd | e643f59f6da3a84f43e75dea99afaa5b041ea6bf | fix "still mutable" ice while metrics are enabled | [
{
"path": "compiler/rustc_data_structures/src/sync/freeze.rs",
"patch": "@@ -88,7 +88,7 @@ impl<T> FreezeLock<T> {\n #[inline]\n #[track_caller]\n pub fn write(&self) -> FreezeWriteGuard<'_, T> {\n- self.try_write().expect(\"still mutable\")\n+ self.try_write().expect(\"data should... | 2025-04-07T21:26:14 |
golang/go | 302a400316319501748c0f034464fa70e7815272 | 2e794c2bb1302af764670dba894bbfe537bd63f0 | cmd/go/internal/modfetch: detect and recover from missing ziphash file
Previously, if an extracted module directory existed in the module
cache, but the corresponding ziphash file did not, if the sum was
missing from go.sum, we would not verify the sum. This caused 'go get'
not to write missing sums. 'go build' in rea... | [
{
"path": "src/cmd/go/internal/modfetch/cache.go",
"patch": "@@ -80,6 +80,7 @@ func DownloadDir(m module.Version) (string, error) {\n \t\treturn \"\", err\n \t}\n \n+\t// Check whether the directory itself exists.\n \tdir := filepath.Join(cfg.GOMODCACHE, enc+\"@\"+encVer)\n \tif fi, err := os.Stat(dir); os.... | 2021-03-03T21:30:22 |
huggingface/transformers | 651cfb400f29865b25e65c74505ddd60f2499a1f | 430d3d43a56b72be4213ba3e2553cdb34ea0b471 | Add support for modular with fast image processors (#35379)
* Add support for modular with fast image processors
* fix order and remove copied from
* add comment for "image_processing*_fast" | [
{
"path": "src/transformers/models/deformable_detr/image_processing_deformable_detr_fast.py",
"patch": "@@ -1,19 +1,9 @@\n-# coding=utf-8\n-# Copyright 2024 The HuggingFace Inc. team. All rights reserved.\n-#\n-# Licensed under the Apache License, Version 2.0 (the \"License\");\n-# you may not use this file... | 2025-01-08T13:37:57 |
vercel/next.js | 50ab6dab18fe5e8b75798daca31334d7480b9f98 | 7bf4a27e6abdf51ae8e179c743acc358d8ba623e | [Rebased] Remove automatic core-js polyfills (vercel/turbo#91)
Rebase of vercel/turbo#68, which was merged into a now-closed PR.
Closes vercel/turbo#65.
When configured to use preset-env, this stops turbopack from inserting
dependencies on core-js. It's:
* Buggy/error-prone, at least through swc preset-env:... | [
{
"path": "packages/next-swc/crates/next-dev/benches/bundlers/turbopack.rs",
"patch": "@@ -50,9 +50,8 @@ impl Bundler for Turbopack {\n NpmPackage::new(\"react-refresh\", \"^0.12.0\"),\n NpmPackage::new(\"next\", \"^12.3.1\"),\n NpmPackage::new(\"@next/react-r... | 2022-10-18T18:04:41 |
nodejs/node | 019a2c4f8460548ececa4225f1c7a6d11eb8bd25 | 710110788b92311a9a012ede812ac87ffa00cad2 | doc: fix wrong response.end() at request.socket
PR-URL: https://github.com/nodejs/node/pull/19507
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Trivikram Kam... | [
{
"path": "doc/api/http.md",
"patch": "@@ -676,9 +676,8 @@ added: v0.3.0\n \n Reference to the underlying socket. Usually users will not want to access\n this property. In particular, the socket will not emit `'readable'` events\n-because of how the protocol parser attaches to the socket. After\n-`response.... | 2018-04-12T16:31:03 |
golang/go | 2e794c2bb1302af764670dba894bbfe537bd63f0 | 2217e89ba326875470a856cd0da79f3ec9a896b8 | testing: add TB.Setenv
Add a new method TB.Setenv that'll set environment variables
only for the isolated lifetime of the test, and will clean up
and unset these variables when the test ends.
This method disables the test or benchmark from running in
parallel.
Fixes #41260
Change-Id: I0a18f094ec1c6ec3157b4b12993ea30... | [
{
"path": "src/testing/testing.go",
"patch": "@@ -667,6 +667,7 @@ var _ TB = (*B)(nil)\n type T struct {\n \tcommon\n \tisParallel bool\n+\tisEnvSet bool\n \tcontext *testContext // For running tests and subtests.\n }\n \n@@ -964,6 +965,29 @@ func (c *common) TempDir() string {\n \treturn dir\n }\n \n+... | 2021-03-05T11:37:54 |
ollama/ollama | 79c1e93c005ebeccb31b8482da9d71a446af9b5f | f8b657c9670a4319930e8d7e5444460df91a7b5d | bench: improve benchmarking tool (#14240)
New features:
- Warmup phase to eliminate cold-start outliers
- time-to-first-token measured in each epoch
- VRAM/memory tracking to identify CPU spillover
- Controlled prompt length
- Defaults to 6 epochs and 200 tokens max
Benchstat fixes:
- ns/request instead of ns/op — no... | [
{
"path": "cmd/bench/README.md",
"patch": "@@ -1,27 +1,31 @@\n Ollama Benchmark Tool\n ---------------------\n \n-A Go-based command-line tool for benchmarking Ollama models with configurable parameters and multiple output formats.\n+A Go-based command-line tool for benchmarking Ollama models with configura... | 2026-03-15T18:47:31 |
huggingface/transformers | 3c1895aa65a8ee998cb5784b06603d84d807f0f7 | 3fde88b19dc98651053b3978f55d6cbfb852b70c | Fix Qwen2VL processor to handle odd number of frames (#35431)
* fix: processing odd number of frames
* feat: add test case
* update: test one frame
* feat: support custom patch size
* fix: test with videos
* revert: change on patch repeat
* fix: much wow
* update: fixups
* fixup pls
* ruff fixup
* fix typo a... | [
{
"path": "src/transformers/models/qwen2_vl/image_processing_qwen2_vl.py",
"patch": "@@ -291,8 +291,9 @@ def _preprocess(\n patches = np.array(processed_images)\n if data_format == ChannelDimension.LAST:\n patches = patches.transpose(0, 3, 1, 2)\n- if patches.shape[0] == 1... | 2025-01-08T12:49:00 |
nodejs/node | 710110788b92311a9a012ede812ac87ffa00cad2 | dca7fb2225ea5bd8452c51d4167962f2838389f8 | assert: fix actual & expected input
This makes sure the actual and expected values on the error thrown
by `assert.throws` etc. are always as they should be.
PR-URL: https://github.com/nodejs/node/pull/19925
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Rev... | [
{
"path": "lib/assert.js",
"patch": "@@ -485,7 +485,7 @@ function expectsError(stackStartFn, actual, error, message) {\n );\n }\n message = error;\n- error = null;\n+ error = undefined;\n }\n \n if (actual === NO_EXCEPTION_SENTINEL) {\n@@ -496,7 +496,7 @@ function expectsError(stackS... | 2018-04-11T01:28:35 |
vercel/next.js | a8f23cc7226acc1573f5de7398f69c37daeed846 | e53a842f86e9b1f120dc96aa44aa3132446678c1 | [Rebased] Remove automatic core-js polyfills (#91)
Rebase of #68, which was merged into a now-closed PR.
Closes #65.
When configured to use preset-env, this stops turbopack from inserting
dependencies on core-js. It's:
* Buggy/error-prone, at least through swc preset-env:
* https://github.com/vercel/the... | [
{
"path": "crates/next-dev/benches/bundlers/turbopack.rs",
"patch": "@@ -50,9 +50,8 @@ impl Bundler for Turbopack {\n NpmPackage::new(\"react-refresh\", \"^0.12.0\"),\n NpmPackage::new(\"next\", \"^12.3.1\"),\n NpmPackage::new(\"@next/react-refresh-utils\", \"... | 2022-10-18T18:04:41 |
golang/go | 2217e89ba326875470a856cd0da79f3ec9a896b8 | 31df4e3fcd0c961684a027188a391f6db1ab3439 | net/http/httptrace: fix doc typo
Change-Id: I919d9c3968c0fcd33774e714f22182504790bd01
Reviewed-on: https://go-review.googlesource.com/c/go/+/284143
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Trust: Daniel Martí <mvdan@mvdan.cc> | [
{
"path": "src/net/http/httptrace/trace.go",
"patch": "@@ -127,7 +127,7 @@ type ClientTrace struct {\n \n \t// ConnectDone is called when a new connection's Dial\n \t// completes. The provided err indicates whether the\n-\t// connection completedly successfully.\n+\t// connection completed successfully.\n \... | 2021-01-18T18:56:26 |
ollama/ollama | 3980c0217d27e05a441808a446e7ee5ea7e04256 | 870599f5da26977bf5a8e04bd5221f12d5af9907 | server: decompress zstd request bodies in cloud passthrough middleware (#14827)
When a zstd-compressed request (e.g. from Codex CLI) hits /v1/responses
with a cloud model the request failed.
Fix by decompressing zstd bodies before
model extraction, so cloud models are detected and proxied directly
without the writer ... | [
{
"path": "middleware/openai.go",
"patch": "@@ -18,6 +18,9 @@ import (\n \t\"github.com/ollama/ollama/openai\"\n )\n \n+// maxDecompressedBodySize limits the size of a decompressed request body\n+const maxDecompressedBodySize = 20 << 20\n+\n type BaseWriter struct {\n \tgin.ResponseWriter\n }\n@@ -512,7 +51... | 2026-03-13T22:06:47 |
huggingface/transformers | 3fde88b19dc98651053b3978f55d6cbfb852b70c | ebdd1ad4007bdf28e13727bc0bc748d98280a8b0 | support chat generator as input of TextGenerationPipeline (#35551)
* support chat generator as input of TextGenerationPipeline
* missing import
* fix tests
* again
* simpler
* add test | [
{
"path": "src/transformers/pipelines/text_generation.py",
"patch": "@@ -1,4 +1,6 @@\n import enum\n+import itertools\n+import types\n import warnings\n from typing import Dict\n \n@@ -260,16 +262,27 @@ def __call__(self, text_inputs, **kwargs):\n ids of the generated text.\n \"\"\"\n ... | 2025-01-08T12:27:07 |
vercel/next.js | 7bf4a27e6abdf51ae8e179c743acc358d8ba623e | 9062ad91f41971cc3edce4a347f1e03b91bb79d5 | Ensure Next.js uses React 18 APIs, enable styled_jsx transform in SSR (vercel/turbo#90)
This will remove the warning about using `hydrate` instead of
`hydrateRoot`, and fix a mismatch between SSR and CSR when using
styled-jsx (`<style jsx>`). | [
{
"path": "packages/next-swc/crates/next-core/js/internal/shims.js",
"patch": "@@ -2,6 +2,10 @@\n // in next-hydrate.js.\n process.env.NODE_ENV = \"development\";\n \n+// This ensures Next.js uses React 18's APIs (hydrateRoot) instead of React 17's\n+// (hydrate).\n+process.env.__NEXT_REACT_ROOT = \"true\";... | 2022-10-18T17:30:46 |
ollama/ollama | abf8e8e9c81c00270876c250ad886dfc4a20c8b2 | f3f31a81924a7b3a1b3ad37a1294a22c8d1d192e | middleware: handle non-JSON error responses gracefully (#14828)
writeError in both OpenAI and Anthropic middleware writers would return
a raw json.SyntaxError when the error payload wasn't valid JSON (e.g.
"invalid character 'e' looking for beginning of value"). Fall back to
using the raw bytes as the error message in... | [
{
"path": "middleware/anthropic.go",
"patch": "@@ -34,12 +34,13 @@ func (w *AnthropicWriter) writeError(data []byte) (int, error) {\n \t\tError string `json:\"error\"`\n \t}\n \tif err := json.Unmarshal(data, &errData); err != nil {\n-\t\treturn 0, err\n+\t\t// If the error response isn't valid JSON, use th... | 2026-03-13T21:50:49 |
golang/go | f0b6d3753f57bf37487b127f968920743c401ed9 | 2b0e29f51669063002cbcceca4f4a43e00144876 | cmd/go: update PWD variable for 'go generate'
Most subprocess invocations in the go command use base.AppendPWD to
append an accurate value of PWD to the command's environment, which can
speed up calls like os.Getwd and also help to provide less-confusing
output from scripts. Update `go generate` to do so.
Fixes #4386... | [
{
"path": "src/cmd/go/internal/generate/generate.go",
"patch": "@@ -334,6 +334,7 @@ func (g *Generator) setEnv() {\n \t\t\"GOPACKAGE=\" + g.pkg,\n \t\t\"DOLLAR=\" + \"$\",\n \t}\n+\tg.env = base.AppendPWD(g.env, g.dir)\n }\n \n // split breaks the line into words, evaluating quoted",
"additions": 1,
... | 2021-03-05T04:01:00 |
nodejs/node | dca7fb2225ea5bd8452c51d4167962f2838389f8 | d5495e859c3aceab7f8a823e27950e715b746a35 | errors: validate input arguments
This makes sure the input arguments get validated so implementation
errors will be caught early. It also improves a couple of error
messages by providing more detailed information and fixes errors
detected by the new functionality. Besides that a error type got
simplified and tests got... | [
{
"path": "lib/buffer.js",
"patch": "@@ -920,7 +920,7 @@ Buffer.prototype.write = function write(string, offset, length, encoding) {\n length = remaining;\n \n if (string.length > 0 && (length < 0 || offset < 0))\n- throw new ERR_BUFFER_OUT_OF_BOUNDS('length', true);\n+ throw new ERR_BUF... | 2018-04-11T01:10:22 |
huggingface/transformers | 7176e06b52bc27bf7fcaba6ca56e65ff17157e78 | b05df6611e6e3e6834acca2b50baeb7cdd5fbe3c | Add TextNet (#34979)
* WIP
* Add config and modeling for Fast model
* Refactor modeling and add tests
* More changes
* WIP
* Add tests
* Add conversion script
* Add conversion scripts, integration tests, image processor
* Fix style and copies
* Add fast model to init
* Add fast model in docs and other places... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -721,6 +721,8 @@\n title: Swin2SR\n - local: model_doc/table-transformer\n title: Table Transformer\n+ - local: model_doc/textnet\n+ title: TextNet\n - local: model_doc/timm_wrapper\n title: Timm Wrapper\n ... | 2025-01-08T08:52:51 |
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.