helloadhavan/github_issues huggingface dataset:
Repository: ollama/ollama
Pull request: Documenting how to view `Modelfile`s

Upstreaming info from https://github.com/jmorganca/ollama/issues/685:

- Documented tags page in https://ollama.ai/library
- Documented `ollama show --modelfile`

Changed files:
filename: docs/modelfile.md
patch: @@ -41,6 +41,8 @@ INSTRUCTION arguments
 
 ## Examples
 
+### Basic `Modelfile`
+
 An example of a `Modelfile` creating a mario blueprint:
 
 ```modelfile
@@ -63,6 +65,35 @@ To use this:
 
 More examples are available in the [examples directory](../examples).
 
+### `Modelfile`s in [ollama.ai/library][1]
+
+There are two ways to view `Modelfile`s underlying the models in [ollama.ai/library][1]:
+
+- Option 1: view a details page from a model's tags page:
+   1. Go to a particular model's tags (e.g. https://ollama.ai/library/llama2/tags)
+   2. Click on a tag (e.g. https://ollama.ai/library/llama2:13b)
+   3. Scroll down to "Layers"
+      - Note: if the [`FROM` instruction](#from-required) is not present,
+        it means the model was created from a local file
+- Option 2: use `ollama show` to print the `Modelfile` like so:
+
+  ```bash
+  > ollama show --modelfile llama2:13b
+  # Modelfile generated by "ollama show"
+  # To build a new Modelfile based on this one, replace the FROM line with:
+  # FROM llama2:13b
+
+  FROM /root/.ollama/models/blobs/sha256:123abc
+  TEMPLATE """
 {{ if and .First .System }}
{{ .System }}

+
+  {{ end }}{{ .Prompt }} 
 """
+  SYSTEM """"""
+  PARAMETER stop 

+  PARAMETER stop 

+  PARAMETER stop 

+  PARAMETER stop 

+  ```
+
 ## Instructions
 
 ### FROM (Required)
@@ -177,3 +208,5 @@ LICENSE """
 
 - the **`Modelfile` is not case sensitive**. In the examples, we use uppercase for instructions to make it easier to distinguish it from arguments.
 - Instructions can be in any order. In the examples, we start with FROM instruction to keep it easily readable.
+
+[1]: https://ollama.ai/library
Repository: denoland/deno
Pull request: fix(cli): make --eval-file flag work without equals sign

## Summary

Fixes #30958 by removing the `require_equals(true)` constraint from the `--eval-file` flag, making the equals sign optional.

## Problem

The `--eval-file` flag currently requires an equals sign (`--eval-file=file.ts`), which makes it impossible to use in hashbang contexts where arguments cannot contain equals signs.

## Solution

Removed `.require_equals(true)` from the flag definition in `cli/args/flags.rs`, allowing both syntaxes:
- `deno repl --eval-file script.ts` (new, works with hashbangs)
- `deno repl --eval-file=script.ts` (still works, backwards compatible)
- `deno repl --eval-file 1.ts --eval-file 2.ts` (multiple files)

## Changes

- Removed `require_equals(true)` constraint from `--eval-file` flag
- Added test case for using flag without equals sign
- Added test case for multiple `--eval-file` flags

## Testing

Added two new test cases:
1. `repl_with_eval_file_flag_no_equals` - Tests `--eval-file script.ts` syntax
2. `repl_with_eval_file_flag_multiple` - Tests multiple flags

The existing test `repl_with_eval_file_flag` continues to work, ensuring backwards compatibility.

## Use Case

This enables the following hashbang usage:
```sh
#!/usr/bin/env -S deno repl --allow-read --eval-file
console.log('hello from data.ts')
```

Changed files:
filename: cli/args/flags.rs
patch: @@ -3434,7 +3434,7 @@ TypeScript is supported, however it is not type-checked, only transpiled."
           .long("eval-file")
           .num_args(1..)
           .action(ArgAction::Append)
-          .require_equals(true)
+          .use_value_delimiter(true)
           .help("Evaluates the provided file(s) as scripts when the REPL starts. Accepts file paths and URLs")
           .value_hint(ValueHint::AnyPath),
       )
@@ -8799,6 +8799,44 @@ mod tests {
     );
   }
 
+  #[test]
+  fn repl_with_eval_file_flag_no_equals() {
+    // Test without equals sign (for hashbang usage)
+    #[rustfmt::skip]
+    let r = flags_from_vec(svec!["deno", "repl", "--eval-file", "./script.ts"]);
+    assert_eq!(
+      r.unwrap(),
+      Flags {
+        subcommand: DenoSubcommand::Repl(ReplFlags {
+          eval_files: Some(vec!["./script.ts".to_string()]),
+          eval: None,
+          is_default_command: false,
+          json: false,
+        }),
+        ..Flags::default()
+      }
+    );
+  }
+
+  #[test]
+  fn repl_with_eval_file_flag_multiple() {
+    // Test multiple --eval-file flags
+    #[rustfmt::skip]
+    let r = flags_from_vec(svec!["deno", "repl", "--eval-file", "./a.ts", "--eval-file", "./b.ts"]);
+    assert_eq!(
+      r.unwrap(),
+      Flags {
+        subcommand: DenoSubcommand::Repl(ReplFlags {
+          eval_files: Some(vec!["./a.ts".to_string(), "./b.ts".to_string()]),
+          eval: None,
+          is_default_command: false,
+          json: false,
+        }),
+        ..Flags::default()
+      }
+    );
+  }
+
   #[test]
   fn allow_read_allowlist() {
     use test_util::TempDir;
Repository: ollama/ollama
Pull request: Add Laravel package to README.md


Changed files:
filename: README.md
patch: @@ -249,6 +249,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [ModelFusion Typescript Library](https://modelfusion.dev/integration/model-provider/ollama)
 - [OllamaKit for Swift](https://github.com/kevinhermawan/OllamaKit)
 - [Ollama for Dart](https://github.com/breitburg/dart-ollama)
+- [Ollama for Laravel](https://github.com/cloudstudio/ollama-laravel)
 
 ### Mobile
Repository: ollama/ollama
Pull request: Adding `ogpt.nvim` into the list of plugins!

ChatGPT.nvim is a well built plugin. `ogpt.nvim` is a fork that supports Ollama

Changed files:
filename: README.md
patch: @@ -234,6 +234,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [Emacs client](https://github.com/zweifisch/ollama)
 - [gen.nvim](https://github.com/David-Kunz/gen.nvim)
 - [ollama.nvim](https://github.com/nomnivore/ollama.nvim)
+- [ogpt.nvim](https://github.com/huynle/ogpt.nvim)
 - [gptel Emacs client](https://github.com/karthink/gptel)
 
 ### Libraries
Repository: ollama/ollama
Pull request: Add Rivet to Community Integrations

Adds the [Ollama plugin](https://github.com/abrenneke/rivet-plugin-ollama) for [Rivet](https://rivet.ironcladapp.com/) to the community integrations list (Extensions & Plugins section)

Changed files:
filename: README.md
patch: @@ -263,3 +263,4 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [Dagger Chatbot](https://github.com/samalba/dagger-chatbot)
 - [Discord AI Bot](https://github.com/mekb-turtle/discord-ai-bot)
 - [Hass Ollama Conversation](https://github.com/ej52/hass-ollama-conversation)
+- [Rivet plugin](https://github.com/abrenneke/rivet-plugin-ollama)
Repository: facebook/react
Pull request: Import correct prod version of jsx-dev-runtime for react-server

Follow-up to https://github.com/facebook/react/pull/28921/

Changed files:
filename: packages/react/npm/jsx-dev-runtime.react-server.js
patch: @@ -1,7 +1,7 @@
 'use strict';
 
 if (process.env.NODE_ENV === 'production') {
-  module.exports = require('./cjs/react-jsx-dev-runtime.react-server.production.min.js');
+  module.exports = require('./cjs/react-jsx-dev-runtime.react-server.production.js');
 } else {
   module.exports = require('./cjs/react-jsx-dev-runtime.react-server.development.js');
 }
Repository: nodejs/node
Pull request: doc: update vm doc links

Synthetic Module Record is defined in the ECMA262. Link indirect eval
calls to MDN with rich examples.

Changed files:
filename: doc/api/vm.md
patch: @@ -1640,8 +1640,8 @@ console.log(`evalResult: '${evalResult}', localVar: '${localVar}'`);
 ```
 
 Because `vm.runInThisContext()` does not have access to the local scope,
-`localVar` is unchanged. In contrast, [`eval()`][] _does_ have access to the
-local scope, so the value `localVar` is changed. In this way
+`localVar` is unchanged. In contrast, a direct `eval()` call _does_ have access
+to the local scope, so the value `localVar` is changed. In this way
 `vm.runInThisContext()` is much like an [indirect `eval()` call][], e.g.
 `(0,eval)('code')`.
 
@@ -2041,10 +2041,10 @@ const { Script, SyntheticModule } = require('node:vm');
 [HostResolveImportedModule]: https://tc39.es/ecma262/#sec-hostresolveimportedmodule
 [ImportDeclaration]: https://tc39.es/ecma262/#prod-ImportDeclaration
 [Link() concrete method]: https://tc39.es/ecma262/#sec-moduledeclarationlinking
-[Module Record]: https://262.ecma-international.org/14.0/#sec-abstract-module-records
+[Module Record]: https://tc39.es/ecma262/#sec-abstract-module-records
 [Source Text Module Record]: https://tc39.es/ecma262/#sec-source-text-module-records
 [Support of dynamic `import()` in compilation APIs]: #support-of-dynamic-import-in-compilation-apis
-[Synthetic Module Record]: https://heycam.github.io/webidl/#synthetic-module-records
+[Synthetic Module Record]: https://tc39.es/ecma262/#sec-synthetic-module-records
 [V8 Embedder's Guide]: https://v8.dev/docs/embed#contexts
 [WithClause]: https://tc39.es/ecma262/#prod-WithClause
 [`ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING_FLAG`]: errors.md#err_vm_dynamic_import_callback_missing_flag
@@ -2064,6 +2064,6 @@ const { Script, SyntheticModule } = require('node:vm');
 [`vm.runInContext()`]: #vmrunincontextcode-contextifiedobject-options
 [`vm.runInThisContext()`]: #vmruninthiscontextcode-options
 [contextified]: #what-does-it-mean-to-contextify-an-object
-[global object]: https://es5.github.io/#x15.1
-[indirect `eval()` call]: https://es5.github.io/#x10.4.2
+[global object]: https://tc39.es/ecma262/#sec-global-object
+[indirect `eval()` call]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval#direct_and_indirect_eval
 [origin]: https://developer.mozilla.org/en-US/docs/Glossary/Origin
Repository: ollama/ollama
Pull request: README: link to LangChainGo for talking to ollama, with an example


Changed files:
filename: README.md
patch: @@ -239,6 +239,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 ### Libraries
 
 - [LangChain](https://python.langchain.com/docs/integrations/llms/ollama) and [LangChain.js](https://js.langchain.com/docs/modules/model_io/models/llms/integrations/ollama) with [example](https://js.langchain.com/docs/use_cases/question_answering/local_retrieval_qa)
+- [LangChainGo](https://github.com/tmc/langchaingo/) with [example](https://github.com/tmc/langchaingo/tree/main/examples/ollama-completion-example)
 - [LlamaIndex](https://gpt-index.readthedocs.io/en/stable/examples/llm/ollama.html)
 - [LiteLLM](https://github.com/BerriAI/litellm)
 - [OllamaSharp for .NET](https://github.com/awaescher/OllamaSharp)
Repository: huggingface/transformers
Pull request: Pin torchcodec to 0.5 in AMD docker

Some tests are failing on the AMD CI ([like in this run](https://github.com/huggingface/transformers/actions/runs/17351600834/job/49258855146)) because of `torchcodec` with the follwing error: 
```
FAILED tests/models/internvl/test_processing_internvl.py::InternVLProcessorTest::test_apply_chat_template_video_frame_sampling - RuntimeError: torchcodec_ns::get_frames_at_indices() Expected a value of type 'List[int]' for argument 'frame_indices' but instead found type 'Tensor'.
Position: 1
Value: tensor([ 50, 150, 250], dtype=torch.int32)
Declaration: torchcodec_ns::get_frames_at_indices(Tensor(a!) decoder, *, int[] frame_indices) -> (Tensor, Tensor, Tensor)
Cast error details: Unable to cast Python instance of type <class 'torch.Tensor'> to C++ type '?' (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
```
and pining `torchcodec` version to 0.5 in the docker, instead of the current 0.4, fixes this. Tested 0.6 as well and it did not work. 

Changed files:
filename: docker/transformers-pytorch-amd-gpu/Dockerfile
patch: @@ -20,8 +20,6 @@ WORKDIR /
 ADD https://api.github.com/repos/huggingface/transformers/git/refs/heads/main version.json
 RUN git clone https://github.com/huggingface/transformers && cd transformers && git checkout $REF
 
-# On ROCm, torchcodec is required to decode audio files
-# RUN python3 -m pip install --no-cache-dir torchcodec
 # Install transformers
 RUN python3 -m pip install --no-cache-dir -e ./transformers[dev-torch,testing,video,audio]
 
@@ -37,3 +35,6 @@ RUN python3 -m pip uninstall py3nvml pynvml nvidia-ml-py apex -y
 
 # `kernels` may causes many failing tests
 RUN python3 -m pip uninstall -y kernels
+
+# On ROCm, torchcodec is required to decode audio files and 0.4 or 0.6 fails
+RUN python3 -m pip install --no-cache-dir "torchcodec==0.5"
Repository: ollama/ollama
Pull request: Fix issues sending incomplete body and add retry backoff for `ollama push`

Builds on #1184 

This change increases the upload chunk sizes and adds more graceful retry backoffs to fix issues transient network issues  when using `ollama push`.

It also fixes an issue where an incomplete body would be uploaded, requiring the need for a retry.

Changed files:
filename: server/upload.go
patch: @@ -155,6 +155,7 @@ func (b *blobUpload) Run(ctx context.Context, opts *RegistryOptions) {
 					case errors.Is(err, errMaxRetriesExceeded):
 						return err
 					case err != nil:
+						part.Reset()
 						sleep := time.Second * time.Duration(math.Pow(2, float64(try)))
 						log.Printf("%s part %d attempt %d failed: %v, retrying in %s", b.Digest[7:19], part.N, try, err, sleep)
 						time.Sleep(sleep)
@@ -258,6 +259,7 @@ func (b *blobUpload) uploadChunk(ctx context.Context, method string, requestURL
 			case errors.Is(err, errMaxRetriesExceeded):
 				return err
 			case err != nil:
+				part.Reset()
 				sleep := time.Second * time.Duration(math.Pow(2, float64(try)))
 				log.Printf("%s part %d attempt %d failed: %v, retrying in %s", b.Digest[7:19], part.N, try, err, sleep)
 				time.Sleep(sleep)
Repository: ollama/ollama
Pull request: fix potentially inaccurate error message

In the case of not enough VRAM being available this log made it seem as though there was an issue with cuda libraries. Move the error details to only be returned if `nvidia-smi` is not available specifically. 

Changed files:
filename: llm/llama.go
patch: @@ -226,7 +226,7 @@ type llama struct {
 }
 
 var (
-	errNvidiaSMI     = errors.New("warning: gpu support may not be enabled, check you have installed GPU drivers: nvidia-smi command failed")
+	errNvidiaSMI     = errors.New("warning: gpu support may not be enabled, check that you have installed GPU drivers: nvidia-smi command failed")
 	errAvailableVRAM = errors.New("not enough VRAM available, falling back to CPU only")
 )
Repository: electron/electron
Pull request: fix: window border on Gnome Wayland

Backport of #46624

See that PR for details.


Notes: Fixed an inverted conditional in the above PR that caused broken window borders in some circumstances on Wayland.


Changed files:
filename: shell/browser/ui/electron_desktop_window_tree_host_linux.cc
patch: @@ -203,7 +203,7 @@ void ElectronDesktopWindowTreeHostLinux::UpdateFrameHints() {
     if (ui::OzonePlatform::GetInstance()->IsWindowCompositingSupported()) {
       // Set the opaque region.
       std::vector<gfx::Rect> opaque_region;
-      if (!IsShowingFrame()) {
+      if (IsShowingFrame()) {
         // The opaque region is a list of rectangles that contain only fully
         // opaque pixels of the window.  We need to convert the clipping
         // rounded-rect into this format.
Repository: huggingface/transformers
Pull request: [`Tests`] Fixup duplicated mrope logic

Rebase/merge didnt remove the logic in #40490 because they were done at 2 different lines in the code

cc @zucchini-nlp 

Changed files:
filename: tests/test_modeling_common.py
patch: @@ -4792,15 +4792,6 @@ def update_config_headdim(config, requested_dim):
                 head_dim = head_dim if head_dim is not None else config.hidden_size // config.num_attention_heads
                 config.hidden_size *= max(requested_dim // head_dim, 1)
 
-                # Some models use 3D RoPE where the sum of RoPE sections has to be equal to head dim
-                if (
-                    getattr(config, "rope_scaling", None) is not None
-                    and config.rope_scaling.get("mrope_section") is not None
-                ):
-                    mrope_section = config.rope_scaling["mrope_section"]
-                    mutiplier = max(requested_dim // head_dim, 1)
-                    config.rope_scaling = {"type": "default", "mrope_section": [i * mutiplier for i in mrope_section]}
-
             if (
                 getattr(config, "decoder_hidden_size", None) is not None
                 and getattr(config, "decoder_num_attention_heads", None) is not None
Repository: ggml-org/llama.cpp
Pull request: metal : retain src and dst buffers during async ops

rel https://github.com/ggml-org/llama.cpp/issues/16945#issuecomment-3506335696

Make the command buffers for async ops retain a reference to the src/dst Metal buffers so they get properly released.

Changed files:
filename: ggml/src/ggml-metal/ggml-metal-context.m
patch: @@ -289,7 +289,7 @@ void ggml_metal_set_tensor_async(ggml_metal_t ctx, struct ggml_tensor * tensor,
 
         // queue the copy operation into the queue of the Metal context
         // this will be queued at the end, after any currently ongoing GPU operations
-        id<MTLCommandBuffer> cmd_buf = [ctx->queue commandBufferWithUnretainedReferences];
+        id<MTLCommandBuffer> cmd_buf = [ctx->queue commandBuffer];
         id<MTLBlitCommandEncoder> encoder = [cmd_buf blitCommandEncoder];
 
         [encoder copyFromBuffer:buf_src
@@ -300,6 +300,7 @@ void ggml_metal_set_tensor_async(ggml_metal_t ctx, struct ggml_tensor * tensor,
 
         [encoder endEncoding];
         [cmd_buf commit];
+        [buf_src release];
 
         // do not wait here for completion
         //[cmd_buf waitUntilCompleted];
@@ -330,7 +331,7 @@ void ggml_metal_get_tensor_async(ggml_metal_t ctx, const struct ggml_tensor * te
 
         // queue the copy operation into the queue of the Metal context
         // this will be queued at the end, after any currently ongoing GPU operations
-        id<MTLCommandBuffer> cmd_buf = [ctx->queue commandBufferWithUnretainedReferences];
+        id<MTLCommandBuffer> cmd_buf = [ctx->queue commandBuffer];
         id<MTLBlitCommandEncoder> encoder = [cmd_buf blitCommandEncoder];
 
         [encoder copyFromBuffer:bid_src.metal
@@ -341,6 +342,7 @@ void ggml_metal_get_tensor_async(ggml_metal_t ctx, const struct ggml_tensor * te
 
         [encoder endEncoding];
         [cmd_buf commit];
+        [buf_dst release];
 
         // do not wait here for completion
         //[cmd_buf waitUntilCompleted];
Repository: denoland/deno
Pull request: fix(coverage): deno test --coverage fails when importing modules from blob: urls

Fixes #31030. I did try to run the full test suite but some of the tests were failing for seemingly unrelated reasons such as npm 404s. The new test did pass though.

Changed files:
filename: cli/tools/coverage/mod.rs
patch: @@ -441,6 +441,7 @@ fn filter_coverages(
     .filter(|e| {
       let is_internal = e.url.starts_with("ext:")
         || e.url.starts_with("data:")
+        || e.url.starts_with("blob:")
         || e.url.ends_with("__anonymous__")
         || e.url.ends_with("$deno$test.mjs")
         || e.url.contains("/$deno$stdin.")

filename: tests/specs/coverage/blob_url/__test__.jsonc
patch: @@ -0,0 +1,6 @@
+{
+  "tempDir": true,
+  "args": "test --coverage main_test.ts",
+  "output": "main.out",
+  "exitCode": 0
+}

filename: tests/specs/coverage/blob_url/main.out
patch: @@ -0,0 +1,12 @@
+Check [WILDLINE]/main_test.ts
+running 1 test from ./main_test.ts
+test ... ok ([WILDLINE])
+
+ok | 1 passed | 0 failed ([WILDLINE])
+
+| File      | Branch % | Line % |
+| --------- | -------- | ------ |
+| main.ts   |    100.0 |  100.0 |
+| All files |    100.0 |  100.0 |
+Lcov coverage report has been generated at [WILDLINE]
+HTML coverage report has been generated at [WILDLINE]

filename: tests/specs/coverage/blob_url/main.ts
patch: @@ -0,0 +1,8 @@
+export async function foo() {
+  const { default: bar } = await import(
+    URL.createObjectURL(
+      new Blob(["export default 'bar'"], { type: "application/typescript" }),
+    )
+  );
+  return bar;
+}

filename: tests/specs/coverage/blob_url/main_test.ts
patch: @@ -0,0 +1,5 @@
+import { foo } from "./main.ts";
+
+Deno.test("test", async () => {
+  await foo();
+});
Repository: nodejs/node
Pull request: crypto: fix inclusion of `OPENSSL_IS_BORINGSSL` define

Refs https://github.com/nodejs/node/pull/58387.

Fixes `OPENSSL_IS_BORINGSSL ` not being defined in cases where it should be due to missing include. See [relevant BoringSSL file](https://source.chromium.org/chromium/chromium/src/+/main:third_party/boringssl/src/include/openssl/base.h)

<!--
Before submitting a pull request, please read:

- the CONTRIBUTING guide at https://github.com/nodejs/node/blob/HEAD/CONTRIBUTING.md
- the commit message formatting guidelines at
  https://github.com/nodejs/node/blob/HEAD/doc/contributing/pull-requests.md#commit-message-guidelines

For code changes:
1. Include tests for any bug fixes or new features.
2. Update documentation if relevant.
3. Ensure that `make -j4 test` (UNIX), or `vcbuild test` (Windows) passes.

If you believe this PR should be highlighted in the Node.js CHANGELOG
please add the `notable-change` label.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.
-->


Changed files:
filename: src/node_config.cc
patch: @@ -7,6 +7,10 @@
 #include "node_options.h"
 #include "util-inl.h"
 
+#if HAVE_OPENSSL
+#include "ncrypto.h"  // Ensure OPENSSL_IS_BORINGSSL is defined if applicable
+#endif
+
 namespace node {
 
 using v8::Context;
Repository: huggingface/transformers
Pull request: Fix inexistent imports

# What does this PR do?
 
Fix inexistent imports in `src/transformers/__init__.py`

Changed files:
filename: src/transformers/__init__.py
patch: @@ -585,7 +585,6 @@
     from .cache_utils import HQQQuantizedCache as HQQQuantizedCache
     from .cache_utils import HQQQuantizedLayer as HQQQuantizedLayer
     from .cache_utils import HybridCache as HybridCache
-    from .cache_utils import MambaCache as MambaCache
     from .cache_utils import OffloadedCache as OffloadedCache
     from .cache_utils import OffloadedStaticCache as OffloadedStaticCache
     from .cache_utils import QuantizedCache as QuantizedCache
@@ -786,6 +785,7 @@
     from .modeling_utils import AttentionInterface as AttentionInterface
     from .modeling_utils import PreTrainedModel as PreTrainedModel
     from .models import *
+    from .models.mamba.modeling_mamba import MambaCache as MambaCache
     from .models.timm_wrapper import TimmWrapperImageProcessor as TimmWrapperImageProcessor
 
     # Optimization

filename: src/transformers/models/timm_wrapper/__init__.py
patch: @@ -19,8 +19,8 @@
 
 if TYPE_CHECKING:
     from .configuration_timm_wrapper import *
+    from .image_processing_timm_wrapper import *
     from .modeling_timm_wrapper import *
-    from .processing_timm_wrapper import *
 else:
     import sys