Skip to content

Optional use cache#20

Closed
amd-rtalling wants to merge 3 commits into
mainfrom
optional-use-cache
Closed

Optional use cache#20
amd-rtalling wants to merge 3 commits into
mainfrom
optional-use-cache

Conversation

@amd-rtalling

@amd-rtalling amd-rtalling commented Apr 24, 2026

Copy link
Copy Markdown

Make use_cache optional

Also added exclusion of null fields exclude_none=True

def get_model_load_kwargs(self): """Returns a dictionary that is ready to be passed to AutoModelForCausalLM.from_pretrained as **kwargs""" return self.model_dump(exclude_unset=True, exclude_none=True)

@amd-rtalling amd-rtalling requested a review from Gastron April 24, 2026 10:30
@Gastron

Gastron commented Apr 24, 2026

Copy link
Copy Markdown
Collaborator

Fixed in #21

@Gastron Gastron closed this Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants