Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/lightning/app/runners/cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ def cloudspace_dispatch(
# Resolution
root = self._resolve_root()
# If the root will already be there, we don't need to upload and preserve the absolute entrypoint
absolute_entrypoint = str(root).startswith("/project")
top_folder = os.getenv("FILESYSTEM_TOP_FOLDER_NAME", "project")
absolute_entrypoint = str(root).startswith(f"/{top_folder}")
# If system customization files found, it will set their location path
sys_customizations_root = self._resolve_env_root()
repo = self._resolve_repo(
Expand Down