Conda环境和下载pip包(torch)在8GB A100上很慢

未关闭
#1,788 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
python, pytorch

调研方向

从 issue 中描述的 1.2 Basic Level, Lesson 2 演示设置开始,测量在 8GB 和 10% A100 机器上创建 conda 环境和安装 pip 所需的时间。确定这项工作是为学习者提供指导、预先创建演示环境,还是两者兼顾。完成的标准是选定的方法已经实现,并且设置时间的预期或结果已记录在案。

由索引模型根据 Issue 内容生成。

描述

Hello,

In 1.2. 基础关卡, 第 2 关 (the demo which gives 30% A100 computing access), it takes a very long time to set up the "demo" conda environment (approximately 5 minutes); when I install a pip package it takes 25 minutes, for 30 minutes in total.

Mainly, the issue is installing the packages; downloading works okay but when installing the collected packages it takes quite a long time.

If creating the demo conda environment takes time due to the small amount of CPU resources in the virtual machine, maybe it would be a good idea to do either or both of two things:

  1. Tell learners in advance to partition some of their time specifically to only download the conda environment and LLM, or
  2. Create the demo conda environment on all the 10% A100 machines (which should be possible as the download size is ~5 GB, while the total memory available to users is ~40 GB.)

Do you think this a good idea? Thank you very much!

主要语言
Python
星标
2k
派生
1.4k
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

InternLM/Tutorial 的其他 Issue

查看 InternLM/Tutorial 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。