Yoga and Vedanta are the two largest surviving schools of Hindu traditions. They share many thematic principles, concepts and belief in self/soul, but diverge in degree, style and some of their methods. Epistemologically, Yoga school accepts three means to reliable knowledge, while Advaita Vedanta accepts six ways. Yoga disputes the monism of Advaita Vedanta. Yoga school believes that in the state of moksha, each individual discovers the blissful, liberating sense of himself or herself as an independent identity; Advaita Vedanta, in contrast, believes that in the state of moksha, each individual discovers the blissful, liberating sense of himself or herself as part of Oneness with everything, everyone and the Universal Self. They both hold that the free conscience is aloof yet transcendent, liberated and self-aware. Further, Advaita Vedanta school enjoins the use of Patanjali's yoga practices and the reading of Upanishads for those seeking the supreme good, ultimate freedom and jivanmukti.
During the Gupta period (4th to 5th centuries), a movement of northern Mahāyāna Buddhism termed Yogācāra began to be systematized with the writings of the Buddhist scholars Asanga and Vasubandhu. Yogācāra Buddhism received the name as it provided a "yoga," a systematic framework for engaging in the practices that lead through the path of the bodhisattva towards awakening and full Buddhahood. Its teachings can be found in the comprehensive and encyclopedic work, the Yogācārabhūmi-Śāstra (Treatise on the Foundation for Yoga Practitioners), which was also translated into Tibetan and Chinese and thus exerted a profound influence on the East Asian Buddhist and Tibetan Buddhist traditions. According to Mallinson and Singleton, the study of Yogācāra Buddhism is essential for the understanding of yoga's early history, and its teachings influenced the text of the Pātañjalayogaśāstra.
Classical yoga incorporates epistemology, metaphysics, ethical practices, systematic exercises and self-development techniques for body, mind and spirit. Its epistemology (pramana) and metaphysics is similar to that of the Sāṅkhya school. The metaphysics of Classical Yoga, like Sāṅkhya, is mainly dualistic, positing that there are two distinct realities. These are prakriti (nature), which is the eternal and active unconscious source of the material world and is composed of three gunas, and the puruṣas (persons), the plural consciousnesses which are the intelligent principles of the world, and are multiple, inactive and eternal witnesses. Each person has a individual puruṣa, which is their true self, the witness and the enjoyer, and that which is liberated. This metaphysical system holds that puruṣas undergo cycles of reincarnation through its interaction and identification with prakirti. Liberation, the goal of this system, results from the isolation (kaivalya) of puruṣa from prakirti, and is achieved through a meditation which detaches oneself from the different forms (tattvas) of prakirti. This is done by stilling one's thought waves (citta vritti) and resting in pure awareness of puruṣa.
Ascetic practices (tapas), concentration and bodily postures used by Vedic priests to conduct yajna (sacrifice), might have been precursors to yoga.[note 9] Vratya, a group of ascetics mentioned in the Atharvaveda, emphasized on bodily postures which may have evolved into yogic asanas. Early Samhitas also contain references to other group ascetics such as munis, the keśin, and vratyas. Techniques for controlling breath and vital energies are mentioned in the Brahmanas (texts of the Vedic corpus, c. 1000–800 BCE) and the Atharvaveda. Nasadiya Sukta of the Rig Veda suggests the presence of an early contemplative tradition.[note 10]
The tantra yoga practices include asanas and breathing exercises. The Nyingma tradition practices Yantra yoga (Tib. "Trul khor"), a discipline that includes breath work (or pranayama), meditative contemplation and other exercises. In the Nyingma tradition, the path of meditation practice is divided into further stages, such as Kriya yoga, Upa yoga, Yoga yana, Mahā yoga, Anu yoga and Ati yoga. The Sarma traditions also include Kriya, Upa (called "Charya"), and Yoga, with the Anuttara yoga class substituting for Mahayoga and Atiyoga.