claim1_native: UTF-8 locale + skip torchinfo summary
Browse files3 unmodified lines45678968 unmodified lines7879808182833 unmodified linesset -eexport PYTORCH_CUDA_ALLOC_CONF=expandable_segments:Trueexport PYTHONUTF8=1 PYTHONIOENCODING=utf-8 # conda image has POSIX localeexport HF_HUB_DISABLE_PROGRESS_BARS=1 # tqdm block chars crash charmapecho "=== install env ==="pip install -q "the_well[benchmark]==1.2.0" hydra-core timm einops h5py plotly torchinfo omegaconf imageio 2>&1 | tail -3 || \68 unmodified linesshutil.copytree(src, dst)print('configs ->', dst, '| config.yaml exists:', os.path.exists(os.path.join(dst, 'config.yaml')))PYecho "=== run authors' validation ==="python -m walrus.train \--config-dir=/tmp/cfg --config-name=extended_config \3 unmodified lines4567891068 unmodified lines79808182838485868788893 unmodified linesset -eexport PYTORCH_CUDA_ALLOC_CONF=expandable_segments:Trueexport PYTHONUTF8=1 PYTHONIOENCODING=utf-8 # conda image has POSIX localeexport LANG=C.UTF-8 LC_ALL=C.UTF-8 # UTF-8 locale so getpreferredencoding()!=charmap (torchinfo box chars / config dump)export HF_HUB_DISABLE_PROGRESS_BARS=1 # tqdm block chars crash charmapecho "=== install env ==="pip install -q "the_well[benchmark]==1.2.0" hydra-core timm einops h5py plotly torchinfo omegaconf imageio 2>&1 | tail -3 || \68 unmodified linesshutil.copytree(src, dst)print('configs ->', dst, '| config.yaml exists:', os.path.exists(os.path.join(dst, 'config.yaml')))PY# Skip the torchinfo model summary (1.3B params, depth=5 -> very slow + Unicode# box chars); it's a diagnostic printout only, no effect on validation.WPKG=$(python -c "import walrus,os;print(os.path.dirname(walrus.__file__))")sed -i 's/^\( *\)summary(model, depth=5)/\1pass # summary skipped (verbose+unicode)/' "$WPKG/train.py"grep -n "summary skipped\|summary(model" "$WPKG/train.py" || trueecho "=== run authors' validation ==="python -m walrus.train \--config-dir=/tmp/cfg --config-name=extended_config \
sweep.sh+6