Closed NoushNabi closed 4 months ago
Hi @NoushNabi, could you move this test into its own new job under jobs
? It is not a unit test and should not be grouped with that.
You can do this by duplicating and modifying the Run HELM with minimal dependencies only
test - in particular, you will have to run python3 -m pip install dist/crfm_helm-*.whl[openvino]
instead of python3 -m pip install dist/crfm_helm-*.whl
.
Hi @yifanmai
python3 -m pip install dist/crfm_helm-*.whl[openvino]
was giving error since building was only producing crfm_helm-0.5.1-py3-none-any.whl
. I added python3 -m pip install optimum[openvino]
and it works on my machine but on Github Actions exits with error as Error: The operation was canceled
. Can you please advise?
I think the following command should work i.e. resolve the wildcard first before passing the file name to pip:
python3 -m pip install "$(ls dist/crfm_helm-*.whl)[openvino]"
@yifanmai Thanks for your reply. I appreciate it! Finally all tests for Optimum Intel pass successfully.
Lint is failing with:
src/helm/clients/huggingface_client.py:77:17: F401 'pathlib.Path' imported but unused
Could you please fix this?
@yifanmai Sorry that I missed it. Done!
Added test for Optimum Intel.