Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Where is InferenceEngine definition? #210

Open
liujuncn opened this issue Mar 29, 2023 · 2 comments
Open

Where is InferenceEngine definition? #210

liujuncn opened this issue Mar 29, 2023 · 2 comments

Comments

@liujuncn
Copy link

I can't find it in energonai/engine.py

"from energonai.engine import InferenceEngine"

@Mado007
Copy link

Mado007 commented Mar 30, 2023

After installing EnergonAI you should be able to import InferenceEngine from energonai.engine in your Python code

There are three ways to install EnergonAI :

  1. Install from PyPI using pip: pip install energonai
  2. Install from source by cloning the repository and running pip install . after installing the requirements:
$ git clone git@github.com:hpcaitech/EnergonAI.git
$ pip install -r requirements.txt
$ pip install .
  1. Use Docker by pulling the latest image: docker pull hpcaitech/energon-ai:latest

I hope this helps!

@wswszhys
Copy link

wswszhys commented Apr 1, 2023

I can't find it in energonai/engine.py

"from energonai.engine import InferenceEngine"

Me too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants