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

[Issue]: "unused" dependencies in requirements.txt #1441

Closed
AngryLoki opened this issue Dec 12, 2024 · 4 comments
Closed

[Issue]: "unused" dependencies in requirements.txt #1441

AngryLoki opened this issue Dec 12, 2024 · 4 comments

Comments

@AngryLoki
Copy link

AngryLoki commented Dec 12, 2024

Problem Description

Hi,

At this moment https://github.com/ROCm/hipBLASLt/blob/develop/tensilelite/requirements.txt in tensilelite adds simplejson, ujson and orjson libraries. However in the source code only yaml and msgpack are supported (and this is not the only place, there are other places which support only .yaml or .dat):

argParser.add_argument("--library-format", dest="LibraryFormat", choices=["yaml", "msgpack"],
action="store", default="msgpack", help="select which library format to use")

Also packaging seems to be unused (at least directly). Original Tensile library does not use these libraries - https://github.com/ROCm/Tensile/blob/develop/requirements.txt.

These libraries require additional steps to build hipBLASLt in controlled network-isolated environments (see also #1396 (comment)). Could you remove them?

ROCm Version

ROCm 6.3.0

@ppanchad-amd
Copy link

Hi @AngryLoki. Internal ticket has been created to fix this issue. Thanks!

@jichangjichang
Copy link
Collaborator

@AngryLoki
Copy link
Author

Noted, I missed that part. Could you still select a single json reader? requirements.txt installs all of them, maybe it was performance bottleneck, but anyways only one library is used.

@lucbruni-amd
Copy link

lucbruni-amd commented Dec 16, 2024

Hi @AngryLoki,

These json libraries are indeed used here:

argParser.add_argument("--logic-format", dest="LogicFormat", choices=["yaml", "json"], \
action="store", default="yaml", help="select which logic format to use")

As for packaging, I could not build after simply removing it as it is referenced here:

from packaging.version import Version
joblibVer = joblib.__version__
return Version(joblibVer) >= Version("1.4.0")

As for your question above, I was able to build with a single reader, feel free to give this a try as desired for your environment.

Feel free to open another issue if you have further concerns. Thanks!

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

No branches or pull requests

4 participants