In Hugging Face Hub API, starting from version 0.20+, a new endpoint was introduced:
/api/models/{model}/tree/main.
Currently, the Nexus Repository proxy for Hugging Face does NOT support this new endpoint.
It returns a 400 error instead of the expected model file list.
When is the support for this endpoint expected to be added?
Thank you.
1 Like
Dear developers, could you please tell me if there are any plans to update the version of the Hugging Face repositories?
This issue is not only affecting me; I have also seen similar posts about it on the internet.
Hi,
I passed the request along previously and raised it again last week but I don’t have an answer at the moment as to which release it would be added in.
1 Like
I constantly see similar errors in the Nexus logs, really looking forward to getting the update soon:
WARN [qtp228890511-700604] *UNKNOWN org.sonatype.nexus.repository.httpbridge.internal.ViewServlet - Failure servicing: GET /repository/huggingface.co/api/models/sentence-transformers/all-MiniLM-L6-v2
java.lang.NullPointerException
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:902)
at org.sonatype.nexus.repository.content.fluent.internal.FluentComponentBuilderImpl.version(FluentComponentBuilderImpl.java:90)
at com.sonatype.nexus.repository.huggingface.datastore.internal.HuggingFaceContentFacetImpl.putRevision(HuggingFaceContentFacetImpl.java:240)
at com.sonatype.nexus.repository.huggingface.datastore.internal.proxy.HuggingFaceProxyFacet.store(HuggingFaceProxyFacet.java:129)
at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.doGet(ProxyFacetSupport.java:486)
at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.lambda$1(ProxyFacetSupport.java:435)
I believe that error has a different cause and I believe a fix for that is part of 3.94