Can I run Yi-1.5-34B on a Mac with 96 GB?

Yes, just

Its published weights (68.8 GB) fit in the 72.0 GB a Mac with 96 GB can use, with room for ≈ 4K tokens of context.

hf download 01-ai/Yi-1.5-34B

Files and context on Mac with 96 GB

Each file of Yi-1.5-34B (and of GGUF versions the site has analyzed), and how much context fits next to it, with the context cache in 16-bit or 8-bit.

Yi-1.5-34B on other hardware

Popular models that run on Mac with 96 GB

Assumes 75% of the Mac's memory is usable (macOS's default limit for the GPU; it can be raised) and at least 4K tokens of context for one conversation, with the context cache in 16-bit unless noted. Fits leaves at least 20% of that memory for context; Tight leaves less.