bizydraft 0.2.26__py3-none-any.whl → 0.2.28__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of bizydraft might be problematic. Click here for more details.

@@ -13,3 +13,9 @@ def prestartup_patch():
13
13
  import huggingface_hub
14
14
 
15
15
  huggingface_hub.hf_hub_download = empty_download
16
+
17
+ if not torch.cuda.is_available():
18
+ logger.warning("CUDA is NOT available")
19
+ torch.cuda.current_device = lambda: 0
20
+ torch.cuda.device_count = lambda: 1
21
+ torch.cuda.get_device_name = lambda x=0: "Fake CUDA Device"
@@ -0,0 +1,8 @@
1
+ Metadata-Version: 2.4
2
+ Name: bizydraft
3
+ Version: 0.2.28
4
+ Summary: bizydraft
5
+ Requires-Dist: loguru
6
+ Requires-Dist: aiohttp
7
+ Requires-Dist: werkzeug
8
+ Requires-Dist: oss2
@@ -6,7 +6,7 @@ bizydraft/hijack_routes.py,sha256=lf6x3xDzbo9yQIRwfG_1oxcUNfrX_1ogbiff3WOV9gM,32
6
6
  bizydraft/oss_utils.py,sha256=W3-Td6K4vrB83oMowN82c3nmQ3IrEoR1UX6S8AvO6ig,7896
7
7
  bizydraft/patch_handlers.py,sha256=WPf4xeV5sBpoJ2MkHHhx0wem7B0KQNuhONElN7c9v3g,5989
8
8
  bizydraft/postload.py,sha256=XFElKcmCajT_oO7SVJJBaN04XcWro54N5HB5cSCxfvI,1308
9
- bizydraft/prestartup_patch.py,sha256=Rh_D-rEUmPaojSrl8CEBMAhSgwtLSm6gH2Mzmk5NCuQ,316
9
+ bizydraft/prestartup_patch.py,sha256=sNXzispEYlR5u3yJvL7H1Z9otyx50_iRFNNWU0p7K4g,561
10
10
  bizydraft/resp.py,sha256=8INvKOe5Dgai3peKfqKjrhUoYeuXWXn358w30-_cY-A,369
11
11
  bizydraft/server.py,sha256=L2zoJgOisr65IRphOyko74AdsLel59gh55peyMaUrO8,2102
12
12
  bizydraft/workflow_io.py,sha256=MYhJbpgkv8hrA5k_aolijOTrWpTtu62nzRznA4hv8JE,4298
@@ -22,7 +22,7 @@ bizydraft/static/js/postEvent.js,sha256=5rafG9GjaesxmFD_8eSJQYHeSNWfOG3iWXLUPuaR
22
22
  bizydraft/static/js/socket.js,sha256=VE3fTAgEfM0FZhL526Skt7OCRokOa3mzTCAjAomI_tE,2432
23
23
  bizydraft/static/js/tool.js,sha256=dwVFLrT0pEsdOBkh2RRUDvyVo8GzOIVYg7vU5RiM0m0,2765
24
24
  bizydraft/static/js/uploadFile.js,sha256=WvglKzHMeOzDhOH3P-fLcPHxCLbKOJpo4DntoRxeJtI,4908
25
- bizydraft-0.2.26.dist-info/METADATA,sha256=QkS_329GYoLLEhpnwtAQmd3f2oqxx7RQkmknEUzemu4,73
26
- bizydraft-0.2.26.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
- bizydraft-0.2.26.dist-info/top_level.txt,sha256=XtoBq6hjZhXIM7aas4GtPDtAiKo8FdLzMABXW8qqQ8M,10
28
- bizydraft-0.2.26.dist-info/RECORD,,
25
+ bizydraft-0.2.28.dist-info/METADATA,sha256=cgI53RQPzmsgr6QdOcUDMwKsu8myxXTb580A2Cd129w,162
26
+ bizydraft-0.2.28.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
+ bizydraft-0.2.28.dist-info/top_level.txt,sha256=XtoBq6hjZhXIM7aas4GtPDtAiKo8FdLzMABXW8qqQ8M,10
28
+ bizydraft-0.2.28.dist-info/RECORD,,
@@ -1,4 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: bizydraft
3
- Version: 0.2.26
4
- Summary: bizydraft