If you're not interested in using Odin's serialization system - inheriting from classes such as SerializedMonoBehaviour and SerializedScriptableObject etc. - you can disable the serialization system completely, without losing the ability to leverage all of the attributes and editor functionality that Odin provides.
Disabling the serialization system will prevent almost all of Odin from being included in your builds. The only Odin code that will be included, is the small Sirenix.OdinInspector.Attributes assembly, containing only the attribute definitions. If you are using IL2CPP, many of these attributes will likely be removed during Unity's code stripping step.
If you wish enable the Editor Only Mode, navigate to Tools > Odin Inspector > Preferences > Editor Only Mode and press the big green button.
Note that Odin still uses the serialization system in the editor itself to provide you with various editor functionality. You will still be able to inherit from classes like SerializedMonoBehaviour while in the editor, but you will get a warning in the inspector if you do so, and you will get compiler errors if you try to build.
Disabling Odin's serialization is not permanent; you can always enable it again from here. Upgrading to a new patch of Odin is also likely to reactivate it, and you may have to disable it again from here after upgrading Odin.
Finally, the demo scenes contain scripts that use the serialization system, so before you build, you'll need to delete the 'Plugins/Sirenix/Demo' folder and all of its content in order for your build to compile without serialization enabled.