Closed Miyamura80 closed 5 months ago
Are you finish this problem?
No still stuck
I solved this problem by following the steps:1. sudo apt install build-essential libffi-dev
; 2. I strictly follow the dependent version in file pyproject.toml
for pip installation: "python = "^3.9"
torch = "^2.1.2"
transformers = "^4.36.2"
trl = "^0.7.9"
gymnasium = "^0.29.1"
peft = "^0.7.1"
accelerate = "^0.21.0"
bitsandbytes = "^0.40.0"
textworld = "^1.6.1"
scipy = "^1.12.0"
wandb = "^0.16.4"". Atfer this, I finish it.
Seems like a versioning issue with your transformers
installation. Please use poetry with our provided pyproject.toml
please :)
It seems my import fails, when I try and import Agent from llamagym: