MCPcopy
hub / github.com/huggingface/diffusers / load_hf_numpy

Function load_hf_numpy

src/diffusers/utils/testing_utils.py:866–872  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

864
865
866def load_hf_numpy(path) -> np.ndarray:
867 base_url = "https://huggingface.co/datasets/fusing/diffusers-testing/resolve/main"
868
869 if not path.startswith("http://") and not path.startswith("https://"):
870 path = os.path.join(base_url, urllib.parse.quote(path))
871
872 return load_numpy(path)
873
874
875# --- pytest conf functions --- #

Callers

nothing calls this directly

Calls 1

load_numpyFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…