Download and verify a projector on CPU
Use the public JARVIS formation-energy checkpoint for a small test of the download, weight loading, and tensor interface. The commands require Python and run without a language-model download or a GPU.
Download from the pinned snapshot
load_projector.py resolves the ID in the Hugging Face repository index, then downloads the component configuration and weights from the same snapshot. With --local-dir, the command also copies the index into ./checkpoints and prints the local component directory. Browse the pinned snapshot.
Load and exercise the module
Save or run the following Python code from the repository root. load_projector calls modeling_projector.build with the architecture and output width declared in the component configuration. It loads the weights strictly and returns a frozen module in evaluation mode.
Expect cif/jarvis (2, 4096). The two zero rows exercise only the projector. For formation-energy inference, prepare real CHGNet states with 64 features per atom in atom order, then follow the vLLM chapter.