Skip to content

Commit 8564d3a

Browse files
Chore: Fix Flat Ref Defaults (#21)
* Chore: Fix Flat Ref Defaults * wrong branch
1 parent 3a5d12b commit 8564d3a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/flashpack/integrations/diffusers/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def from_pretrained_flashpack(
8787
strict: bool | None = None,
8888
strict_params: bool = True,
8989
strict_buffers: bool = False,
90-
keep_flash_ref_on_model: bool = True,
90+
keep_flash_ref_on_model: bool = False,
9191
num_streams: int = DEFAULT_NUM_STREAMS,
9292
chunk_bytes: int = DEFAULT_CHUNK_BYTES,
9393
ignore_names: list[str] | None = None,

src/flashpack/integrations/transformers/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def from_pretrained_flashpack(
9090
strict: bool | None = None,
9191
strict_params: bool = True,
9292
strict_buffers: bool = False,
93-
keep_flash_ref_on_model: bool = True,
93+
keep_flash_ref_on_model: bool = False,
9494
num_streams: int = DEFAULT_NUM_STREAMS,
9595
chunk_bytes: int = DEFAULT_CHUNK_BYTES,
9696
ignore_names: list[str] | None = None,

src/flashpack/mixin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def from_flashpack(
3434
strict: bool | None = None,
3535
strict_params: bool = True,
3636
strict_buffers: bool = False,
37-
keep_flash_ref_on_model: bool = True,
37+
keep_flash_ref_on_model: bool = False,
3838
ignore_names: list[str] | None = None,
3939
ignore_prefixes: list[str] | None = None,
4040
ignore_suffixes: list[str] | None = None,

0 commit comments

Comments
 (0)