Describe the bug
I cannot seem to run sagemaker in "local code" mode with an entry point that is not in the root of the source path. I think this is the reason (or one of them)
To reproduce
place the entry point file in one (or more) folders under source_dir (i.e. not in the root folder itself, but a child thereof), and use LocalcSession() with "local code"
by "local code" I mean setting
estimator.sagemaker_session.config = dict(local=dict(local_code=True))
before calling
estimator.fit(...)
Describe the bug I cannot seem to run sagemaker in "local code" mode with an entry point that is not in the root of the source path. I think this is the reason (or one of them)
To reproduce place the entry point file in one (or more) folders under
source_dir
(i.e. not in the root folder itself, but a child thereof), and useLocalcSession()
with "local code"by "local code" I mean setting
estimator.sagemaker_session.config = dict(local=dict(local_code=True))
before calling
estimator.fit(...)
again, see here
Expected behavior A clear and concise description of what you expected to happen.
System information A description of your system. Please provide:
1.60.2
PyTorch
1.3.1
3.6
Additional context Add any other context about the problem here.