mirror of
https://github.com/bigscience-workshop/petals
synced 2024-11-18 03:25:33 +00:00
fix use_auth_token
This commit is contained in:
parent
6e3db6bed6
commit
775f5b25cb
@ -132,7 +132,7 @@ class Server(threading.Thread):
|
||||
assert num_blocks is not None
|
||||
block_indices = range(num_blocks) # TODO replace with proper load balancing
|
||||
|
||||
block_config = DistributedBloomConfig.from_pretrained(converted_model_name_or_path, use_auth_token=True)
|
||||
block_config = DistributedBloomConfig.from_pretrained(converted_model_name_or_path, use_auth_token=use_auth_token)
|
||||
|
||||
# initialize modules
|
||||
blocks = {}
|
||||
|
Loading…
Reference in New Issue
Block a user