Skip to content

Don't hijack a caller-configured JAX compilation cache#451

Open
eltsai wants to merge 1 commit into
mainfrom
jax_cache_redirect
Open

Don't hijack a caller-configured JAX compilation cache#451
eltsai wants to merge 1 commit into
mainfrom
jax_cache_redirect

Conversation

@eltsai

@eltsai eltsai commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

run_wan_fast_inference.sh hardcoded all three of its caches under
$HOME/.cache/maxdiffusion_wan, including jax_cache_dir. Because a
jax_cache_dir= on the command line beats the yaml file and
JAX_COMPILATION_CACHE_DIR (pyconfig.py:141-142 calls
jax.config.update), the script silently redirected an
already-configured JAX cache to its own private root, as well as the
55G converted-weights dir. This PR fixes this.

@eltsai
eltsai requested a review from syhuang22 July 24, 2026 23:03
@eltsai
eltsai requested a review from entrpn as a code owner July 24, 2026 23:03
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@eltsai eltsai self-assigned this Jul 24, 2026
@github-actions

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants