Skip to content

Add PyTorch to requirements#90

Open
flferretti wants to merge 1 commit intodexsuite:mainfrom
flferretti:patch-1
Open

Add PyTorch to requirements#90
flferretti wants to merge 1 commit intodexsuite:mainfrom
flferretti:patch-1

Conversation

@flferretti
Copy link
Copy Markdown

This PR adds PyTorch explicitly to the requirements. It was not listed in the pyproject.toml, but during the import the code checks for torch installation

if find_spec("torch") is None:
raise ImportError(
"Torch is not installed. You can install it using the following command:\n"
"pip install torch --index-url https://download.pytorch.org/whl/cpu\n"
"Note that cpu-only torch already works for dex-retargeting."
)

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.

1 participant