The present disclosure describes thiazole and pyridine carboxamide derivatives, their compositions and methods of use. The compounds inhibit the activity of the Pim kinases and are useful in the treatment of diseases related to the activity of Pim kinases including, e.g., cancer and other diseases.本揭示案描述噻唑甲醯胺衍生物及吡啶甲醯胺衍生物、其組合物及使用方法。該等化合物抑制Pim激酶之活性且適用於治療與Pim激酶之活性有關的疾病,該等疾病包括例如癌症及其它疾病。