helloadhavan/github_issues huggingface dataset:
Repository: vercel/next.js
Pull request: Turbopack: Make transient tasks root tasks too when called in turbo_tasks::run

### What?

When calling a turbo tasks function from a turbo_tasks::run it should been made a root aggregating tasks for better efficiency.

Closes PACK-5510

Changed files:
filename: turbopack/crates/turbo-tasks-backend/src/backend/operation/connect_child.rs
patch: @@ -53,15 +53,14 @@ impl ConnectChildOperation {
         let mut queue = AggregationUpdateQueue::new();
 
         // Handle the transient to persistent boundary by making the persistent task a root task
-        if parent_task_id.is_none_or(|id| id.is_transient()) && !child_task_id.is_transient() {
+        if parent_task_id.is_none_or(|id| id.is_transient() && !child_task_id.is_transient()) {
             queue.push(AggregationUpdateJob::UpdateAggregationNumber {
                 task_id: child_task_id,
                 base_aggregation_number: u32::MAX,
                 distance: None,
             });
         }
 
-        // Immutable tasks cannot be invalidated, meaning that we never reschedule them.
         if ctx.should_track_activeness() && parent_task_id.is_some() {
             queue.push(AggregationUpdateJob::IncreaseActiveCount {
                 task: child_task_id,
Repository: denoland/deno
Pull request: fix(ext/http): use serve address override only once

closes https://github.com/denoland/deno/issues/31930

Changed files:
filename: ext/http/00_serve.ts
patch: @@ -698,6 +698,9 @@ function formatHostName(hostname: string): string {
   return StringPrototypeIncludes(hostname, ":") ? `[${hostname}]` : hostname;
 }
 
+// Flag to track if DENO_SERVE_ADDRESS override has been consumed
+let serveAddressOverrideConsumed = false;
+
 function serve(arg1, arg2) {
   let options: RawServeOptions | undefined;
   let handler: RawHandler | undefined;
@@ -727,6 +730,11 @@ function serve(arg1, arg2) {
     options = { __proto__: null };
   }
 
+  if (serveAddressOverrideConsumed) {
+    return serveInner(options, handler);
+  }
+  serveAddressOverrideConsumed = true;
+
   const {
     0: overrideKind,
     1: overrideHost,

filename: tests/specs/run/serve_address_override_only_once/__test__.jsonc
patch: @@ -0,0 +1,11 @@
+{
+  "tests": {
+    "serve_address_override_only_once": {
+      "args": "run --allow-net main.ts",
+      "envs": {
+        "DENO_SERVE_ADDRESS": "tcp:127.0.0.1:9001"
+      },
+      "output": "main.out"
+    }
+  }
+}

filename: tests/specs/run/serve_address_override_only_once/main.out
patch: @@ -0,0 +1,4 @@
+Server 1 listening on [WILDLINE]:9001
+Server 2 listening on [WILDLINE]:9002
+Server 1 response: Server 1
+Server 2 response: Server 2

filename: tests/specs/run/serve_address_override_only_once/main.ts
patch: @@ -0,0 +1,22 @@
+const server1 = Deno.serve({
+  port: 9000, // This should be overridden to 9001 by DENO_SERVE_ADDRESS
+  onListen({ port, hostname }) {
+    console.log(`Server 1 listening on ${hostname}:${port}`);
+  },
+}, () => new Response("Server 1"));
+const server2 = Deno.serve({
+  port: 9002, // This should NOT be overridden, should stay 9002
+  onListen({ port, hostname }) {
+    console.log(`Server 2 listening on ${hostname}:${port}`);
+  },
+}, () => new Response("Server 2"));
+
+// Verify both servers are accessible on expected ports
+const resp1 = await fetch("http://localhost:9001/");
+console.log(`Server 1 response: ${await resp1.text()}`);
+
+const resp2 = await fetch("http://localhost:9002/");
+console.log(`Server 2 response: ${await resp2.text()}`);
+
+await server1.shutdown();
+await server2.shutdown();
Repository: ollama/ollama
Pull request: Update faq.md with the location of models on Windows


Changed files:
filename: docs/faq.md
patch: @@ -60,8 +60,9 @@ Refer to the section [above](#how-do-i-configure-ollama-server) for how to set e
 
 ## Where are models stored?
 
-- macOS: `~/.ollama/models`.
+- macOS: `~/.ollama/models`
 - Linux: `/usr/share/ollama/.ollama/models`
+- Windows: `C:\Users\<username>\.ollama\models`
 
 ### How do I set them to a different location?
Repository: ggml-org/llama.cpp
Pull request: ggml : add fallback definition for HWCAP2_SVE2

This align with other HWCAP2 feature flags

See #17528

Changed files:
filename: ggml/src/ggml-cpu/arch/arm/cpu-feats.cpp
patch: @@ -8,6 +8,10 @@
 #include <sys/sysctl.h>
 #endif
 
+#if !defined(HWCAP2_SVE2)
+#define HWCAP2_SVE2 (1 << 1)
+#endif
+
 #if !defined(HWCAP2_I8MM)
 #define HWCAP2_I8MM (1 << 13)
 #endif
Repository: vercel/next.js
Pull request: Turbopack: trace state changes

### What?

add a tracing span when state changes to make this visible in the tracing.

Closes PACK-5511

Changed files:
filename: turbopack/crates/turbo-tasks/src/state.rs
patch: @@ -1,4 +1,5 @@
 use std::{
+    any::type_name,
     fmt::Debug,
     mem::take,
     ops::{Deref, DerefMut},
@@ -7,6 +8,7 @@ use std::{
 use auto_hash_map::AutoSet;
 use parking_lot::{Mutex, MutexGuard};
 use serde::{Deserialize, Serialize};
+use tracing::trace_span;
 
 use crate::{
     Invalidator, OperationValue, SerializationInvalidator, get_invalidator, mark_session_dependent,
@@ -54,6 +56,7 @@ impl<T: PartialEq> StateInner<T> {
         if self.value == value {
             return false;
         }
+        let _span = trace_span!("state value changed", value_type = type_name::<T>()).entered();
         self.value = value;
         for invalidator in take(&mut self.invalidators) {
             invalidator.invalidate();
Repository: nodejs/node
Pull request: build: support Python 3.12

build: support Python 3.12
* ~Blocked by https://github.com/nodejs/node-gyp/issues/2869~

Changed files:
filename: configure
patch: @@ -4,6 +4,7 @@
 # Note that the mix of single and double quotes is intentional,
 # as is the fact that the ] goes on a new line.
 _=[ 'exec' '/bin/sh' '-c' '''
+command -v python3.12 >/dev/null && exec python3.12 "$0" "$@"
 command -v python3.11 >/dev/null && exec python3.11 "$0" "$@"
 command -v python3.10 >/dev/null && exec python3.10 "$0" "$@"
 command -v python3.9 >/dev/null && exec python3.9 "$0" "$@"
@@ -23,7 +24,7 @@ except ImportError:
   from distutils.spawn import find_executable as which
 
 print('Node.js configure: Found Python {}.{}.{}...'.format(*sys.version_info))
-acceptable_pythons = ((3, 11), (3, 10), (3, 9), (3, 8), (3, 7), (3, 6))
+acceptable_pythons = ((3, 12), (3, 11), (3, 10), (3, 9), (3, 8), (3, 7), (3, 6))
 if sys.version_info[:2] in acceptable_pythons:
   import configure
 else:
Repository: denoland/deno
Pull request: fix: enable edns for Deno.resolveDns

Currently when using `Deno.resolveDns` on a domain with many (large) records **and** using a DNS server that allows large replies over UDP, deno times out with the following error:

```ts
> await Deno.resolveDns('large-txt-records.0x76.dev', 'TXT')
dropped malformed message waiting for id: 23755 err: rdata length too large for remaining bytes, need: 1105 remain: 430
dropped malformed message waiting for id: 60217 err: rdata length too large for remaining bytes, need: 1105 remain: 430
dropped malformed message waiting for id: 53517 err: rdata length too large for remaining bytes, need: 1105 remain: 430
Uncaught TimedOut: proto error: request timed out
    at async Object.resolveDns (ext:deno_net/01_net.js:85:17)
    at async <anonymous>:1:22
```

This PR addresses that issue by enabling edns on the resolver, which includes support for larger UDP dns responses.

Changed files:
filename: ext/net/01_net.js
patch: @@ -87,7 +87,7 @@ async function resolveDns(query, recordType, options) {
       query,
       recordType,
       options,
-    });
+    }, /* useEdns0 */ true);
     return ArrayPrototypeMap(res, (recordWithTtl) => recordWithTtl.data);
   } finally {
     if (options?.signal) {

filename: ext/net/ops.rs
patch: @@ -954,6 +954,7 @@ pub struct NameServer {
 pub async fn op_dns_resolve(
   state: Rc<RefCell<OpState>>,
   #[serde] args: ResolveAddrArgs,
+  use_edns: bool,
 ) -> Result<Vec<DnsRecordWithTtl>, NetError> {
   let ResolveAddrArgs {
     query,
@@ -970,10 +971,13 @@ pub async fn op_dns_resolve(
       name_server.port,
       true,
     );
-    (
-      ResolverConfig::from_parts(None, vec![], group),
-      ResolverOpts::default(),
-    )
+    (ResolverConfig::from_parts(None, vec![], group), {
+      let mut opts = ResolverOpts::default();
+      if use_edns {
+        opts.edns0 = true;
+      }
+      opts
+    })
   } else {
     system_conf::read_system_conf()?
   };

filename: ext/node/polyfills/internal_binding/cares_wrap.ts
patch: @@ -282,7 +282,7 @@ export class ChannelWrap extends AsyncWrap implements ChannelWrapQuery {
         query,
         recordType,
         options: resolveOptions,
-      });
+      }, /* useEdns0 */ false);
       if (ttl) {
         ret = res;
       } else {
Repository: electron/electron
Pull request: build: update_depot_tools on initial install

Backport of #47160

See that PR for details.


Notes: <!-- Please add a one-line description for app developers to read in the release notes, or 'none' if no notes relevant to app developers. Examples and help on special cases: https://github.com/electron/clerk/blob/main/README.md#examples -->none


Changed files:
filename: .github/actions/install-build-tools/action.yml
patch: @@ -13,6 +13,7 @@ runs:
       fi
       export BUILD_TOOLS_SHA=8246e57791b0af4ae5975eb96f09855f9269b1cd
       npm i -g @electron/build-tools
+      e d update_depot_tools
       e auto-update disable
       e d auto-update disable
       if [ "$(expr substr $(uname -s) 1 10)" == "MSYS_NT-10" ]; then
Repository: huggingface/transformers
Pull request: Fix CI jobs being all red 🔴 (false positive)

# What does this PR do?

In my previous PR #40981, there is an issue. When checking `tests_output.txt` produced by running `pytest` with `script` command, we should search instead  `COMMAND_EXIT_CODE` of `PYTEST_EXIT_CODE`.

In the previous PR, I did run the workflow, but I ran it with a job that is know to fail, so I didn't realize the problem.

For a job that has no failure, because there is no `PYTEST_EXIT_CODE` in `tests_output.txt` and the exit code inferred is wrong, cause the job being red.

See https://github.com/huggingface/transformers/actions/runs/17874224681 for example.

This PR fix this target name issue.

Changed files:
filename: .github/workflows/model_jobs.yml
patch: @@ -141,8 +141,8 @@ jobs:
           script -q -c "PATCH_TESTING_METHODS_TO_COLLECT_OUTPUTS=yes _PATCHED_TESTING_METHODS_OUTPUT_DIR=/transformers/reports/${{ env.machine_type }}_${{ inputs.report_name_prefix }}_${{ env.matrix_folders }}_test_reports python3 -m pytest -rsfE -v --make-reports=${{ env.machine_type }}_${{ inputs.report_name_prefix }}_${{ env.matrix_folders }}_test_reports tests/${{ matrix.folders }}" test_outputs.txt
           ls -la
           # Extract the exit code from the output file
-          PYTEST_EXIT_CODE=$(tail -1 test_outputs.txt | grep "PYTEST_EXIT_CODE:" | cut -d: -f2)
-          exit ${PYTEST_EXIT_CODE:-1}
+          EXIT_CODE=$(tail -1 test_outputs.txt | grep -o 'COMMAND_EXIT_CODE="[0-9]*"' | cut -d'"' -f2)
+          exit ${EXIT_CODE:-1}
 
       - name: Failure short reports
         if: ${{ failure() }}
Repository: facebook/react
Pull request: fix[react-devtools]: restore original args when recording errors

## Summary

When DevTools frontend and backend are connected, we patch console in 2 places:
- `patch()`, when renderer is attached to:
  - listen to any errors / warnings emitted
  - append component stack if requested by the user
- `patchForStrictMode()`, when React notifies about that the next invocation is about to happed during StrictMode

`patchForStrictMode()` will always be at the top of the patch stack, because it is called at runtime when React notifies React DevTools, because of this, `patch()` may receive already modified arguments (with stylings for dimming), we should attempt to restore the original arguments

## How did you test this change?

Look at yellow warnings on the element view:
| Before | After |
| --- | --- |
| ![Screenshot 2024-06-25 at 14 38 26](https://github.com/facebook/react/assets/28902667/6b0ec512-f0c9-4557-a524-d7f31b03464d) | ![Screenshot 2024-06-25 at 17 26 23](https://github.com/facebook/react/assets/28902667/60ff5d80-06ea-4447-bbe8-b57bc0c63f6d) |


Changed files:
filename: packages/react-devtools-shared/src/backend/console.js
patch: @@ -51,7 +51,7 @@ const STYLE_DIRECTIVE_REGEX = /^%c/;
 // method has been overridden by the patchForStrictMode function.
 // If it has we'll need to do some special formatting of the arguments
 // so the console color stays consistent
-function isStrictModeOverride(args: Array<string>): boolean {
+function isStrictModeOverride(args: Array<any>): boolean {
   if (__IS_FIREFOX__) {
     return (
       args.length >= 2 &&
@@ -63,6 +63,21 @@ function isStrictModeOverride(args: Array<string>): boolean {
   }
 }
 
+function restorePotentiallyModifiedArgs(args: Array<any>): Array<any> {
+  // If the arguments don't have any styles applied, then just copy
+  if (!isStrictModeOverride(args)) {
+    return args.slice();
+  }
+
+  if (__IS_FIREFOX__) {
+    // Filter out %c from the start of the first argument and color as a second argument
+    return [args[0].slice(2)].concat(args.slice(2));
+  } else {
+    // Filter out the `\x1b...%s\x1b` template
+    return args.slice(1);
+  }
+}
+
 type OnErrorOrWarning = (
   fiber: Fiber,
   type: 'error' | 'warn',
@@ -220,8 +235,8 @@ export function patch({
                     onErrorOrWarning(
                       current,
                       ((method: any): 'error' | 'warn'),
-                      // Copy args before we mutate them (e.g. adding the component stack)
-                      args.slice(),
+                      // Restore and copy args before we mutate them (e.g. adding the component stack)
+                      restorePotentiallyModifiedArgs(args),
                     );
                   }
                 }
Repository: facebook/react
Pull request: [compiler][ez] PrintHIR prints optional flag for debugging

Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #30078
* #30077
* #30076
* #30075
* #30074
* #29891
* #29878

Adding the equivalent of [PrintReactiveFunction:OptionalExpression](https://github.com/facebook/react/blob/f5d2feb4f069a36140d5e605f5eebc52badcc214/compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/PrintReactiveFunction.ts#L218) to `PrintHIR`.

Changed files:
filename: compiler/packages/babel-plugin-react-compiler/src/HIR/PruneUnusedLabelsHIR.ts
patch: @@ -69,7 +69,7 @@ export function pruneUnusedLabelsHIR(fn: HIRFunction): void {
   }
 
   for (const [_, block] of fn.body.blocks) {
-    for (const pred of [...block.preds]) {
+    for (const pred of block.preds) {
       const rewritten = rewrites.get(pred);
       if (rewritten != null) {
         block.preds.delete(pred);
Repository: ollama/ollama
Pull request: Harden the OLLAMA_HOST lookup for quotes

Fixes #2512 

Changed files:
filename: cmd/cmd.go
patch: @@ -685,7 +685,7 @@ func generate(cmd *cobra.Command, opts runOptions) error {
 }
 
 func RunServer(cmd *cobra.Command, _ []string) error {
-	host, port, err := net.SplitHostPort(os.Getenv("OLLAMA_HOST"))
+	host, port, err := net.SplitHostPort(strings.Trim(os.Getenv("OLLAMA_HOST"), "\"'"))
 	if err != nil {
 		host, port = "127.0.0.1", "11434"
 		if ip := net.ParseIP(strings.Trim(os.Getenv("OLLAMA_HOST"), "[]")); ip != nil {
Repository: nodejs/node
Pull request: doc: rename x509.extKeyUsage to x509.keyUsage

This partially reverts #50603. It keeps the description but reverts to use the actual property name. #50603 should not have landed.

https://github.com/nodejs/node/blob/9bc923ac6386a122c1142480cd5115f42aa0bb8f/lib/internal/crypto/x509.js#L270-L277

Changed files:
filename: doc/api/crypto.md
patch: @@ -2690,16 +2690,6 @@ added: v15.6.0
 Checks whether the public key for this certificate is consistent with
 the given private key.
 
-### `x509.extKeyUsage`
-
-<!-- YAML
-added: v15.6.0
--->
-
-* Type: {string\[]}
-
-An array detailing the key extended usages for this certificate.
-
 ### `x509.fingerprint`
 
 <!-- YAML
@@ -2791,6 +2781,16 @@ added: v15.9.0
 The issuer certificate or `undefined` if the issuer certificate is not
 available.
 
+### `x509.keyUsage`
+
+<!-- YAML
+added: v15.6.0
+-->
+
+* Type: {string\[]}
+
+An array detailing the key extended usages for this certificate.
+
 ### `x509.publicKey`
 
 <!-- YAML
Repository: facebook/react
Pull request: [compiler][patch] Patch O(n^2) traversal in validatePreserveMemo

Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #30078
* __->__ #30077
* #30076
* #30075
* #30074
* #29891
* #29878

Double checked by syncing internally and verifying the # of `visitInstruction` calls with unique `InstructionId`s.

This is a bit of an awkward pattern though. A cleaner alternative might be to override `visitValue` and store its results in a sidemap (instead of returning)

Changed files:
filename: compiler/packages/babel-plugin-react-compiler/src/HIR/PruneUnusedLabelsHIR.ts
patch: @@ -69,7 +69,7 @@ export function pruneUnusedLabelsHIR(fn: HIRFunction): void {
   }
 
   for (const [_, block] of fn.body.blocks) {
-    for (const pred of [...block.preds]) {
+    for (const pred of block.preds) {
       const rewritten = rewrites.get(pred);
       if (rewritten != null) {
         block.preds.delete(pred);
Repository: ggml-org/llama.cpp
Pull request: update `LLAMA_ARG_KV_SPLIT` --> `LLAMA_ARG_KV_UNIFIED` to match CLI argument

In `common/arg.cpp`, the `--kv-unified`/`-kvu` option is controlled by the environment variable `LLAMA_ARG_KV_SPLIT`. This PR changes the env var to `LLAMA_ARG_KV_UNIFIED` to match the naming of the CLI argument.

Changed files:
filename: common/arg.cpp
patch: @@ -980,7 +980,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
         [](common_params & params) {
             params.kv_unified = true;
         }
-    ).set_env("LLAMA_ARG_KV_SPLIT"));
+    ).set_env("LLAMA_ARG_KV_UNIFIED"));
     add_opt(common_arg(
         {"--no-context-shift"},
         string_format("disables context shift on infinite text generation (default: %s)", params.ctx_shift ? "disabled" : "enabled"),
Repository: facebook/react
Pull request: [compiler][hir] Correctly remove non-existent terminal preds when pruning labels

Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #30078
* #30077
* __->__ #30076
* #30075
* #30074
* #29891
* #29878

Missed this initially in `pruneUnusedLabelsHIR`. It wasn't an active bug as `preds` wasn't referenced by later passes, until #30079

Changed files:
filename: compiler/packages/babel-plugin-react-compiler/src/HIR/PruneUnusedLabelsHIR.ts
patch: @@ -69,7 +69,7 @@ export function pruneUnusedLabelsHIR(fn: HIRFunction): void {
   }
 
   for (const [_, block] of fn.body.blocks) {
-    for (const pred of [...block.preds]) {
+    for (const pred of block.preds) {
       const rewritten = rewrites.get(pred);
       if (rewritten != null) {
         block.preds.delete(pred);
Repository: nodejs/node
Pull request: doc: fix Pbkdf2Params hash attribute heading

```
pbkdb2Params -> pbkdf2Params
    b        ->     f
```

Changed files:
filename: doc/api/webcrypto.md
patch: @@ -1573,7 +1573,7 @@ added: v15.0.0
 added: v15.0.0
 -->
 
-#### `pbkdb2Params.hash`
+#### `pbkdf2Params.hash`
 
 <!-- YAML
 added: v15.0.0
Repository: electron/electron
Pull request: fix: prevent gc monitor 2nd pass crash

Backport of #46987

See that PR for details.


Notes: no-notes

Changed files:
filename: shell/common/gin_converters/osr_converter.cc
patch: @@ -143,19 +143,21 @@ v8::Local<v8::Value> Converter<electron::OffscreenSharedTextureValue>::ToV8(
           // texture, output it in second pass callback.
           data.SetSecondPassCallback([](const v8::WeakCallbackInfo<
                                          OffscreenReleaseHolderMonitor>& data) {
-            auto* iso = data.GetIsolate();
             // Emit warning only once
             static std::once_flag flag;
             std::call_once(flag, [=] {
-              electron::util::EmitWarning(
-                  iso,
-                  "[OSR TEXTURE LEAKED] When using OSR with "
-                  "`useSharedTexture`, `texture.release()` "
-                  "must be called explicitly as soon as the texture is "
-                  "copied to your rendering system. "
-                  "Otherwise, it will soon drain the underlying "
-                  "framebuffer and prevent future frames from being generated.",
-                  "SharedTextureOSRNotReleased");
+              base::SingleThreadTaskRunner::GetCurrentDefault()->PostTask(
+                  FROM_HERE, base::BindOnce([] {
+                    electron::util::EmitWarning(
+                        "Offscreen rendering shared texture was garbage "
+                        "collected before calling `release()`. When using OSR "
+                        "with `useSharedTexture: true`, `texture.release()` "
+                        "must be called explicitly as soon as the texture is "
+                        "copied to your rendering system. Otherwise, it will "
+                        "soon drain the underlying frame pool and prevent "
+                        "future frames from being sent.",
+                        "OSRSharedTextureNotReleased");
+                  }));
             });
           });
         }
Repository: ggml-org/llama.cpp
Pull request: [SYCL] enhance argsort for UT

Fix the crash in CI.
Skip the UT cases which need local share memory than device's capability.
Make the supported cases are passed 100%.



Changed files:
filename: ggml/src/ggml-sycl/ggml-sycl.cpp
patch: @@ -1787,6 +1787,7 @@ static void argsort_f32_i32_sycl(const float *x, int *dst, const int ncols,
     const sycl::range<3> block_dims(1, 1, nth);
     const sycl::range<3> block_nums(1, nrows, 1);
     const size_t shared_mem = ncols_pad * sizeof(int);
+    GGML_ASSERT(shared_mem<=ggml_sycl_info().devices[device].smpbo);
 
     if (order == GGML_SORT_ORDER_ASC) {
         stream->submit([&](sycl::handler &cgh) {
@@ -4348,6 +4349,9 @@ static ggml_backend_buffer_t ggml_backend_sycl_device_buffer_from_host_ptr(ggml_
 }
 
 static bool ggml_backend_sycl_device_supports_op(ggml_backend_dev_t dev, const ggml_tensor * op) {
+    ggml_backend_sycl_device_context *sycl_ctx =
+        (ggml_backend_sycl_device_context *)dev->context;
+    int device = sycl_ctx->device;
     switch (op->op) {
         case GGML_OP_CONV_TRANSPOSE_1D:
             {
@@ -4601,8 +4605,10 @@ static bool ggml_backend_sycl_device_supports_op(ggml_backend_dev_t dev, const g
         case GGML_OP_SUM:
         case GGML_OP_SUM_ROWS:
         case GGML_OP_MEAN:
-        case GGML_OP_ARGSORT:
             return ggml_is_contiguous(op->src[0]);
+        case GGML_OP_ARGSORT:
+            return op->src[0]->ne[0] * sizeof(int) <=
+                   ggml_sycl_info().devices[device].smpbo;
         case GGML_OP_POOL_2D:
         case GGML_OP_ACC:
             return true;
Repository: ollama/ollama
Pull request: Revert "Revert "bump submodule to `6c00a06` (#2479)""

This reverts commit 6920964b87971c8201097130bfdedbf56aaa13a7.

Changed files:
filename: llm/llama.cpp
patch: @@ -1 +1 @@
-Subproject commit 099afc6274c859ca67146e725839f2d97a5ef313
+Subproject commit 6c00a066928b0475b865a2e3e709e2166e02d548
Repository: ollama/ollama
Pull request: set `shutting_down` to `false` once shutdown is complete


Changed files:
filename: llm/ext_server/ext_server.cpp
patch: @@ -183,6 +183,7 @@ void llama_server_stop() {
   delete llama;
   llama = NULL;
   LOG_TEE("llama server shutdown complete\n");
+  shutting_down = false;
 }
 
 void llama_server_completion(const char *json_req, ext_server_resp_t *resp) {
Repository: ollama/ollama
Pull request: Bump llama.cpp submodule to `6c00a06`


Changed files:
filename: llm/llama.cpp
patch: @@ -1 +1 @@
-Subproject commit 099afc6274c859ca67146e725839f2d97a5ef313
+Subproject commit 6c00a066928b0475b865a2e3e709e2166e02d548