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 | a025723e0191e3526bf1e83b066c2f1c78730134 | 0993fbe5b213d0fe746c3162bcda85f6c66bb552 | test: fix flaky test-process-fatal-execption-tick
Use common.busyLoop() which happens to make the test robust.
PR-URL: https://github.com/nodejs/node/pull/18461
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> | [
{
"path": "test/parallel/test-process-fatal-exception-tick.js",
"patch": "@@ -18,7 +18,6 @@ setImmediate(() => {\n stage++;\n process.nextTick(() => assert.strictEqual(stage, 2));\n });\n-const now = Date.now();\n setTimeout(() => setImmediate(() => stage++), 1);\n-while (now + 10 >= Date.now());\n+comm... | 2018-01-30T18:47:25 |
golang/go | a997543292df533f5951cd8fda39692a44077151 | 578fbbe3aa5cada6e32b686d71a5832d6ca846dc | [dev.regabi] cmd/compile: fix potential closure waste in Order
I haven't measured this, but it's the only use of EditChildren
where we aren't careful to allocate a closure once and use it
for the whole recursion. This one is allocating a closure at
every level of the recursion, and it was an oversight that it
wasn't c... | [
{
"path": "src/cmd/compile/internal/gc/order.go",
"patch": "@@ -47,6 +47,7 @@ type Order struct {\n \tout []ir.Node // list of generated statements\n \ttemp []*ir.Name // stack of temporary variables\n \tfree map[string][]*ir.Name // free list of unused temporaries, by type.LongStrin... | 2020-12-07T21:07:38 |
huggingface/transformers | 11c27dd331151e7d2ac20016cce11d9d7c4b1756 | e15687fffe5c9d20598a19aeab721ae0a7580f8a | Enable BNB multi-backend support (#31098)
* enable cpu bnb path
* fix style
* fix code style
* fix 4 bit path
* Update src/transformers/utils/import_utils.py
Co-authored-by: Aarni Koskela <akx@iki.fi>
* add multi backend refactor tests
* fix style
* tweak 4bit quantizer + fix corresponding test... | [
{
"path": "docs/source/en/llm_tutorial_optimization.md",
"patch": "@@ -181,7 +181,7 @@ for every matrix multiplication. Dequantization and re-quantization is performed\n \n Therefore, inference time is often **not** reduced when using quantized weights, but rather increases.\n Enough theory, let's give it a... | 2024-09-24T09:40:56 |
ollama/ollama | a041b4df7cd8045b1410cdd6988c660427de12ad | 2539f2dbf99ec1b8f44ece884bf2c8678fca3127 | docs: fix path to examples (#8438) | [
{
"path": "docs/README.md",
"patch": "@@ -2,7 +2,7 @@\n \n ### Getting Started\n * [Quickstart](../README.md#quickstart)\n-* [Examples](../examples)\n+* [Examples](./examples.md)\n * [Importing models](./import.md)\n * [Linux Documentation](./linux.md)\n * [Windows Documentation](./windows.md)",
"additi... | 2025-01-15T19:49:12 |
vercel/next.js | 53604404130bfc2c9ad9e49164741b6de8a4189b | 78aefee1c643ed43001b6dbacca73a2bf22aca2a | fix(#39609): warns about suspense and ssr (#39676)
Currently, `next/dynamic` will opt-in to `React.lazy` if `{ suspense: true }` is used. And React 18 will always resolve the `Suspense` boundary on the server-side, effectively ignoring the `ssr` option.
The PR fixes #39609 by showing a warning message when `{ suspens... | [
{
"path": "errors/invalid-dynamic-suspense.md",
"patch": "@@ -2,11 +2,29 @@\n \n #### Why This Error Occurred\n \n-`<Suspense>` is not allowed under legacy render mode when using React older than v18.\n+- You are using `{ suspense: true }` with React version older than 18.\n+- You are using `{ suspense: tru... | 2022-08-18T13:53:23 |
golang/go | 578fbbe3aa5cada6e32b686d71a5832d6ca846dc | 5ae70b85c6c40adb4e785bf988799df9c0a57e16 | [dev.regabi] cmd/compile: rewrite some generic ir.Nod calls
An automated rewrite is going to remove the bulk of the calls
to ir.Nod and friends. This CL takes care of the ones that don't
have fixed opcodes and so aren't amenable to automatic rewriting.
Passes buildall w/ toolstash -cmp.
Replay of CL 275886, lost to ... | [
{
"path": "src/cmd/compile/internal/gc/iimport.go",
"patch": "@@ -894,10 +894,10 @@ func (r *importReader) node() ir.Node {\n \t// \tunreachable - mapped to cases below by exporter\n \n \tcase ir.OINDEX:\n-\t\treturn ir.NodAt(r.pos(), op, r.expr(), r.expr())\n+\t\treturn ir.NodAt(r.pos(), ir.OINDEX, r.expr(... | 2020-12-07T19:58:26 |
huggingface/transformers | be9cf070ee2cb6a9f0d162e5be32d9d68b9df3af | 214db9e660f99ee2d7ed63c5784b829bc59caf0d | Fix Llava conversion for LlavaQwen2ForCausalLM with Clip vision tower (#33613)
fix llavaqwen2 model conversion | [
{
"path": "src/transformers/models/llava/convert_llava_weights_to_hf.py",
"patch": "@@ -76,7 +76,9 @@ def load_original_state_dict(model_id):\n if \"lm_head.weight\" not in original_state_dict:\n original_state_dict[\"lm_head.weight\"] = original_state_dict[\"model.embed_tokens.weight\"].clone()... | 2024-09-23T11:07:15 |
ollama/ollama | 2539f2dbf99ec1b8f44ece884bf2c8678fca3127 | 61676fb5066fe42f4586d8f951548fcb55cd75bf | Fix absolute path names + gguf detection (#8428) | [
{
"path": "parser/expandpath_test.go",
"patch": "@@ -4,21 +4,37 @@ import (\n \t\"os\"\n \t\"os/user\"\n \t\"path/filepath\"\n+\t\"runtime\"\n \t\"testing\"\n )\n \n func TestExpandPath(t *testing.T) {\n \tmockCurrentUser := func() (*user.User, error) {\n \t\treturn &user.User{\n \t\t\tUsername: \"testuser\... | 2025-01-15T03:01:24 |
vercel/next.js | 78aefee1c643ed43001b6dbacca73a2bf22aca2a | 9c416341048a4467d8bcd147c1d5c399fa1ab17a | fix(swc/emotion): Correct the `SPACE_AROUND_COLON` regex (#39710)
## Bug
- [x] fixes #39672
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md` | [
{
"path": "packages/next-swc/crates/emotion/src/lib.rs",
"patch": "@@ -82,7 +82,7 @@ static EMOTION_OFFICIAL_LIBRARIES: Lazy<Vec<EmotionModuleConfig>> = Lazy::new(||\n });\n \n static SPACE_AROUND_COLON: Lazy<Regex> =\n- Lazy::new(|| Regex::new(r\"\\s*(?P<s>[:|;|,|\\{,\\}])\\s*\").unwrap());\n+ Lazy::... | 2022-08-18T10:02:35 |
golang/go | 5a4db102b21489c39b3a654e06cc25155432a38a | b0f01e17f8f8165b1ae273282eec00d78105e2fe | html/template: avoid race when escaping updates template
Fixes #39807
Change-Id: Icf384f800e2541bc753507daa3a9bc7e5d1c3f79
Reviewed-on: https://go-review.googlesource.com/c/go/+/274450
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Rev... | [
{
"path": "src/html/template/exec_test.go",
"patch": "@@ -14,6 +14,7 @@ import (\n \t\"io\"\n \t\"reflect\"\n \t\"strings\"\n+\t\"sync\"\n \t\"testing\"\n \t\"text/template\"\n )\n@@ -1706,3 +1707,72 @@ func TestIssue31810(t *testing.T) {\n \t\tt.Errorf(\"%s got %q, expected %q\", textCall, b.String(), \"re... | 2020-12-03T03:18:46 |
huggingface/transformers | 214db9e660f99ee2d7ed63c5784b829bc59caf0d | 6d02968d5189414cc285d3239feec6c964a9afad | add back self.max_position_embeddings = config.max_position_embeddings (#33550)
* add back self.max_position_embeddings = config.max_position_embeddings
* fix-copies | [
{
"path": "src/transformers/models/qwen2/modeling_qwen2.py",
"patch": "@@ -310,6 +310,7 @@ def __init__(self, config: Qwen2Config, layer_idx: Optional[int] = None):\n self.head_dim = self.hidden_size // self.num_heads\n self.num_key_value_heads = config.num_key_value_heads\n self.num... | 2024-09-23T10:54:58 |
ollama/ollama | 8bccae4f92bced8222efc04f0b25573df450bb89 | 6ae2adc1af9199dd348c30070c9b2e26699a5169 | show a more descriptive error in the client if it is newer than the server (#8351) | [
{
"path": "cmd/cmd.go",
"patch": "@@ -162,6 +162,9 @@ func CreateHandler(cmd *cobra.Command, args []string) error {\n \t}\n \n \tif err := client.Create(cmd.Context(), req, fn); err != nil {\n+\t\tif strings.Contains(err.Error(), \"path or Modelfile are required\") {\n+\t\t\treturn fmt.Errorf(\"the ollama s... | 2025-01-09T18:12:30 |
golang/go | b0f01e17f8f8165b1ae273282eec00d78105e2fe | 5abda2618b6cda692ae9b04a9a9fc706888a0e71 | go/types: report error for invalid (but empty) expr switch
This is a port of CL 278132 from the dev.typeparams branch. A notable
addition is a new error code, since no existing codes made sense and we
have an analogous code for type switches.
Fixes #43110
Change-Id: I22b3f9d8777063223f82785504e8b7d299bc5216
Reviewed... | [
{
"path": "src/go/types/errorcodes.go",
"patch": "@@ -1207,6 +1207,16 @@ const (\n \t// }\n \t_InvalidTypeSwitch\n \n+\t// _InvalidExprSwitch occurs when a switch expression is not comparable.\n+\t//\n+\t// Example:\n+\t// func _() {\n+\t// \tvar a struct{ _ func() }\n+\t// \tswitch a /* ERROR cannot sw... | 2020-12-16T22:19:44 |
vercel/next.js | 9c416341048a4467d8bcd147c1d5c399fa1ab17a | b24b1d8421b6ba403b7b71695fd2a0c5df3161f9 | fix next-app-loader on windows (#39657)
## Bug
- [x] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
Co-authored-by: Jiachi Liu <4800338+huozhi@users.noreply.gi... | [
{
"path": "packages/next/build/webpack/loaders/next-app-loader.ts",
"patch": "@@ -12,7 +12,7 @@ async function createTreeCodeFromPath({\n removeExt: (pathToRemoveExtensions: string) => string\n }) {\n let tree: undefined | string\n- const splittedPath = pagePath.split('/')\n+ const splittedPath = page... | 2022-08-17T17:14:03 |
huggingface/transformers | 6d02968d5189414cc285d3239feec6c964a9afad | b7c381f01176b27013a44769b9a5b9b271613f07 | handle dependency errors in check_imports (#33622)
* handle dependency errors in check_imports
* change log level to warning | [
{
"path": "src/transformers/dynamic_module_utils.py",
"patch": "@@ -183,8 +183,15 @@ def check_imports(filename: Union[str, os.PathLike]) -> List[str]:\n for imp in imports:\n try:\n importlib.import_module(imp)\n- except ImportError:\n- missing_packages.append(imp)... | 2024-09-23T10:38:52 |
nodejs/node | e56189ed58903f63a3d9d877d98b3bbcbc432710 | a1781230cd3d8de08e297946d3fbcba232f9c7e0 | doc: fix manpage warnings
Fixes: https://github.com/nodejs/node/issues/18434
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Colin Ihrig <cjih... | [
{
"path": "doc/node.1",
"patch": "@@ -37,9 +37,9 @@ node \\- Server-side JavaScript runtime\n .RI [ script.js \\ |\n .B -e\n .RI \\&\" script \\&\"\n-.R |\n+.RI |\n .B -\n-.R ]\n+.RI ]\n .B [--]\n .RI [ arguments ]\n .br",
"additions": 2,
"deletions": 2,
"language": "Unknown"
}
] | 2018-01-29T20:28:48 |
ollama/ollama | 6ae2adc1af9199dd348c30070c9b2e26699a5169 | 1deafd825449008ddb2c0b29469d1c56377dcadb | openai: accept additional headers to fix CORS errors (#8343) | [
{
"path": "server/routes.go",
"patch": "@@ -1131,7 +1131,7 @@ func (s *Server) GenerateRoutes() http.Handler {\n \tconfig.AllowWildcard = true\n \tconfig.AllowBrowserExtensions = true\n \tconfig.AllowHeaders = []string{\"Authorization\", \"Content-Type\", \"User-Agent\", \"Accept\", \"X-Requested-With\"}\n-... | 2025-01-08T19:28:11 |
golang/go | 068dd0470bb796f9497d3d069c0f3208fd4dda36 | 7909d6ec284da0e6a45bdf8fc2afdbb8bbcaeec2 | [dev.typeparams] cmd/compile/internal/syntax: don't panic when providing -verify
The -verify flag is used to verify idempotent printing of syntax
trees. While syntax tree printing is not actively used at the
moment, the verification code still shouldn't panic.
Fixed the cause for the panic (after reading from a bytes... | [
{
"path": "src/cmd/compile/internal/syntax/parser_test.go",
"patch": "@@ -29,6 +29,14 @@ func TestParse(t *testing.T) {\n \tParseFile(*src_, func(err error) { t.Error(err) }, nil, AllowGenerics)\n }\n \n+func TestVerify(t *testing.T) {\n+\tast, err := ParseFile(*src_, func(err error) { t.Error(err) }, nil, ... | 2020-12-16T05:55:28 |
huggingface/transformers | b7c381f01176b27013a44769b9a5b9b271613f07 | 9eb93854b9e083a20d391add283b49fbbd1b02df | Fix DPT /Dinov2 sdpa regression on main (#33660)
* fallback to eager if output attentions.
* fix copies | [
{
"path": "src/transformers/models/dinov2/modeling_dinov2.py",
"patch": "@@ -231,7 +231,6 @@ def forward(\n return outputs\n \n \n-# Copied from transformers.models.vit.modeling_vit.ViTSdpaSelfAttention with ViT->Dinov2\n class Dinov2SdpaSelfAttention(Dinov2SelfAttention):\n def __init__(self, c... | 2024-09-23T09:49:16 |
vercel/next.js | c79b67ccedda1ae6fd9d05cfccf1d2842b94f43f | d4a98a15f7498ed93b4a9ec548e3a0f5c3849956 | Improved server CSS handling (#39664)
Upgrade experimental React, and render link tags directly in the tree during development. The client bundle won't import CSS anymore, and server CSS imports will be transpiled into no-op strings just for HMR to use.
## Follow Ups
- [ ] Flash of unstyled elements when reloading st... | [
{
"path": "package.json",
"patch": "@@ -177,8 +177,8 @@\n \"react-17\": \"npm:react@17.0.2\",\n \"react-dom\": \"18.2.0\",\n \"react-dom-17\": \"npm:react-dom@17.0.2\",\n- \"react-dom-exp\": \"npm:react-dom@0.0.0-experimental-4cd788aef-20220630\",\n- \"react-exp\": \"npm:react@0.0.0-experi... | 2022-08-17T10:56:52 |
nodejs/node | 6790ba9ed1d467e2295ae3779aaaf973bd04fca0 | 07712d1eb8f02d159edb4f55ed5976af7f3a82f1 | tools: fix icu readme lint error
PR-URL: https://github.com/nodejs/node/pull/18445
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> | [
{
"path": "tools/icu/README.md",
"patch": "@@ -24,7 +24,7 @@ make\n ```\n \n > _Note_ in theory, the equivalent `vcbuild.bat` commands should work also,\n-but the commands below are makefile-centric.\n+> but the commands below are makefile-centric.\n \n - If there are ICU version-specific changes needed, yo... | 2018-01-30T01:08:21 |
ollama/ollama | cdf3a181dcdb42ba72d9162c4f3461f218c33d5f | 3919f4ba3d0c40f50b4b89474e3306a900a15eed | Add CUSTOM_CPU_FLAGS to Dockerfile. (#8284)
* Add CUSTOM_CPU_FLAGS.
* fix golangci-lint error.
---------
Co-authored-by: Richard Lyons <rick@frob.com.au> | [
{
"path": "Dockerfile",
"patch": "@@ -67,6 +67,7 @@ ARG OLLAMA_SKIP_CUDA_GENERATE\n ARG OLLAMA_SKIP_ROCM_GENERATE\n ARG OLLAMA_FAST_BUILD\n ARG VERSION\n+ARG CUSTOM_CPU_FLAGS\n RUN --mount=type=cache,target=/root/.ccache \\\n if grep \"^flags\" /proc/cpuinfo|grep avx>/dev/null; then \\\n make -j... | 2025-01-06T17:17:19 |
huggingface/transformers | 78b2929c0554b79e0489b451ce4ece14d265ead2 | e71bf70e33d501810951f353f1734cb5be74b32a | Sdpa dino v2 (#33403)
* add sdpa to dinov2
* fixup
* add dinov2 to sdpa doc
* update doc order
* [run-slow] dinov2
* common to eager
* [run-slow] dinov2
* update attn implementation in common
* update test_modeling_dinov2 to have mask_ration, num_masks and mask_length similar to vit
* [run-s... | [
{
"path": "docs/source/en/perf_infer_gpu_one.md",
"patch": "@@ -217,6 +217,7 @@ For now, Transformers supports SDPA inference and training for the following arc\n * [data2vec_audio](https://huggingface.co/docs/transformers/main/en/model_doc/data2vec#transformers.Data2VecAudioModel)\n * [Dbrx](https://huggin... | 2024-09-21T00:58:00 |
golang/go | 7909d6ec284da0e6a45bdf8fc2afdbb8bbcaeec2 | 3b5918c757eb32b4a05a0b4ba4bbab001175ebf0 | [dev.typeparams] cmd/compile/internal/syntax: type parameters must always be named
Report an error otherwise.
Change-Id: Ia76ea03a3f26b13dd9bca49f7bd42101d1ff1f9e
Reviewed-on: https://go-review.googlesource.com/c/go/+/278475
Trust: Robert Griesemer <gri@golang.org>
Trust: Robert Findley <rfindley@google.com>
Run-TryB... | [
{
"path": "src/cmd/compile/internal/syntax/error_test.go",
"patch": "@@ -128,6 +128,10 @@ func testSyntaxErrors(t *testing.T, filename string) {\n \t}\n \tdefer f.Close()\n \n+\tvar mode Mode\n+\tif strings.HasSuffix(filename, \".go2\") {\n+\t\tmode = AllowGenerics\n+\t}\n \tParseFile(filename, func(err err... | 2020-12-16T05:07:47 |
vercel/next.js | 7fe5c883fcef99e49bffc7e4c83c4206a4ecddbf | 53f0e2b31c1478832811a6d24f391a27b8b07360 | fix(create-app): support github url has trailing slash (#39665)
## Bug
- [x] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
The PR fixes #39642, by supporting GitHub repo URLs with a trailing slash while without branch and pa... | [
{
"path": "packages/create-next-app/helpers/examples.ts",
"patch": "@@ -25,9 +25,15 @@ export async function getRepoInfo(\n const [, username, name, t, _branch, ...file] = url.pathname.split('/')\n const filePath = examplePath ? examplePath.replace(/^\\//, '') : file.join('/')\n \n- // Support repos wh... | 2022-08-17T01:59:32 |
nodejs/node | 07712d1eb8f02d159edb4f55ed5976af7f3a82f1 | 4a498335f563d241407bb3f144d328e97a74f8dd | doc: Update tools/icu/README.md
- remove TODOs: the one about defaults has been
addressed, and the one about testing is a work
item that doesn't belong in a doc.
- add some background information
Fixes: https://github.com/nodejs/node/issues/7843
PR-URL: https://github.com/nodejs/node/pull/16939
Reviewed-By: James M ... | [
{
"path": "tools/icu/README.md",
"patch": "@@ -1,4 +1,15 @@\n-# Notes about the icu directory.\n+# Notes about the `tools/icu` subdirectory\n+\n+This directory contains tools, data, and information about the [http://icu-project.org](ICU) (International Components for Unicode) integration. ICU is used to pro... | 2017-11-10T18:40:55 |
ollama/ollama | 3919f4ba3d0c40f50b4b89474e3306a900a15eed | 2d33c4e97dd010d1918c907d6805def57d79016a | llama: fix runner api example url in README.md (#8307) | [
{
"path": "llama/runner/README.md",
"patch": "@@ -17,5 +17,5 @@ curl -X POST -H \"Content-Type: application/json\" -d '{\"prompt\": \"hi\"}' http://lo\n ### Embeddings\n \n ```\n-curl -X POST -H \"Content-Type: application/json\" -d '{\"prompt\": \"turn me into an embedding\"}' http://localhost:8080/embeddi... | 2025-01-04T23:45:16 |
huggingface/transformers | e71bf70e33d501810951f353f1734cb5be74b32a | e472e077c24d6f6f080f5535f01c48f09164ec62 | Pixtral update example checkpoint (#33633)
* Update pixtral example checkpoint
* Fix typo | [
{
"path": "docs/source/en/model_doc/pixtral.md",
"patch": "@@ -39,7 +39,7 @@ Here is an example of how to run it:\n from transformers import LlavaForConditionalGeneration, AutoProcessor\n from PIL import Image\n \n-model_id = \"hf-internal-testing/pixtral-12b\"\n+model_id = \"mistral-community/pixtral-12b\"... | 2024-09-21T00:01:16 |
vercel/next.js | 946a120b8050283bb3158fc97befbbef088221ef | 4fd0de44497f9bbab27c5aad1b3e204e168da08a | fix scope activation race condition (#248)
In some cases deactivation of scopes can be faster than activation which can cause the active count to become shortly negative. | [
{
"path": "crates/turbo-tasks-memory/src/scope.rs",
"patch": "@@ -157,7 +157,7 @@ pub struct TaskScopeState {\n pub id: TaskScopeId,\n /// Number of active parents or tasks. Non-zero value means the scope is\n /// active\n- active: usize,\n+ active: isize,\n /// When not active, this l... | 2022-08-16T23:41:56 |
golang/go | 5abda2618b6cda692ae9b04a9a9fc706888a0e71 | a318d56c1e6e89996a3852a780f45c792d860d64 | cmd/link: handle large relocation addend on darwin/arm64
Mach-O relocation addend is signed 24-bit. When external linking,
if the addend is larger, we cannot put it directly into a Mach-O
relocation. This CL handles large addend by creating "label"
symbols at sym+0x800000, sym+(0x800000*2), etc., and emitting
Mach-O r... | [
{
"path": "src/cmd/link/internal/arm64/asm.go",
"patch": "@@ -37,6 +37,7 @@ import (\n \t\"cmd/link/internal/loader\"\n \t\"cmd/link/internal/sym\"\n \t\"debug/elf\"\n+\t\"fmt\"\n \t\"log\"\n )\n \n@@ -472,6 +473,20 @@ func machoreloc1(arch *sys.Arch, out *ld.OutBuf, ldr *loader.Loader, s loader.Sy\n \trs :... | 2020-12-14T23:52:13 |
nodejs/node | e0864e50ecf917cbfa98d443e6f122425d6447cf | 0778f79cb37526c3f4f8bff525fc4d4ca9b86e78 | cluster: add cwd to cluster.settings
This commit allows cluster workers to be created with
configurable working directories.
Fixes: https://github.com/nodejs/node/issues/16388
PR-URL: https://github.com/nodejs/node/pull/18399
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.co... | [
{
"path": "doc/api/cluster.md",
"patch": "@@ -711,6 +711,8 @@ changes:\n * `exec` {string} File path to worker file. **Default:** `process.argv[1]`\n * `args` {Array} String arguments passed to worker.\n **Default:** `process.argv.slice(2)`\n+ * `cwd` {string} Current working directory of the worke... | 2018-01-26T19:16:20 |
ollama/ollama | dd352ab27f196892a241d36c39168a5199a5727d | d8bab8ea4403d3fb05a9bf408e638195b72bebf9 | fix crash bug with /save when quotes are used (#8208) | [
{
"path": "cmd/interactive.go",
"patch": "@@ -485,6 +485,9 @@ func buildModelfile(opts runOptions) string {\n \t}\n \n \tfor _, msg := range opts.Messages {\n+\t\tif strings.Contains(msg.Content, \"\\\"\") {\n+\t\t\tmsg.Content = `\"\"\"` + msg.Content + `\"\"\"`\n+\t\t}\n \t\tf.Commands = append(f.Commands... | 2024-12-22T06:31:37 |
huggingface/transformers | e472e077c24d6f6f080f5535f01c48f09164ec62 | 49a0bef4c1d959d9008d4a7128ca5e24c2ac7fc1 | Granitemoe (#33207)
* first commit
* drop tokenizer
* drop tokenizer
* drop tokenizer
* drop convert
* granite
* drop tokenization test
* mup
* fix
* reformat
* reformat
* reformat
* fix docs
* stop checking for checkpoint
* update support
* attention multiplier
* update... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -424,6 +424,8 @@\n title: GPTSw3\n - local: model_doc/granite\n title: Granite\n+ - local: model_doc/granitemoe\n+ title: GraniteMoe\n - local: model_doc/herbert\n title: HerBERT\n - local: model_doc/... | 2024-09-20T23:43:50 |
golang/go | a318d56c1e6e89996a3852a780f45c792d860d64 | f4e7a6b905ce60448e506a3f6578d01b60602cdd | cmd/link: pass arch-specific flags to external linker when testing supported flag
When testing if a flag (e.g. "-no-pie") is supported by the
external linker, pass arch-specific flags (like "-marm").
In particular, on the ARM builder, if CGO_LDFLAGS=-march=armv6
is set, the C toolchain fails to build if -marm is not ... | [
{
"path": "src/cmd/link/internal/ld/lib.go",
"patch": "@@ -1458,7 +1458,7 @@ func (ctxt *Link) hostlink() {\n \t}\n \n \tconst compressDWARF = \"-Wl,--compress-debug-sections=zlib-gnu\"\n-\tif ctxt.compressDWARF && linkerFlagSupported(argv[0], altLinker, compressDWARF) {\n+\tif ctxt.compressDWARF && linkerF... | 2020-12-15T23:31:21 |
vercel/next.js | 7de3cf5f8962f28ff667aedeb2331c4b0a33ee65 | 57b6eff904a53784d08d284382945b93b082df02 | fix(next-server): Fix priority for edge routes (#39462)
Fixes #39411
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 ... | [
{
"path": "packages/next/server/base-server.ts",
"patch": "@@ -127,7 +127,7 @@ export interface BaseRequestHandler {\n ): Promise<void>\n }\n \n-type RequestContext = {\n+export type RequestContext = {\n req: BaseNextRequest\n res: BaseNextResponse\n pathname: string",
"additions": 1,
"delet... | 2022-08-16T18:05:03 |
rust-lang/rust | 660509d717cf8ddfdff689d6f4495f0e57e21c8a | a7fc463dd8fbeca800d4b3efc501069502cffe64 | Fix the "used_with_archive" test on Fuchsia
This change adds Fuchsia OS as a target to the cfg_attr in the
pre_main_constructor external declaration. This allows the
"tests/ui/attributes/used_with_archive.rs" to pass against Fuchsia. | [
{
"path": "tests/ui/attributes/auxiliary/used_pre_main_constructor.rs",
"patch": "@@ -19,6 +19,7 @@\n target_os = \"netbsd\",\n target_os = \"nto\",\n target_os = \"openbsd\",\n+ target_os = \"fuchsia\",\n ),\n link_section = \".init_array\"\n )]",
"additions": 1,
... | 2025-03-20T16:25:08 |
nodejs/node | 0778f79cb37526c3f4f8bff525fc4d4ca9b86e78 | 742ae6141c164a90442c363599ea0356ed250570 | stream: do not emit readable if the stream ended
Fixes a regression introduced by the once-per-microtick 'readable'
event emission.
See: https://github.com/nodejs/node/pull/17979
PR-URL: https://github.com/nodejs/node/pull/18372
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collin... | [
{
"path": "lib/_stream_readable.js",
"patch": "@@ -520,7 +520,9 @@ function emitReadable(stream) {\n function emitReadable_(stream) {\n var state = stream._readableState;\n debug('emit readable');\n- stream.emit('readable');\n+ if (!state.destroyed && (state.length || state.ended)) {\n+ stream.emit... | 2018-01-25T14:40:10 |
huggingface/transformers | 49a0bef4c1d959d9008d4a7128ca5e24c2ac7fc1 | 7b2b536a811c84831e2c67eb388872b7c83a8263 | enable low-precision pipeline (#31625)
* enable low-precision pipeline
* fix parameter for ASR
* reformat
* fix asr bug
* fix bug for zero-shot
* add dtype check
* rm useless comments
* add np.float16 check
* Update src/transformers/pipelines/image_classification.py
Co-authored-by: Marc Sun ... | [
{
"path": "src/transformers/pipelines/automatic_speech_recognition.py",
"patch": "@@ -565,7 +565,10 @@ def postprocess(\n key = \"logits\" if self.type == \"ctc_with_lm\" else \"tokens\"\n stride = None\n for outputs in model_outputs:\n- items = outputs[key].numpy()\n+ ... | 2024-09-20T23:43:30 |
ollama/ollama | 08a832b4827b7fd5f489d72cef36de24f6fb3d36 | 2ddc32d5c5386b28062a46ac6cfea5160cd9f600 | llama: Ensure KV cache is fully defragmented.
Sometimes the KV cache requires defragmentation even without
triggering the threshold heuristic. In this case, decoding
will not being able to find a KV cache slot. This is particularly
difficult for the caller to handle if it happens in between
ubatches. To avoid this, we... | [
{
"path": "llama/llama.cpp",
"patch": "@@ -3051,6 +3051,13 @@ struct llama_kv_cache {\n }\n };\n \n+// block of KV slots to move when defragging\n+struct llama_kv_defrag_move {\n+ uint32_t src;\n+ uint32_t dst;\n+ uint32_t len;\n+};\n+\n struct llama_control_vector {\n std::vector<struct gg... | 2024-12-12T22:48:52 |
golang/go | f4e7a6b905ce60448e506a3f6578d01b60602cdd | 75e16f5127eb6affb4b473c93565a8d29a802e51 | cmd/internal/goobj: fix buglet in object file reader
The code in the new (introduced in 1.15) Go object file reader was
casting a pointer-mmaped-memory into a large array prior to performing
a read of the relocations section:
return (*[1<<20]Reloc)(unsafe.Pointer(&r.b[off]))[:n:n]
For very large object files, this ... | [
{
"path": "src/cmd/internal/goobj/objfile.go",
"patch": "@@ -483,6 +483,11 @@ func (r *RefFlags) SetFlag2(x uint8) { r[9] = x }\n \n func (r *RefFlags) Write(w *Writer) { w.Bytes(r[:]) }\n \n+// Used to construct an artifically large array type when reading an\n+// item from the object file relocs section o... | 2020-12-15T20:54:25 |
vercel/next.js | 57b6eff904a53784d08d284382945b93b082df02 | 63a8196e8589bb580fa690c618bbe20cf461c41b | Add separate entry per layout/page. (#39611)
Builds on top of #39162 which adds support for creating any kind of bundle path without breaking the compilation.
Ensures every layout gets a separate client-side bundle if it has client components being used.
Bug
Related issues linked using fixes #number
Integrat... | [
{
"path": "packages/next/build/webpack/loaders/next-app-loader.ts",
"patch": "@@ -24,8 +24,9 @@ async function createTreeCodeFromPath({\n \n // First item in the list is the page which can't have layouts by itself\n if (i === segments.length - 1) {\n+ const resolvedPagePath = await resolve(page... | 2022-08-16T17:00:23 |
rust-lang/rust | f90f43d62b1ce6d4c3dc49b450a7e30b9172ef42 | 2947be7af8732d1c298a15030325cc50c8910061 | Fix diagnostic struct typo, make sure is_array_like_block checks that it's a block | [
{
"path": "compiler/rustc_parse/src/errors.rs",
"patch": "@@ -810,16 +810,16 @@ pub(crate) enum WrapInParentheses {\n \n #[derive(Diagnostic)]\n #[diag(parse_array_brackets_instead_of_braces)]\n-pub(crate) struct ArrayBracketsInsteadOfSpaces {\n+pub(crate) struct ArrayBracketsInsteadOfBraces {\n #[prima... | 2025-03-20T15:46:19 |
nodejs/node | 9fb91fe1d63eb773a5400d9b8c54cb590aec392d | d4dd0665f53e8636f9e7fbcac6a1072fe0a6cc36 | module: validate request in require.resolve.paths
PR-URL: https://github.com/nodejs/node/pull/18359
Fixes: https://github.com/nodejs/node/issues/18352
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "lib/internal/module.js",
"patch": "@@ -27,6 +27,10 @@ function makeRequireFunction(mod) {\n require.resolve = resolve;\n \n function paths(request) {\n+ if (typeof request !== 'string') {\n+ throw new errors.Error('ERR_INVALID_ARG_TYPE',\n+ 'request', 'stri... | 2018-01-24T20:56:15 |
huggingface/transformers | 7b2b536a811c84831e2c67eb388872b7c83a8263 | e9356a4206ea3f34a099a240f79712f445c02fbd | Fix typos (#33583)
Co-authored-by: litianjian <litianjian@bytedance.com> | [
{
"path": "src/transformers/models/llava_onevision/modeling_llava_onevision.py",
"patch": "@@ -475,8 +475,8 @@ def apply_pooling(self, image_features):\n image_features = image_features.view(batch_frames, height, width, -1)\n image_features = image_features.permute(0, 3, 1, 2).contiguous()\n... | 2024-09-20T23:34:42 |
ollama/ollama | 2ddc32d5c5386b28062a46ac6cfea5160cd9f600 | 2cde4b8817f75764f2301788247a8fe5b5609b39 | llm: do not error on "null" format (#8139)
This fixes another regression in the previous commit that fixed other
known bugs. | [
{
"path": "llm/server.go",
"patch": "@@ -700,20 +700,24 @@ func (s *llmServer) Completion(ctx context.Context, req CompletionRequest, fn fu\n \t}\n \n \tif len(req.Format) > 0 {\n-\t\tswitch {\n-\t\tcase bytes.Equal(req.Format, []byte(`\"\"`)):\n-\t\t\t// fallthrough\n-\t\tcase bytes.Equal(req.Format, []byt... | 2024-12-17T17:49:37 |
rust-lang/rust | 2133fb94b76bdf5b095e8b011a2df4e787afbbcd | 15fff5d2d28c78f6590582f857deaf72e21c1142 | Disable PIC when jitting
This fixes jitting on non-x86_64 targets. | [
{
"path": "build_system/tests.rs",
"patch": "@@ -325,10 +325,8 @@ impl<'a> TestRunner<'a> {\n target_compiler.rustflags.extend(rustflags_from_env(\"RUSTFLAGS\"));\n target_compiler.rustdocflags.extend(rustflags_from_env(\"RUSTDOCFLAGS\"));\n \n- let jit_supported = use_unstable_featur... | 2025-03-06T15:02:29 |
golang/go | 08b5091d03621527d57da7e1ab30584dee167e6d | 8981092d71aee273d27b0e11cf932a34d4d365c1 | net: close connection in localServer teardown
The transponder sets up a deferred close on accepted connections which
is fine after the client reads all data. However there are no mutexes
nor channels to block the transponder from closing. If the scheduler
runs close before the client read, it will cause an EOF failure... | [
{
"path": "src/net/conn_test.go",
"patch": "@@ -32,7 +32,7 @@ func TestConnAndListener(t *testing.T) {\n \t\t}\n \t\tdefer ls.teardown()\n \t\tch := make(chan error, 1)\n-\t\thandler := func(ls *localServer, ln Listener) { transponder(ln, ch) }\n+\t\thandler := func(ls *localServer, ln Listener) { ls.transp... | 2020-11-28T10:09:21 |
huggingface/transformers | e9356a4206ea3f34a099a240f79712f445c02fbd | 75c878da1e341a33f4ffda652f1ee12b33c2559f | Fix qwen2vl float16 inference bug (#33312)
* fix qwen2vl float16 inference bug
* [run-slow] qwen2_vl | [
{
"path": "src/transformers/models/qwen2_vl/modeling_qwen2_vl.py",
"patch": "@@ -634,6 +634,11 @@ def forward(\n causal_mask = attention_mask[:, :, :, : key_states.shape[-2]]\n attn_weights = attn_weights + causal_mask\n \n+ # Fix precision issues in Qwen2-VL float16 inference... | 2024-09-20T23:28:46 |
nodejs/node | d4dd0665f53e8636f9e7fbcac6a1072fe0a6cc36 | b21715403bc5e229c4171ed996e337526daeadf6 | module: validate request in require.resolve
PR-URL: https://github.com/nodejs/node/pull/18359
Fixes: https://github.com/nodejs/node/issues/18352
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "lib/internal/module.js",
"patch": "@@ -1,5 +1,7 @@\n 'use strict';\n \n+const errors = require('internal/errors');\n+\n // Invoke with makeRequireFunction(module) where |module| is the Module object\n // to use as the context for the require() function.\n function makeRequireFunction(mod) {\n@@ -... | 2018-01-24T20:55:52 |
vercel/next.js | 63a8196e8589bb580fa690c618bbe20cf461c41b | f00aef4bf73c18c7b36640c1ce5560b5f4728b7e | Refactor base server (#39649)
Closes #39037. Moving `generateRoutes` to each runtime server.
## 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 sur... | [
{
"path": "packages/next/server/base-server.ts",
"patch": "@@ -17,7 +17,6 @@ import type {\n } from './response-cache'\n import type { UrlWithParsedQuery } from 'url'\n import {\n- CacheFs,\n NormalizeError,\n DecodeError,\n normalizeRepeatedSlashes,\n@@ -27,6 +26,7 @@ import type { PreviewData, Serv... | 2022-08-16T14:47:27 |
rust-lang/rust | cafd23896db923e5fc83a81bb0226307940e4dde | 87e60a7d285f8ea560189024f85f2b194d1f168f | tests: accept some noise from LLVM 21 in symbols-all-mangled
I'm not entirely sure this is correct, but it doesn't feel
obviously-wrong so I figured I'd just start by sending a PR rather than
filing a bug and letting it linger.
@rustbot label llvm-main | [
{
"path": "tests/run-make/symbols-all-mangled/rmake.rs",
"patch": "@@ -41,7 +41,13 @@ fn symbols_check_archive(path: &str) {\n continue; // Unfortunately LLVM doesn't allow us to mangle this symbol\n }\n \n- panic!(\"Unmangled symbol found: {name}\");\n+ if name.contains(\"... | 2025-03-18T15:11:51 |
ollama/ollama | 87f0a49fe6b0db7de0d6fa76e5d2a27963c10ca7 | 0f06a6daa7c9b71cb0e4e72fe63bc6b0bbbb6e88 | llm: do not silently fail for supplied, but invalid formats (#8130)
Changes in #8002 introduced fixes for bugs with mangling JSON Schemas.
It also fixed a bug where the server would silently fail when clients
requested invalid formats. It also, unfortunately, introduced a bug
where the server would reject requests wit... | [
{
"path": ".golangci.yaml",
"patch": "@@ -8,8 +8,6 @@ linters:\n - containedctx\n - contextcheck\n - errcheck\n- - exportloopref\n- - gci\n - gocheckcompilerdirectives\n - gofmt\n - gofumpt\n@@ -30,8 +28,6 @@ linters:\n - wastedassign\n - whitespace\n linters-settings:\... | 2024-12-17T05:57:49 |
golang/go | 731bb540381e1b79c85b0bdcb95af90f6bde7b89 | 129bb1917b4914f0743ec9b4ef0dfb74df39c07d | test: update for gofrontend error message changes
fixedbugs/bug195.go:9:20: error: interface contains embedded non-interface
fixedbugs/bug195.go:12:20: error: interface contains embedded non-interface
fixedbugs/bug195.go:15:22: error: interface contains embedded non-interface
fixedbugs/bug195.go:18:9: error: invalid r... | [
{
"path": "test/fixedbugs/bug195.go",
"patch": "@@ -19,7 +19,7 @@ type I4 interface { // GC_ERROR \"invalid recursive type I4\\n\\tLINE: I4 refers to\n }\n \n type I5 interface { // GC_ERROR \"invalid recursive type I5\\n\\tLINE: I5 refers to\\n\\tLINE+4: I6 refers to\\n\\tLINE: I5$\"\n-\tI6 // GCCGO_ERROR ... | 2020-12-15T21:15:07 |
huggingface/transformers | 077b552f0780c678737700184c109066736ece41 | 77c5d59e0ee7d59fc12dbf83fbbfcc162a7491af | Fix some missing tests in circleci (#33559)
* fix
* fix
* fix
* fix
* skip
* skip more
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": ".circleci/create_circleci_config.py",
"patch": "@@ -312,6 +312,15 @@ def job_name(self):\n )\n \n \n+non_model_job = CircleCIJob(\n+ \"non_model\",\n+ docker_image=[{\"image\": \"huggingface/transformers-torch-light\"}],\n+ marker=\"not generate\",\n+ parallelism=6,\n+ pytest_num_w... | 2024-09-20T18:58:51 |
nodejs/node | b21715403bc5e229c4171ed996e337526daeadf6 | 6ef17303a74058817e42227705d6b3727b134b0d | module: use internal/errors.js in module.require
PR-URL: https://github.com/nodejs/node/pull/18359
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "lib/module.js",
"patch": "@@ -603,10 +603,15 @@ Module.prototype.load = function(filename) {\n \n // Loads a module at the given file path. Returns that module's\n // `exports` property.\n-Module.prototype.require = function(path) {\n- assert(path, 'missing path');\n- assert(typeof path === 'st... | 2018-01-24T20:26:52 |
vercel/next.js | c7ff4150c8e3e3e03fd058fd10ca2c5db27e6d03 | eab61f3c652a627f5d0a4e183521dd8592db16cf | fix consistency issues (vercel/turbo#224)
There are a bunch or problems with invalidations:
* The fs impl watches path case-insenstive. This means two paths might conflict when on a case-sensitive filesystem. It uses an array of Invalidators now
* Move the next-dev bootstrapping logic out of the run_once scope (which... | [
{
"path": "packages/next-swc/crates/next-dev/src/lib.rs",
"patch": "@@ -1,19 +1,19 @@\n #![feature(future_join)]\n #![feature(min_specialization)]\n \n-use std::{net::IpAddr, sync::Arc};\n+use std::{net::IpAddr, path::MAIN_SEPARATOR, sync::Arc};\n \n use anyhow::{anyhow, Context, Result};\n use next_core::{... | 2022-08-16T13:12:09 |
ollama/ollama | b1fd7fef866bcd060810582c172cffe1185db077 | 36d111e788bdd90ab3e0b69033095efb68963052 | server: more support for mixed-case model names (#8017)
Fixes #7944 | [
{
"path": "cmd/cmd.go",
"patch": "@@ -601,7 +601,7 @@ func ListHandler(cmd *cobra.Command, args []string) error {\n \tvar data [][]string\n \n \tfor _, m := range models.Models {\n-\t\tif len(args) == 0 || strings.HasPrefix(m.Name, args[0]) {\n+\t\tif len(args) == 0 || strings.HasPrefix(strings.ToLower(m.Na... | 2024-12-11T23:29:59 |
golang/go | 685a322fe404d725e6bfb2766388c4b95ed84603 | 3d6467824ce42a5ca699b537bcd85f40c63a065e | test: match gofrontend error messages
fixedbugs/issue11614.go:14:9: error: interface contains embedded non-interface
fixedbugs/issue11614.go:22:20: error: interface contains embedded non-interface
Change-Id: Ie9875916697833f5fa28ab890218851a741120ac
Reviewed-on: https://go-review.googlesource.com/c/go/+/278175
Trust:... | [
{
"path": "test/fixedbugs/issue11614.go",
"patch": "@@ -19,7 +19,7 @@ func n() {\n }\n \n func m() {\n-\t(interface{int}) // ERROR \"interface contains embedded non-interface int\" \"type interface { int } is not an expression\"\n+\t(interface{int}) // ERROR \"interface contains embedded non-interface\" \"t... | 2020-12-15T06:27:32 |
huggingface/transformers | dc8b6eaeeeb59dd3089b478cc09b577f2c62a297 | c0c6815dc98f10d60bf9927cea8d309c754474c5 | Fix contrastive search to correctly handle input with padding (#33507)
* fix: handle padding in contrastive search for decoder-only models
* fix: handle padding in contrastive search for encoder-decoder models
* tests: move padding contrastive test to test_util, add t5 test
* fix: handle if model_kwargs["deco... | [
{
"path": "src/transformers/generation/utils.py",
"patch": "@@ -2604,6 +2604,15 @@ def _contrastive_search(\n unfinished_sequences = torch.ones(batch_size, dtype=torch.long, device=input_ids.device)\n model_kwargs = self._get_initial_cache_position(input_ids, model_kwargs)\n \n+ # Cre... | 2024-09-20T15:52:08 |
nodejs/node | 6ef17303a74058817e42227705d6b3727b134b0d | 3ec79216f9d2300faac2a4fe07e0ca92afd9dcb9 | errors: only init colors when util is not loaded
PR-URL: https://github.com/nodejs/node/pull/18359
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -270,12 +270,14 @@ class AssertionError extends Error {\n if (message != null) {\n super(message);\n } else {\n- const util = lazyUtil();\n- if (process.stdout.isTTY && process.stdout.getColorDepth() !== 1) {\n+ if (util_ === null... | 2018-01-25T15:06:18 |
huggingface/transformers | 31caf0b95f31d31651f37d8b6f7afdfe57b9dbc1 | 2fdb5e74cce41aef7d168df1dc2cc9fec348a127 | Fix missing test in `torch_job` (#33593)
fix missing tests
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/generation/test_utils.py",
"patch": "@@ -89,7 +89,6 @@\n from transformers.generation.utils import _speculative_sampling\n \n \n-@pytest.mark.generate\n class GenerationTesterMixin:\n model_tester = None\n all_generative_model_classes = ()\n@@ -2035,6 +2034,7 @@ def test_generat... | 2024-09-20T15:16:44 |
ollama/ollama | 36d111e788bdd90ab3e0b69033095efb68963052 | 9039c821a2c572e8bd0ee5cde13e4cb55c332e35 | ci: fix linux version (#8054)
Pass through the version override so the makefiles use it | [
{
"path": "Dockerfile",
"patch": "@@ -66,6 +66,7 @@ COPY . .\n ARG OLLAMA_SKIP_CUDA_GENERATE\n ARG OLLAMA_SKIP_ROCM_GENERATE\n ARG OLLAMA_FAST_BUILD\n+ARG VERSION\n RUN --mount=type=cache,target=/root/.ccache \\\n if grep \"^flags\" /proc/cpuinfo|grep avx>/dev/null; then \\\n make -j $(expr $(np... | 2024-12-11T22:09:57 |
golang/go | 3d6467824ce42a5ca699b537bcd85f40c63a065e | 7cdc84a15b1f83c6370a79c8e013246a6b495a73 | test: only require issue11674 errors with gc compiler
The gofrontend code sees that the denominator is not zero,
so it computes the values. Dividing zero by a non-zero value
produces zero. The language spec doesn't require any of these
cases to report an error, so make the errors compiler-specific.
Change-Id: I5ed759... | [
{
"path": "test/fixedbugs/issue11674.go",
"patch": "@@ -13,28 +13,28 @@ const x complex64 = 0\n const y complex128 = 0\n \n var _ = x / 1e-20\n-var _ = x / 1e-50 // ERROR \"complex division by zero\"\n-var _ = x / 1e-1000 // ERROR \"complex division by zero\"\n+var _ = x / 1e-50 // GC_ERROR \"complex di... | 2020-12-15T06:03:29 |
vercel/next.js | 72434eb607efa4096b4556fd4b5ce68592a005bd | 5842cabcebc2e46181d8a326b517668a239e9072 | fix consistency issues (#224)
There are a bunch or problems with invalidations:
* The fs impl watches path case-insenstive. This means two paths might conflict when on a case-sensitive filesystem. It uses an array of Invalidators now
* Move the next-dev bootstrapping logic out of the run_once scope (which is not upda... | [
{
"path": "crates/next-dev/src/lib.rs",
"patch": "@@ -1,19 +1,19 @@\n #![feature(future_join)]\n #![feature(min_specialization)]\n \n-use std::{net::IpAddr, sync::Arc};\n+use std::{net::IpAddr, path::MAIN_SEPARATOR, sync::Arc};\n \n use anyhow::{anyhow, Context, Result};\n use next_core::{create_server_rend... | 2022-08-16T13:12:09 |
nodejs/node | 3ec79216f9d2300faac2a4fe07e0ca92afd9dcb9 | 368517c0dc2576e1f8f315e53d0cfebb22acf9e2 | errors: improve the description of ERR_INVALID_ARG_VALUE
- Allow user to customize why the argument is invalid
- Display the argument with util.inspect so null bytes can be
displayed properly.
PR-URL: https://github.com/nodejs/node/pull/18358
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jon Moss <me@... | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -23,9 +23,16 @@ const { kMaxLength } = process.binding('buffer');\n const { defineProperty } = Object;\n \n // Lazily loaded\n-var util = null;\n+var util_ = null;\n var buffer;\n \n+function lazyUtil() {\n+ if (!util_) {\n+ util_ = require('util');\n+ }... | 2018-01-24T20:39:02 |
golang/go | 7cdc84a15b1f83c6370a79c8e013246a6b495a73 | 412dc2f4d330a519fb7c26e6ecb0f2bbcb876bbb | test: remove bug429 (duplicates runtime.TestSimpleDeadlock)
The bug429 tests is an exact duplicate of TestSimpleDeadlock in the
runtime package. The runtime package is the right place for this test,
and the version in the runtime package will run faster as the build
step is combined with other runtime package tests.
... | [
{
"path": "test/fixedbugs/bug429.go",
"patch": "@@ -1,14 +0,0 @@\n-// skip\n-\n-// Copyright 2012 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-// Should print deadlock message, not hang.\n-// This test i... | 2020-12-15T05:20:36 |
ollama/ollama | 9039c821a2c572e8bd0ee5cde13e4cb55c332e35 | 581a4a55532e2a28177bcaffd722a2bf298f967d | llama: preserve field order in user-defined JSON schemas (#8002)
Previously we decoded and re-encoded JSON schemas during validation,
which served no purpose since json.RawMessage already validates JSON
syntax. Worse, the re-encoding lost field ordering from the original
schema, which affects inference quality duri... | [
{
"path": "llama/grammar_test.go",
"patch": "@@ -0,0 +1,80 @@\n+package llama\n+\n+import (\n+\t\"bufio\"\n+\t\"bytes\"\n+\t\"strings\"\n+\t\"testing\"\n+)\n+\n+// https://github.com/ollama/ollama/issues/7978\n+const issue7978JSONSchema = `{\n+ \"type\": \"object\",\n+ \"properties\": {\n+ \"steps\": {... | 2024-12-11T22:07:30 |
vercel/next.js | 3f63a491d05e7e562639a03915cfcd0da06d1557 | 6876bb4c44ba44f74c940dbd556651448bfc34c1 | fix(next/dynamic): handle template literal import path (#39623)
## Bug
- [x] fixes #39522
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md` | [
{
"path": "packages/next-swc/crates/core/src/next_dynamic.rs",
"patch": "@@ -7,7 +7,7 @@ use swc_common::{FileName, DUMMY_SP};\n use swc_ecmascript::ast::{\n ArrayLit, ArrowExpr, BinExpr, BinaryOp, BlockStmtOrExpr, Bool, CallExpr, Callee, Expr,\n ExprOrSpread, Id, Ident, ImportDecl, ImportSpecifier,... | 2022-08-16T11:48:16 |
nodejs/node | 94e36f1f3160fc318114496288aa11b7a4c6dd3a | eb34278dccc85a572b307253983721929b3fb1a8 | test: fix flaky test-fs-write
PR-URL: https://github.com/nodejs/node/pull/18374
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "test/parallel/test-fs-write.js",
"patch": "@@ -34,6 +34,8 @@ const constants = fs.constants;\n /* eslint-disable no-undef */\n common.allowGlobals(externalizeString, isOneByteString, x);\n \n+common.refreshTmpDir();\n+\n {\n const expected = 'ümlaut eins'; // Must be a unique string.\n exter... | 2018-01-25T15:01:01 |
golang/go | 8e2d74b705ea669c7b5e56c81c59a350d5192352 | f8ac2370324ad9b058fe9b943f5807ac28a88f6f | test: only check for issue11362 error with gc
With the gc compiler the import path implies the package path,
so keeping a canonical path is important. With the gofrontend
this is not the case, so we don't need to report this as a bug.
Change-Id: I245e34f9b66383bd17e79438d4b002a3e20aa994
Reviewed-on: https://go-revie... | [
{
"path": "test/fixedbugs/issue11362.go",
"patch": "@@ -8,7 +8,7 @@\n \n package main\n \n-import _ \"unicode//utf8\" // ERROR \"non-canonical import path .unicode//utf8. \\(should be .unicode/utf8.\\)\" \"can't find import: .unicode//utf8.\"\n+import _ \"unicode//utf8\" // GC_ERROR \"non-canonical import p... | 2020-12-15T05:43:50 |
vercel/next.js | 6876bb4c44ba44f74c940dbd556651448bfc34c1 | 3d3938b793a0b54b6921afbc879a2d532356e4b7 | Enable additional TypeScript ESLint rules (#39640)
Enables some rules that are useful and already pass currently.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature re... | [
{
"path": ".eslintrc.json",
"patch": "@@ -93,7 +93,9 @@\n }\n ],\n \"no-useless-constructor\": \"off\",\n- \"@typescript-eslint/no-useless-constructor\": \"warn\"\n+ \"@typescript-eslint/no-useless-constructor\": \"warn\",\n+ \"@typescript-eslint/prefer-literal... | 2022-08-16T11:08:40 |
ollama/ollama | 581a4a55532e2a28177bcaffd722a2bf298f967d | cf4d7c52c47d753bd04a8791b9c6042271c40c1e | ci: fix artifact path prefix for missing windows payloads (#8052)
upload-artifacts strips off leading common paths so when
the ./build/ artifacts were removed, the ./dist/windows-amd64
prefix became common and was stripped, making the
later download-artifacts place them in the wrong location | [
{
"path": ".github/workflows/release.yaml",
"patch": "@@ -447,15 +447,19 @@ jobs:\n - uses: actions/download-artifact@v4\n with:\n name: generate-windows-cpu\n+ path: dist/windows-amd64/\n - uses: actions/download-artifact@v4\n with:\n name: generate-... | 2024-12-11T18:59:32 |
nodejs/node | 287f21e31dafce2cf10fc7e349dbd26ebb392a08 | bb5575aa75fd3071724d5eccde39a3041e1af57a | doc: fix typo in REPL docs
PR-URL: https://github.com/nodejs/node/pull/18404
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "doc/api/repl.md",
"patch": "@@ -381,7 +381,7 @@ within the action function for commands registered using the\n added: v9.0.0\n -->\n \n-The `replServer.clearBufferedComand()` method clears any command that has been\n+The `replServer.clearBufferedCommand()` method clears any command that has been\... | 2018-01-26T23:15:15 |
golang/go | 1306435103558c4718e0ff3cba5ab2b8e2e34ec5 | 6b18081d01f6f87b9af9e5b3910f1379d52a13eb | [dev.typeparams] go/types: import changes to types.Info from dev.go2go
Import changes related to tracking type inferences and sanitizing
types.Info from the dev.go2go branch. Notably, the following were all
intentionally omitted from this import:
+ types.Error.Full is not imported, due to it being a public API that
... | [
{
"path": "src/go/types/api.go",
"patch": "@@ -177,6 +177,12 @@ type Info struct {\n \t// qualified identifiers are collected in the Uses map.\n \tTypes map[ast.Expr]TypeAndValue\n \n+\t// Inferred maps calls of parameterized functions that use\n+\t// type inference to the inferred type arguments and signat... | 2020-12-15T14:49:10 |
vercel/next.js | 059fba21a05a5ad923b440e018af9377b747ca08 | f743aa18336253e13be9ff37aefc26fd3e5ced26 | Eliminate path and utils from base server (#39622)
`_isLikeServerless` is only needed by the Node.js server.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature request ... | [
{
"path": "packages/next/server/base-server.ts",
"patch": "@@ -28,14 +28,11 @@ import type { PagesManifest } from '../build/webpack/plugins/pages-manifest-plug\n import type { BaseNextRequest, BaseNextResponse } from './base-http'\n import type { PayloadOptions } from './send-payload'\n \n-import { join } f... | 2022-08-15T18:58:49 |
ollama/ollama | 46f74e0cb5d57c69558451e2324f49c59a4d7683 | 7622ea21af2a283b0f4df2cef33cd9ad69285cba | Return err when NewHipLib() detect error. (#8012)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com> | [
{
"path": "discover/amd_windows.go",
"patch": "@@ -184,7 +184,7 @@ func (gpus RocmGPUInfoList) RefreshFreeMemory() error {\n \thl, err := NewHipLib()\n \tif err != nil {\n \t\tslog.Debug(err.Error())\n-\t\treturn nil\n+\t\treturn err\n \t}\n \tdefer hl.Release()\n ",
"additions": 1,
"deletions": 1,
... | 2024-12-11T00:32:29 |
nodejs/node | 09ef021bf474aa23dc2afb0db72ca61055e52fc0 | aba6bc34a186ff03ff19a1b4026e04cea7c330e3 | build: fix rm commands in tarball rule
The `$(RM) {foo,bar,baz}` rules don't seem to work with GNU make 4.1.
Write them out in full and get rid of a few overlong lines in the
process.
PR-URL: https://github.com/nodejs/node/pull/18332
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gma... | [
{
"path": "Makefile",
"patch": "@@ -148,9 +148,11 @@ coverage-clean:\n \t$(RM) -r gcovr build\n \t$(RM) -r out/$(BUILDTYPE)/.coverage\n \t$(RM) -r .cov_tmp\n-\t$(RM) out/$(BUILDTYPE)/obj.target/node/{src,gen}/*.gcda\n+\t$(RM) out/$(BUILDTYPE)/obj.target/node/gen/*.gcda\n+\t$(RM) out/$(BUILDTYPE)/obj.target/... | 2018-01-23T23:37:59 |
vercel/next.js | f743aa18336253e13be9ff37aefc26fd3e5ced26 | 27e0b1293b893b0f0004df4e48e5bebbe3996a50 | Update strategies count to 4 (#39610)
## 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 implementa... | [
{
"path": "docs/basic-features/script.md",
"patch": "@@ -65,7 +65,7 @@ With `next/script`, you decide when to load your third-party script by using the\n <Script src=\"https://connect.facebook.net/en_US/sdk.js\" strategy=\"lazyOnload\" />\n ```\n \n-There are three different loading strategies that can be u... | 2022-08-15T18:37:19 |
golang/go | 6b18081d01f6f87b9af9e5b3910f1379d52a13eb | 14e4267c3446fe30bb1c7a1a874dc7e18c1d38d1 | [dev.typeparams] cmd/compile/internal/types2: don't crash if import path is missing
In package syntax:
- fix parser appendGroup to not add nil entries
- non-string paths are syntax errors per the spec; report in parser
- document ImportDecl.Path invariants
In package types2:
- guard against absent paths
In package g... | [
{
"path": "src/cmd/compile/internal/gc/noder.go",
"patch": "@@ -463,7 +463,7 @@ func (p *noder) decls(decls []syntax.Decl) (l []ir.Node) {\n }\n \n func (p *noder) importDecl(imp *syntax.ImportDecl) {\n-\tif imp.Path.Bad {\n+\tif imp.Path == nil || imp.Path.Bad {\n \t\treturn // avoid follow-on errors if th... | 2020-12-15T01:23:00 |
ollama/ollama | abfdc4710f17e2eb686d104885843c30bdf8cad3 | 82a02e18d96ce2fff1791e6d1a080d3afa11370e | all: fix typos in documentation, code, and comments (#7021) | [
{
"path": "README.md",
"patch": "@@ -357,7 +357,7 @@ See the [API documentation](./docs/api.md) for all endpoints.\n - [OpenTalkGpt](https://github.com/adarshM84/OpenTalkGpt) (Chrome Extension to manage open-source models supported by Ollama, create custom models, and chat with models from a user-friendly U... | 2024-12-10T20:58:06 |
huggingface/transformers | ec1424c6a3cc91a3fa2570bbeb9c4431072b873b | 8bd1f2f33888ec8a86cecd6b9d448d8e26940b63 | Update modeling_mamba2.py, fix pad size (#32599)
* Update modeling_mamba2.py
Fix pad_size calculation to ensure it's less than self.chunk_size
* [run_slow] mamba2
* [run-slow] mamba2
* [run-slow] Add @require_read_token decorator to failing tests for token propagation
* [run_slow] mamba2 | [
{
"path": "src/transformers/models/mamba2/modeling_mamba2.py",
"patch": "@@ -510,7 +510,7 @@ def torch_forward(self, input_states, cache_params: Optional[Mamba2Cache]=None,\n C = C.reshape(batch_size, seq_len, -1, self.ssm_state_size).float()\n B = B.repeat(1, 1, self.num_heads // se... | 2024-09-20T10:40:57 |
nodejs/node | 6c1906ab3e0093a4f5c765de5a709abbe6b32d6b | 1ecd2be2e65d8d33ed6f110422b6795cdf066f01 | test: refactor addons-napi/test_exception/test.js
* provide block scoping to prevent unintended side effects
* remove confusing and unnecessary assertion message
* use consisitent `actual, expected` argument order for assertions
PR-URL: https://github.com/nodejs/node/pull/18340
Reviewed-By: Colin Ihrig <cjihrig@gmail... | [
{
"path": "test/addons-napi/test_exception/test.js",
"patch": "@@ -4,49 +4,47 @@ const common = require('../../common');\n const test_exception = require(`./build/${common.buildType}/test_exception`);\n const assert = require('assert');\n const theError = new Error('Some error');\n-function throwTheError() ... | 2018-01-24T06:18:38 |
huggingface/transformers | 8bd1f2f33888ec8a86cecd6b9d448d8e26940b63 | 31650a53a1d7f80470d2ba8010966c2cab97eec8 | [tests] make more tests device-agnostic (#33580)
* enable
* fix
* add xpu skip
* add marker
* skip for xpu
* add more
* enable on accelerator
* add more cases
* add more tests
* add more | [
{
"path": "tests/models/grounding_dino/test_modeling_grounding_dino.py",
"patch": "@@ -30,7 +30,7 @@\n from transformers.testing_utils import (\n require_timm,\n require_torch,\n- require_torch_gpu,\n+ require_torch_accelerator,\n require_vision,\n slow,\n torch_device,\n@@ -676,7 ... | 2024-09-20T09:16:43 |
golang/go | 14e4267c3446fe30bb1c7a1a874dc7e18c1d38d1 | 96999296e6dd8bccf1765d4fab1835436c1d758d | [dev.typeparams] cmd/compile/internal/types2: report error for invalid (but empty) expr switch
Enable one more errorcheck test.
Updates #43110.
Updates #43200.
Change-Id: Ib7b971d5e9989c65320579f75d65266bbbbeec53
Reviewed-on: https://go-review.googlesource.com/c/go/+/278132
Trust: Robert Griesemer <gri@golang.org>
R... | [
{
"path": "src/cmd/compile/internal/types2/fixedbugs/issue43110.src",
"patch": "@@ -0,0 +1,43 @@\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+type P *struct{}\n+\n+func... | 2020-12-15T00:58:46 |
vercel/next.js | 8f027c2d7a4d8789834b75d5ba3e029519b88949 | eff9732afc1f879a4823e15b51d6e97e6fa43dfd | Next Server code refactoring (#39591)
Move the route definitions into the conditions and remove unused method.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature reques... | [
{
"path": "packages/next/server/next-server.ts",
"patch": "@@ -1184,13 +1184,6 @@ export default class NextNodeServer extends BaseServer {\n })\n }\n \n- protected getEdgeRoutes(): RoutingItem[] {\n- const edgeFunctions = this.getEdgeFunctions()\n- const middleware = this.getMiddleware()\n-\n- ... | 2022-08-15T18:20:28 |
ollama/ollama | 82a02e18d96ce2fff1791e6d1a080d3afa11370e | 4879a234c4bd3f2bbc99d9b09c44bd99fc337679 | build: fix typo in override variable (#8031)
The "F" was missing. | [
{
"path": "docs/development.md",
"patch": "@@ -53,7 +53,7 @@ If both v11 and v12 tookkits are detected, runners for both major versions will\n \n #### Older Linux CUDA (NVIDIA)\n \n-To support older GPUs with Compute Capability 3.5 or 3.7, you will need to use an older version of the Driver from [Unix Drive... | 2024-12-10T18:51:16 |
nodejs/node | 1ecd2be2e65d8d33ed6f110422b6795cdf066f01 | 082f9525d92532867bc7172acebdf9b89a715dab | test: fix test-tls-server-verify.js on Windows CI
The test runs two test cases at a time. This is not relevant to what the
test is actually testing. Not sure why doing it that way causes a
deadlock on some Windows servers, but running one at a time fixes it.
Fixes: https://github.com/nodejs/node/issues/18269
PR-URL:... | [
{
"path": "test/parallel/test-tls-server-verify.js",
"patch": "@@ -327,7 +327,7 @@ function runTest(port, testIndex) {\n } else {\n server.close();\n successfulTests++;\n- runTest(port, nextTest++);\n+ runTest(0, nextTest++);\n }\n }\n \n@@ -345,7 +345,7 @@ function runTest(p... | 2018-01-25T18:42:33 |
huggingface/transformers | 31650a53a1d7f80470d2ba8010966c2cab97eec8 | 6dc364616d58b9fdc70f88cd2c136e741fc28d26 | Allow CI could be run on private forked repositories (e.g. new model additions) (#33594)
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": ".circleci/config.yml",
"patch": "@@ -47,13 +47,13 @@ jobs:\n \n - run:\n name: \"Retrieve Artifact Paths\"\n- env:\n- CIRCLE_TOKEN: ${{ secrets.CI_ARTIFACT_TOKEN }}\n+ # [reference] https://circleci.com/docs/api/v2/index... | 2024-09-20T09:00:34 |
golang/go | a508840c671f4ec4b923daa04c0ac17378ab52b4 | 5046cb8a6e8496f70e47f648ed368ffe87bc5e4e | doc/go1.16: fix path, path/filepath release notes
The path package doesn't have a Glob function. Adjust the release notes
re. CL 264397 accordingly.
Also add links to the documentation of all mentioned functions.
For #40700.
Change-Id: Ibf3e0530fa6fab36a3f6fbc664f0800869ce9ec7
Reviewed-on: https://go-review.googles... | [
{
"path": "doc/go1.16.html",
"patch": "@@ -840,9 +840,9 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <dl id=\"path\"><dt><a href=\"/pkg/path/\">path</a></dt>\n <dd>\n <p><!-- CL 264397, golang.org/issues/28614 -->\n- The <code>Match</code> and <code>Glob</code> function... | 2020-12-15T09:41:54 |
vercel/next.js | eff9732afc1f879a4823e15b51d6e97e6fa43dfd | 4cd8b23032895ab18878d443625e671b291c87d6 | Remove minify: false for webpack5 bundle (#39620)
As noticed by @shuding we were disabling minifying for the webpack 5 bundle which was most likely left over from debugging which isn't necessary now as we can use the local version of webpack via the NEXT_PRIVATE_LOCAL_WEBPACK5 env variable instead. | [
{
"path": "packages/next/taskfile.js",
"patch": "@@ -1739,7 +1739,6 @@ export async function ncc_webpack_bundle5(task, opts) {\n if (path.endsWith('.runtime.js')) return `'./${basename(path)}'`\n },\n externals: bundleExternals,\n- minify: false,\n target: 'es5',\n })\n ... | 2022-08-15T17:42:31 |
ollama/ollama | 4879a234c4bd3f2bbc99d9b09c44bd99fc337679 | 63269668c06cee60beb617f00e8c6829502ba0ab | build: Make target improvements (#7499)
* llama: wire up builtin runner
This adds a new entrypoint into the ollama CLI to run the cgo built runner.
On Mac arm64, this will have GPU support, but on all other platforms it will
be the lowest common denominator CPU build. After we fully transition
to the new Go run... | [
{
"path": ".github/workflows/release.yaml",
"patch": "@@ -85,13 +85,12 @@ jobs:\n import-module 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\Common7\\Tools\\Microsoft.VisualStudio.DevShell.dll'\n Enter-VsDevShell -vsinstallpath 'C:\\Program Files (x86)\\Microsoft ... | 2024-12-10T17:47:19 |
huggingface/transformers | 6dc364616d58b9fdc70f88cd2c136e741fc28d26 | bdf4649f6722776cc3f68f86ed64ac7556ea5efb | Fix CircleCI nightly run (#33558)
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": ".circleci/config.yml",
"patch": "@@ -82,22 +82,49 @@ jobs:\n parallelism: 1\n steps:\n - checkout\n- - run: uv pip install -e .\n- - run: |\n- mkdir test_preparation\n- echo -n \"tests\" > test_preparation/test_li... | 2024-09-20T08:57:21 |
nodejs/node | 756a34e86386bbc879234c4987eacdcb21e0e54b | bea5f26d341e9dd062d842b1ccceaac031e6ed57 | src, test: node internals' postmortem metadata
Before these changes, only V8 added postmortem metadata to Node's
binary, limiting the possibilities for debugger's developers to add some
features that rely on investigating Node's internal structures.
These changes are first steps towards empowering debug tools to
navi... | [
{
"path": "doc/guides/node-postmortem-support.md",
"patch": "@@ -0,0 +1,72 @@\n+# Postmortem Support\n+\n+Postmortem metadata are constants present in the final build which can be used\n+by debuggers and other tools to navigate through internal structures of software\n+when analyzing its memory (either on a... | 2017-12-26T00:17:25 |
rust-lang/rust | 8fb99bcb1011a76d07ad124692c6e007034fc855 | b9e67a2e286e17d3dd5d88ff9dadb98641a6b21b | Fix implementation of vaddlvq_u8 | [
{
"path": "src/intrinsics/llvm_aarch64.rs",
"patch": "@@ -253,7 +253,7 @@ pub(crate) fn codegen_aarch64_llvm_intrinsic_call<'tcx>(\n }\n let res = CValue::by_val(\n fx.bcx.ins().uextend(types::I32, res_val),\n- fx.layout_of(fx.tcx.types.u32),\n+ ... | 2025-03-20T13:54:08 |
golang/go | 5046cb8a6e8496f70e47f648ed368ffe87bc5e4e | 3298300ddf45a0792b4d8ea5e05f0fbceec4c9f9 | doc/go1.16: fix formatting in net, net/http and net/http/httputil sections
For #40700.
Change-Id: I83d9ef9f79d59a0165a47ccc938fc2bf40e90703
Reviewed-on: https://go-review.googlesource.com/c/go/+/278212
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> | [
{
"path": "doc/go1.16.html",
"patch": "@@ -721,8 +721,8 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <p><!-- CL 250357 -->\n The case of I/O on a closed network connection, or I/O on a network\n connection that is closed before any of the I/O completes, can now\n- ... | 2020-12-15T09:36:10 |
ollama/ollama | 900f64e6be859f52350c25032ff5b11f10509c7e | da09488fbfc437c55a94bc5374b0850d935ea09f | prompt: Don't trim whitespace from prompts
New lines can be an important part of a user's prompt and trimming
it can alter the results. We previously only trimmed prompts with
images but refactoring brought this behavior to all prompts, where
it became more noticable.
The /generate endpoint adds less whitespace and t... | [
{
"path": "server/prompt.go",
"patch": "@@ -114,7 +114,6 @@ func chatPrompt(ctx context.Context, m *Model, tokenize tokenizeFunc, opts *api.\n \t\t\t\t\tID: len(images),\n \t\t\t\t\tData: i,\n \t\t\t\t}\n-\t\t\t\timgPrompt = \" \"\n \t\t\t}\n \n \t\t\timgTag := fmt.Sprintf(\"[img-%d]\", imgData.ID)\n@@ -1... | 2024-12-06T23:12:30 |
huggingface/transformers | 0c718f16d1e8b73ac637529f6328fd8cb378ce7e | 4d8908df272c0a9db2e5fbcc8aaed73cdf75442a | Fix Llama 3 TikToken conversion (#33538)
* Fix Llama 3 TikToken conversion
* No need to add tokens again | [
{
"path": "src/transformers/models/llama/convert_llama_weights_to_hf.py",
"patch": "@@ -332,7 +332,7 @@ def permute(w, n_heads, dim1=dim, dim2=dim):\n \n class Llama3Converter(TikTokenConverter):\n def __init__(self, vocab_file, special_tokens=None, instruct=False, model_max_length=None, **kwargs):\n- ... | 2024-09-19T23:28:33 |
nodejs/node | bea5f26d341e9dd062d842b1ccceaac031e6ed57 | c016cc2b171ee03a607c7ad526088fffdb2ea15c | test: fix if-error-has-good-stack
PR-URL: https://github.com/nodejs/node/pull/18378
Fixes: https://github.com/nodejs/node/issues/18377
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.co... | [
{
"path": "test/message/if-error-has-good-stack.out",
"patch": "@@ -3,14 +3,14 @@ assert.js:*\n ^\n \n AssertionError [ERR_ASSERTION]: ifError got unwanted exception: test error\n- at z (*/if-error-has-good-stack.js:*:*\n- at y (*/if-error-has-good-stack.js:*:*)\n- at x (*/if-error-has-good-sta... | 2018-01-25T17:11:59 |
vercel/next.js | 4cd8b23032895ab18878d443625e671b291c87d6 | 683db9a8ad2660c0de12dfb44ef6808a9726cb20 | Enable @typescript-eslint/no-use-before-define for functions (#39602)
Follow-up to the earlier enabling of classes/variables etc.
Bug
Related issues linked using fixes #number
Integration tests added
Errors have helpful link attached, see contributing.md
Feature
Implements an existing feature request... | [
{
"path": ".eslintrc.json",
"patch": "@@ -68,7 +68,7 @@\n \"@typescript-eslint/no-use-before-define\": [\n \"warn\",\n {\n- \"functions\": false,\n+ \"functions\": true,\n \"classes\": true,\n \"variables\": true,\n \"enum... | 2022-08-15T14:29:51 |
golang/go | 97df3ba792bda80b99a8508cf36dfba3d1c37576 | c3dc22598829eec39b6b55e347ad4b974af24e12 | [dev.fuzz] internal/fuzz: refactor in preparation for GOFUZZCACHE
Several small changes, most related to GOFUZZCACHE.
* Use separate channels to send crashers and interesting values to the
coordinator.
* Add a new type, crasherEntry, which is a corpusEntry with an
error message.
* Workers now send fatal errors to... | [
{
"path": "src/internal/fuzz/fuzz.go",
"patch": "@@ -35,7 +35,7 @@ import (\n //\n // If a crash occurs, the function will return an error containing information\n // about the crash, which can be reported to the user.\n-func CoordinateFuzzing(parallel int, seed [][]byte, crashDir string) error {\n+func Coo... | 2020-12-04T23:07:20 |
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.