repo stringclasses 15
values | fix_commit stringlengths 40 40 | buggy_commit stringlengths 40 40 | message stringlengths 3 64.3k | files listlengths 1 300 | timestamp timestamp[s]date 2013-03-13 20:45:00 2026-04-11 07:48:46 |
|---|---|---|---|---|---|
huggingface/transformers | b87755aa6d06253436b9451b9ea0bc1f448733f3 | f111d5b783a658b4089e5c82a104fbab397225cd | [tests] skip tests for xpu (#33553)
* enable
* fix
* add xpu skip
* add marker
* skip for xpu
* add more
* add one more | [
{
"path": "src/transformers/testing_utils.py",
"patch": "@@ -849,6 +849,13 @@ def require_torch_xpu(test_case):\n return unittest.skipUnless(is_torch_xpu_available(), \"test requires XPU device\")(test_case)\n \n \n+def require_non_xpu(test_case):\n+ \"\"\"\n+ Decorator marking a test that should ... | 2024-09-19T18:28:04 |
ollama/ollama | 7f0ccc8a9d2e61b995a7a870df9ece9c07de8119 | de52b6c2f90ff220ed9469167d51e3f5d7474fa2 | docs: fix syntax error in openai.md (#7986) | [
{
"path": "docs/openai.md",
"patch": "@@ -61,7 +61,7 @@ embeddings = client.embeddings.create(\n ```\n #### Structured outputs\n ```py\n-rom pydantic import BaseModel\n+from pydantic import BaseModel\n from openai import OpenAI\n \n client = OpenAI(base_url=\"http://localhost:11434/v1\", api_key=\"ollama\")... | 2024-12-08T06:14:36 |
nodejs/node | c016cc2b171ee03a607c7ad526088fffdb2ea15c | be2cbccf003d110cad00317090072788021efa56 | doc: fix e.g., to e.g. in docs
PR-URL: https://github.com/nodejs/node/pull/18369
Fixes: https://github.com/nodejs/code-and-learn/issues/58
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniess... | [
{
"path": "COLLABORATOR_GUIDE.md",
"patch": "@@ -623,7 +623,7 @@ error: failed to push some refs to 'https://github.com/nodejs/node'\n hint: Updates were rejected because the remote contains work that you do\n hint: not have locally. This is usually caused by another repository pushing\n hint: to the same r... | 2018-01-25T11:13:13 |
vercel/next.js | e0d7ee01df95aa07fbe42bf1a37e09228409a255 | 6791e7547e36c90a80bc130345ddafd5f0b24425 | Fix Edge SSR routes (#39594)
Currently Edge SSR routes are added to both `routedPages` (catch-all page render routes) and `edgeRoutesSet` (catch-all edge function routes). This causes the request to be handled by both and results in an error (the Node server can't execute the Edge SSR route as a regular page).
Anoth... | [
{
"path": "packages/next/server/dev/next-dev-server.ts",
"patch": "@@ -382,12 +382,13 @@ export default class DevServer extends Server {\n page: pageName,\n pageRuntime: staticInfo.runtime,\n onClient: () => {},\n- onServer: () => {},\n+ onServer: ()... | 2022-08-14T21:51:11 |
golang/go | c3dc22598829eec39b6b55e347ad4b974af24e12 | 0345ede87ee12698988973884cfc0fd3d499dffd | [dev.fuzz] cmd/go: fix test_fuzz_mutate_crash
Add a go.mod file, which is needed now that GO111MODULE=on by default.
Change-Id: I982f32afcf80ec190a2dd4603eb0aebc6fa22c67
Reviewed-on: https://go-review.googlesource.com/c/go/+/278052
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>... | [
{
"path": "src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt",
"patch": "@@ -31,6 +31,10 @@ stdout 'testdata/corpus/FuzzWithBadExit/70ba33708cbfb103f1a8e34afef333ba7dc02102\n stdout 'unexpectedly'\n grep '\\Aad\\z' testdata/corpus/FuzzWithBadExit/70ba33708cbfb103f1a8e34afef333ba7dc021022b2d9aaa583aabb80... | 2020-12-14T22:59:36 |
huggingface/transformers | 162056a3f433132fa6ce32c87663742803036b59 | d9d59e7baceb9acc1bc0d110de4c6aabbb7a4717 | change sequence_bias type of SequenceBiasLogitsProcessor to list, add… (#33375)
* change sequence_bias type of SequenceBiasLogitsProcessor tp list, add config tests for all processors
* fix format
* small fix for all_token_bias_pairs_are_valid internal func
* small typo fix in description
* improve test im... | [
{
"path": "src/transformers/generation/logits_process.py",
"patch": "@@ -15,7 +15,7 @@\n \n import inspect\n import math\n-from typing import Callable, Dict, Iterable, List, Optional, Tuple, Union\n+from typing import Callable, Iterable, List, Optional, Tuple, Union\n \n import numpy as np\n import torch\n@... | 2024-09-19T16:35:44 |
ollama/ollama | de52b6c2f90ff220ed9469167d51e3f5d7474fa2 | acd7d03266e1b2b1df07c608ba225eb46a57d4cf | bugfix: "null" value json mode (#7979) | [
{
"path": "cmd/cmd.go",
"patch": "@@ -1036,6 +1036,10 @@ func chat(cmd *cobra.Command, opts runOptions) (*api.Message, error) {\n \t\treturn nil\n \t}\n \n+\tif opts.Format == \"json\" {\n+\t\topts.Format = `\"` + opts.Format + `\"`\n+\t}\n+\n \treq := &api.ChatRequest{\n \t\tModel: opts.Model,\n \t\tMes... | 2024-12-06T22:13:15 |
rust-lang/rust | 890f6476410d286163bf78e6ca8cc19e85e82695 | 0e160b70f237fe0f9b424e0e1c10a3b3509e852a | add postfix completion for const block | [
{
"path": "src/tools/rust-analyzer/crates/ide-completion/src/completions/expr.rs",
"patch": "@@ -345,6 +345,7 @@ pub(crate) fn complete_expr_path(\n \n if !in_block_expr {\n add_keyword(\"unsafe\", \"unsafe {\\n $0\\n}\");\n+ add_keyword(... | 2025-03-19T23:15:32 |
nodejs/node | b06440356daec134963c90ac79e408760eb02c00 | a1c5dddbb2a2d6373adf31ab6fe0dfab40b871fb | deps: cherry-pick c3bb73f from upstream V8
Original commit message:
[tracing] implement TRACE_EVENT_ADD_WITH_TIMESTAMP
Bug:
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
Change-Id: Icb3cf7b7f96704e1eaa4c5fbf773b94b70cddc85
Reviewed-on: https://chromium-review.googlesou... | [
{
"path": "common.gypi",
"patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.2',\n+ 'v8_embedder_string': '-node.3',\n \n # Enable disassembler for `--print-code... | 2018-01-17T00:49:14 |
vercel/next.js | 6791e7547e36c90a80bc130345ddafd5f0b24425 | 0f65bf6e8b4d6b1855e064730cf66d75c5625d7a | Typo (#39596)
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [x] 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 opening a P... | [
{
"path": "examples/next-forms/pages/js-form.js",
"patch": "@@ -45,7 +45,7 @@ export default function PageWithJSbasedForm() {\n \n <p className={styles.description}>\n Get started by looking at{' '}\n- <code className={styles.code}>pages/js-from.js</code>\n+ <code className={styl... | 2022-08-14T21:05:30 |
huggingface/transformers | 413008c580bc00f5caab01179fdcd9ec5f11fd78 | 4f0246e5359d2d9b7c9f1e5b7c3d7dc79fed0e99 | add uniform processors for altclip + chinese_clip (#31198)
* add initial design for uniform processors + align model
* add uniform processors for altclip + chinese_clip
* fix mutable default :eyes:
* add configuration test
* handle structured kwargs w defaults + add test
* protect torch-specific test
... | [
{
"path": "src/transformers/models/align/processing_align.py",
"patch": "@@ -18,16 +18,11 @@\n \n from typing import List, Union\n \n-\n-try:\n- from typing import Unpack\n-except ImportError:\n- from typing_extensions import Unpack\n-\n from ...image_utils import ImageInput\n from ...processing_utils... | 2024-09-19T15:21:54 |
golang/go | 3298300ddf45a0792b4d8ea5e05f0fbceec4c9f9 | 5a25a3fd1d8248c039e34f5ae02cc9c8198fc6d6 | text/template: error on range over send channel
template range require channel contains RecvDir
if recv on send only channel will raise an panic.
Fixes #43065
Change-Id: Ie0ea70ce60e074bf8c9f2378e07ef1d4c41dc38f
Reviewed-on: https://go-review.googlesource.com/c/go/+/276532
Trust: Meng Zhuo <mzh@golangcn.org>
Run-Try... | [
{
"path": "src/text/template/exec.go",
"patch": "@@ -373,6 +373,10 @@ func (s *state) walkRange(dot reflect.Value, r *parse.RangeNode) {\n \t\tif val.IsNil() {\n \t\t\tbreak\n \t\t}\n+\t\tif val.Type().ChanDir() == reflect.SendDir {\n+\t\t\ts.errorf(\"range over send-only channel %v\", val)\n+\t\t\tbreak\n+... | 2020-12-10T01:52:52 |
nodejs/node | a1c5dddbb2a2d6373adf31ab6fe0dfab40b871fb | 990959d2f6bbcb42a437381bb2f435ec5d8067e6 | deps: cherry-pick 814577e from upstream V8
Original commit message:
[tracing] allow embedders to provide own tracing timestamps
Make it possible for embedders to provide their own tracing timetamps by
providing an overridable virtual function on V8's tracing controller.
Bug:
Cq-Include-Trybots: ... | [
{
"path": "common.gypi",
"patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.1',\n+ 'v8_embedder_string': '-node.2',\n \n # Enable disassembler for `--print-code... | 2018-01-17T00:49:01 |
huggingface/transformers | 4f0246e5359d2d9b7c9f1e5b7c3d7dc79fed0e99 | 80b774eb2906c34265c54b9534758ffc0d619cb7 | fix tests with main revision and read token (#33560)
* fix tests with main revision and read token
* [run-slow]mamba2
* test previously skipped tests
* [run-slow]mamba2
* skip some tests
* [run-slow]mamba2
* finalize tests
* [run-slow]mamba2 | [
{
"path": "tests/models/mamba2/test_modeling_mamba2.py",
"patch": "@@ -20,7 +20,7 @@\n from parameterized import parameterized\n \n from transformers import AutoTokenizer, Mamba2Config, is_torch_available\n-from transformers.testing_utils import require_torch, require_torch_gpu, slow, torch_device\n+from tr... | 2024-09-19T15:10:22 |
vercel/next.js | 0f65bf6e8b4d6b1855e064730cf66d75c5625d7a | d8809164ad5698b19c2fe30967cc0e8e4a387065 | Fix failing switchable runtime deploy test (#39579)
This ensures we add the needed manifest for https://github.com/vercel/next.js/commit/b5aa571c71b8b3912bb96b78c359bfc9681833b4 in the `required-files-manifest`. No new test cases have been added as this was caught by the existing deploy test.
## Bug
- [x] Related i... | [
{
"path": "packages/next/build/index.ts",
"patch": "@@ -57,6 +57,7 @@ import {\n APP_PATH_ROUTES_MANIFEST,\n COMPILER_NAMES,\n APP_BUILD_MANIFEST,\n+ FLIGHT_SERVER_CSS_MANIFEST,\n } from '../shared/lib/constants'\n import { getSortedRoutes, isDynamicRoute } from '../shared/lib/router/utils'\n import ... | 2022-08-13T20:39:31 |
golang/go | 4c2d66f642286647b640bced33581e8b1665bfe8 | 305d93ef84aed971145b3aa1bce1f9f389bc90c0 | [dev.regabi] cmd/compile: use ir.Ident for imported identifiers
This CL substantially reworks how imported declarations are handled,
and fixes a number of issues with dot imports. In particular:
1. It eliminates the stub ir.Name declarations that are created
upfront during import-declaration processing, allowing this... | [
{
"path": "src/cmd/compile/internal/gc/dcl.go",
"patch": "@@ -28,12 +28,9 @@ func testdclstack() {\n // redeclare emits a diagnostic about symbol s being redeclared at pos.\n func redeclare(pos src.XPos, s *types.Sym, where string) {\n \tif !s.Lastlineno.IsKnown() {\n-\t\tpkg := s.Origpkg\n-\t\tif pkg == ni... | 2020-12-13T18:35:20 |
ollama/ollama | 44560129563878df9604ebf6194ad7890a337b54 | 55c3efa9006989f3f680e9936857900312af3fa4 | fix unmarshaling merges | [
{
"path": "convert/tokenizer.go",
"patch": "@@ -10,6 +10,7 @@ import (\n \t\"log/slog\"\n \t\"os\"\n \t\"slices\"\n+\t\"strings\"\n \n \t\"golang.org/x/exp/maps\"\n )\n@@ -60,7 +61,25 @@ func parseTokenizer(fsys fs.FS, specialTokenTypes []string) (*Tokenizer, error)\n \t\t\taddedTokens[t.Content] = t\n \t\t... | 2024-12-04T17:15:24 |
huggingface/transformers | f3b3810fe6502a26bd51f187a2f8e1d41e295230 | d7975a58749cb5f2102a518858eef43ee3614def | rag: fix CI (#33578) | [
{
"path": "tests/models/rag/test_modeling_rag.py",
"patch": "@@ -653,7 +653,7 @@ class RagDPRT5Test(RagTestMixin, unittest.TestCase):\n def config_and_inputs(self):\n question_encoder_tester = DPRModelTester(self)\n dpr_config_and_inputs = question_encoder_tester.prepare_config_and_input... | 2024-09-19T10:55:26 |
nodejs/node | 990959d2f6bbcb42a437381bb2f435ec5d8067e6 | ac2af1361e1271855d72b6e168dbd2b5d26ec2c9 | deps: cherry-pick 0c35b72 from upstream V8
Original commit message:
[api,modules] Allow GetModuleNamespace on unevaluated modules.
Bug: v8:7217
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
Change-Id: I97b067254355eb91e12b92eba92631cbc3ce8000
Reviewed-on: https://chrom... | [
{
"path": "common.gypi",
"patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.0',\n+ 'v8_embedder_string': '-node.1',\n \n # Enable disassembler for `--print-code... | 2018-01-08T15:03:33 |
vercel/next.js | 91d09bbad0476b7076d20107f159423c6b270ed7 | 6ff05b6815af4a5485ee8eb815b3ffcb8a3f4e03 | Rename page -> entry in on-demand-entry-handler (#39564)
Given that it's not just pages now I've renamed the entry handling.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing... | [
{
"path": "packages/next/server/dev/on-demand-entry-handler.ts",
"patch": "@@ -398,34 +398,34 @@ export function onDemandEntryHandler({\n const isInsideAppDir =\n appDir && pagePathData.absolutePagePath.startsWith(appDir)\n \n- const addPageEntry = (\n+ const addEntry = (\n c... | 2022-08-12T21:40:41 |
golang/go | 9f16620f46fc51ff1c8182b440bd60f97eb35278 | fea898a4b0f02cee08ea978eb5ce541a85783690 | [dev.regabi] cmd/compile: fix latent Sym.SetPkgDef issue
Sym.pkgDefPtr is supposed to return a pointer to the types.Object
variable currently holding the Sym's package-scope
definition. However, in the case of identifiers that were shadowed in
the current scope, it was incorrectly returning a pointer to a stack
copy o... | [
{
"path": "src/cmd/compile/internal/types/scope.go",
"patch": "@@ -94,7 +94,8 @@ func (s *Sym) SetPkgDef(n Object) {\n func (s *Sym) pkgDefPtr() *Object {\n \t// Look for outermost saved declaration, which must be the\n \t// package scope definition, if present.\n-\tfor _, d := range dclstack {\n+\tfor i :=... | 2020-12-14T04:17:09 |
rust-lang/rust | cdbf19a6fbb4446fe4dea62187a0924318c7c2c8 | e70cafec4e632aa0b14c5e81d1d64c5d944021cc | Add fixme | [
{
"path": "compiler/rustc_query_system/src/dep_graph/graph.rs",
"patch": "@@ -1204,6 +1204,7 @@ impl<D: Deps> CurrentDepGraph<D> {\n ),\n anon_node_to_index: Sharded::new(|| {\n FxHashMap::with_capacity_and_hasher(\n+ // FIXME: The count estimate is... | 2025-03-17T23:07:19 |
ollama/ollama | 39e29ae5ddb9ff710c0e28652b61850f458e1205 | 30a9f063c94ec171b62e0b12948e1efe6c112e9f | llama: fix typo and formatting in readme (#7876) | [
{
"path": "llama/README.md",
"patch": "@@ -93,7 +93,7 @@ make -j\n \n ## Vendoring\n \n-Ollama currently vendors [llama.cpp](https://github.com/ggerganov/llama.cpp/) and [ggml](https://github.com/ggerganov/ggml) through a vendoring model. While we generally strive to contribute changes back upstream to avo... | 2024-11-29T01:27:11 |
huggingface/transformers | d7975a58749cb5f2102a518858eef43ee3614def | e40bb4845e0eefb52ec1e9cac9c2446ab36aef81 | VLMs: enable generation tests (#33533)
* add tests
* fix whisper
* update
* nit
* add qwen2-vl
* more updates!
* better this way
* fix this one
* fix more tests
* fix final tests, hope so
* fix led
* Update tests/generation/test_utils.py
Co-authored-by: Joao Gante <joaofranciscocard... | [
{
"path": "src/transformers/generation/utils.py",
"patch": "@@ -1154,7 +1154,7 @@ def _validate_assistant(self, assistant_model):\n \"Ensure you load the assistant with the correct encoder-decoder class, e.g. `AutoModelForSpeechSeq2Seq` for Whisper.\"\n )\n \n- if ... | 2024-09-19T10:04:24 |
nodejs/node | ac2af1361e1271855d72b6e168dbd2b5d26ec2c9 | 4e515121488db4e2ea3c918f784f636cc51c06a0 | test: fix inspector test after V8 upgrade
PR-URL: https://github.com/nodejs/node/pull/17489
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> | [
{
"path": "test/sequential/test-inspector-async-stack-traces-promise-then.js",
"patch": "@@ -55,7 +55,7 @@ function debuggerPausedAt(msg, functionName, previousTickLocation) {\n `${Object.keys(msg.params)} contains \"asyncStackTrace\" property`);\n \n assert.strictEqual(msg.params.callFrames[0].functi... | 2017-11-30T10:17:51 |
vercel/next.js | 6ff05b6815af4a5485ee8eb815b3ffcb8a3f4e03 | 9cfa9945f05a6fb7363c306389338fe0f3c8e361 | Fix preinstall failed in yarn@1.x on FreeBSD with npm@8.17 (#39529)
[Build fixed: https://github.com/vercel/next.js/runs/7802539969?check_suite_focus=true](https://github.com/vercel/next.js/runs/7811339499?check_suite_focus=true) | [
{
"path": ".github/workflows/build_test_deploy.yml",
"patch": "@@ -1472,13 +1472,13 @@ jobs:\n # Disable LTO, or the lld may crash with OOM\n CARGO_PROFILE_RELEASE_LTO: false\n with:\n- envs: DEBUG RUSTUP_HOME CARGO_HOME RUSTUP_IO_THREADS CARGO_PROFILE_RELEASE_LTO NAPI_C... | 2022-08-12T19:51:08 |
golang/go | 5a25a3fd1d8248c039e34f5ae02cc9c8198fc6d6 | 663cd862edf8dfa9c78d9df0f372c9bea03139e4 | test: recognize gofrontend error messages
fixedbugs/issue26416.go:24:16: error: unknown field ‘t1f1’ in ‘t2’
fixedbugs/issue26416.go:25:16: error: unknown field ‘t1f2’ in ‘t3’
fixedbugs/issue26416.go:26:16: error: unknown field ‘t2f1’ in ‘t3’
fixedbugs/issue26616.go:15:9: error: single variable set to multiple-value ... | [
{
"path": "test/fixedbugs/issue25958.go",
"patch": "@@ -11,7 +11,7 @@ package p\n \n func f(done chan struct{}) {\n \tselect {\n-\tcase done: // ERROR \"must be receive\", \"not used\"\n-\tcase (chan struct{})(done): // ERROR \"must be receive\"\n+\tcase done: // ERROR \"must be receive|expected .*<-.* or .... | 2020-12-14T21:26:35 |
rust-lang/rust | e70cafec4e632aa0b14c5e81d1d64c5d944021cc | 5a21f890e9b6aad452638a45e0ebce025da7334f | Outline some cold code and turn on hash collision detection with debug_assertions | [
{
"path": "compiler/rustc_query_system/src/dep_graph/graph.rs",
"patch": "@@ -8,6 +8,7 @@ use std::sync::atomic::{AtomicU32, Ordering};\n \n use rustc_data_structures::fingerprint::{Fingerprint, PackedFingerprint};\n use rustc_data_structures::fx::{FxHashMap, FxHashSet};\n+use rustc_data_structures::outline... | 2025-03-17T23:05:45 |
ollama/ollama | 940e62772e68c99cd4cb0b037acf5c16c23e0854 | 71e6a0d0d181e3be45f3e47a677d088479d73c76 | openai: remove unused error code (#7850)
The writeError takes a code argument which is no longer used. Remove it for clarity. | [
{
"path": "openai/openai.go",
"patch": "@@ -571,7 +571,7 @@ type EmbedWriter struct {\n \tmodel string\n }\n \n-func (w *BaseWriter) writeError(code int, data []byte) (int, error) {\n+func (w *BaseWriter) writeError(data []byte) (int, error) {\n \tvar serr api.StatusError\n \terr := json.Unmarshal(data, &se... | 2024-11-27T00:08:09 |
vercel/next.js | dd8a4c76c66e99a12dd84382e26478a3a7f971fc | 43240dc86b3fa7bff7a05bd79069212a9e214974 | fix value macro panic message (#239) | [
{
"path": "crates/turbo-tasks-macros/src/value_macro.rs",
"patch": "@@ -519,7 +519,7 @@ pub fn value(args: TokenStream, input: TokenStream) -> TokenStream {\n }\n };\n \n- let doc_msg_refer_to_ident = format!(\" Vc for [`{ident}`]\\n\\n\", ident = ident);\n+ let doc_msg_refer_to_ident = fo... | 2022-08-12T19:45:54 |
nodejs/node | 56ee94f1848de7312d3df8d45aa693cc17c97fb7 | e9bcb39ef2af08e16b090842bc1ef26d0303b0b2 | build: compile V8 using system compiler
Stop using the copy of clang that is bundled with Google's build tools
and start using the compiler that is installed on the buildbots.
It stopped working on one of the machines because it looked in the
wrong place for system headers and is not representative of how users
build ... | [
{
"path": "Makefile",
"patch": "@@ -30,6 +30,7 @@ ifdef ENABLE_V8_TAP\n TAP_V8_BENCHMARKS := --junitout $(PWD)/v8-benchmarks-tap.xml\n endif\n \n+V8_BUILD_OPTIONS += GYPFLAGS=\"-Dclang=0\"\n V8_TEST_OPTIONS = $(V8_EXTRA_TEST_OPTIONS)\n ifdef DISABLE_V8_I18N\n V8_BUILD_OPTIONS += i18nsupport=off",
"a... | 2017-12-19T12:58:35 |
huggingface/transformers | 5af7d41e49bbfc8319f462eb45253dcb3863dfb7 | 6019f3ff7805f94b4bec1ad5fcf8c438ecb03ee6 | Codec integration (#33565)
* clean mimi commit
* some nits suggestions from Arthur
* make fixup
* rename repo id + change readme
* Update docs/source/en/model_doc/mimi.md
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
* add flaky flag to batching equivalence due to audio_... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -722,6 +722,8 @@\n title: Hubert\n - local: model_doc/mctct\n title: MCTCT\n+ - local: model_doc/mimi\n+ title: Mimi\n - local: model_doc/mms\n title: MMS\n - local: model_doc/musicgen",
"addition... | 2024-09-18T17:23:44 |
golang/go | 663cd862edf8dfa9c78d9df0f372c9bea03139e4 | 48dfa2b2dca43c6dc80d7e1d1c605e2918fad3af | cmd/link: do not mark resource section as writable
Resources are immutable, and all other linkers set this section to be
read-only and not read-write. Fix this oversight by removing the writable
flag.
Change-Id: Ib441bde6620be2000f1685df1ea7bfaebdbe7860
Reviewed-on: https://go-review.googlesource.com/c/go/+/268258
Re... | [
{
"path": "src/cmd/link/internal/ld/pe.go",
"patch": "@@ -1524,7 +1524,7 @@ func addpersrc(ctxt *Link) {\n \tdata := ctxt.loader.Data(rsrcsym)\n \tsize := len(data)\n \th := pefile.addSection(\".rsrc\", size, size)\n-\th.characteristics = IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_WRITE | IMAGE_SCN_CNT_INITIALIZED_... | 2020-11-08T10:11:27 |
ollama/ollama | 71e6a0d0d181e3be45f3e47a677d088479d73c76 | 2cd11ae365a9423578069457312dce6b9e1e5a37 | runner.go: Don't try to extract image tags for text models
When processing a prompt, we look for image tags of the form
[img-0], which are inserted by the Ollama server process.
However, this can cause errors if the original prompt has these
tags - typically an image not found error is returned.
This changes tag sear... | [
{
"path": "llama/runner/runner.go",
"patch": "@@ -164,10 +164,16 @@ func (s *Server) NewSequence(prompt string, images []ImageData, params NewSequen\n // generating image embeddings for each image\n func (s *Server) inputs(prompt string, images []ImageData) ([]input, error) {\n \tvar inputs []input\n+\tvar ... | 2024-11-20T23:08:24 |
vercel/next.js | 9cfa9945f05a6fb7363c306389338fe0f3c8e361 | aef60dc581f564b64cfb7667cdca0bd3e3b6e366 | Eliminate Amp in Edge runtime (#39560)
Amp mode is always disabled in the Edge runtime:
https://github.com/vercel/next.js/blob/b5aa571c71b8b3912bb96b78c359bfc9681833b4/packages/next/server/render.tsx#L588
So we can safely add the additional condition (`process.env.NEXT_RUNTIME !== 'edge' &&`) for the compiler to do ... | [
{
"path": "packages/next/pages/_document.tsx",
"patch": "@@ -46,9 +46,10 @@ function getDocumentFiles(\n inAmpMode: boolean\n ): DocumentFiles {\n const sharedFiles: readonly string[] = getPageFiles(buildManifest, '/_app')\n- const pageFiles: readonly string[] = inAmpMode\n- ? []\n- : getPageFile... | 2022-08-12T19:29:39 |
nodejs/node | b886c424fb9ff7a5880d4a4c5a4d69ba5710c475 | 553d4ee57db12ef9f1c039985024c2e4f79fd815 | doc: fix documentation of http2Stream.pushstream()
Improve documentation of callback signature of
http2Stream.pushStream() function to align with
the changes made in https://github.com/nodejs/node/pull/17406.
PR-URL: https://github.com/nodejs/node/pull/18258
Fixes: https://github.com/nodejs/node/issues/18198
Refs: ht... | [
{
"path": "doc/api/http2.md",
"patch": "@@ -1199,6 +1199,10 @@ added: v8.4.0\n created stream is dependent on.\n * `callback` {Function} Callback that is called once the push stream has been\n initiated.\n+ * `err` {Error}\n+ * `pushStream` {[`ServerHttp2Stream`][]} The returned pushStream object.\n... | 2018-01-19T20:11:09 |
golang/go | c8e73489c32d5a45beca3f4810b6be64a2553ddb | 3a912f279fb6e3b6942a3a6c2449288a33351b69 | go/types: import instance.expand and subst.go from dev.go2go
Changes from dev.go2go:
+ A potentially latent bug is fixed when nilling out tparams in an
instantiated signature (the resulting type could be Typ[Invalid])
+ Support for pointer designation is removed
+ instantiatedHash is updated to use '[]' rather t... | [
{
"path": "src/go/types/check.go",
"patch": "@@ -82,6 +82,7 @@ type Checker struct {\n \tobjMap map[Object]*declInfo // maps package-level objects and (non-interface) methods to declaration info\n \timpMap map[importKey]*Package // maps (import path, source directory) to (complete or fake) package... | 2020-12-08T19:28:21 |
huggingface/transformers | 6019f3ff7805f94b4bec1ad5fcf8c438ecb03ee6 | 7b1ce634cb16f86725826e427bf30f1276cc0e19 | Fix bnb dequantization (#33546) | [
{
"path": "src/transformers/integrations/bitsandbytes.py",
"patch": "@@ -437,6 +437,7 @@ def _dequantize_and_replace(\n \n new_module.to(device)\n model._modules[name] = new_module\n+ has_been_replaced = True\n if len(list(module.children())) > 0:\n ... | 2024-09-18T17:10:28 |
vercel/next.js | 2b2c2acf6e697ecf97a108f27151e8f8fe089a60 | 3c9ad33c697b86998130ec715f6654eaac0163a7 | Refactor handling of addPageEntry promise (#39547)
Follow-up to #39162. Refactors `addPageEntry` to no longer add into the `added` map.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
## Feature
- [ ] Implements ... | [
{
"path": "packages/next/server/dev/on-demand-entry-handler.ts",
"patch": "@@ -392,9 +392,6 @@ export function onDemandEntryHandler({\n appDir\n )\n \n- let entryAdded = false\n- const added = new Map<CompilerNameValues, Promise<void>>()\n-\n const isServerComponent = serverCom... | 2022-08-12T17:41:04 |
nodejs/node | 553d4ee57db12ef9f1c039985024c2e4f79fd815 | 00687fb5044d9ab3361e445b7bf8949bf99994e2 | doc: fix return value for require.resolve.paths()
Update documentation of modules.md for require.resolve.paths()
to include the possibillity of null as a return value if
the request string given matches a core module name.
PR-URL: https://github.com/nodejs/node/pull/18350
Fixes: https://github.com/nodejs/node/issues/... | [
{
"path": "doc/api/modules.md",
"patch": "@@ -626,9 +626,11 @@ added: v8.9.0\n -->\n \n * `request` {string} The module path whose lookup paths are being retrieved.\n-* Returns: {Array}\n+* Returns: {Array|null}\n \n-Returns an array containing the paths searched during resolution of `request`.\n+Returns an... | 2018-01-24T15:54:14 |
golang/go | 6e3cc5c56fa532df1f7690ee4955a1751b1ccbce | 278b9a8a4a905ca91feb145b949303bd91a2a154 | go/types: report invalid ... in conversions
This is a port of CL 277072 from the dev.typeparams branch.
Fixes #43124
Change-Id: I1424c396dc1ea984ec85b8f31a4d43353bf7e4fc
Reviewed-on: https://go-review.googlesource.com/c/go/+/277352
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.... | [
{
"path": "src/go/types/call.go",
"patch": "@@ -33,6 +33,10 @@ func (check *Checker) call(x *operand, e *ast.CallExpr) exprKind {\n \t\tcase 1:\n \t\t\tcheck.expr(x, e.Args[0])\n \t\t\tif x.mode != invalid {\n+\t\t\t\tif e.Ellipsis.IsValid() {\n+\t\t\t\t\tcheck.errorf(e.Args[0], _BadDotDotDotSyntax, \"inval... | 2020-12-11T21:24:26 |
huggingface/transformers | 7b1ce634cb16f86725826e427bf30f1276cc0e19 | 9db963aeed419c8379c6d6425186fec0bfb86908 | Improve compiled RT-DETR inference speed (#33412)
* modify rt detr to improve inference times when compiled
* Remove redundant "to"
* Fix conditional lru_cache and missing shapes_list
* nit unnecessary list creation
* Fix compile error when ninja not available and custon kernel activated | [
{
"path": "src/transformers/models/rt_detr/modeling_rt_detr.py",
"patch": "@@ -18,7 +18,7 @@\n import os\n import warnings\n from dataclasses import dataclass\n-from functools import lru_cache, partial\n+from functools import lru_cache, partial, wraps\n from pathlib import Path\n from typing import Dict, Li... | 2024-09-18T16:56:45 |
vercel/next.js | 0c95a93858f1fd134a94c188673c53c99dd59431 | 9d1980d086c07b124f0e577a82a7f4faba64e088 | Eliminate path polyfill and incremental-cache from base server (#39548)
Continue to optimize the base server to make it leaner. These are only needed by the Node.js server currently.
Related:
- #39433
- #39045
- #39044
- #39037
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
-... | [
{
"path": "packages/next/build/webpack-config.ts",
"patch": "@@ -7,8 +7,6 @@ import path, { dirname, join as pathJoin, relative as relativePath } from 'path'\n import { escapeStringRegexp } from '../shared/lib/escape-regexp'\n import {\n DOT_NEXT_ALIAS,\n- NEXT_PROJECT_ROOT,\n- NEXT_PROJECT_ROOT_DIST_CL... | 2022-08-12T15:25:47 |
ollama/ollama | 2b7ed61ca22743598db2b407a94b8865042f1078 | 647513a7d48920f897f536fe9df45c6ca38fe83e | server: fix Transport override (#7834)
This changes makeRequest to update the http client Transport if and only
if testMakeRequestDialContext is set. This is to avoid overriding the
default Transport when testMakeRequestDialContext is nil, which broke
existing behavior, included proxies, timeouts, and other behavio... | [
{
"path": "server/images.go",
"patch": "@@ -1076,17 +1076,15 @@ func makeRequest(ctx context.Context, method string, requestURL *url.URL, header\n \t\treq.ContentLength = contentLength\n \t}\n \n-\tresp, err := (&http.Client{\n-\t\tTransport: &http.Transport{\n-\t\t\tDialContext: testMakeRequestDialContext,... | 2024-11-25T23:08:34 |
nodejs/node | 00687fb5044d9ab3361e445b7bf8949bf99994e2 | 98d9540dd7a7aa2e612f16caeea6e57d56ed9f12 | deps: V8: backport 76c3ac5 from upstream
This fixes a bug in the CPU profiler where some ticks were attributed
to the wrong file.
Original commit message:
[cpu-profiler] Fix script name when recording inlining info
Use the script name from the shared function info to create an
inline entry. Otherwise functions... | [
{
"path": "common.gypi",
"patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.8',\n+ 'v8_embedder_string': '-node.9',\n \n # Enable disassembler for `--print-code... | 2018-01-22T20:19:05 |
golang/go | 278b9a8a4a905ca91feb145b949303bd91a2a154 | d06794da4a9fcfee27850757e99567ad02ba0851 | io/fs: fix package reference in FS godoc
Reported by Ben on golang-dev
https://groups.google.com/g/golang-dev/c/gsoj5Vv15j0/m/kZxzYUdnAQAJ
Change-Id: Ic2c9600b831592ad54036b816138760b7fbb737a
Reviewed-on: https://go-review.googlesource.com/c/go/+/277377
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tob... | [
{
"path": "src/io/fs/fs.go",
"patch": "@@ -16,8 +16,7 @@ import (\n //\n // The FS interface is the minimum implementation required of the file system.\n // A file system may implement additional interfaces,\n-// such as fsutil.ReadFileFS, to provide additional or optimized functionality.\n-// See io/fsutil... | 2020-12-14T10:14:05 |
huggingface/transformers | f883827c0a0832b9dd53ede18aa7fffe74a1fec2 | 4f1e9bae4e0a2d94e8a347964569dd1df385de55 | Fix tests in ASR pipeline (#33545) | [
{
"path": "tests/pipelines/test_pipelines_automatic_speech_recognition.py",
"patch": "@@ -295,8 +295,8 @@ def test_torch_large(self):\n self.assertEqual(output, {\"text\": \"\"})\n \n ds = load_dataset(\"hf-internal-testing/librispeech_asr_dummy\", \"clean\", split=\"validation\").sort(\"id\... | 2024-09-18T14:25:45 |
huggingface/transformers | 4f1e9bae4e0a2d94e8a347964569dd1df385de55 | 5427eaad4321e40ba3a8697f91f4133c73e08614 | fix the wandb logging issue (#33464)
* fix the wandb logging issue
* handle ConfigError in WandbCallback; move import to local scope
* update integration_utils.py; move import of ConfigError
* Update integration_utils.py: remove trailing whitespace | [
{
"path": "src/transformers/integrations/integration_utils.py",
"patch": "@@ -803,6 +803,10 @@ def setup(self, args, state, model, **kwargs):\n if self._wandb is None:\n return\n self._initialized = True\n+\n+ # prepare to handle potential configuration issues during setup... | 2024-09-18T14:23:05 |
ollama/ollama | 3478b2cf14c3fa2661c03f7fd5764a63a496293a | 7b5585b9cbc5f803583ebd6a9627c563521c8970 | runner.go: Fix deadlock with many concurrent requests
If there are no avilable slots for new sequences then a request
will not be added to the processing queue but will continue on
to wait for a response that never comes. Besides never giving a
response to the request, this prevents the model from being
unloaded due t... | [
{
"path": "llama/runner/runner.go",
"patch": "@@ -300,6 +300,7 @@ func (s *Server) removeSequence(seqIndex int, reason string) {\n \tclose(seq.embedding)\n \tseq.cache.InUse = false\n \ts.seqs[seqIndex] = nil\n+\ts.seqsSem.Release(1)\n }\n \n func (s *Server) run(ctx context.Context) {\n@@ -649,7 +650,7 @@ ... | 2024-11-22T23:17:15 |
nodejs/node | 98d9540dd7a7aa2e612f16caeea6e57d56ed9f12 | 51054dac541cdefabe54a076f009ebf4c3c5d144 | src: use uv_hrtime as tracing timestamp
Override the V8 TracingController to provide uv_hrtime based
timestamps. This allows tracing timestamps to be comparable with
process.hrtime timestamps.
Fixes: https://github.com/nodejs/node/issues/17349
PR-URL: https://github.com/nodejs/node/pull/18196
Reviewed-By: Ben Noordhu... | [
{
"path": "doc/api/tracing.md",
"patch": "@@ -19,3 +19,7 @@ node --trace-events-enabled --trace-event-categories v8,node,node.async_hooks se\n Running Node.js with tracing enabled will produce log files that can be opened\n in the [`chrome://tracing`](https://www.chromium.org/developers/how-tos/trace-event-... | 2018-01-17T01:13:36 |
golang/go | 3a912f279fb6e3b6942a3a6c2449288a33351b69 | 8ec9e890008e681dcebdae50379b785eb6f160bb | [dev.typeparams] cmd/compile/internal/syntax: export NewName and use it
Most syntax.Nodes are allocated in one place and there didn't
seem a need to provide factory methods - so as a matter of
API design, all nodes are "naked", without any constructors.
However, Name nodes are frequently used/replaced and also
are cr... | [
{
"path": "src/cmd/compile/internal/syntax/nodes.go",
"patch": "@@ -122,6 +122,13 @@ type Group struct {\n // ----------------------------------------------------------------------------\n // Expressions\n \n+func NewName(pos Pos, value string) *Name {\n+\tn := new(Name)\n+\tn.pos = pos\n+\tn.Value = value\... | 2020-12-11T05:16:02 |
vercel/next.js | b5aa571c71b8b3912bb96b78c359bfc9681833b4 | 0c7217ba8fa28be8d4dc6b3c336110e5541754a7 | Refactor client entry plugin to separate methods. (#39162)
WIP.
## 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 be... | [
{
"path": "packages/next/build/entries.ts",
"patch": "@@ -15,12 +15,16 @@ import {\n ROOT_DIR_ALIAS,\n APP_DIR_ALIAS,\n SERVER_RUNTIME,\n+ WEBPACK_LAYERS,\n } from '../lib/constants'\n import {\n CLIENT_STATIC_FILES_RUNTIME_AMP,\n CLIENT_STATIC_FILES_RUNTIME_MAIN,\n CLIENT_STATIC_FILES_RUNTIME_... | 2022-08-12T13:01:19 |
nodejs/node | 51054dac541cdefabe54a076f009ebf4c3c5d144 | 7d7a549219baeecadbbd6e2b9b29b57fd80897f7 | deps: cherry-pick c3bb73f from upstream V8
Original commit message:
[tracing] implement TRACE_EVENT_ADD_WITH_TIMESTAMP
Bug:
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
Change-Id: Icb3cf7b7f96704e1eaa4c5fbf773b94b70cddc85
Reviewed-on: https://chromium-review.googlesou... | [
{
"path": "common.gypi",
"patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.7',\n+ 'v8_embedder_string': '-node.8',\n \n # Enable disassembler for `--print-code... | 2018-01-17T00:49:14 |
ollama/ollama | 7b5585b9cbc5f803583ebd6a9627c563521c8970 | f0a351810c496d6ead14b3d3a9d4d536c4ae772a | server: remove out of date anonymous access check (#7785)
In the past the ollama.com server would return a JWT that contained
information about the user being authenticated. This was used to return
different error messages to the user. This is no longer possible since the
token used to authenticate does not contain... | [
{
"path": "cmd/cmd.go",
"patch": "@@ -19,7 +19,6 @@ import (\n \t\"os\"\n \t\"os/signal\"\n \t\"path/filepath\"\n-\t\"regexp\"\n \t\"runtime\"\n \t\"strconv\"\n \t\"strings\"\n@@ -35,14 +34,11 @@ import (\n \t\"golang.org/x/term\"\n \n \t\"github.com/ollama/ollama/api\"\n-\t\"github.com/ollama/ollama/auth\"... | 2024-11-22T19:57:35 |
golang/go | 8ec9e890008e681dcebdae50379b785eb6f160bb | 8fe8e29c9f94d569586a6d8ae6798f82bb5b385b | [dev.typeparams] cmd/compile/internal/types2: fix stray ')' in error
I missed this in the review of CL 277072, but noticed it in CL 277352.
Change-Id: I432e3569eb4a935cee19805225f02c424d54011e
Reviewed-on: https://go-review.googlesource.com/c/go/+/277962
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert ... | [
{
"path": "src/cmd/compile/internal/types2/call.go",
"patch": "@@ -129,7 +129,7 @@ func (check *Checker) call(x *operand, call *syntax.CallExpr) exprKind {\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t\tif call.HasDots {\n-\t\t\t\t\tcheck.errorf(call.ArgList[0], \"invalid use of ... in type conversion to %s)\", T)\n+\... | 2020-12-11T21:29:08 |
vercel/next.js | 71bd0dfc30696db75851f91ab6be7b690b1b4fbb | c4b66b12519cc2f39ce97eea53a6c02afde8e665 | Fix auto deref clippy warnings (#229)
Some of these were addressable using clippy's suggestion, but in others (specifically when dereferencing a vc) the deref seems to be required. In those cases I extracted the dereferenced value into a variable, which often was enough to prevent the automatic deref check. In others,... | [
{
"path": "crates/node-file-trace/src/nft_json.rs",
"patch": "@@ -33,7 +33,9 @@ impl Asset for NftJsonAsset {\n #[turbo_tasks::function]\n async fn content(&self) -> Result<FileContentVc> {\n let context = self.entry.path().parent().await?;\n- let self_path = context.get_relative_path... | 2022-08-12T07:25:58 |
huggingface/transformers | 5427eaad4321e40ba3a8697f91f4133c73e08614 | 9f2b8cc45afa67fd3962d777fc02061531159b9e | [i18n-ur] Added README_ur.md file (#33461)
* Urdu docs added
* fixed the misaligned issue. | [
{
"path": "README.md",
"patch": "@@ -48,7 +48,8 @@ limitations under the License.\n <a href=\"https://github.com/huggingface/transformers/blob/main/i18n/README_fr.md\">Français</a> |\n <a href=\"https://github.com/huggingface/transformers/blob/main/i18n/README_de.md\">Deutsch</a> |\n ... | 2024-09-18T13:49:19 |
huggingface/transformers | 9f2b8cc45afa67fd3962d777fc02061531159b9e | db72894b48990860a9b8d1ebbfdd9a0342309b8f | Fix missing head_dim in llama config from gguf model (#33526)
fix missing head_dim in llama config from gguf | [
{
"path": "src/transformers/integrations/ggml.py",
"patch": "@@ -120,7 +120,8 @@\n \"block_count\": \"num_hidden_layers\",\n \"feed_forward_length\": \"intermediate_size\",\n \"embedding_length\": \"hidden_size\",\n- \"rope.dimension_count\": None,\n+ # NOTE: rope.dimen... | 2024-09-18T13:46:12 |
golang/go | 8fe8e29c9f94d569586a6d8ae6798f82bb5b385b | f8930a241301b9922beef925e4ca685f8c3e95a7 | [dev.typeparams] cmd/compile/internal/types2: report error for invalid type expression
This bug was introduced by the change from go/ast to syntax which
represents pointer types as (unary) operations rather than dedicated
StarExpr nodes. Accordingly, this bug does not exist for go/types.
It's still ok to backport the ... | [
{
"path": "src/cmd/compile/internal/types2/fixedbugs/issue43125.src",
"patch": "@@ -0,0 +1,8 @@\n+// Copyright 2020 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package p\n+\n+var _ = new(- /* ERROR not ... | 2020-12-11T02:07:09 |
nodejs/node | 7d7a549219baeecadbbd6e2b9b29b57fd80897f7 | 2313424abc6f88b72630f79a483721dd0cd10c27 | deps: cherry-pick 814577e from upstream V8
Original commit message:
[tracing] allow embedders to provide own tracing timestamps
Make it possible for embedders to provide their own tracing timetamps by
providing an overridable virtual function on V8's tracing controller.
Bug:
Cq-Include-Trybots: ... | [
{
"path": "common.gypi",
"patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.6',\n+ 'v8_embedder_string': '-node.7',\n \n # Enable disassembler for `--print-code... | 2018-01-17T00:49:01 |
ollama/ollama | f0a351810c496d6ead14b3d3a9d4d536c4ae772a | b85520bfb9c9dd92056ecded55bf8c4cfd28088f | tests: fix max queue integration test (#7782)
This had fallen out of sync with the envconfig behavior, where max queue default was not zero. | [
{
"path": "integration/max_queue_test.go",
"patch": "@@ -16,7 +16,6 @@ import (\n \t\"github.com/stretchr/testify/require\"\n \n \t\"github.com/ollama/ollama/api\"\n-\t\"github.com/ollama/ollama/envconfig\"\n )\n \n func TestMaxQueue(t *testing.T) {\n@@ -27,12 +26,8 @@ func TestMaxQueue(t *testing.T) {\n \n... | 2024-11-22T16:05:45 |
vercel/next.js | c4b66b12519cc2f39ce97eea53a6c02afde8e665 | 09099575e55f1f5b683743bba15260178597a886 | Fix Safety clippy warnings (#228)
It seems like clippy requires a specific format for these comments.
Test Plan: Verify clippy no longer warns. | [
{
"path": "crates/turbo-tasks/src/infinite_vec.rs",
"patch": "@@ -72,7 +72,8 @@ impl<T: Default, const INITIAL_CAPACITY_BITS: u32> InfiniteVec<T, INITIAL_CAPACI\n unsafe { &*bucket_ptr.add(index) }\n }\n \n- /// SAFETY: There must not be a concurrent operation to this idx\n+ /// # Safety\n... | 2022-08-12T07:25:37 |
rust-lang/rust | 14cd467001aa5324fb3b067c80debfffda12c527 | 055d31c7a5aa2ef642d3d390665ba52e36a7895c | Fix next solver handling of shallow trait impl check | [
{
"path": "compiler/rustc_trait_selection/src/infer.rs",
"patch": "@@ -15,7 +15,7 @@ use tracing::instrument;\n \n use crate::infer::at::ToTrace;\n use crate::traits::query::evaluate_obligation::InferCtxtExt as _;\n-use crate::traits::{self, Obligation, ObligationCause, ObligationCtxt, SelectionContext};\n+... | 2025-03-17T08:16:52 |
huggingface/transformers | db72894b48990860a9b8d1ebbfdd9a0342309b8f | 52e22cbf677f58a1cca347117e8974fa50c9f2d7 | Chat template: save and load correctly for processors (#33462)
* fix
* add tests
* fix tests
* Update tests/models/llava/test_processor_llava.py
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
* fix
* fix tests
* update tests
---------
Co-authored-by: amyeroberts ... | [
{
"path": "src/transformers/processing_utils.py",
"patch": "@@ -502,9 +502,12 @@ def save_pretrained(self, save_directory, push_to_hub: bool = False, **kwargs):\n output_chat_template_file = os.path.join(save_directory, CHAT_TEMPLATE_NAME)\n \n processor_dict = self.to_dict()\n- chat_... | 2024-09-18T11:00:44 |
golang/go | f8930a241301b9922beef925e4ca685f8c3e95a7 | 5aca6e78570c4a4826e500613b1bc054bc95142a | [dev.typeparams] cmd/compile/internal/types2: report invalid ... in conversions
This fixes the bug below for types2.
Updates #43124.
Change-Id: Ic1962d41f321d8a08992d8529625bc133e526b0c
Reviewed-on: https://go-review.googlesource.com/c/go/+/278012
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer... | [
{
"path": "src/cmd/compile/internal/types2/call.go",
"patch": "@@ -128,6 +128,10 @@ func (check *Checker) call(x *operand, call *syntax.CallExpr) exprKind {\n \t\t\t\t\t\tbreak\n \t\t\t\t\t}\n \t\t\t\t}\n+\t\t\t\tif call.HasDots {\n+\t\t\t\t\tcheck.errorf(call.ArgList[0], \"invalid use of ... in type conver... | 2020-12-10T19:30:18 |
nodejs/node | e65a6e81ef5e8c0afae4ffec852b662732114adb | 8e6e1c9dcc83843aa17225b14ef91b92f337aebb | assert: stricter ifError
This makes `assert.ifError` stricter by only accepting `null` and
`undefined` from now on. Before any truthy value was accepted.
PR-URL: https://github.com/nodejs/node/pull/18247
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "doc/api/assert.md",
"patch": "@@ -474,21 +474,23 @@ changes:\n pr-url: https://github.com/nodejs/node/pull/18247\n description: Instead of throwing the original error it is now wrapped into\n a AssertionError that contains the full stack trace.\n+ - version: REPLACEME\n+... | 2018-01-23T13:07:18 |
ollama/ollama | b85520bfb9c9dd92056ecded55bf8c4cfd28088f | d88972ea48cfec20ebba6e0a86a825fca3ecb193 | logs: explain client aborts better (#7783)
Users get confused by "Failed to acquire semaphore" error="context canceled"
messages in the logs, which are actually clients giving up. While there could be
a legitimate hang bug in the system, sometimes this is just short client timeouts
with an overloaded system, so th... | [
{
"path": "llama/runner/runner.go",
"patch": "@@ -651,7 +651,11 @@ func (s *Server) completion(w http.ResponseWriter, r *http.Request) {\n \n \t// Ensure that a place to put the sequence is available\n \tif err := s.seqsSem.Acquire(r.Context(), 1); err != nil {\n-\t\tslog.Error(\"Failed to acquire semaphore... | 2024-11-22T16:05:32 |
huggingface/transformers | 52e22cbf677f58a1cca347117e8974fa50c9f2d7 | e6d9f39dd7551d1a95be081cbb59f94c54c3dbf6 | Fix for slow the bug tokenizer adding spaces to single id decodes (#32564)
* _decode signature change and quick return
* added bunch of decoding tests
* signature match and return
* added tests for decoding
* merged decoding test
* more tests for special tokens
* cosmetics
* fixed param
* ruffe... | [
{
"path": "src/transformers/tokenization_utils.py",
"patch": "@@ -1077,7 +1077,7 @@ def convert_tokens_to_string(self, tokens: List[str]) -> str:\n \n def _decode(\n self,\n- token_ids: List[int],\n+ token_ids: Union[int, List[int]],\n skip_special_tokens: bool = False,\n ... | 2024-09-18T10:32:02 |
golang/go | 5aca6e78570c4a4826e500613b1bc054bc95142a | df58f3368e62fbc290b419f0b33b97a984b9ca19 | [dev.typeparams] test: finish triaging all outstanding failing tests
Also: Adjusted error patterns for passing test that have different
error messages.
Change-Id: I216294b4c4855aa93da22cdc3c0b3303e54a8420
Reviewed-on: https://go-review.googlesource.com/c/go/+/277994
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot... | [
{
"path": "test/convlit.go",
"patch": "@@ -17,8 +17,8 @@ var x2 string = string(1)\n var x3 = int(1.5) // ERROR \"convert|truncate\"\n var x4 int = int(1.5) // ERROR \"convert|truncate\"\n var x5 = \"a\" + string(1)\n-var x6 = int(1e100) // ERROR \"overflow\"\n-var x7 = float32(1e1000) // ERROR \"o... | 2020-12-10T04:14:07 |
ollama/ollama | c4b34f2a2af5ce3fe7b05ae2d3334e155029ce6b | c3ff9164317940ec09534fd2370ec604a0de32ad | runner.go: Truncate inputs that exceed context rather than shifting
Previous versions of the runner would truncate inputs to the context
window before beginning processing. The main processing loop relied
on this behavior if the context needed to be shifted later (due to
token generation). If truncation did not occur ... | [
{
"path": "llama/runner/runner.go",
"patch": "@@ -122,7 +122,10 @@ func (s *Server) NewSequence(prompt string, images []ImageData, params NewSequen\n \tparams.numKeep = min(params.numKeep, s.cache.numCtx-1)\n \n \tif len(inputs) > s.cache.numCtx {\n-\t\tslog.Warn(\"input exceeds context length\", \"prompt\"... | 2024-11-20T18:39:56 |
nodejs/node | 8e6e1c9dcc83843aa17225b14ef91b92f337aebb | 72bb4445c64af98f3e481c11320afbfb995f010c | assert: use destructuring for errors
Destructure the necessary Error classes from internal/errors.
This improves the readability of the error creation.
PR-URL: https://github.com/nodejs/node/pull/18247
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/assert.js",
"patch": "@@ -25,7 +25,7 @@ const {\n isDeepEqual,\n isDeepStrictEqual\n } = require('internal/util/comparisons');\n-const errors = require('internal/errors');\n+const { AssertionError, TypeError } = require('internal/errors');\n const { openSync, closeSync, readSync } = requi... | 2018-01-22T23:11:22 |
huggingface/transformers | 454a0f2efdf9f0d94b77ef08efabbdc6418c868d | 6c051b4e1ebd4464e6cb50bc320fd7a873151faf | fix patch_attention_mask incorrect setting which leads to the differe… (#33499)
* fix patch_attention_mask incorrect setting which leads to the difference in the generated text if batch > 1
Signed-off-by: Wang, Yi <yi.a.wang@intel.com>
* fix format
Signed-off-by: Wang, Yi <yi.a.wang@intel.com>
* [run_slow]... | [
{
"path": "src/transformers/models/idefics2/modeling_idefics2.py",
"patch": "@@ -1388,7 +1388,7 @@ def forward(\n patch_size = self.config.vision_config.patch_size\n patches_subgrid = pixel_attention_mask.unfold(dimension=1, size=patch_size, step=patch_size)\n patches_sub... | 2024-09-17T21:24:42 |
golang/go | df58f3368e62fbc290b419f0b33b97a984b9ca19 | 91803a2df334ddfc9377ef4d07cc5f0eff51b6a2 | [dev.typeparams] cmd/compile/internal/types2: don't report two errors for bad strings
If the parser reported an error for (string) literals, don't report
a second error during type checking.
This should have a couple of tests but they are tricky to arrange
with the current testing framework as the ERROR comment canno... | [
{
"path": "src/cmd/compile/internal/types2/expr.go",
"patch": "@@ -1188,7 +1188,7 @@ func (check *Checker) exprInternal(x *operand, e syntax.Expr, hint Type) exprKin\n \n \tcase *syntax.BasicLit:\n \t\tif e.Bad {\n-\t\t\tgoto Error // error was reported before\n+\t\t\tgoto Error // error reported during par... | 2020-12-10T03:15:15 |
ollama/ollama | c3ff9164317940ec09534fd2370ec604a0de32ad | 3fc1dc0e6f32a22063db22a4dc72a75f8411a663 | runner.go: Don't add inputs to cache view until actually processed
We need to track which tokens are in the cache ourselves. We currently
add tokens to the cache tracker when we add them to batch but they are
not actually in the cache until we call Decode. This can cause
confusion when we are shifting the cache.
Avoi... | [
{
"path": "llama/runner/cache.go",
"patch": "@@ -203,26 +203,34 @@ func countCommonPrefix(a []input, b []input) int {\n // the newest half into that space (saving numKeep inputs at the beginning).\n //\n // Assumes that at least 1 entry can be freed up by shifting (i.e. numKeep < numCtx)\n-func (c *InputCac... | 2024-11-19T18:51:47 |
nodejs/node | 72bb4445c64af98f3e481c11320afbfb995f010c | 7a23fc076045e767b922343c226d8492cc98cb93 | assert: wrap original error in ifError
It is hard to know where ifError is actually triggered due to the
original error being thrown.
This changes it by wrapping the original error in a AssertionError.
This has the positive effect of also making clear that it is indeed
a assertion function that triggered that error.
... | [
{
"path": "doc/api/assert.md",
"patch": "@@ -469,6 +469,11 @@ suppressFrame();\n ## assert.ifError(value)\n <!-- YAML\n added: v0.1.97\n+changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/18247\n+ description: Instead of throwing the original error it is now wrapped into\... | 2018-01-19T09:35:39 |
huggingface/transformers | d8500cd229c9f687c667be3e4556ffdd678aed69 | c29a8694b0bd35b773bf3fa87e0370bf840d2fe5 | Uniformize kwargs for Pixtral processor (#33521)
* add uniformized pixtral and kwargs
* update doc
* fix _validate_images_text_input_order
* nit | [
{
"path": "docs/source/en/model_doc/pixtral.md",
"patch": "@@ -24,7 +24,7 @@ The Pixtral model was released by the Mistral AI team on [Vllm](https://github.c\n Tips:\n \n - Pixtral is a multimodal model, the main contribution is the 2d ROPE on the images, and support for arbitrary image size (the images are... | 2024-09-17T18:44:27 |
vercel/next.js | 4049cd7cb5fa537f9199e77aacb7be05f3a02918 | de1bf3e471bb7e2aee80233970a5d65c8bedbbe3 | Re-add styled-jsx as a normal dependency (#39518)
This re-adds `styled-jsx` as a normal dependency for now leaving the require hook in place so that we can correctly handle mis-matching versions in the module tree.
x-ref: [slack thread](https://vercel.slack.com/archives/C02CDC2ALJH/p1660254377444709)
## Bug
- [ ] ... | [
{
"path": "packages/next/package.json",
"patch": "@@ -74,6 +74,7 @@\n \"@swc/helpers\": \"0.4.3\",\n \"caniuse-lite\": \"^1.0.30001332\",\n \"postcss\": \"8.4.14\",\n+ \"styled-jsx\": \"5.0.4\",\n \"use-sync-external-store\": \"1.2.0\"\n },\n \"peerDependencies\": {\n@@ -257,7 +258,6 ... | 2022-08-11T23:54:26 |
rust-lang/rust | 2139a783b0c08f6d2718d88112bc50988006daab | 599dc823c9d7049e8ee9eb80203a24cac41cb124 | Fix bug in `get_git_modified_files`
It was ignoring files without extension. | [
{
"path": "src/build_helper/src/git.rs",
"patch": "@@ -186,7 +186,10 @@ pub fn get_git_modified_files(\n let (status, name) = f.trim().split_once(char::is_whitespace).unwrap();\n if status == \"D\" {\n None\n- } else if Path::new(name).extension().map_or(fa... | 2025-03-16T12:26:30 |
golang/go | dea6d94a4453dfcadbfcaf923100aa1e1d3e469a | 2f5b1a397454b76ad71e7eda5d574c304a416372 | math/big: add test for recursive division panic
The vulnerability that allowed this panic is
CVE-2020-28362 and has been fixed in a security
release, per #42552.
Change-Id: I774bcda2cc83cdd5a273d21c8d9f4b53fa17c88f
Reviewed-on: https://go-review.googlesource.com/c/go/+/277959
Run-TryBot: Katie Hockman <katie@golang.o... | [
{
"path": "src/math/big/nat_test.go",
"patch": "@@ -804,3 +804,13 @@ func TestIssue37499(t *testing.T) {\n \t\tt.Fatalf(\"incorrect quotient: %s\", s)\n \t}\n }\n+\n+// TestIssue42552 triggers an edge case of recursive division\n+// where the first division loop is never entered, and correcting\n+// the rem... | 2020-11-24T20:37:25 |
ollama/ollama | 3fc1dc0e6f32a22063db22a4dc72a75f8411a663 | 7121dfa309c297f2dc1e9f6f69ab5437a4f1be66 | runner.go: Hard fail on errors rather than potentially infinite looping
We try to recover from errors by dropping the tokens that caused the
problem and re-trying. However, dropping the tokens is not correct
and continuing often leads to infinite loops. To avoid, this we
end the sequence if such a condition is detecte... | [
{
"path": "llama/runner/runner.go",
"patch": "@@ -324,7 +324,11 @@ func (s *Server) run(ctx context.Context) {\n \t\tcase <-ctx.Done():\n \t\t\treturn\n \t\tdefault:\n-\t\t\ts.processBatch(tokenBatch, embedBatch)\n+\t\t\terr := s.processBatch(tokenBatch, embedBatch)\n+\t\t\tif err != nil {\n+\t\t\t\tpanic(e... | 2024-11-19T18:55:29 |
nodejs/node | 7a23fc076045e767b922343c226d8492cc98cb93 | 373e893ee0f09108289f623f73213907b8b05889 | buffer: coerce offset to integer
The offset was formerly coerced to a integer and this reimplements
that.
PR-URL: https://github.com/nodejs/node/pull/18215
Fixes: https://github.com/nodejs/node/issues/18208
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: R... | [
{
"path": "lib/buffer.js",
"patch": "@@ -1272,25 +1272,29 @@ function toFloat(x) {\n \n \n Buffer.prototype.readDoubleBE = function(offset, noAssert) {\n+ offset = offset >>> 0;\n const x1 = this.readUInt32BE(offset + 0, noAssert);\n const x0 = this.readUInt32BE(offset + 4, noAssert);\n return toDoub... | 2018-01-17T22:08:52 |
huggingface/transformers | c29a8694b0bd35b773bf3fa87e0370bf840d2fe5 | 46c27577b3ec9ccab289368dde36741eafd84c75 | Fix missing `sequences_scores` in the Whisper beam search output (#32970)
* added sequences_scores to the output
* added beam_indices to output
* added test to check for beam_indices, sequences_scores and their shape
* removed redundant whitespaces
* make fixup | [
{
"path": "src/transformers/models/whisper/generation_whisper.py",
"patch": "@@ -1000,21 +1000,23 @@ def _stack_split_outputs(self, seek_outputs, model_output_type, device, kwargs):\n # Stack back seek_outputs tensors after splitting them with the split_by_batch_index method\n outputs = {}\n... | 2024-09-17T18:36:11 |
rust-lang/rust | dd92647f33e153b7a1feed1afbcd2c658c32b334 | 9932e5e6694d9bd02f49418a765a59467e940d7d | Use `Option<Ident>` for lowered param names.
Parameter patterns are lowered to an `Ident` by
`lower_fn_params_to_names`, which is used when lowering bare function
types, trait methods, and foreign functions. Currently, there are two
exceptional cases where the lowered param can become an empty `Ident`.
- If the incom... | [
{
"path": "clippy_lints/src/functions/renamed_function_params.rs",
"patch": "@@ -5,7 +5,7 @@ use rustc_hir::hir_id::OwnerId;\n use rustc_hir::{Impl, ImplItem, ImplItemKind, ImplItemRef, ItemKind, Node, TraitRef};\n use rustc_lint::LateContext;\n use rustc_span::Span;\n-use rustc_span::symbol::{Ident, Symbol... | 2025-03-13T22:03:23 |
vercel/next.js | 249f429f5273fcd281b6a20bea9b2280a2efdcf8 | db9040b0b85b6e111543de516961e0249faaf0e8 | fix(examples/with-wdyr): example config to support SWC (#39465) | [
{
"path": "examples/with-why-did-you-render/README.md",
"patch": "@@ -1,60 +1,21 @@\n # Why did you render\n \n-This is a simple example of how to use [why-did-you-render](https://github.com/welldone-software/why-did-you-render).\n+This is a simple example of how to use [why-did-you-render](https://github.c... | 2022-08-11T21:44:13 |
golang/go | 2f5b1a397454b76ad71e7eda5d574c304a416372 | c81343ce3aa1b8f1b2539a3d391f628f69a0a490 | test: make a race detector test robust to timing variations
The `external_cgo_thread` test in `runtime/race/output_test.go` was
producing intermittent failures. The test was performing a sleep,
which may not be enough depending on how long it takes to setup the
callBack goroutine.
Added a synchronization to make sur... | [
{
"path": "src/runtime/race/output_test.go",
"patch": "@@ -284,32 +284,31 @@ static inline void startThread(cb* c) {\n */\n import \"C\"\n \n-import \"time\"\n-\n+var done chan bool\n var racy int\n \n //export goCallback\n func goCallback() {\n \tracy++\n+\tdone <- true\n }\n \n func main() {\n+\tdone = ma... | 2020-12-09T22:56:50 |
ollama/ollama | 2f0a8c8778c9258dbe44c2d04b85fac82e3bf7b9 | bfd30f428682cca87f8dcd953fdd2af754a19f89 | docs: fix minor typo in import.md (#7764)
change 'containg' to 'containing' | [
{
"path": "docs/import.md",
"patch": "@@ -81,7 +81,7 @@ If you have a GGUF based model or adapter it is possible to import it into Ollam\n * converting a Safetensors adapter with the `convert_lora_to_gguf.py` from Llama.cpp; or\n * downloading a model or adapter from a place such as HuggingFace\n \n-To ... | 2024-11-20T17:57:32 |
huggingface/transformers | 46c27577b3ec9ccab289368dde36741eafd84c75 | 3476c19e91a882fab8c76970a8798890a3f0f299 | fix to jamba config, asserting attention and expert offset (#33316)
* fix to jamba config, asserting attention and expert offset
* fix foramtting
* fix foramtting
* fix foramtting
* changed to error raise instead of assertion, added unittests
* fix
* changed t_ to property_
* changed t_ to propert... | [
{
"path": "src/transformers/models/jamba/configuration_jamba.py",
"patch": "@@ -193,6 +193,9 @@ def __init__(\n self.attn_layer_period = attn_layer_period\n self.attn_layer_offset = attn_layer_offset\n \n+ self._check_supported_offset(\"attention\", self.attn_layer_period, self.attn_l... | 2024-09-17T18:29:27 |
nodejs/node | 2d9e87695e16d80ecffc8eab50e9fe1dfa7005f5 | cb88f35a733c3d9efab5f7b18ca84047b93e7ab6 | assert: improve error messages
From now on all error messages produced by `assert` in strict mode
will produce a error diff.
PR-URL: https://github.com/nodejs/node/pull/17615
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com> | [
{
"path": "doc/api/assert.md",
"patch": "@@ -17,6 +17,9 @@ For more information about the used equality comparisons see\n <!-- YAML\n added: REPLACEME\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/REPLACEME\n+ description: Added error diffs to the strict mode\n -... | 2017-12-09T21:38:20 |
rust-lang/rust | f27cab806e5506fe27b71211af0ee3e9fa2ffdeb | 75530e9f72a1990ed2305e16fd51d02f47048f12 | Use `Option<Ident>` for lowered param names.
Parameter patterns are lowered to an `Ident` by
`lower_fn_params_to_names`, which is used when lowering bare function
types, trait methods, and foreign functions. Currently, there are two
exceptional cases where the lowered param can become an empty `Ident`.
- If the incom... | [
{
"path": "compiler/rustc_ast_lowering/src/lib.rs",
"patch": "@@ -1513,16 +1513,22 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {\n }))\n }\n \n- fn lower_fn_params_to_names(&mut self, decl: &FnDecl) -> &'hir [Ident] {\n+ fn lower_fn_params_to_names(&mut self, decl: &FnDecl) -> &'hir [Optio... | 2025-03-13T22:03:23 |
ollama/ollama | 909a88c5c0242d2dbaeb4b07ff643a9b6b6bada0 | f602ab4de44756ebffa74a1e3c6e6bd0f3febab3 | Improve crash reporting (#7728)
Many model crashes are masked behind "An existing connection was forcibly closed by the remote host"
This captures that common error message and wires in any detected errors from the log.
This also adds the deepseek context shift error to the known errors we capture. | [
{
"path": "llm/server.go",
"patch": "@@ -838,13 +838,15 @@ func (s *llmServer) Completion(ctx context.Context, req CompletionRequest, fn fu\n \t}\n \n \tif err := scanner.Err(); err != nil {\n-\t\tif strings.Contains(err.Error(), \"unexpected EOF\") {\n+\t\tif strings.Contains(err.Error(), \"unexpected EOF\... | 2024-11-20T00:26:57 |
huggingface/transformers | ac5a0556f14dec503b064d5802da1092e0b558ea | 74026b473e8748706a7a86fd20d6a275306d8ffb | Update chameleon.md — fix runtime type error (#33494)
Update chameleon.md
Fix error
RuntimeError: Input type (float) and bias type (c10::BFloat16) should be the same | [
{
"path": "docs/source/en/model_doc/chameleon.md",
"patch": "@@ -78,7 +78,7 @@ url = 'http://images.cocodataset.org/val2017/000000039769.jpg'\n image = Image.open(requests.get(url, stream=True).raw)\n prompt = \"What do you see in this image?<image>\"\n \n-inputs = processor(prompt, image, return_tensors=\"... | 2024-09-17T11:32:49 |
vercel/next.js | db9040b0b85b6e111543de516961e0249faaf0e8 | d510758b523e583f68b20cb5531310eec49f8fd3 | Enable @typescript-eslint/no-use-before-define variables,enums,typedefs for core files (#39511)
* Enable @typescript-eslint/no-use-before-define typedefs and enums
* Enable variables
* Move in client/index
* Revert "Move in client/index"
This reverts commit 592d70cf3d9cd39e741905faf9229f664c9b4ebd.
* M... | [
{
"path": ".eslintrc.json",
"patch": "@@ -69,10 +69,10 @@\n \"warn\",\n {\n \"functions\": false,\n- \"classes\": false,\n- \"variables\": false,\n- \"enums\": false,\n- \"typedefs\": false\n+ \"classes\": true,\n+ ... | 2022-08-11T21:32:52 |
nodejs/node | 62880503dd84c8850afa065bb61369433351bf24 | 0e7050ec86c1fb3ab5a3fb6c4500cfa42442ae0d | doc: document the collaborator nomination process
PR-URL: https://github.com/nodejs/node/pull/18268
Fixes: https://github.com/nodejs/node/issues/18090
Refs: https://github.com/nodejs/TSC/pull/472
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
Reviewed-By: Gireesh Punathil <g... | [
{
"path": "GOVERNANCE.md",
"patch": "@@ -4,27 +4,30 @@ The Node.js project is governed by its Collaborators, including a Technical\n Steering Committee (TSC) which is responsible for high-level guidance of the\n project.\n \n+<!-- TOC -->\n+\n+- [Collaborators](#collaborators)\n+ - [Collaborator Activities... | 2018-01-20T13:09:17 |
rust-lang/rust | 027423d2c460966eede3ad239b32392f2cf4de90 | 75530e9f72a1990ed2305e16fd51d02f47048f12 | Fix: add ohos target notes | [
{
"path": "src/doc/rustc/src/platform-support.md",
"patch": "@@ -89,11 +89,11 @@ target | notes\n -------|-------\n `aarch64-pc-windows-msvc` | ARM64 Windows MSVC\n `aarch64-unknown-linux-musl` | ARM64 Linux with musl 1.2.3\n-[`aarch64-unknown-linux-ohos`](platform-support/openharmony.md) | ✓ | ARM64 OpenHa... | 2025-03-19T09:23:34 |
huggingface/transformers | 74026b473e8748706a7a86fd20d6a275306d8ffb | 642256de7176cbc83dfec12c43664e8f21ce2912 | idefics2 enable_input_require_grads not aligned with disable_input_re… (#33194)
* idefics2 enable_input_require_grads not aligned with disable_input_require_grads
make peft+idefics2 checkpoints disable fail
Signed-off-by: Wang, Yi <yi.a.wang@intel.com>
* split test case
Signed-off-by: Wang, Yi <yi.a.wang@int... | [
{
"path": "src/transformers/models/idefics2/modeling_idefics2.py",
"patch": "@@ -1256,6 +1256,10 @@ def make_inputs_require_grads(module, input, output):\n make_inputs_require_grads\n )\n \n+ def disable_input_require_grads(self):\n+ self._text_require_grads_hook.remove()\n+ ... | 2024-09-17T09:39:34 |
ollama/ollama | f602ab4de44756ebffa74a1e3c6e6bd0f3febab3 | 807ace5b1f4fc9de7347297b3c8a695c566d9fd9 | expose underlying error on embedding failure (#7743)
Avoid a round-trip asking users for logs to see what went wrong. | [
{
"path": "server/routes.go",
"patch": "@@ -507,7 +507,7 @@ func (s *Server) EmbeddingsHandler(c *gin.Context) {\n \tembedding, err := r.Embedding(c.Request.Context(), req.Prompt)\n \tif err != nil {\n \t\tslog.Info(fmt.Sprintf(\"embedding generation failed: %v\", err))\n-\t\tc.JSON(http.StatusInternalServe... | 2024-11-20T00:26:05 |
vercel/next.js | d510758b523e583f68b20cb5531310eec49f8fd3 | 13a5eb22288c9ca69589ee121fa6c4eaa3d3d497 | fix: ensure hidden iframe apps render in development mode (#39514) | [
{
"path": "packages/next/client/dev/fouc.ts",
"patch": "@@ -1,12 +1,24 @@\n-// This wrapper function is used to avoid raising a Trusted Types violation.\n-const safeSetTimeout = (callback: () => void) => setTimeout(callback)\n+// This wrapper function is used to safely select the best available function\n+/... | 2022-08-11T21:22:19 |
nodejs/node | 0e7050ec86c1fb3ab5a3fb6c4500cfa42442ae0d | a083786c7733b5828102661a04a86884c934950a | doc: improve the instructions of onboarding PR
PR-URL: https://github.com/nodejs/node/pull/18268
Fixes: https://github.com/nodejs/node/issues/18090
Refs: https://github.com/nodejs/TSC/pull/472
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
Reviewed-By: Gireesh Punathil <gpun... | [
{
"path": "doc/onboarding.md",
"patch": "@@ -199,12 +199,13 @@ onboarding session.\n * Optionally, include your personal pronouns.\n * Label your pull request with the `doc` subsystem label.\n * Run CI on your PR.\n-* After one or two approvals, land the PR.\n+* After one or two approvals, land the PR (PRs ... | 2018-01-20T13:38:24 |
huggingface/transformers | bcf8946f0acb578c534b1d33d534450d1fc88507 | 18e1a9c7195543ec7b7314fcd995bc7aad559e66 | Fix number of patch check for different vision feature select strategy (#32494)
* Fix number of patch check for different vision feature select strategy
* add test
---------
Co-authored-by: raushan <raushan@huggingface.co> | [
{
"path": "src/transformers/models/llava_next/modeling_llava_next.py",
"patch": "@@ -645,7 +645,7 @@ def _merge_input_ids_with_image_features(\n \n return final_embedding, final_attention_mask, position_ids, final_labels, final_input_ids\n \n- def pack_image_features(self, image_features, image_s... | 2024-09-17T07:33:07 |
ollama/ollama | 807ace5b1f4fc9de7347297b3c8a695c566d9fd9 | 4b8a2e341a9b4e713180b483f42316665c5faea3 | fix(runner): Set logits to 0 if false on Batch.Add
https://github.com/ollama/ollama/issues/7656
Branch: Granite3StoppingBug-7656
Signed-off-by: Gabe Goodhart <ghart@us.ibm.com> | [
{
"path": "llama/llama.go",
"patch": "@@ -384,6 +384,8 @@ func (b *Batch) Add(token int, embed []float32, pos int, logits bool, seqIds ...\n \n \tif logits {\n \t\tunsafe.Slice(b.c.logits, b.allocSize())[b.c.n_tokens] = 1\n+\t} else {\n+\t\tunsafe.Slice(b.c.logits, b.allocSize())[b.c.n_tokens] = 0\n \t}\n \... | 2024-11-19T22:58:14 |
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.