Skip to content

Add requirements.txt#4

Open
FedericoBruzzone wants to merge 1 commit into
lac-dcc:mainfrom
FedericoBruzzone:main
Open

Add requirements.txt#4
FedericoBruzzone wants to merge 1 commit into
lac-dcc:mainfrom
FedericoBruzzone:main

Conversation

@FedericoBruzzone
Copy link
Copy Markdown

This pull request updates the documentation to clarify the dependencies required for running the model conversion and compilation script. The main change is an improvement to the instructions in the README.md regarding the Python environment and required dependencies.

Documentation improvements:

  • Clarified that the venv Python environment must have all necessary dependencies installed, as specified in requirements.txt, for the iree.sh script to work properly.

Signed-off-by: Federico Bruzzone <federico.bruzzone.i@gmail.com>
@bernborgess
Copy link
Copy Markdown
Collaborator

The issue with setting the requirements.txt file is that not all dependencies are in standard python repos. To install the required packages:

pip install --pre torch-mlir torchvision \
  --extra-index-url https://download.pytorch.org/whl/nightly/cpu \
  -f https://github.com/llvm/torch-mlir-release/releases/expanded_assets/dev-wheels
  • Other deps
pip install tensorflow tqdm tf2onnx onnx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants