Fix model loading with better error handling and CPU optimization 9593f18 ylliprifti commited on Aug 29