When I try to run the examples :bash gpt/gpt2_test.sh
It fails and throws out the following errors:
File "/workspace/BMCook/examples/gpt/gpt2_test.py", line 84, in main
File "/workspace/BMCook/examples/gpt/gpt2_test.py", line 84, in main
optimizer = bmt.optim.AdamOptimizer(model.parameters(), scale=2**20)optimizer = bmt.optim.AdamOptimizer(model.parameters(), scale=2**20)
TypeErrorTypeError: : AdamOptimizer.init() got an unexpected keyword argument 'scale'AdamOptimizer.init() got an unexpected keyword argument 'scale'
The bmtrain version I use is v0.2.1
When I try to run the examples :
bash gpt/gpt2_test.shIt fails and throws out the following errors:
The
bmtrainversion I use isv0.2.1