I. Determine the maximum tolerated dose of flavopiridol in patients with metastatic or unresectable refractory solid tumors or hematologic malignancies. (Accrual for patients with hematologic malignancies temporarily closed as of 11/30/04)