← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 8746.d · 生成模型:GPT-6

构建环境和安装任务分阶段

理解等级:高级

书中setup先构建dev镜像,再在运行容器里执行setup.sh安装包,挂载虚拟环境卷。这里运行卷确实可保留该运行任务的结果,不能与前章Dockerfile RUN构建缓存混为一谈;应先追踪实际安装阶段。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      ./batect --output=all setup 3. Start local development environment (i.e., run container). Start the container: ./batect start-dev-container Then test that everything works by running model training smoke tests: scripts/tests/smoke-test-model-training.sh Finally, exit the container by entering exit in the terminal or pressing Ctrl + D. 4. Serve the ML model locally as a web API. Start the API in development mode: ./batect start-api-locally Then send requests to

    参考来源

    - 位置:《Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)》第04章《依赖管理实践》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)/_epub-src/OEBPS/ch04.html) - 结论依据:摘录中关于构建环境和安装任务分阶段的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:./batect --output=all setup 3. Start local development environment (i.e., run container). Start the container: ./batect start-dev-container Then test that everything works by running model training smoke tests: scripts/tests/smoke-test-model-training.sh Finally, exit the container by entering exit in the terminal or pressing Ctrl + D. 4. Serve the ML model locally as a web API. Start the API in development mode: ./batect start-api-locally Then send requests to