repo stringclasses 15
values | fix_commit stringlengths 40 40 | buggy_commit stringlengths 40 40 | message stringlengths 3 64.3k | files listlengths 1 300 | timestamp timestamp[s]date 2013-03-13 20:45:00 2026-04-11 07:48:46 |
|---|---|---|---|---|---|
nodejs/node | 63f78f5ddc8ac50ea19839827682c51ff3363ac2 | d09d87821df461363b8ef87f9a3ecb6db7674abc | test: improve fs error message test
- Reuse error validators for sync and async tests
- Validate properties of the errors
PR-URL: https://github.com/nodejs/node/pull/18277
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "test/parallel/test-fs-error-messages.js",
"patch": "@@ -24,276 +24,434 @@ const common = require('../common');\n const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const fs = require('fs');\n-const fn = fixtures.path('non-existent');\n+const nonexistentFile = fi... | 2018-01-21T07:26:51 |
vercel/next.js | 1f6bc34751d650bd909d796c9bceafdfe632b4de | 7f54585f8d9d878f97ad2d554f67149155c5af8c | Fixed issues with environment variables for Windows users (#37853) | [
{
"path": "examples/cms-contentful/contentful/setup.js",
"patch": "@@ -1,7 +1,7 @@\n const spaceImport = require('contentful-import')\n const exportFile = require('./export.json')\n \n-const [CONTENTFUL_SPACE_ID, CONTENTFUL_MANAGEMENT_TOKEN] = process.argv.slice(2)\n+const { CONTENTFUL_SPACE_ID, CONTENTFUL_... | 2022-08-11T16:39:53 |
huggingface/transformers | 18e1a9c7195543ec7b7314fcd995bc7aad559e66 | 9f196ef2e084c53c01f8e754b7c29153bd9a626a | Fix parametrization-based weight norm (#33275)
* refactor weight_norm + propose uniformed solution to reconcile meta load_state_dict with classic loading
* make style
* fix sew
* fix sew and sew_d tests | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -818,7 +818,6 @@ def _move_model_to_meta(model, loaded_state_dict_keys, start_prefix):\n def _load_state_dict_into_meta_model(\n model,\n state_dict,\n- loaded_state_dict_keys, # left for now but could be removed, see below\n start... | 2024-09-17T06:05:21 |
golang/go | c81343ce3aa1b8f1b2539a3d391f628f69a0a490 | 828746ec57e76e49527791bca500b27b77576d79 | net/http: attempt deadlock fix in TestDisableKeepAliveUpgrade
1. The test now checks the response status code.
2. The transport has been changed to not set "Connection: Close" if
DisableKeepAlive is set and the request is a HTTP/1.1 protocol
upgrade.
Updates #43073
Change-Id: I9977a18b33b8747ef847a8d11bb7b4f2d... | [
{
"path": "src/net/http/response.go",
"patch": "@@ -361,7 +361,12 @@ func (r *Response) isProtocolSwitch() bool {\n // isProtocolSwitchResponse reports whether the response code and\n // response header indicate a successful protocol upgrade response.\n func isProtocolSwitchResponse(code int, h Header) bool... | 2020-12-11T23:01:12 |
ollama/ollama | e66c29261a8b8db6214ddebdc727e7b247be74df | 712d63c3f06f297e22b1ae32678349187dccd2e4 | Better error suppresion when getting terminal colours (#7739)
Co-authored-by: Richard Lyons <frob@cloudstaff.com> | [
{
"path": "scripts/install.sh",
"patch": "@@ -4,8 +4,8 @@\n \n set -eu\n \n-red=\"$( (/usr/bin/tput bold; /usr/bin/tput setaf 1; :) 2>&-)\"\n-plain=\"$( (/usr/bin/tput sgr0; :) 2>&-)\"\n+red=\"$( (/usr/bin/tput bold || :; /usr/bin/tput setaf 1 || :) 2>&-)\"\n+plain=\"$( (/usr/bin/tput sgr0 || :) 2>&-)\"\n \... | 2024-11-19T16:33:52 |
vercel/next.js | 191726ac87812dc76c5573b76e3975db196d648d | bee0cf0cb62220da43ae6165aef7a99ab1d20b93 | Make try_join_all respect order (#221)
This implements `try_join_all` with `join_all`, making it respect the order of futures provided, as well as deterministically return the first error that occurred not by time, but by the future order.
This was preventing #212 from inserting script tags in a consistent order.
... | [
{
"path": "crates/turbo-tasks/src/util.rs",
"patch": "@@ -1,10 +1,7 @@\n use std::{fmt::Display, future::Future, sync::Arc, time::Duration};\n \n use anyhow::Error;\n-use futures::{\n- stream::{Collect, FuturesUnordered, TryCollect},\n- StreamExt, TryStreamExt,\n-};\n+use futures::future::join_all;\n ... | 2022-08-11T16:32:26 |
huggingface/transformers | ba1f1dc132257f0e92d2266f966dc19758a3f2b3 | 4ba531c43f884cea2575f1f2c1b287173a28fb1e | Updated Trainer's liger-kernel integration to call correct patching API (#33502)
* Updated liger-kernel integration in Trainer to call correct patching API
* Fixed styling | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -468,19 +468,18 @@ def __init__(\n \n if self.args.use_liger_kernel:\n if is_liger_kernel_available():\n- from liger_kernel.transformers.trainer_integration import _apply_liger_kernel\n+ from liger_kernel... | 2024-09-17T00:40:24 |
nodejs/node | 695ed671fcf6ea14b236b9a85d53542bd91fff08 | 6a56a0a3f831a28376e73eab809e66fb639628b9 | doc: split CONTRIBUTING.md
PR-URL: https://github.com/nodejs/node/pull/18271
Fixes: https://github.com/nodejs/node/issues/17842
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail... | [
{
"path": ".github/PULL_REQUEST_TEMPLATE.md",
"patch": "@@ -13,7 +13,7 @@ Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md\n - [ ] `make -j4 test` (UNIX), or `vcbuild test` (Windows) passes\n - [ ] tests and/or benchmarks are included\n - [ ] documentation is changed or added\n... | 2018-01-20T15:19:03 |
golang/go | 828746ec57e76e49527791bca500b27b77576d79 | be10af7c4e818566f0b19fb9ffefce2853722842 | debug/dwarf: don't try to parse addr/rnglists header
In an executable, the debug_addr and debug_rnglists sections are
assembled by concatenating the input sections, and each input section
has a header, and each header may have different attributes. So just
parsing the single header isn't right. Parsing the header is ... | [
{
"path": "src/debug/dwarf/dwarf5ranges_test.go",
"patch": "@@ -22,7 +22,12 @@ func TestDwarf5Ranges(t *testing.T) {\n \tif err := d.AddSection(\".debug_rnglists\", rngLists); err != nil {\n \t\tt.Fatal(err)\n \t}\n-\tret, err := d.dwarf5Ranges(nil, 0x5fbd, 0xc, [][2]uint64{})\n+\tu := &unit{\n+\t\tasize: 8... | 2020-12-11T23:15:43 |
ollama/ollama | 81d55d3e4d3e18404414900dd341438aad329656 | a14f76491d694b2f5a0dec6473514b7f93beeea0 | fix index out of range on zero layer metal load (#7696)
If the model doesn't fit any layers on metal, and we load zero layers
we would panic trying to look up the GPU size during scheduling ops | [
{
"path": "llm/server.go",
"patch": "@@ -1092,7 +1092,9 @@ func (s *llmServer) EstimatedTotal() uint64 {\n func (s *llmServer) EstimatedVRAMByGPU(gpuID string) uint64 {\n \tfor i, gpu := range s.gpus {\n \t\tif gpu.ID == gpuID {\n-\t\t\treturn s.estimate.GPUSizes[i]\n+\t\t\tif i < len(s.estimate.GPUSizes) {... | 2024-11-18T19:48:13 |
huggingface/transformers | 4ba531c43f884cea2575f1f2c1b287173a28fb1e | 98adf24883b007c2a7fb17bab1c01b1614673433 | Fix: Qwen2-VL training on video datasets (#33307)
* fix video finetuning
* Update modeling_qwen2_vl.py
* Update modeling_qwen2_vl.py
* fix | [
{
"path": "src/transformers/models/qwen2_vl/modeling_qwen2_vl.py",
"patch": "@@ -1680,16 +1680,18 @@ def forward(\n inputs_embeds = self.model.embed_tokens(input_ids)\n if pixel_values is not None:\n pixel_values = pixel_values.type(self.visual.get_dtype())\n- ... | 2024-09-17T00:31:24 |
vercel/next.js | d158c0c5804b0af747fba321b34b137f0b345845 | f863ba719376dab64acf9f8c3ffd62cb87ddeb42 | Make dev watch ignore more specific (#39504)
This fixes the case where we were incorrectly ignoring the next-auth API endpoint since it matched the `.next` watch ignore and also adds a test case to ensure we match this route correctly.
## Bug
- [x] Related issues linked using `fixes #number`
- [x] Integration tests... | [
{
"path": "packages/next/server/dev/next-dev-server.ts",
"patch": "@@ -266,7 +266,7 @@ export default class DevServer extends Server {\n })\n \n const wp = (this.webpackWatcher = new Watchpack({\n- ignored: /(node_modules|\\.next)/,\n+ ignored: /([/\\\\]node_modules[/\\\\]|[/\\\\]\... | 2022-08-11T15:09:57 |
nodejs/node | 6a56a0a3f831a28376e73eab809e66fb639628b9 | b2b9d11a14c85296f2435894bcc43b94c10dce07 | doc: fix typos in async_hooks
PR-URL: https://github.com/nodejs/node/pull/18314
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "doc/api/async_hooks.md",
"patch": "@@ -244,10 +244,10 @@ RANDOMBYTESREQUEST, TLSWRAP, Timeout, Immediate, TickObject\n There is also the `PROMISE` resource type, which is used to track `Promise`\n instances and asynchronous work scheduled by them.\n \n-Users are be able to define their own `type`... | 2018-01-23T10:08:20 |
golang/go | be10af7c4e818566f0b19fb9ffefce2853722842 | ce61ccca8f9e101b13b61907024ee48afadca403 | test: match gofrontend error messages
fixedbugs/issue20602.go:13:9: error: argument must have complex type
fixedbugs/issue20602.go:14:9: error: argument must have complex type
fixedbugs/issue19323.go:12:12: error: attempt to slice object that is not array, slice, or string
fixedbugs/issue19323.go:18:13: error: attemp... | [
{
"path": "test/fixedbugs/issue19323.go",
"patch": "@@ -9,11 +9,11 @@ package p\n func g() {}\n \n func f() {\n-\tg()[:] // ERROR \"g.. used as value\"\n+\tg()[:] // ERROR \"g.. used as value|attempt to slice object that is not\"\n }\n \n func g2() ([]byte, []byte) { return nil, nil }\n \n func f2() {\n-\tg... | 2020-12-14T06:48:02 |
rust-lang/rust | 351e0f7a311982d06fb2138949f9ba6d70d95268 | 493c38ba371929579fe136df26eccd9516347c7a | Temporarily disable Fuchsia test job to unblock queue
See
<https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/fuchsia.20failure/with/506637259>
for efforts to fix the test job. | [
{
"path": "src/ci/github-actions/jobs.yml",
"patch": "@@ -262,13 +262,16 @@ auto:\n - name: test-various\n <<: *job-linux-4c\n \n- - name: x86_64-fuchsia\n- # Only run this job on the nightly channel. Fuchsia requires\n- # nightly features to compile, and this job would fail if\n- # executed... | 2025-03-19T05:43:34 |
ollama/ollama | 8b4b243f5fd31000515548e52bf66bcdb72f70e5 | b42a596425037148286281a1942dbff0bc9733f5 | server: fix warnings in prompt_test.go (#7710) | [
{
"path": "server/prompt_test.go",
"patch": "@@ -32,7 +32,7 @@ func TestChatPrompt(t *testing.T) {\n \tmllamaModel := Model{Template: tmpl, ProjectorPaths: []string{\"vision\"}, Config: ConfigV2{ModelFamilies: []string{\"mllama\"}}}\n \n \tcreateImg := func(width, height int) ([]byte, error) {\n-\t\timg := ... | 2024-11-17T21:01:04 |
vercel/next.js | 79d1b333328883bf9476100ded3f9be8faa7cbb9 | 40f0eb126ba08dd821f8e7ce95dc61bd1eac2fc0 | [examples] Add on-demand revalidation to Contentful example (#39475)
## Feature
- [x] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [x] Document... | [
{
"path": "examples/cms-contentful/.env.local.example",
"patch": "@@ -1,4 +1,5 @@\n CONTENTFUL_SPACE_ID=\n CONTENTFUL_ACCESS_TOKEN=\n CONTENTFUL_PREVIEW_ACCESS_TOKEN=\n-CONTENTFUL_PREVIEW_SECRET=\n\\ No newline at end of file\n+CONTENTFUL_PREVIEW_SECRET=\n+CONTENTFUL_REVALIDATE_SECRET=\n\\ No newline at end... | 2022-08-11T03:58:53 |
nodejs/node | b2b9d11a14c85296f2435894bcc43b94c10dce07 | 0b1841d83f58caa507f602144a6b7cec831f3235 | src: fix fs.write() externalized string handling
* Respect `encoding` argument when the string is externalized.
* Copy the string when the write request can outlive the externalized
string.
This commit removes `StringBytes::GetExternalParts()` because it is
fundamentally broken.
Fixes: https://github.com/nodejs/n... | [
{
"path": "src/node_file.cc",
"patch": "@@ -39,6 +39,7 @@\n # include <io.h>\n #endif\n \n+#include <memory>\n #include <vector>\n \n namespace node {\n@@ -1019,40 +1020,53 @@ static void WriteString(const FunctionCallbackInfo<Value>& args) {\n \n CHECK(args[0]->IsInt32());\n \n+ std::unique_ptr<char[]> ... | 2018-01-23T00:17:21 |
huggingface/transformers | 98adf24883b007c2a7fb17bab1c01b1614673433 | c2d05897bf4e8b34773838accaddd66028bc148d | [Whisper test] Fix some failing tests (#33450)
* Fix failing tensor placement in Whisper
* fix long form generation tests
* more return_timestamps=True
* make fixup
* [run_slow] whisper
* [run_slow] whisper | [
{
"path": "tests/models/whisper/test_modeling_whisper.py",
"patch": "@@ -1683,9 +1683,9 @@ def test_labels_sequence_max_length_correct(self):\n input_features = input_dict[\"input_features\"]\n \n labels_length = config.max_target_positions\n- labels = torch.ones(1, labels... | 2024-09-16T17:05:17 |
rust-lang/rust | 3167cbb6d01e247ca679712fd923c7cfbc45d7fc | 014f530f76917d21882be755571c58912a6ea409 | Temporarily disable the test call to `rust_begin_unwind`
Since [1] this symbol is mangled, meaning it is not easy to call
directly. A better fix will come in [2] but for now, just disable that
portion of the test.
[1]: https://github.com/rust-lang/rust/pull/127173
[2]: https://github.com/rust-lang/compiler-builtins/p... | [
{
"path": "library/compiler-builtins/builtins-test-intrinsics/src/main.rs",
"patch": "@@ -626,13 +626,14 @@ fn run() {\n \n something_with_a_dtor(&|| assert_eq!(bb(1), 1));\n \n- extern \"C\" {\n- fn rust_begin_unwind(x: usize);\n- }\n-\n- unsafe {\n- rust_begin_unwind(0);\n- }... | 2025-03-19T04:02:54 |
golang/go | ce61ccca8f9e101b13b61907024ee48afadca403 | a58be734eacd832be27a021b8ffac323061212f2 | test: match gofrontend error messages
fixedbugs/issue14136.go:17:16: error: unknown field ‘X’ in ‘T’
fixedbugs/issue14136.go:18:13: error: incompatible type in initialization (cannot use type int as type string)
fixedbugs/issue14520.go:9:37: error: import path contains control character
fixedbugs/issue14520.go:14:2: ... | [
{
"path": "test/fixedbugs/issue14136.go",
"patch": "@@ -14,6 +14,6 @@ package main\n type T struct{}\n \n func main() {\n-\tt := T{X: 1, X: 1, X: 1, X: 1, X: 1, X: 1, X: 1, X: 1, X: 1, X: 1} // ERROR \"unknown field 'X' in struct literal of type T\"\n-\tvar s string = 1 // ERROR \"cannot use 1\"\n+\tt := T{... | 2020-12-12T03:53:32 |
ollama/ollama | d875e99e4639dc07af90b2e3ea0d175e2e692efb | 8a35bb926e63cd36e221eafc4dd4054fbdcd398b | runner.go: Propagate panics back to the user.
This is a partial revert of 8a35bb92
"runner.go: Increase survivability of main processing loop", removing
the panic handler.
Although we want to avoid errors taking down the runner, we also
should make the user aware of problems when they happen. In the
future, we can re... | [
{
"path": "llama/runner/runner.go",
"patch": "@@ -14,7 +14,6 @@ import (\n \t\"path/filepath\"\n \t\"regexp\"\n \t\"runtime\"\n-\t\"runtime/debug\"\n \t\"strconv\"\n \t\"strings\"\n \t\"sync\"\n@@ -340,15 +339,6 @@ func (s *Server) run(ctx context.Context) {\n // it should only be responsible for accepting ... | 2024-11-15T19:34:30 |
vercel/next.js | 4e6d05575ee6c0c4f78130519f1d3f198bc05084 | 970469f35961cb1352817818773a5556b48c16f9 | Add hot-reloading for env file changes (#38483)
* Add hot-reloading for env file changes
* update watching
* update test
* update initial env handling
* undo test change
* add comment for entries clearing
* update on-demand-entry-handler restart handling
* lint-fix
* handle bad plugin | [
{
"path": "packages/next-env/index.ts",
"patch": "@@ -4,12 +4,13 @@ import * as path from 'path'\n import * as dotenv from 'dotenv'\n import { expand as dotenvExpand } from 'dotenv-expand'\n \n-export type Env = { [key: string]: string }\n+export type Env = { [key: string]: string | undefined }\n export typ... | 2022-08-11T03:27:48 |
nodejs/node | 9870b538104564592e9da365df779873103d42b5 | f5d9169dedb053946c7b71f146b6b757dccbe61b | doc: remove confusing signature in fs.md
PR-URL: https://github.com/nodejs/node/pull/18310
Fixes: https://github.com/nodejs/node/issues/18305
Refs: https://github.com/nodejs/node/pull/13424
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Richard Lau <ric... | [
{
"path": "doc/api/fs.md",
"patch": "@@ -2761,9 +2761,8 @@ added: v0.1.31\n -->\n \n * `filename` {string|Buffer}\n-* `listener` {Function|undefined} **Default:** `undefined`\n- * `eventType` {string}\n- * `filename` {string|Buffer}\n+* `listener` {Function} Optional, a listener previously attached using\... | 2018-01-23T03:05:31 |
huggingface/transformers | c7a91f5adf976e0517c4a7f1506fb0c24f353053 | 2f62146f0e916c3e6752b59d34853be6df0506f2 | `Agents, supercharged - Multi-agents, External tools, and more` docs typo fixed (#33478)
* Typo fixed in Agents, supercharged | [
{
"path": "docs/source/en/agents_advanced.md",
"patch": "@@ -34,7 +34,7 @@ You can easily build hierarchical multi-agent systems with `transformers.agents`\n \n To do so, encapsulate the agent in a [`ManagedAgent`] object. This object needs arguments `agent`, `name`, and a `description`, which will then be ... | 2024-09-16T16:52:27 |
rust-lang/rust | a3c5b6a2dcd7ad57dda3d483aa29f71208f56dd6 | 835117c64ee38c1c3545ffe5584c8ab0867bacd6 | Fix span info for mir::Operand
Fixes #19172 | [
{
"path": "src/tools/rust-analyzer/crates/hir-ty/src/mir.rs",
"patch": "@@ -77,7 +77,14 @@ pub struct Local {\n /// currently implements it, but it seems like this may be something to check against in the\n /// validator.\n #[derive(Debug, PartialEq, Eq, Clone)]\n-pub enum Operand {\n+pub struct Operand {\n... | 2025-02-27T23:28:41 |
golang/go | a58be734eacd832be27a021b8ffac323061212f2 | 64d8846aaef4b64d2649917581069c0ec30ca561 | cmd/compile: fix incorrect shift count type with s390x rules
The type of the shift count must be an unsigned integer. Some s390x
rules for shift have their auxint type being int8. This results in a
compilation failure on s390x with an invalid operation when running
make.bash using older versions of go (e.g: go1.10.4).... | [
{
"path": "src/cmd/compile/internal/ssa/check.go",
"patch": "@@ -147,6 +147,11 @@ func checkFunc(f *Func) {\n \t\t\t\tcanHaveAuxInt = true\n \t\t\tcase auxInt128:\n \t\t\t\t// AuxInt must be zero, so leave canHaveAuxInt set to false.\n+\t\t\tcase auxUInt8:\n+\t\t\t\tif v.AuxInt != int64(uint8(v.AuxInt)) {\n... | 2020-12-09T21:55:37 |
ollama/ollama | 8a35bb926e63cd36e221eafc4dd4054fbdcd398b | a0ea067b63ad61016a44c1c7a86bffbfa678035a | runner.go: Increase survivability of main processing loop
Currently, if an error occurs during the prep stages (such as
tokenizing) of a single request, it will only affect that request.
However, if an error happens during decoding, it can take down the
entire runner.
Instead, it's better to drop the tokens that trig... | [
{
"path": "llama/runner/runner.go",
"patch": "@@ -14,6 +14,7 @@ import (\n \t\"path/filepath\"\n \t\"regexp\"\n \t\"runtime\"\n+\t\"runtime/debug\"\n \t\"strconv\"\n \t\"strings\"\n \t\"sync\"\n@@ -339,6 +340,15 @@ func (s *Server) run(ctx context.Context) {\n // it should only be responsible for accepting ... | 2024-11-14T23:01:48 |
huggingface/transformers | 2f62146f0e916c3e6752b59d34853be6df0506f2 | ce62a41880b5b70a304d068eb58f55894a5a7af8 | Uniformize kwargs for LLaVa processor and update docs (#32858)
* Uniformize kwargs for LlaVa and update docs
* Change order of processor inputs in docstring
* Improve BC support for reversed images and text inputs
* cleanup llava processor call docstring
* Add encoded inputs as valid text inputs in reverse... | [
{
"path": "src/transformers/models/llava/modeling_llava.py",
"patch": "@@ -405,7 +405,7 @@ def forward(\n >>> url = \"https://www.ilankelman.org/stopsigns/australia.jpg\"\n >>> image = Image.open(requests.get(url, stream=True).raw)\n \n- >>> inputs = processor(text=prompt, images=imag... | 2024-09-16T15:26:26 |
rust-lang/rust | 795a6669f83274ce3ada1046e6c9284b8e900a98 | 75530e9f72a1990ed2305e16fd51d02f47048f12 | rustc_resolve: fix instability in lib.rmeta contents
rust-lang/rust@23032f31c91f2 accidentally introduced some nondeterminism
in the ordering of lib.rmeta files, which we caught in our bazel-based
builds only recently due to being further behind than normal. In my
testing, this fixes the issue. | [
{
"path": "Cargo.lock",
"patch": "@@ -4316,6 +4316,7 @@ name = \"rustc_resolve\"\n version = \"0.0.0\"\n dependencies = [\n \"bitflags\",\n+ \"itertools\",\n \"pulldown-cmark 0.11.3\",\n \"rustc_arena\",\n \"rustc_ast\",",
"additions": 1,
"deletions": 0,
"language": "Unknown"
},
{
"p... | 2025-03-18T20:32:09 |
vercel/next.js | 970469f35961cb1352817818773a5556b48c16f9 | d2462576024f737ff32b659949fac47a7162710f | FIX GAUSSIAN BLUR IN FUTURE\IMAGE (#39190)
## Bug
- [fixes #39035 ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accept... | [
{
"path": "packages/next/client/future/image.tsx",
"patch": "@@ -581,7 +581,7 @@ export default function Image({\n showAltText || placeholder === 'blur' ? {} : { color: 'transparent' },\n style\n )\n- const svgBlurPlaceholder = `url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http%3A//www.w3... | 2022-08-11T00:09:42 |
golang/go | 8ce37e4110316030159972e17c67152e8f8e9359 | 7e17b46c58cbb0aff2b42490a73e807bb04757d7 | [dev.regabi] cmd/compile: fix noopt builder
The non-simple, phi-insertion algorithm can leave OpFwdRefs in the SSA
graph unresolved if they're in dead blocks. Normally, these would be
harmlessly removed later during SSA dead-code elimination, but those
passes are omitted for -N builds. And so they reach zcse, where th... | [
{
"path": "src/cmd/compile/internal/gc/phi.go",
"patch": "@@ -188,6 +188,11 @@ levels:\n \t\t\tif v.Op == ssa.OpPhi {\n \t\t\t\tv.AuxInt = 0\n \t\t\t}\n+\t\t\t// Any remaining FwdRefs are dead code.\n+\t\t\tif v.Op == ssa.OpFwdRef {\n+\t\t\t\tv.Op = ssa.OpUnknown\n+\t\t\t\tv.Aux = nil\n+\t\t\t}\n \t\t}\n \t... | 2020-12-11T05:04:41 |
ollama/ollama | a0ea067b63ad61016a44c1c7a86bffbfa678035a | 4efb98cb4fcd713cf4d272154f0e7201901193d1 | build: fix arm container image (#7674)
Fix a rebase glitch from the old C++ runner build model | [
{
"path": "Dockerfile",
"patch": "@@ -234,17 +234,13 @@ COPY --from=container-build-amd64 /go/src/github.com/ollama/ollama/dist/linux-am\n COPY --from=runners-cuda-amd64 /go/src/github.com/ollama/ollama/dist/linux-amd64/lib/ /lib/\n \n FROM --platform=linux/arm64 ubuntu:22.04 AS runtime-arm64\n-COPY --from=... | 2024-11-15T00:02:01 |
huggingface/transformers | 5ce0a113b5bc9dd8dbb92dd866772d79847d9a92 | 95e816f2bca48de32167ce6243e6770dee23923d | Fix SSH workflow (#33451)
* fix
* update
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": ".github/workflows/ssh-runner.yml",
"patch": "@@ -58,8 +58,19 @@ jobs:\n #because the SSH can be enabled dynamically if the workflow failed, so we need to store slack infos to be able to retrieve them during the waitforssh step\n shell: bash\n run: |\n- if [ \"${{ ... | 2024-09-16T09:07:59 |
rust-lang/rust | ad0b41cf44176d984ab99d473e962af5da796398 | 96f68d138f307eb763b177bbf83fe90712b0bf60 | Refactor YieldKind so postfix yield must have an expression | [
{
"path": "src/chains.rs",
"patch": "@@ -259,7 +259,7 @@ impl ChainItemKind {\n let span = mk_sp(nested.span.hi(), expr.span.hi());\n (ChainItemKind::Await, span)\n }\n- ast::ExprKind::Yield(Some(ref nested), ast::YieldKind::Postfix) => {\n+ ... | 2025-03-18T19:19:43 |
vercel/next.js | c97a8e8f1b44beefa6a6996e7d9ae63bd27ce667 | 3d2765342e2272ef82c1d74bb3c4dc0a84b9200b | Fix swc build for freebsd target (#39478)
* Fix swc build for freebsd target
* test build
* update build
* update version
* test v0
* use napi directly
* revert vm version
* undo test build | [
{
"path": ".github/workflows/build_test_deploy.yml",
"patch": "@@ -1463,7 +1463,7 @@ jobs:\n rm -rf test\n - name: Build\n id: build\n- uses: vmactions/freebsd-vm@v0.2.0\n+ uses: vmactions/freebsd-vm@v0.2.3\n env:\n DEBUG: napi:*\n RUSTUP_HOM... | 2022-08-10T23:09:10 |
golang/go | 64d8846aaef4b64d2649917581069c0ec30ca561 | 451b6b38fd3f87957c39fdb6572740f74ea27931 | cmd/go: print hint when 'go install' run without version outside module
If 'go install' is invoked in module mode outside a module with a
package that could only be loaded from a module, it will now suggest
running 'go install pkg@latest'.
'go install' will still work outside a module on packages in std and
cmd, as w... | [
{
"path": "src/cmd/go/internal/work/build.go",
"patch": "@@ -583,8 +583,31 @@ func runInstall(ctx context.Context, cmd *base.Command, args []string) {\n \t\t\treturn\n \t\t}\n \t}\n+\n \tBuildInit()\n \tpkgs := load.PackagesAndErrors(ctx, args)\n+\tif cfg.ModulesEnabled && !modload.HasModRoot() {\n+\t\thave... | 2020-12-11T21:45:39 |
ollama/ollama | 4efb98cb4fcd713cf4d272154f0e7201901193d1 | 0679d491fe7d23ea220a701e3362cf529ec2a599 | add line numbers for parser errors (#7326) | [
{
"path": "parser/parser.go",
"patch": "@@ -65,9 +65,22 @@ var (\n \terrInvalidCommand = errors.New(\"command must be one of \\\"from\\\", \\\"license\\\", \\\"template\\\", \\\"system\\\", \\\"adapter\\\", \\\"parameter\\\", or \\\"message\\\"\")\n )\n \n+type ParserError struct {\n+\tLineNumber int\n+... | 2024-11-14T21:59:44 |
rust-lang/rust | e3f1bc8b06a1fe671bb21d17328584e5fc3c871c | ed1778c226591425b31f93ae01a2997fcbbcc738 | Refactor YieldKind so postfix yield must have an expression | [
{
"path": "clippy_lints/src/suspicious_operation_groupings.rs",
"patch": "@@ -528,7 +528,7 @@ fn ident_difference_expr_with_base_location(\n &strip_non_ident_wrappers(left).kind,\n &strip_non_ident_wrappers(right).kind,\n ) {\n- (Yield(_, _), Yield(_, _))\n+ (Yield(_), Yiel... | 2025-03-18T19:19:43 |
vercel/next.js | 1669c606842cce96eef4845a2cc679e73d16e383 | bd61406e542ad9dcf33c495359ae2e03d4f6c67a | Fix next.config.js overwriting on deploy e2e test (#39476) | [
{
"path": "test/lib/next-modes/base.ts",
"patch": "@@ -178,10 +178,14 @@ export class NextInstance {\n }\n }\n \n- const nextConfigFile = Object.keys(this.files).find((file) =>\n+ let nextConfigFile = Object.keys(this.files).find((file) =>\n file.startsWith('next.config.')\n )\n \n... | 2022-08-10T21:44:21 |
huggingface/transformers | 8bd2b1e8c23234cd607ca8d63f53c1edfea27462 | 7bb1c99800d235791dace10305731f377db8077b | Add support for Pixtral (#33449)
* initial commit
* gloups
* updates
* work
* weights match
* nits
* nits
* updates to support the tokenizer :)
* updates
* Pixtral processor (#33454)
* rough outline
* Add in image break and end tokens
* Fix
* Udo some formatting changes
* Set ... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -862,6 +862,8 @@\n title: Perceiver\n - local: model_doc/pix2struct\n title: Pix2Struct\n+ - local: model_doc/pixtral\n+ title: Pixtral\n - local: model_doc/sam\n title: Segment Anything\n - local: mo... | 2024-09-14T10:28:39 |
golang/go | 451b6b38fd3f87957c39fdb6572740f74ea27931 | 0a02371b0576964e81c3b40d328db9a3ef3b031b | cmd/go: refactor error reporting in internal/load
Replaced load.PackagesForBuild with a new function,
load.CheckPackageErrors. Callers should now call PackagesAndErrors,
then CheckPackageErrors for the same functionality.
Removed load.Packages. Callers should call base.Errorf and filter the
package list as needed.
T... | [
{
"path": "src/cmd/go/internal/fix/fix.go",
"patch": "@@ -33,8 +33,20 @@ See also: go fmt, go vet.\n }\n \n func runFix(ctx context.Context, cmd *base.Command, args []string) {\n+\tpkgs := load.PackagesAndErrors(ctx, args)\n+\tw := 0\n+\tfor _, pkg := range pkgs {\n+\t\tif pkg.Error != nil {\n+\t\t\tbase.Er... | 2020-12-11T21:45:28 |
ollama/ollama | c25ffde91d3d2f8913224ac9bbc28736a4981fa3 | 17b386a891af182650f93d528ff78f2fded9efc6 | runner.go: Don't trim whitespace from inputs
It's possible to get prompts that consist entirely of whitespace -
this is most likely to happen when generating embeddings. Currently,
we will trim this away, leaving an empty prompt, which will then
generate an error.
Generating embeddings from whitespace should not trig... | [
{
"path": "llama/runner/runner.go",
"patch": "@@ -163,15 +163,13 @@ func (s *Server) inputs(prompt string, images []ImageData) ([]input, error) {\n \n \tfor i, part := range parts {\n \t\t// text - tokenize\n-\t\tif strings.TrimSpace(part) != \"\" {\n-\t\t\ttokens, err := s.lc.Model().Tokenize(part, i == 0,... | 2024-11-14T00:49:01 |
rust-lang/rust | 2bd7f73c2175c1f0ad56a0be4b5c39e2fc5ab97b | 299e5d05147c3d3deefd3f85f6e994b5d05fb2f8 | Refactor YieldKind so postfix yield must have an expression | [
{
"path": "compiler/rustc_ast/src/ast.rs",
"patch": "@@ -1657,7 +1657,7 @@ pub enum ExprKind {\n Try(P<Expr>),\n \n /// A `yield`, with an optional value to be yielded.\n- Yield(Option<P<Expr>>, YieldKind),\n+ Yield(YieldKind),\n \n /// A `do yeet` (aka `throw`/`fail`/`bail`/`raise`/whatev... | 2025-03-18T19:19:43 |
nodejs/node | a3555d0583452bec05e339bf2872cbb4e38236c9 | e7ff00d0c52ad7deefe8be4a6a293d15fd3fca7b | test: fix a bug & lint issues in inspector-helper
PR-URL: https://github.com/nodejs/node/pull/18293
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com> | [
{
"path": "test/common/inspector-helper.js",
"patch": "@@ -5,9 +5,8 @@ const fs = require('fs');\n const http = require('http');\n const fixtures = require('../common/fixtures');\n const { spawn } = require('child_process');\n-const { URL, parse: parseURL } = require('url');\n+const { parse: parseURL } = re... | 2018-01-22T17:12:38 |
huggingface/transformers | 7bb1c99800d235791dace10305731f377db8077b | e39b6c1c7cdc890b6849b8c9de545fc9590ba871 | chore: fix typo in comment in tokenization_utils_base.py (#33466)
docs: update grammar in comment in tokenization_utils_base.py
small grammar update in tokenization_utils_base.py comment | [
{
"path": "src/transformers/tokenization_utils_base.py",
"patch": "@@ -3457,7 +3457,7 @@ def pad(\n if isinstance(encoded_inputs, (list, tuple)) and isinstance(encoded_inputs[0], Mapping):\n encoded_inputs = {key: [example[key] for example in encoded_inputs] for key in encoded_inputs[0].... | 2024-09-13T21:25:20 |
vercel/next.js | bd61406e542ad9dcf33c495359ae2e03d4f6c67a | 44eea0c9c9eec1110c71e92cd81de8c7758aeb0b | Improve next/future/image Migration docs (#39421)
The [comparison table for migration](https://nextjs.org/docs/api-reference/next/future/image#migration) to `next/future/image` looks odd layout-wise. The issue was brought up via this [Slack thread](https://vercel.slack.com/archives/C02F56A54LU/p1660040275310949).
Thi... | [
{
"path": "docs/api-reference/next/future/image.md",
"patch": "@@ -43,19 +43,9 @@ Compared to `next/image`, the new `next/future/image` component has the followin\n \n ## Migration\n \n-Although `layout` is not available, you can migrate `next/image` to `next/future/image` using a few props. The following i... | 2022-08-10T20:40:53 |
golang/go | 0a02371b0576964e81c3b40d328db9a3ef3b031b | 41d8e61a6b9d8f9db912626eb2bbc535e929fefc | cmd/compile: set correct type for OpIData
Since CL 270057, there're many attempts to fix the expand_calls pass
with interface{}-typed. But all of them did not fix the root cause. The
main issue is during SSA conversion in gc/ssa.go, for empty interface
case, we make its type as n.Type, instead of BytePtr.
To fix thes... | [
{
"path": "src/cmd/compile/internal/gc/ssa.go",
"patch": "@@ -5925,7 +5925,7 @@ func (s *state) dottype(n *Node, commaok bool) (res, resok *ssa.Value) {\n \t\t\t\t// Load type out of itab, build interface with existing idata.\n \t\t\t\toff := s.newValue1I(ssa.OpOffPtr, byteptr, int64(Widthptr), itab)\n \t\t... | 2020-12-14T02:45:44 |
ollama/ollama | 17b386a891af182650f93d528ff78f2fded9efc6 | 549c2bdfcfe1ff5c03f1f687c66c9bb95b4749d4 | runner.go: Enforce NUM_PARALLEL directly in the runner
NUM_PARALEL is currently enforced by the Ollama server process - it
will only issue requests to the runner if the maximum number of
concurrent requests has not been exceeded. Although this should
be sufficient, it is good for the runner to protect its own data
str... | [
{
"path": "llama/runner/runner.go",
"patch": "@@ -20,6 +20,8 @@ import (\n \t\"time\"\n \t\"unicode/utf8\"\n \n+\t\"golang.org/x/sync/semaphore\"\n+\n \t\"github.com/ollama/ollama/api\"\n \t\"github.com/ollama/ollama/llama\"\n )\n@@ -203,38 +205,51 @@ func (s *Server) inputs(prompt string, images []ImageDat... | 2024-11-12T19:23:46 |
rust-lang/rust | e41cce03a00d29d56f0bb74fb0d5d3e69ee7dfc8 | 75530e9f72a1990ed2305e16fd51d02f47048f12 | fix pthread-based tls on apple targets | [
{
"path": "library/std/src/sys/thread_local/mod.rs",
"patch": "@@ -138,6 +138,7 @@ pub(crate) mod key {\n not(target_family = \"wasm\"),\n target_family = \"unix\",\n ),\n+ all(not(target_thread_local), target_vendor = \"apple\"),\n target_o... | 2025-03-02T19:51:23 |
huggingface/transformers | 6cc4dfe3f1e8d421c6d6351388e06e9b123cbfe1 | dfd31158eefab01952e729588a37c9fcc81f0813 | Fix the initialization of the cache when we have multi gpu (#33303)
* init cache multi-gpu
* Update src/transformers/generation/utils.py
Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com>
* switch to execution device map
* naming more consistant
* fix
* mutually exclusive device
* ad... | [
{
"path": "src/transformers/cache_utils.py",
"patch": "@@ -1030,6 +1030,9 @@ class StaticCache(Cache):\n The device on which the cache should be initialized. Should be the same as the layer.\n dtype (`torch.dtype`, *optional*, defaults to `torch.float32`):\n The default `dtyp... | 2024-09-13T13:06:08 |
nodejs/node | e7ff00d0c52ad7deefe8be4a6a293d15fd3fca7b | a65b0b90c96546a33b0c9d52c9c7024df201d6b1 | inspector: --inspect-brk for es modules
Reworked rebase of PR #17360 with feedback
PR-URL: https://github.com/nodejs/node/pull/18194
Fixes: https://github.com/nodejs/node/issues/17340
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/internal/loader/Loader.js",
"patch": "@@ -44,6 +44,7 @@ class Loader {\n throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'base', 'string');\n \n this.base = base;\n+ this.isMain = true;\n \n // methods which translate input code or other information\n // into es module... | 2018-01-16T22:35:54 |
vercel/next.js | c9aa2ea2cfa41fc2f4e979658360d483410c8679 | f5cab2f515d583b7ddeab2d77c644f3dd95985de | Tweak styled-jsx type declarations (#39474)
* Tweak styled-jsx type declarations
* fix lint | [
{
"path": "packages/next/taskfile.js",
"patch": "@@ -57,18 +57,31 @@ export async function copy_styled_jsx_assets(task, opts) {\n // dev dep `styled-jsx` and `next/dist/styled-jsx` for duplicated declare modules\n const typesDir = join(outputDir, 'types')\n let typeReferences = ''\n+ let globalTypesC... | 2022-08-10T20:26:54 |
golang/go | 14305527f686ced0de8d08b3a62bd96fe6359481 | 1341a3decd00d1106efaa73c5ff4ffcabc4e6afd | cmd/compile: fix select statement evaluation order corner case
The Go spec requires that select case clauses be evaluated in order,
which is stricter than normal ordering semantics. cmd/compile handled
this correctly for send clauses, but was not correctly handling
receive clauses that involved bare variable reference... | [
{
"path": "src/cmd/compile/internal/gc/order.go",
"patch": "@@ -891,7 +891,7 @@ func (o *Order) stmt(n *Node) {\n \t\t\t\t// c is always evaluated; x and ok are only evaluated when assigned.\n \t\t\t\tr.Right.Left = o.expr(r.Right.Left, nil)\n \n-\t\t\t\tif r.Right.Left.Op != ONAME {\n+\t\t\t\tif !r.Right.L... | 2020-12-10T20:21:45 |
rust-lang/rust | 6b2fa32f142f341ba227b5ea784ea2a1a5e79fe8 | 3bfb6af978868f89785126e37e149136bf581655 | Windows: fix FileType PartialEq implementation | [
{
"path": "library/std/src/sys/fs/windows.rs",
"patch": "@@ -41,8 +41,8 @@ pub struct FileAttr {\n \n #[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]\n pub struct FileType {\n- attributes: u32,\n- reparse_tag: u32,\n+ is_directory: bool,\n+ is_symlink: bool,\n }\n \n pub struct ReadDir {\n@@ ... | 2025-03-18T16:27:24 |
huggingface/transformers | dfd31158eefab01952e729588a37c9fcc81f0813 | 7a5659872a68ce9939c975b5727e5ac61136f256 | [Phi-3] Bug on stale kv cache (#33129)
* fix long seq bug
* fixed format
* fixed fn copy inconsistency
* fix long seq bug
* fixed format
* fixed fn copy inconsistency
* Addressed comments
* added a unit test
* fixed cache position
* Added a warning msg to the forward fn
* fixed test case | [
{
"path": "src/transformers/models/phi3/modeling_phi3.py",
"patch": "@@ -257,7 +257,7 @@ def __init__(self, dim, config, device=None):\n \n @torch.no_grad()\n def forward(self, x, position_ids, seq_len=None):\n- seq_len = torch.max(position_ids) + 1\n+ seq_len = seq_len or torch.max(po... | 2024-09-13T12:07:19 |
nodejs/node | 55a93756ee34e390605f08a4efb1b01015c2253d | 8803b69c724e7b03ec0fc4c82b71575262487624 | doc: fix typo in async_hooks.md
Fix typo in `async_hooks.executionAsyncId()` explanation.
PR-URL: https://github.com/nodejs/node/pull/18286
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> | [
{
"path": "doc/api/async_hooks.md",
"patch": "@@ -492,7 +492,7 @@ fs.open(path, 'r', (err, fd) => {\n });\n ```\n \n-The ID returned fom `executionAsyncId()` is related to execution timing, not\n+The ID returned from `executionAsyncId()` is related to execution timing, not\n causality (which is covered by `... | 2018-01-22T03:29:18 |
golang/go | 1341a3decd00d1106efaa73c5ff4ffcabc4e6afd | e508c1c67b02dceea146ce3472c0f8ce9e60632c | cmd/go: add documentation for the -overlay flag
Also add -overlay to the Go 1.16 release notes.
For #40700
Fixes #39958
Fixes #42893
Change-Id: Ifd397549e368b255e7b8800986cfa0563a942af5
Reviewed-on: https://go-review.googlesource.com/c/go/+/274714
Trust: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matlo... | [
{
"path": "doc/go1.16.html",
"patch": "@@ -271,6 +271,20 @@ <h4 id=\"list-buildid\">The <code>list</code> command</h4>\n but without the extra step.\n </p>\n \n+<h4 id=\"overlay-flag\">The <code>-overlay</code> flag</h4>\n+\n+<p><!-- golang.org/issue/39958 -->\n+ The <code>-overlay</code> flag specifies ... | 2020-12-02T02:45:49 |
rust-lang/rust | 68267d0aedfda5db4dc9d233f02fd31d7c53d02f | 75530e9f72a1990ed2305e16fd51d02f47048f12 | Fix build failure on Trusty | [
{
"path": "library/std/src/sys/random/trusty.rs",
"patch": "@@ -1,4 +1,4 @@\n-extern \"C\" {\n+unsafe extern \"C\" {\n fn trusty_rng_secure_rand(randomBuffer: *mut core::ffi::c_void, randomBufferLen: libc::size_t);\n }\n ",
"additions": 1,
"deletions": 1,
"language": "Rust"
}
] | 2025-03-18T17:05:01 |
vercel/next.js | f5cab2f515d583b7ddeab2d77c644f3dd95985de | b15a976e11bf1dc867c241a4c1734757427d609c | App Build Stats (#38884)
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before o... | [
{
"path": "packages/next/build/entries.ts",
"patch": "@@ -19,7 +19,7 @@ import {\n import {\n CLIENT_STATIC_FILES_RUNTIME_AMP,\n CLIENT_STATIC_FILES_RUNTIME_MAIN,\n- CLIENT_STATIC_FILES_RUNTIME_MAIN_ROOT,\n+ CLIENT_STATIC_FILES_RUNTIME_MAIN_APP,\n CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH,\n EDGE_... | 2022-08-10T19:31:01 |
huggingface/transformers | 7a5659872a68ce9939c975b5727e5ac61136f256 | 4b0418df11886547e2c701cc4504627881397a0b | Mitigate a conflict when using sentencepiece (#33327)
* test(tokenizers): add a test showing conflict with sentencepiece
This is due to the fact that protobuf C implementation uses a global
pool for all added descriptors, so if two different files add
descriptors, they will end up conflicting.
* fix(tokenizers... | [
{
"path": "src/transformers/convert_slow_tokenizer.py",
"patch": "@@ -26,14 +26,18 @@\n from tokenizers import AddedToken, Regex, Tokenizer, decoders, normalizers, pre_tokenizers, processors\n from tokenizers.models import BPE, Unigram, WordPiece\n \n-from .utils import is_protobuf_available, logging, requi... | 2024-09-13T11:19:06 |
ollama/ollama | 5b3393b6a2920c4f410ee636777533c77752106e | c2e8cbaa140986b6a27f2c795e2fb9b38e74f094 | fix(mllama): sync backend between batches | [
{
"path": "llama/llama.go",
"patch": "@@ -598,6 +598,10 @@ func (c *Context) SetCrossAttention(state bool) {\n \tC.llama_set_cross_attention(c.c, C.bool(state))\n }\n \n+func (c *Context) Synchronize() {\n+\tC.llama_synchronize(c.c)\n+}\n+\n // sampling\n // TODO: this is a temporary wrapper to allow callin... | 2024-11-13T22:12:30 |
nodejs/node | 8803b69c724e7b03ec0fc4c82b71575262487624 | d62566e1b1bb4734635d51d53c16f6efa3a7f5b5 | async_wrap: schedule destroy hook as unref
Since the `DestroyAsyncIdsCallback` in Node.js can be scheduled as
a result of GC, that means that it can accidentally keep the event
loop open when it shouldn't.
Replace `SetImmediate` with the newly introduced `SetUnrefImmediate`
and in addition introduce RunBeforeExit cal... | [
{
"path": "src/async_wrap.cc",
"patch": "@@ -159,6 +159,12 @@ static void DestroyAsyncIdsCallback(Environment* env, void* data) {\n } while (!env->destroy_async_id_list()->empty());\n }\n \n+static void DestroyAsyncIdsCallback(void* arg) {\n+ Environment* env = static_cast<Environment*>(arg);\n+ if (!en... | 2018-01-18T21:52:51 |
rust-lang/rust | a3669b89825e6f1aabaa3e3993c1a9f9d7b70306 | ebf0cf75d368c035f4c7e7246d203bd469ee4a51 | updated compiler tests for rustc_intrinsic'
Update compiler/rustc_error_codes/src/error_codes/E0622.md
Co-authored-by: Ralf Jung <post@ralfj.de>
reverted chages on E0622.md
updated E0622.md | [
{
"path": "compiler/rustc_error_codes/src/error_codes/E0092.md",
"patch": "@@ -6,10 +6,9 @@ Erroneous code example:\n #![feature(intrinsics)]\n #![allow(internal_features)]\n \n-extern \"rust-intrinsic\" {\n- fn atomic_foo(); // error: unrecognized atomic operation\n- // functi... | 2025-03-12T11:24:14 |
golang/go | 58e381b0b22352dda355f6d95fa101b773766c72 | e012d0dc34e0c182aed605347fb19c6980b3f8bd | cmd/vet: vendor in x/tools, update structtag vet check
For #40281
Fixes #43083
Change-Id: I50cb4db916587a6660c7f6e71f41f02334081510
Reviewed-on: https://go-review.googlesource.com/c/go/+/277076
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmit... | [
{
"path": "src/cmd/go.mod",
"patch": "@@ -8,5 +8,5 @@ require (\n \tgolang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897\n \tgolang.org/x/mod v0.4.0\n \tgolang.org/x/sys v0.0.0-20201204225414-ed752295db88 // indirect\n-\tgolang.org/x/tools v0.0.0-20201208211828-de58e7c01d49\n+\tgolang.org/x/tools v0.0.0-2... | 2020-12-11T06:24:21 |
vercel/next.js | b15a976e11bf1dc867c241a4c1734757427d609c | d64a1507a929f53f429e3fd7f545d8184c6d28aa | Handle rewriting WebSocket requests (#39463)
This ensures we properly handle rewrites when the request is a WebSocket request. This also adds an integration test to ensure it is working as expected in dev and production mode.
## Bug
- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [... | [
{
"path": "packages/next/server/base-server.ts",
"patch": "@@ -119,6 +119,10 @@ export interface Options {\n * The port the server is running behind\n */\n port?: number\n+ /**\n+ * The HTTP Server that Next.js is running behind\n+ */\n+ httpServer?: import('http').Server\n }\n \n export inter... | 2022-08-10T17:00:30 |
huggingface/transformers | 4b0418df11886547e2c701cc4504627881397a0b | 1027a532c5435b6116feba299f2cfad66b93c2c4 | Enable `padding_side` as call time kwargs (#33385)
* fix
* add padding-side kwarg
* add padding side in all models & fix tests
* fix copies
* fix tests | [
{
"path": "src/transformers/models/layoutlmv2/tokenization_layoutlmv2.py",
"patch": "@@ -414,6 +414,7 @@ def __call__(\n max_length: Optional[int] = None,\n stride: int = 0,\n pad_to_multiple_of: Optional[int] = None,\n+ padding_side: Optional[bool] = None,\n return_te... | 2024-09-13T10:58:38 |
ollama/ollama | d7eb05b9361febead29a74e71ddffc2ebeff5302 | 636a743c2bc5c2a1ed21266b76645cbb117c3ffa | runner.go: Fix off-by-one for num predicted | [
{
"path": "llama/runner/runner.go",
"patch": "@@ -345,7 +345,7 @@ func (s *Server) processBatch(tokenBatch *llama.Batch, embedBatch *llama.Batch)\n \t\t}\n \n \t\t// if past the num predict limit\n-\t\tif seq.numPredict > 0 && seq.numPredicted > seq.numPredict {\n+\t\tif seq.numPredict > 0 && seq.numPredict... | 2024-11-12T18:41:44 |
nodejs/node | d62566e1b1bb4734635d51d53c16f6efa3a7f5b5 | 9545c48a5e90d53923feb485e2c02cd03126f8f2 | promises: refactor rejection handling
Remove the unnecessary microTasksTickObject for scheduling microtasks
and instead use TickInfo to keep track of whether promise rejections
exist that need to be emitted. Consequently allow the microtasks to
execute on average fewer times, in more predictable manner than
previously... | [
{
"path": "lib/internal/process/next_tick.js",
"patch": "@@ -9,7 +9,7 @@ function setupNextTick() {\n const async_hooks = require('internal/async_hooks');\n const promises = require('internal/process/promises');\n const errors = require('internal/errors');\n- const emitPendingUnhandledRejections = pr... | 2018-01-17T14:39:01 |
golang/go | e012d0dc34e0c182aed605347fb19c6980b3f8bd | 1fe891a937eae62ce396f3d7c7c6c472701acf0a | syscall: drop references to Unix epoch in Timeval/Timespec docs
The various conversion functions just change the format of time values.
They don't use the Unix epoch. Although in practice the values are often
times since the Unix epoch, they aren't always, so referring to the
epoch can be confusing.
Fixes #43010
Cha... | [
{
"path": "src/syscall/syscall.go",
"patch": "@@ -77,24 +77,22 @@ func BytePtrFromString(s string) (*byte, error) {\n // See mksyscall.pl.\n var _zero uintptr\n \n-// Unix returns ts as the number of seconds and nanoseconds elapsed since the\n-// Unix epoch.\n+// Unix returns the time stored in ts as second... | 2020-12-10T23:01:20 |
huggingface/transformers | 9c4639b62236b503d881c225246ad8ee61ae6ed8 | a05ce550bf1cda8ae3bffcc62607597770460a42 | Return image hidden states (#33426)
* fix
* return image hidden states
* fix copies
* fix test | [
{
"path": "src/transformers/models/llava/modeling_llava.py",
"patch": "@@ -43,7 +43,6 @@\n \n \n @dataclass\n-# Copied from transformers.models.idefics.modeling_idefics.IdeficsCausalLMOutputWithPast with Idefics->Llava\n class LlavaCausalLMOutputWithPast(ModelOutput):\n \"\"\"\n Base class for Llava... | 2024-09-13T08:20:03 |
vercel/next.js | d64a1507a929f53f429e3fd7f545d8184c6d28aa | ed81a14922be9f8a10ff6ff40ca466dabc4f8b3f | Ensure default _app is used when falling back to default _error (#39467)
* Ensure default _app is used when falling back to default _error
* make render check less specific due to arbitrary wait | [
{
"path": "packages/next/client/index.tsx",
"patch": "@@ -468,7 +468,7 @@ async function render(renderingProps: RenderRouteInfo): Promise<void> {\n // 404 and 500 errors are special kind of errors\n // and they are still handle via the main render method.\n function renderError(renderErrorProps: RenderError... | 2022-08-10T16:36:22 |
ollama/ollama | 65973ceb6417c2e2796fa59bd3225bc7bd79b403 | bebef1e50dca40e6b46c6cbc70eb9b06b3ab4730 | runner.go: Make KV entry accounting more robust
The structure of the accounting for KV cache shifting was carried
over from the old runner but it now doesn't feel natural with the new
runner. There are a number of invariants that should hold true but
are difficult to reason about. There is at least one bug report
that... | [
{
"path": "llama/runner/cache.go",
"patch": "@@ -2,6 +2,7 @@ package main\n \n import (\n \t\"errors\"\n+\t\"fmt\"\n \t\"log/slog\"\n \t\"reflect\"\n \t\"time\"\n@@ -22,7 +23,11 @@ type InputCache struct {\n \tlc *llama.Context\n }\n \n-func NewInputCache(lc *llama.Context, kvSize int, numSlots int, multiUs... | 2024-11-08T19:10:56 |
nodejs/node | 9545c48a5e90d53923feb485e2c02cd03126f8f2 | 5164a12618cf60150db621aebe1f3d89efb9b9aa | lib: fix typo in trace_events_async_hooks.js
chrome://traceing does not exist
PR-URL: https://github.com/nodejs/node/pull/18280
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Michaël Zasso <targos@protonmail.com> | [
{
"path": "lib/internal/trace_events_async_hooks.js",
"patch": "@@ -4,7 +4,7 @@ const trace_events = process.binding('trace_events');\n const async_wrap = process.binding('async_wrap');\n const async_hooks = require('async_hooks');\n \n-// Use small letters such that chrome://traceing groups by the name.\n+... | 2018-01-21T14:01:56 |
huggingface/transformers | 5c6257d1fcef7b43f8654df808fc8b2be4ec402e | 2f611d30d972c6e96759742f0b1217c442601f52 | [whisper] Clarify error message when setting max_new_tokens (#33324)
* clarify error message when setting max_new_tokens
* sync error message in test_generate_with_prompt_ids_max_length
* there is no self | [
{
"path": "src/transformers/models/whisper/generation_whisper.py",
"patch": "@@ -1698,8 +1698,8 @@ def _set_max_new_tokens_and_length(self, config, decoder_input_ids, generation_c\n max_new_tokens = generation_config.max_new_tokens if generation_config.max_new_tokens is not None else 0\n if ... | 2024-09-12T16:48:36 |
golang/go | 1fe891a937eae62ce396f3d7c7c6c472701acf0a | 6d3d3fb37fc51473f04ffb304cfab41c96a361a4 | doc/go1.16: add vet release note for CL 235677
For #40700
Fixes #42895
Change-Id: I05b60f0d000512d5dddb3d61e0e695aa01943d6a
Reviewed-on: https://go-review.googlesource.com/c/go/+/274617
Trust: Tim King <taking@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.o... | [
{
"path": "doc/go1.16.html",
"patch": "@@ -283,12 +283,55 @@ <h3 id=\"cgo\">Cgo</h3>\n \n <h3 id=\"vet\">Vet</h3>\n \n-<p>\n- TODO\n+<h4 id=\"vet-string-int\">New warning for invalid testing.T use in\n+goroutines</h4>\n \n- <!-- CL 235677: https://golang.org/cl/235677: cmd/vet: bring in pass to catch inva... | 2020-12-02T01:55:35 |
vercel/next.js | ed81a14922be9f8a10ff6ff40ca466dabc4f8b3f | 01888dcb001f83a467088975071ce9c28eb58cad | Enable @typescript-eslint/no-use-before-define for examples dir (#39469)
Found that this rule was added but all options are set to `false` so it doesn't do anything. Started with enabling it for examples to ensure minimal breaking of existing PRs.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Inte... | [
{
"path": ".eslintrc.json",
"patch": "@@ -71,6 +71,7 @@\n \"functions\": false,\n \"classes\": false,\n \"variables\": false,\n+ \"enums\": false,\n \"typedefs\": false\n }\n ],\n@@ -106,6 +107,16 @@\n {\n \"files\": [\"e... | 2022-08-10T16:30:36 |
nodejs/node | 08ada72cc692163979f574ee00de81cbfd730994 | 143b235274945738774eea93a811f624a4fd2121 | doc: Add example of null to assert.ifError
PR-URL: https://github.com/nodejs/node/pull/18236
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <tar... | [
{
"path": "doc/api/assert.md",
"patch": "@@ -442,6 +442,8 @@ argument in callbacks.\n ```js\n const assert = require('assert').strict;\n \n+assert.ifError(null);\n+// OK\n assert.ifError(0);\n // OK\n assert.ifError(1);",
"additions": 2,
"deletions": 0,
"language": "Markdown"
}
] | 2018-01-18T16:20:18 |
huggingface/transformers | 2f611d30d972c6e96759742f0b1217c442601f52 | 8f8af0fb38baa851f3fd69f564fbf91b5af78332 | Qwen2-VL: clean-up and add more tests (#33354)
* clean-up on qwen2-vl and add generation tests
* add video tests
* Update tests/models/qwen2_vl/test_processing_qwen2_vl.py
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
* fix and add better tests
* Update src/transformers/mod... | [
{
"path": "docs/source/en/model_doc/qwen2_vl.md",
"patch": "@@ -229,8 +229,6 @@ processor = AutoProcessor.from_pretrained(\"Qwen/Qwen2-VL-7B-Instruct\", min_pixel\n \n ```\n \n-\n-\n #### Multiple Image Inputs\n \n By default, images and video content are directly included in the conversation. When handling... | 2024-09-12T16:24:04 |
ollama/ollama | d48c1c5a4414a742f6e23e7ea11fc74dd2566c99 | 36a8372b2884c40cc5b86f6f859b012dc8125b80 | api: fix typos in Go Doc comments (#7620) | [
{
"path": "api/types.go",
"patch": "@@ -12,7 +12,7 @@ import (\n \t\"time\"\n )\n \n-// StatusError is an error with and HTTP status code.\n+// StatusError is an error with an HTTP status code and message.\n type StatusError struct {\n \tStatusCode int\n \tStatus string\n@@ -57,7 +57,7 @@ type Gener... | 2024-11-12T00:21:58 |
golang/go | 6a64f6dc31b3038187ce9246bdf438be9cc94bae | 985d91666cebbd0aef36034cc28596da280ead37 | cmd/go: encode backslash and newline in response files
Fixes #42295
Change-Id: Ie324bc99a74c1d864c6c2da2e7b929b338c2e033
Reviewed-on: https://go-review.googlesource.com/c/go/+/272870
Trust: Jeremy Faller <jeremy@golang.org>
Run-TryBot: Jeremy Faller <jeremy@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewe... | [
{
"path": "src/cmd/go/go_test.go",
"patch": "@@ -31,6 +31,7 @@ import (\n \t\"cmd/go/internal/cache\"\n \t\"cmd/go/internal/cfg\"\n \t\"cmd/go/internal/robustio\"\n+\t\"cmd/go/internal/work\"\n \t\"cmd/internal/sys\"\n )\n \n@@ -1365,6 +1366,30 @@ func TestLdflagsArgumentsWithSpacesIssue3941(t *testing.T) {... | 2020-11-24T17:58:21 |
vercel/next.js | 51c69f20f87a9c4d9dc7e677d514f09aec4696b0 | 1a5d175d8d08e81cf8f079aa87d656b2cac90c3f | next-dev test runner: Implement manual debug mode (vercel/turbo#211)
This implements a manual debug mode for next-dev tests, enabled by
setting the environment variable TURBOPACK_DEBUG_BROWSER to any value.
It launches the test browser in non-headless mode and holds it open
~~indefinitely~~ until the user closes it, ... | [
{
"path": "packages/next-swc/crates/next-dev/Cargo.toml",
"patch": "@@ -39,6 +39,8 @@ turbopack-dev-server = { path = \"../turbopack-dev-server\" }\n webbrowser = \"0.7.1\"\n \n [dev-dependencies]\n+tungstenite = \"0.17.3\" # For matching on errors from chromiumoxide. Keep in \n+# sync with chromiumoxide's ... | 2022-08-10T10:14:01 |
huggingface/transformers | 8f8af0fb38baa851f3fd69f564fbf91b5af78332 | e6889961761eba27ac13a30aa12444a6f4406f78 | Correct Whisper's beam search scores computation (#32336)
fix proposal | [
{
"path": "src/transformers/models/whisper/generation_whisper.py",
"patch": "@@ -954,7 +954,9 @@ def _postprocess_outputs(\n \n seek_outputs[\"sequences\"] = seek_outputs[\"sequences\"][:, start_idx:]\n \n- def split_by_batch_index(values, key, batch_idx, is_shortform):\n+ def split_by... | 2024-09-12T14:53:10 |
nodejs/node | 143b235274945738774eea93a811f624a4fd2121 | 2cb9e2a6f7c570fe317d560de840046595c3f2ec | test: fix flaky cluster unix socket test
Ensure `common.tmpDir` exists before trying to chdir into it. Fixes a
"ENOENT: no such file or directory, uv_chdir" error when the temporary
directory is removed before running the test.
PR-URL: https://github.com/nodejs/node/pull/17407
Reviewed-By: Richard Lau <riclau@uk.ibm... | [
{
"path": "test/parallel/test-cluster-net-listen-relative-path.js",
"patch": "@@ -20,6 +20,7 @@ assert.strictEqual(path.resolve(socketDir, socketName).length > 100, true,\n \n if (cluster.isMaster) {\n // ensure that the worker exits peacefully\n+ common.refreshTmpDir();\n process.chdir(common.tmpDir);... | 2018-01-20T00:00:34 |
vercel/next.js | 31fabd76d84265390d15e73dded2dbe4033865b8 | 01eece3fe26975185b0fbb9b4e976b3bb565ae57 | next-dev test runner: Implement manual debug mode (#211)
This implements a manual debug mode for next-dev tests, enabled by
setting the environment variable TURBOPACK_DEBUG_BROWSER to any value.
It launches the test browser in non-headless mode and holds it open
~~indefinitely~~ until the user closes it, so it can be... | [
{
"path": "crates/next-dev/Cargo.toml",
"patch": "@@ -39,6 +39,8 @@ turbopack-dev-server = { path = \"../turbopack-dev-server\" }\n webbrowser = \"0.7.1\"\n \n [dev-dependencies]\n+tungstenite = \"0.17.3\" # For matching on errors from chromiumoxide. Keep in \n+# sync with chromiumoxide's tungstenite requir... | 2022-08-10T10:14:01 |
huggingface/transformers | d71d6cbdadd08ee05064855308cb8bdd04717fbf | c8ea67532451be7fcecdf4bdb5df579dc61b88ac | Fix default revision for pipelines (#33395)
* Fix default revision for pipelines
* dummy change to trigger CI
* revert dummy change
* dummy change to trigger CI
* revery dummy change
---------
Co-authored-by: Matt <rocketknight1@gmail.com> | [
{
"path": "src/transformers/pipelines/__init__.py",
"patch": "@@ -165,14 +165,14 @@\n \"impl\": AutomaticSpeechRecognitionPipeline,\n \"tf\": (),\n \"pt\": (AutoModelForCTC, AutoModelForSpeechSeq2Seq) if is_torch_available() else (),\n- \"default\": {\"model\": {\"pt\": (\"fac... | 2024-09-12T12:27:22 |
nodejs/node | de4600ea2bf2eb5a1367825dc84ea7561b0c3529 | e1c29f2c529ffdbf9cf8f05d4ed27ccfcede2719 | http: fix parsing of binary upgrade response body
Fix a bug where a connection upgrade response with a Transfer-Encoding
header and a body whose first byte is > 127 causes said byte to be
dropped on the floor when passing the remainder of the message to
the 'upgrade' event listeners.
Fixes: https://github.com/nodejs/... | [
{
"path": "lib/_http_client.js",
"patch": "@@ -458,7 +458,6 @@ function parserOnIncomingClient(res, shouldKeepAlive) {\n var socket = this.socket;\n var req = socket._httpMessage;\n \n-\n // propagate \"domain\" setting...\n if (req.domain && !res.domain) {\n debug('setting \"res.domain\"');\n@@... | 2017-12-21T15:27:39 |
huggingface/transformers | 8ed635258cee5b29256f3c7c4a3f4a254d8743b2 | 516ee6adc2a6ac2f4800790cabaad66a1cb4dcf4 | Fix flax whisper tokenizer bug (#33151)
* Update tokenization_whisper.py
Fix issue with flax whisper model
* Update tokenization_whisper_fast.py
Fix issue with flax whisper model
* Update tokenization_whisper.py
just check len of token_ids
* Update tokenization_whisper_fast.py
just use len of toke... | [
{
"path": "src/transformers/models/whisper/tokenization_whisper.py",
"patch": "@@ -880,6 +880,8 @@ def _convert_to_list(token_ids):\n token_ids = token_ids.cpu().numpy()\n elif \"tensorflow\" in str(type(token_ids)):\n token_ids = token_ids.numpy()\n+ elif ... | 2024-09-12T11:21:59 |
vercel/next.js | b899d01fff79e00624e66018f7c8d2a02702d788 | 5f033ecb543bdb5d0591db6472cf4c0a346e5c3e | Bump edge-runtime packages (#39450)
This version fixes a bug where [crypto buffers (ArrayBuffer, Uint8Array) not compatible with text decoding](https://github.com/vercel/edge-runtime/commit/17475e4df728c1f1be2956cf8cf0b376fc8c1f59). | [
{
"path": "package.json",
"patch": "@@ -56,7 +56,7 @@\n \"@babel/plugin-proposal-object-rest-spread\": \"7.14.7\",\n \"@babel/preset-flow\": \"7.14.5\",\n \"@babel/preset-react\": \"7.14.5\",\n- \"@edge-runtime/jest-environment\": \"1.1.0-beta.25\",\n+ \"@edge-runtime/jest-environment\": \... | 2022-08-10T09:19:48 |
nodejs/node | 4af1bba6d0f1da1b4d444ef3a936e2ef2c639a1e | cbd634947d3aa308266ac6192a5af0a30445a449 | util: implement util.getSystemErrorName()
Reimplement uv.errname() as internal/util.getSystemErrorName() to
avoid the memory leaks caused by unknown error codes
and avoid calling into C++ for the error names. Also
expose it as a public API for external use.
PR-URL: https://github.com/nodejs/node/pull/18186
Refs: http... | [
{
"path": "doc/api/util.md",
"patch": "@@ -257,6 +257,25 @@ intended as a debugging tool. Some input values can have a significant\n performance overhead that can block the event loop. Use this function\n with care and never in a hot code path.\n \n+## util.getSystemErrorName(err)\n+<!-- YAML\n+added: REPLA... | 2018-01-16T19:21:16 |
golang/go | 6d2b3351f6312ebc924d0014013088c69b9c1bc2 | e5522c882dc63d3c2ae3b32090c96aa57b9cf805 | test: match gofrontend error messages
fixedbugs/bug13343.go:10:12: error: initialization expressions for ‘b’ and ‘c’ depend upon each other
fixedbugs/bug13343.go:11:9: note: ‘c’ defined here
fixedbugs/bug13343.go:11:9: error: initialization expression for ‘c’ depends upon itself
fixedbugs/bug13343.go:11:9: error: init... | [
{
"path": "test/fixedbugs/bug13343.go",
"patch": "@@ -7,8 +7,8 @@\n package main\n \n var (\n-\ta, b = f() // ERROR \"initialization loop|depends upon itself\"\n-\tc = b\n+\ta, b = f() // ERROR \"initialization loop|depends upon itself|depend upon each other\"\n+\tc = b // GCCGO_ERROR \"depends upon... | 2020-12-10T02:51:12 |
ollama/ollama | 76b2b723b2a365c7e9e66bf22492760e0bc4ff5a | b8d77cdeab8b48d70fd83191debf63b1cabb2f25 | api: fix typo in python ClientFromEnvironment docs (#7604) | [
{
"path": "api/client.go",
"patch": "@@ -55,7 +55,7 @@ func checkError(resp *http.Response, body []byte) error {\n \n // ClientFromEnvironment creates a new [Client] using configuration from the\n // environment variable OLLAMA_HOST, which points to the network host and\n-// port on which the ollama service... | 2024-11-11T01:30:27 |
huggingface/transformers | 516ee6adc2a6ac2f4800790cabaad66a1cb4dcf4 | e0ff4321d1f3be70567f6ad8ae7c5b1d263d0374 | Fix incomplete sentence in `Zero-shot object detection` documentation (#33430)
Rephrase sentence in zero-shot object detection docs | [
{
"path": "docs/source/en/tasks/zero_shot_object_detection.md",
"patch": "@@ -26,8 +26,8 @@ is an open-vocabulary object detector. It means that it can detect objects in im\n the need to fine-tune the model on labeled datasets.\n \n OWL-ViT leverages multi-modal representations to perform open-vocabulary de... | 2024-09-12T09:25:44 |
vercel/next.js | 5f033ecb543bdb5d0591db6472cf4c0a346e5c3e | 7d59da97aceadd8754156b91bc01ca0387848125 | Fix docs path "Invalid getServerSideProps Return Value" (#39443)
# Description
The link to https://nextjs.org/docs/messages/invalid-getserversideprops-value does not exist, the correct link should be https://nextjs.org/docs/messages/invalid-getserversideprops-return-value
 {\n return 2;\n }\n- // Fall through if ambiguous_as_full_width if false.\n+ // If ambiguous_as_full_width is false:\n+ // Fall through\n... | 2018-01-17T14:32:47 |
golang/go | e5522c882dc63d3c2ae3b32090c96aa57b9cf805 | 422dc83baa2816ca1d9a0aa3f1aaf4c47c8098ad | std: update golang.org/x/net to 20201209123823-ac852fbbde11
Done with:
go get -d golang.org/x/net@latest
go mod tidy
go mod vendor
go generate -run bundle std
The cmd module was updated as well, but go mod tidy undoes the change
because the x/net module doesn't contribute any packages to cmd module.
cmd/internal... | [
{
"path": "src/go.mod",
"patch": "@@ -4,7 +4,7 @@ go 1.16\n \n require (\n \tgolang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897\n-\tgolang.org/x/net v0.0.0-20201029221708-28c70e62bb1d\n+\tgolang.org/x/net v0.0.0-20201209123823-ac852fbbde11\n \tgolang.org/x/sys v0.0.0-20201204225414-ed752295db88 // indir... | 2020-12-10T17:50:55 |
huggingface/transformers | ecf7024bde0d090ddf45120242a9469cfae87e51 | 7a51cbc65fdf9e064c82adf930b0bef9b8071e3a | Fix: Cast prefetch_bucket_size to integer for deepspeed >= 0.15 (#33402)
Fix: Cast prefetch bucket size to integer in zero_optimization | [
{
"path": "src/transformers/integrations/deepspeed.py",
"patch": "@@ -241,7 +241,7 @@ def trainer_config_finalize(self, args, model, num_training_steps):\n # automatically assign the optimal config values based on model config\n self.fill_only(\n \"zero_op... | 2024-09-11T12:25:48 |
ollama/ollama | c2e8cbaa140986b6a27f2c795e2fb9b38e74f094 | 771fab1dd8ca1040377400731bffa728845e6cb2 | runner.go: Check for zero length images
If we get a request with a zero length image, it will result in
an out-of-bounds error when we pass the data to the image encoder. | [
{
"path": "llama/runner/image.go",
"patch": "@@ -68,6 +68,10 @@ func (c *ImageContext) NewEmbed(llamaContext *llama.Context, data []byte, aspect\n \t\treturn nil, nil\n \t}\n \n+\tif len(data) <= 0 {\n+\t\treturn nil, errors.New(\"received zero length image\")\n+\t}\n+\n \thash := c.hashImage(data)\n \n \tc... | 2024-11-06T21:14:18 |
vercel/next.js | 15a216b856fea556e129f234299bfedc7bd58f0b | e2119c068f5dc7533032749e42a3b4d891abb091 | feat(middleware): augments / matcher with /index (#39397)
* feat(middleware): augments / matcher with /index
* fix(#39396): not invoked with i18n and trailingSlash
* add test case
* tweak matcher a bit and add tests
Co-authored-by: JJ Kasper <jj@jjsweb.site> | [
{
"path": "packages/next/build/analysis/get-page-static-info.ts",
"patch": "@@ -4,7 +4,6 @@ import {\n extractExportedConstValue,\n UnsupportedValueError,\n } from './extract-const-value'\n-import { escapeStringRegexp } from '../../shared/lib/escape-regexp'\n import { parseModule } from './parse-module'... | 2022-08-09T22:58:40 |
huggingface/transformers | 7a51cbc65fdf9e064c82adf930b0bef9b8071e3a | 42babe854804f7c0e201f62fc540ab4d635b6707 | Dynamic number of speculative tokens in order to accelerate speculative decoding (#33258)
* optimal Speculation Lookahead based on probability
* update peer finished condition
* add support to do_sample True
* add stopping criteria
* gitignore
* add print
* remove prints
* minor
* minor
* gi... | [
{
"path": "src/transformers/generation/__init__.py",
"patch": "@@ -83,6 +83,7 @@\n \"MaxNewTokensCriteria\",\n \"MaxLengthCriteria\",\n \"MaxTimeCriteria\",\n+ \"ConfidenceCriteria\",\n \"EosTokenCriteria\",\n \"StoppingCriteria\",\n \"StoppingCriteriaL... | 2024-09-11T12:22:28 |
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.