[Automated PR (update-readme)]: Document TABPFN_MODEL_CACHE_SIZE and TABPFN_EXCLUDE_DEVICES env vars - #1244
Open
claude[bot] wants to merge 1 commit into
Open
[Automated PR (update-readme)]: Document TABPFN_MODEL_CACHE_SIZE and TABPFN_EXCLUDE_DEVICES env vars#1244claude[bot] wants to merge 1 commit into
claude[bot] wants to merge 1 commit into
Conversation
…ICES env vars The environment-variable FAQ answers "What environment variables can I use to configure TabPFN?" but omitted two configuration variables that exist in the codebase: - TABPFN_MODEL_CACHE_SIZE: opt-in LRU cache of built models (src/tabpfn/model_loading.py; announced in CHANGELOG 8.3.0) - TABPFN_EXCLUDE_DEVICES: exclude device types from automatic device selection (src/tabpfn/utils.py) Add both to the existing list to keep the reference accurate. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01268Qq5aFytqL817RJxow2v
ggprior
approved these changes
Sep 7, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Routine owner: Philipp Singer — the person to ping if this PR misbehaves or the routine produces bad output.
As the automatically chosen reviewer, you are responsible for this PR.
Feel free to close or edit the PR, and either merge when ready or assign another reviewer if needed.
If the PR is not satisfactory, please edit the prompt in update-readme in the misc/claude-routines directory, or contact the routine owner.
What
The README's environment-variable FAQ ("What environment variables can I use to configure TabPFN?") lists the model-configuration variables a user can set, but two that exist in the codebase were missing. This adds them to the existing list.
TABPFN_MODEL_CACHE_SIZEsrc/tabpfn/model_loading.pyTABPFN_EXCLUDE_DEVICESsrc/tabpfn/utils.pydevice="auto") device selectionWhy
Weekly README-accuracy routine. The rest of the README was checked against the codebase and is consistent (Python versions,
ModelVersionenum values, checkpoint filenames, CPU sample limits, and every other documented env var and default). These two omissions were the only discrepancy found. The change is scoped to two one-line additions in the existing list — no new sections or topics.Verification
TABPFN_MODEL_CACHE_SIZE: read viaos.environ.get("TABPFN_MODEL_CACHE_SIZE", "0")in_get_built_model_cache_size(model_loading.py); default0disables the cache.TABPFN_EXCLUDE_DEVICES: read viaos.getenv("TABPFN_EXCLUDE_DEVICES", "")inutils.py, split on commas and applied only in thedevice="auto"path.🤖 Generated with Claude Code
https://claude.ai/code/session_01268Qq5aFytqL817RJxow2v
Generated by Claude Code