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

オープン
#1,788 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

InternLM/Tutorial のほかの issue

InternLM/Tutorial の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。