Should I stop saying hi to him?

So there's this guy that lives in my building, he introduced himself to me at the beginning of the year, and we've talked a few times since then. Occasionally when we see each he'll say hi. Whenever we see each other in the dorm, about 50% of the time I'll smile and say hi to him, and a lot of the time he won't even respond and will just keep walking, and if I don't say hi he'll usually look away when we pass each other. Should I stop saying hi to him, because whenever that happens, I just feel like I'm being annoying
Should I stop saying hi to him?
Post Opinion