ImportError: Apex was not found. Please see the NeMo README for installation instructions: https://github.com/NVIDIA/NeMo#megatron-gpt.
@shubhadeepd y travaille déjà.
Depuis le 22/4/2024.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
I am trying the below Lora training notebook
https://github.com/NVIDIA/GenerativeAIExamples/blob/main/models/Gemma/lora.ipynb
When running the below code segment
from nemo.collections.nlp.parts.megatron_trainer_builder import MegatronLMPPTrainerBuilder
from nemo.utils.exp_manager import exp_manager
trainer = MegatronLMPPTrainerBuilder(cfg).create_trainer()
exp_manager(trainer, cfg.exp_manager)
I am getting the error
ImportError: Apex was not found. Please see the NeMo README for installation instructions: https://github.com/NVIDIA/NeMo#megatron-gpt.
So as per the official documentation when I try to install Apex,
git clone https://github.com/NVIDIA/apex.git
cd apex
git checkout b496d85fb88a801d8e680872a12822de310951fd
pip install -v --no-build-isolation --disable-pip-version-check --no-cache-dir --config-settings "--build-option=--cpp_ext --cuda_ext --fast_layer_norm --distributed_adam --deprecated_fused_adam" ./
this installation raises the given error
Usage:
pip install [options] <requirement specifier> [package-index-options] ...
pip install [options] -r <requirements file> [package-index-options] ...
pip install [options] [-e] <vcs project url> ...
pip install [options] [-e] <local project path> ...
pip install [options] <archive url/path> ...
no such option: --config-settings
- Langage dominant
- Jupyter Notebook
- Étoiles
- 4.2k
- Forks
- 1.1k
- Merge moyen
- 10 h 15 min
- PR mergées (30 j)
- 1
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de NVIDIA/GenerativeAIExamples
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 70/100
NVIDIA/GenerativeAIExamples#361 · 2 commentaires ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
NVIDIA/GenerativeAIExamples#299 ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
NVIDIA/GenerativeAIExamples#437 ·
-
hyperlink not working Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 45/100
NVIDIA/GenerativeAIExamples#400 ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 10/100
NVIDIA/GenerativeAIExamples#399 ·