Thanks Stefan,
After removing ~/.ivy2, I
successfully downloaded org.tensorflow_tensorflow-core-api-0.5.0.jar and
org.bytedeco_javacpp-1.5.8.jar.

But as you mentioned, if I download using 2.5.1 previously, then even If I
upgrade to 2.5.2, it still won't download them.

So I think the tips for folks bumping into this issue is to clean the ivy
cache.

Thanks again for helping out
Austin

On Sun, Jan 7, 2024 at 5:37 AM Stefan Bodewig <bode...@apache.org> wrote:

> On 2023-12-13, Austin Zhang wrote:
>
> > java -jar apache-ivy-2.5.2/ivy-2.5.2.jar -dependency "org.tensorflow"
> > "tensorflow-core-platform-gpu" "0.5.0" -retrieve
> > "ivy/[organization]_[artifact]-[revision](-[classifier]).[ext]" -confs
> > "runtime" -debug
>
> > files in ivy folder are:
> > com.google.protobuf_protobuf-java-3.19.4.jar
> > org.bytedeco_javacpp-1.5.8-windows-x86_64.jar
> > org.bytedeco_javacpp-1.5.8-linux-x86_64.jar
> > org.tensorflow_tensorflow-core-api-0.5.0-linux-x86_64-gpu.jar
> > org.tensorflow_tensorflow-core-api-0.5.0-windows-x86_64-gpu.jar
> > org.tensorflow_ndarray-0.4.0.jar
>
> > Both org.bytedeco_javacpp-1.5.8.jar and
> > org.tensorflow_tensorflow-core-api-0.5.0.jar
> > are missing.
>
> Running this with a freshly downloaded ivy-2.5.2.jar results in
>
> $ ls ivy
> com.google.protobuf_protobuf-java-3.19.4.jar
> org.bytedeco_javacpp-1.5.8.jar
> org.bytedeco_javacpp-1.5.8-linux-x86_64.jar
> org.bytedeco_javacpp-1.5.8-windows-x86_64.jar
> org.tensorflow_ndarray-0.4.0.jar
> org.tensorflow_tensorflow-core-api-0.5.0.jar
> org.tensorflow_tensorflow-core-api-0.5.0-linux-x86_64-gpu.jar
> org.tensorflow_tensorflow-core-api-0.5.0-windows-x86_64-gpu.jar
>
> for me. It seems as if I do get the expected results.
>
> If you have tried to download things with an earlier version of Ivy
> before you may be using cached ivy descriptors created from the Maven
> POMs with the older version.
>
> I don't think you are hitting IVY-1576 - which is not the only bug in
> translating POMs. In 2.5.2 we fixed IVY-1642 (which looks more like the
> problem you have) which in turn is a more complete fix of IVY-1580.
>
> Please remove your cached artifacts of everythng and try again with Ivy
> 2.5.2.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
> For additional commands, e-mail: dev-h...@ant.apache.org
>
>

Reply via email to