"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "42dd5af51ec3f345018b2206a1656bb09718af67"
Replace assert with raise in prototypes.models (#2578)
Summary: This commit replaces the use of assert with `if ~ then raise` idiom, So that they are executed even when Python is running in optimized mode. Pull Request resolved: https://github.com/pytorch/audio/pull/2578 Reviewed By: mthrok Differential Revision: D38158122 fbshipit-source-id: da561145a6e021238e9e9df10ab8d2d3a751fb69
Showing
Please register or sign in to comment