ariG23498 HF Staff commited on
Commit
a875f4c
·
verified ·
1 Parent(s): 5b2bf68

Upload QuantStack_Wan2.2-I2V-A14B-GGUF_0.py with huggingface_hub

Browse files
QuantStack_Wan2.2-I2V-A14B-GGUF_0.py ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # /// script
2
+ # requires-python = ">=3.12"
3
+ # dependencies = [
4
+ # "transformers",
5
+ # "torch",
6
+ # ]
7
+ # ///
8
+
9
+ try:
10
+ # integration status unknown.
11
+
12
+ # Please clone model and use locally.
13
+
14
+ # Also feel free to open a Pull request
15
+ # for integration of the huggingface model hub
16
+ # into the corresponding library =)
17
+ with open('QuantStack_Wan2.2-I2V-A14B-GGUF_0.txt', 'w') as f:
18
+ f.write('Everything was good in QuantStack_Wan2.2-I2V-A14B-GGUF_0.txt')
19
+ except Exception as e:
20
+ with open('QuantStack_Wan2.2-I2V-A14B-GGUF_0.txt', 'w') as f:
21
+ import traceback
22
+ traceback.print_exc(file=f)
23
+ finally:
24
+ from huggingface_hub import upload_file
25
+ upload_file(
26
+ path_or_fileobj='QuantStack_Wan2.2-I2V-A14B-GGUF_0.txt',
27
+ repo_id='model-metadata/custom_code_execution_files',
28
+ path_in_repo='QuantStack_Wan2.2-I2V-A14B-GGUF_0.txt',
29
+ repo_type='dataset',
30
+ )