OptiFabric a mod that can be used to run OptiFine on the Fabric Mod Loader. It does this by taking the official OptiFine mod and making it compatible with the Fabric Mod Loader at runtime.
This project does not contain OptiFine, you must download it separately!
This project is not directly related to nor supported by either Fabric or OptiFine.
If you are using OptiFine purely to improve performance, have a zoom button, or have dynamic lighting, there are other mods which implement these features individually with more reliable compatibility.
After installing Fabric for 1.16.1/2, you will need to place the OptiFabric mod jar as well as the latest OptiFine jar from the official OptiFine website into your mods folder.
Fabric Loader should be any reasonably new version from the Fabric Website.