Samuel Marks
Samuel Marks
> The existing code has a few assumptions about where xpk is installed. In some places, it expects it in `./~/xpk`, in some, `./../xpk`, in some `./xpk` (in others, maybe...
@bvandermoon > I basically just copied @lukebaumann code > > Hmm, what I was thinking is to put all the user-set variables in one file. That's why I made these...
@hertschuh updated
@hertschuh Done
Yeah I register 9 files;`rg -Fl 'xpk"'`: - [benchmarks/recipes/args_helper.py](benchmarks/recipes/args_helper.py) - [benchmarks/recipes/pw_mcjax_benchmark_recipe.py](https://github.com/AI-Hypercomputer/maxtext/tree/e86e6a8/benchmarks/recipes/pw_mcjax_benchmark_recipe.py) - [benchmarks/benchmark_runner.py](https://github.com/AI-Hypercomputer/maxtext/tree/e86e6a8/benchmarks/benchmark_runner.py) - [benchmarks/recipes/pw_suspend_resume.py](https://github.com/AI-Hypercomputer/maxtext/tree/e86e6a8/benchmarks/recipes/pw_suspend_resume.py) - [benchmarks/recipes/pw_elastic_training_recipe.py](https://github.com/AI-Hypercomputer/maxtext/tree/e86e6a8/benchmarks/recipes/pw_elastic_training_recipe.py) - [benchmarks/recipes/pw_mcjax_checkpoint_benchmark_recipe.py](https://github.com/AI-Hypercomputer/maxtext/tree/e86e6a8/benchmarks/recipes/pw_mcjax_checkpoint_benchmark_recipe.py) - [benchmarks/recipes/pw_long_running_recipe.py](https://github.com/AI-Hypercomputer/maxtext/tree/e86e6a8/benchmarks/recipes/pw_long_running_recipe.py) - [benchmarks/recipes/pw_remote_python_recipe.py](https://github.com/AI-Hypercomputer/maxtext/tree/e86e6a8/benchmarks/recipes/pw_remote_python_recipe.py) - [benchmarks/maxtext_xpk_runner.py](https://github.com/AI-Hypercomputer/maxtext/tree/e86e6a8/benchmarks/maxtext_xpk_runner.py)
I still count at least 7 relevant occurrences in `main` c32510d I can send through a PR for this if you like; just didn't want to step on @bvandermoon's toes.
@bvandermoon Nothing is wrong with `~` but you can't just use it like that. That's why we see `maxtext/~/xpk` rather than `/home/myname/xpk` ```sh $ python3 -c 'import os; print(os.path.expanduser("~"))' /Users/myname...
@skarnet Yeah basically a big case something like: ```sh case "${ARCH}" in 'aarch64') export ARCH='arm64' ;; # the latest v8 arm architecture. Used on Apple M1, AWS Graviton, and Raspberry...
I don't think there's any way to avoid duplicates. I understand your wish for GitHub to have symbolic links… but alas they don't have this feature. Without this solution you...