Skip to content

Commit

Permalink
Adding TF_USE_LEGACY_KERAS flag to DLRM runs
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLeFort committed Feb 10, 2024
1 parent 62a169c commit 108ef5e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def get_tf_dlrm_config(
"sudo chmod -R 777 /tmp/",
(
f"cd /usr/share/tpu/models && {env_variable} &&"
" PYTHONPATH='.' python3 official/recommendation/ranking/train.py"
" TF_USE_LEGACY_KERAS=1 PYTHONPATH='.' python3 official/recommendation/ranking/train.py"
f" --tpu={tpu_name} --model_dir=/tmp/output {extraFlags}"
" --params_override='%s'" % str(params_override)
),
Expand Down

0 comments on commit 108ef5e

Please sign in to comment.