Azure ML笔记本GIT_发现_跨文件系统

oaxa6hgo  于 2022-11-20  发布在  Git
关注(0)|答案(1)|浏览(132)

我已经创建了一个资源组、一个计算示例、一个CPU群集和一个笔记本电脑,如Cartpool notebook中所述。
但是,当执行命令ray_env_build_details.wait_for_completion(show_output=True)时,我得到以下错误:

Environment version is set. Attempting to register desired version. To auto-version, reset version to None.
Image Build Status: Queued

2022/11/06 17:46:18 Downloading source code...
2022/11/06 17:46:19 Finished downloading source code
2022/11/06 17:46:20 Creating Docker network: acb_default_network, driver: 'bridge'
2022/11/06 17:46:20 Successfully set up Docker network: acb_default_network
2022/11/06 17:46:20 Setting up Docker configuration...
2022/11/06 17:46:21 Successfully set up Docker configuration
2022/11/06 17:46:21 Logging in to registry: ca98820ccecd46c29745d8e4c35dca23.azurecr.io
2022/11/06 17:46:22 Successfully logged into ca98820ccecd46c29745d8e4c35dca23.azurecr.io
2022/11/06 17:46:22 Executing step ID: acb_step_0. Timeout(sec): 5400, Working directory: '', Network: 'acb_default_network'
2022/11/06 17:46:22 Scanning for dependencies...
2022/11/06 17:46:22 Output from dependency scanning: fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
unexpected dockerfile format
failed to run step ID: acb_step_0: failed to scan dependencies: exit status 1

Run ID: chc failed after 5s. Error: failed during run, err: exit status 1
Image Build Status: Failed

<azureml.core.environment.ImageBuildDetails at 0x7f27449317c0>

在运行命令之前,我曾尝试在笔记本的终端窗口中运行git init,但没有帮助。
有什么指示吗?

luaexgnf

luaexgnf1#

wait_for_completion()-停止执行创建环境的进程,直到所有的依赖项都满足为止。如果依赖项不满足,它将抛出错误。将依赖项从创建进程中分离出来。这样可以避免方法重叠。

我尝试重现问题。解决了错误。

相关问题