Skip to content
Discussion options

You must be logged in to vote

I understand this is not an issue with the program or the build per se, but unsure if this could be related to hooks. Not sure if this is worth raising an issue, so sharing it here.

No, these warnings are because before we look for dynamic libraries, we import all packages that we are going to collect, to automatically detect library search path modifications that some packages do. And some of these imported packages are deprecated. If you know that they are not used, you could explicitly exclude them from the program, for example --exclude torch.distributed._sharding_spec. Then it will not be imported before library search either, and will not trigger deprecation warning.

But generally…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@adityaraute
Comment options

@rokm
Comment options

rokm Apr 17, 2025
Maintainer

@adityaraute
Comment options

@bwoodsend
Comment options

@adityaraute
Comment options

Answer selected by adityaraute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants