Skip to content

erhsh/erhsh-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Use Erhsh Python

You can use Erhsh Python:

  • Easy to use MindSpore with ems
  • Easy to use PyTorch with ept
  • Easy to use Common Command with etools
  • ...

Install & Distribute

Firstly, get the source code and to compile it yourself. Or install it by pip directly.

1. Download Source code

git clone https://github.com/erhsh/erhsh-python.git

2. Build & Develop

python setupt.py develop

3. Distribute

python setupt.py bdist_wheel upload

4. Install by pip

pip install erhsh-python -i https://pypi.org/simple --trusted-host pypi.org

Usage

Easy to use MindSpore: ems

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.
  • ...

1. Easy to get ckpt file information

Example

ems ckpt -d resnet.ckpt

Output:

...

2 Easy to generate hccl configuration file

Example

ems hcclv1 -sid=10.10.10.10 --visible_devices=0,1,2,3,4,5,6,7

Output:

...

3 Easy to get net demo

4 Easy to get dataset demo

5 Easy to get train demo

6 Easy to get ops demo

Easy to use MindSpore: ept

Easy to use MindSpore: etools

Others

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published