NBA

Knicks work out Rasheed after passing on T-Mac

The Knicks are no longer considering Tracy McGrady but now are taking a look at retired Rasheed Wallace.

The Post confirmed the 6-foot-11 Wallace worked out with Knicks players at their Greenburgh, N.Y., facility Saturday during voluntary workouts.

Wallace, 38, retired after the 2009-10 season with the Celtics. The ref-baiting power forward won a title under Larry Brown in Detroit in 2004 and is a defensive specialist.

The connection is clear. Wallace and assistant general manager Allan Houston share the same agent, Bill Strickland.

Wallace seems redundant with the Knicks’ two-headed center tandem of Tyson Chandler and Marcus Camby, plus Kurt Thomas. The Knicks, however, feel they have nothing to lose if they invite him to camp with a partial guarantee.

Although the Knicks worked out McGrady last week, the 33-year-old is no longer being considered, according to NBA sources. Training camp opens in one week and the Knicks have 19 invitees.