Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup: fix for direct dependency #1050

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ def tests_brevitas_examples_llm(session, pytorch, jit_status):
install_pytorch(pytorch, session)
install_torchvision(pytorch, session) # Optimum seems to require torchvision
session.install('-e', '.[test, llm, export]')
session.install(
'optimum-amd[brevitas] @ git+https://github.com/huggingface/optimum-amd.git@main')
session.run('pytest', '-n', 'logical', '-k', 'llm', 'tests/brevitas_examples/test_llm.py')


Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements-llm.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
optimum-amd[brevitas] @ git+https://github.com/huggingface/optimum-amd.git@main
# optimum-amd[brevitas] @ git+https://github.com/huggingface/optimum-amd.git@main
tqdm
transformers
8 changes: 4 additions & 4 deletions src/brevitas_examples/llm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

## Requirements

- transformers (from source)
- transformers
- datasets
- torch_mlir (optional for torch-mlir based export)
- optimum (from source)
- optimum-amd (WIP, install brevitas-compatibility branch)
- accelerate (from source)
- optimum
- optimum-amd (install from main)
- accelerate

## Run

Expand Down
Loading