Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 520 Bytes

File metadata and controls

27 lines (20 loc) · 520 Bytes

[Moreh] Running HuggingFace transformers in Moreh AI Framework

Prepare

Code

git clone https://github.com/loctxmoreh/transformers

Environment

The transformers library is installed in editable mode so changes can be made directly into the source in order to take effect.

On A100 machine

conda env create -f a100env.yml
conda activate transformers-dev

On HAC machine

conda env create -f hacenv.yml
conda activate transformers-dev
update-moreh --force