databricks / dbrx

Code examples and resources for DBRX, a large language model developed by Databricks
https://www.databricks.com/
Other
2.47k stars 231 forks source link

Bump torch to 2.1.0 #22

Closed hanlint closed 3 months ago

hanlint commented 3 months ago

Our modeling_dbrx.py uses nn.LayerNorm(... bias=False) , e.g. https://huggingface.co/databricks/dbrx-instruct/blob/main/modeling_dbrx.py#L642

This was introduced in Torch 2.1 (e.g. missing from torch 2.0 docs), so bumping the minimum requirements here to torch 2.1.

hanlint commented 3 months ago

Fixes #20