We still have a bunch of try/except in losses such as PPO to compute the entropy. We need to remove them for compile compatibility.