View previous topic :: View next topic |
Author |
Message |
rsnfunky n00b
Joined: 30 Dec 2007 Posts: 67
|
Posted: Sat Sep 28, 2024 2:47 am Post subject: Missing IUSE |
|
|
Hi, When installing pytorch[rocm] I get an error:
sci-libs/pytorch-2.4.1::gentoo (Missing IUSE: rocm)
This is on following Gentoo ROCm guide. |
|
Back to top |
|
|
AndrewAmmerlaan Developer
Joined: 25 Jun 2014 Posts: 381 Location: Nijmegen
|
Posted: Sat Sep 28, 2024 9:20 am Post subject: |
|
|
We're going to have to see a complete log, emerge --info sci-libs/pytorch, and the emerge environment. This ebuild should not have this flag, so something is probably adding it in incorrectly via environment. _________________ OS: Gentoo 6.8.10-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400 |
|
Back to top |
|
|
wjb l33t
Joined: 10 Jul 2005 Posts: 625 Location: Fife, Scotland
|
Posted: Sat Sep 28, 2024 9:41 am Post subject: |
|
|
The wiki appears to be incorrect as none of the versions of pytorch in the Gentoo repository currently has a rocm use flag. The wiki may possibly have been correct when written, I don't know. I tend to assume the wiki is correct if things work as described, otherwise it can be a mixture of incomplete, incorrect, or out of date information - in which case a little research is required, and then you can add to the wiki for the next person.
A good place to ask is on the Discussion tab of the Wiki page where you found the information. |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2233
|
Posted: Sat Sep 28, 2024 1:38 pm Post subject: |
|
|
AndrewAmmerlaan wrote: | We're going to have to see a complete log, emerge --info sci-libs/pytorch, and the emerge environment. This ebuild should not have this flag, so something is probably adding it in incorrectly via environment. |
OP most probably run this:
Code: | emerge pytorch[rocm] |
which resulted in this:
Code: | emerge: there are no ebuilds built with USE flags to satisfy "pytorch[rocm]".
!!! One of the following packages is required to complete your request:
- sci-libs/pytorch-2.4.1::gentoo (Missing IUSE: rocm)
- sci-libs/pytorch-2.4.0::gentoo (Missing IUSE: rocm)
- sci-libs/pytorch-2.3.1::gentoo (Missing IUSE: rocm)
- sci-libs/pytorch-2.3.0::gentoo (Missing IUSE: rocm)
|
I didn't know this syntax even existed.
However I doubt there ever was such a use flag, because the few commits for that package I inspected didn't contain it. Maybe the author of the wiki page was also the maintainer and intended to introduce it, but never did.
Best Regards,
Georgi |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2690 Location: Here and Away Again
|
Posted: Sat Sep 28, 2024 4:53 pm Post subject: |
|
|
The package did have USE="rocm" in the 'sci' overlay at least (perhaps others too).
See for example:
https://gitweb.gentoo.org/proj/sci.git/diff/sci-libs/pytorch/metadata.xml?id=c6c1ae168e2
As for the 'atom[use]' syntax, it has some interesting effects when used like that, and it certainly doesn't seem like something intended for use like that.
For example, with existing flags:
Code: | $ USE="-pulseaudio" emerge -p obs-studio::gentoo[pulseaudio]
These are the packages that would be merged:
Calculating dependencies ... done!
Dependency resolution took 1.07 s (backtrack: 0/20).
emerge: there are no ebuilds built with USE flags to satisfy "obs-studio[pulseaudio]".
!!! One of the following packages is required to complete your request:
- media-video/obs-studio-9999::roookaru (Change USE: +pulseaudio) |
So it seems to effectively override whatever is allowed to be USEd.
Indeed, I also see 'pytorch[rocm]' in our wikki article, though it doesn't seem like the writer was guiding it to be emerged at all, but rather just mention that it exists with that flag (assuming the 'Gentoo ROCm guide' here refers to our wiki article on ROCm).
That said, I don't see the Gentoo repository having had that flag either, and there are no mentions of overlays in the article, and the article was first created after the package was already in the Gentoo repository so... not sure what happened there. _________________ Kindest of regardses. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|