Preheat oven to 350 degrees.
Beat cream cheese and butter at medium speed until creamy.
Gradually add sugar, beating until light and fluffy.
Add eggs one at a time, beating just until yellow disappears.
Add sweet potatoes and beat well.
Stir together flour, next three ingredients and if desired allspice, in a medium bowl.
Gradually add flour mixture to butter mixture, beating at low speed just until blended after each addition.
Stir in vanilla.
Spoon batter into a greased and floured 10-inch tube pan!
Bake at 350 degrees for 1 hour and 10 minutes or until a long thin chopstick inserted in center comes out clean.
Cool in pan 10 minutes.
Remove from pan and cool for 1 hour or until completely cool!