The screening for the movie took place in November where members of the press and award voters were present. The screening was held in New York. They were impressed with his performance and so he got nominated.
For more details see this Vanity Fair article.