You can use Erhsh Python:
- Easy to use MindSpore with
ems
- Easy to use PyTorch with
ept
- Easy to use Common Command with
etools
- ...
Firstly, get the source code and to compile it yourself. Or install it by pip directly.
git clone https://github.com/erhsh/erhsh-python.git
python setupt.py develop
python setupt.py bdist_wheel upload
pip install erhsh-python -i https://pypi.org/simple --trusted-host pypi.org
About Easy use MindSpore, we provide easy way to:
- Easy to get
ckpt
file information- Easy to generate
hccl
configuration file- Easy to get
net
demo, such as:LeNet
,GoogleNet
,VGG
etc.- Easy to get
dataset
demo, such as:GeneratorDataset
,ImageFolderDataset
,Cifar10Dataset
etc.- Easy to get
train
demo, such as:train_demo.py
- Easy to get
ops
demo, such as:Conv2D
,TensorAdd
etc.- ...
Example
ems ckpt -d resnet.ckpt
Output:
...
Example
ems hcclv1 -sid=10.10.10.10 --visible_devices=0,1,2,3,4,5,6,7
Output:
...