Views
No views yet
facebook__sapiens2-pretrain-0.8b-int4-g128.safetensors: packed INT4 safetensors artifact.load_sapiens2_int4.py: loader that reconstructs a PyTorch state dict for the official Sapiens2 model code.config.json and preprocessor_config.json: copied from the source repo.quantization_report.json: build report.dcc5ac89fcfd01257a68fa580a56b3dda48b4d5f12832571341604221084007.7163x5501940.0041440190.00%PASS99.401621%0.9742220641from load_sapiens2_int4 import load_state_dict
2
3state_dict = load_state_dict("facebook__sapiens2-pretrain-0.8b-int4-g128.safetensors", device="cpu")
4# Then instantiate the matching official Sapiens2 architecture and load:
5# model.load_state_dict(state_dict, strict=True)