Skip to content

Commit

Permalink
hotfix: not compress the source code in training job
Browse files Browse the repository at this point in the history
  • Loading branch information
pitt-liang committed Oct 21, 2024
1 parent 2a24abf commit 5c3d0e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pai/job/_training_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,8 +709,7 @@ def _training_job_base_output(self, job_name):
f"{to_plain_text(job_name)}_{random_str(6)}",
)
base_output_path = (
f"oss://{bucket_name}.{session.oss_endpoint}/"
f"{storage_path}"
f"oss://{bucket_name}.{session.oss_endpoint}/" f"{storage_path}"
)
return base_output_path

Expand Down Expand Up @@ -918,7 +917,6 @@ def _build_code_input(
source_path=source_dir,
oss_path=code_dest,
bucket=self.session.oss_bucket,
is_tar=True,
)
oss_uri_obj = OssUriObj(uri=self.session.patch_oss_endpoint(code_uri))
code_dir = CodeDir(
Expand Down

0 comments on commit 5c3d0e0

Please sign in to comment.