Remove torch.fx guard for pytorch < 1.13
#39
by
tms-jr
- opened
This model no longer works as of transformers 4.48.0 since is_torch_greater_or_equal_than_1_13
was removed in https://github.com/huggingface/transformers/pull/35358.
For context, I am trying to upgrade vLLM to 4.48 in this PR: https://github.com/vllm-project/vllm/pull/12120, and as an alternate solution I've also put up a PR to restore is_torch_greater_or_equal_than_1_13
here https://github.com/huggingface/transformers/pull/35734.