Some definitions consider that any assumption that a person's behavior would be influenced by their racial categorization is inherently racist, regardless of whether the action is intentionally harmful or pejorative, because stereotyping necessarily subordinates individual identity to group identity.
Some people disagree with you.
Subsets of academia focused on "critical race theory" might try to redefine "racism" to suite their specific agenda, but I'm content with the dictionary definition:
"the belief that all members of each race possess characteristics or abilities specific to that race, especially so as to distinguish it as inferior or superior to another race or races."
If you're interested in arguing against that, do so. Posting definitions of words from dictionaries is the height of pedantic laziness in non sequitur form (unless the argument is actually about what the dictionary definition of a word is, of course).