by Anonymous » 23 Aug 2025, 23:06
Ich möchte ein Modell
konvertieren. Die Dokumentation von SafeTensors Paket ist nicht genug und ist nicht klar, wie man das Originalmodell (Pytorch) bekommt, da ich etwas wie
versuche
Code: Select all
with st.safe_open(modelsafetensors, framework="pt") as mystf:
...
Das MYSTF -Objekt hat get_tensor ('slowensorname') , aber es scheint keine get_model () Methode oder ähnliches.
Ich möchte ein Modell [url=viewtopic.php?t=12659]konvertieren.[/url] Die Dokumentation von SafeTensors Paket ist nicht genug und ist nicht klar, wie man das Originalmodell (Pytorch) bekommt, da ich etwas wie
versuche[code]with st.safe_open(modelsafetensors, framework="pt") as mystf:
...
[/code]
Das MYSTF -Objekt hat get_tensor ('slowensorname') , aber es scheint keine get_model () Methode oder ähnliches.