Skip to content

Error when trying to run unit tests on AMD #3044

@401qingkong

Description

@401qingkong

Hi, I install the rocm deepspeed via the source code. And now I want to test the op in my platform. And I test with the following commands:
cd tests; pytest
But I find many import mistakes shows like below:
/path/of/my/python/installed/python3.7/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/unit/inference/test_checkpoint_sharding.py:10: in <module> from transformers import AutoConfig, AutoModelForCausalLM E ModuleNotFoundError: No module named 'transformers'
I want to know how to run the test in the project. Hope for your replay

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions