Rohrabacher visited Assange in August 2017, when this offer supposedly took place. [1]
Assange wasn't placed in solitary confinement, a form of torture, until 2019, after he was arrested by UK authorities.
Of course in 2017, he was being arbitrarily detained, [2] which while not torture, was a violation of his human rights, and had been ongoing since the Obama administration with no end in sight.