Spaces:
Sleeping
Sleeping
John Ho
commited on
Commit
·
2a081a5
1
Parent(s):
337f66f
added changelog
Browse files
README.md
CHANGED
@@ -10,4 +10,19 @@ pinned: true
|
|
10 |
license: apache-2.0
|
11 |
---
|
12 |
|
13 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
license: apache-2.0
|
11 |
---
|
12 |
|
13 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
14 |
+
|
15 |
+
# Changelog
|
16 |
+
this is clone of the original space by [gokaygokay](https://huggingface.co/spaces/gokaygokay/Florence-2),
|
17 |
+
the following changes where made:
|
18 |
+
|
19 |
+
* pinning `torch==2.40` in the requirements because of the
|
20 |
+
[`ModuleNotFoundError: No module named 'flash_attn_2_cuda'` error](https://huggingface.co/gokaygokay/Florence-2-Flux/discussions/2)
|
21 |
+
* pinning `transformers==4.45.0` in the requirements because of the
|
22 |
+
`OSError: Unable to load weights from pytorch checkpoint file. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.`
|
23 |
+
error, [this github issue](https://github.com/huggingface/transformers/issues/4336#issuecomment-2692630348)
|
24 |
+
recommends the pinning of transformer but
|
25 |
+
[this recommendation](https://github.com/huggingface/transformers/issues/6159#issuecomment-849844030)
|
26 |
+
seems to be more future proved.
|
27 |
+
* added `pydantic==2.10.6` to the requirements to fix the
|
28 |
+
`Error: No API Found` message in gradio based on [this suggestion](https://discuss.huggingface.co/t/error-no-api-found/146226/8)
|