Spaces:
Runtime error
Runtime error
Ubuntu
commited on
Commit
Β·
a5f5226
1
Parent(s):
7935b1e
deleted nohup
Browse files
__pycache__/InstructionTextGenerationPipeline.cpython-37.pyc
DELETED
Binary file (2.89 kB)
|
|
nohup.out
CHANGED
@@ -1,56 +1,51 @@
|
|
1 |
-
sys.path : ['/home/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
Cell imports done
|
4 |
|
5 |
Cell start generate
|
6 |
You are using config.init_device='cpu', but you can also use config.init_device="meta" with Composer + FSDP for fast initialization.
|
7 |
Traceback (most recent call last):
|
8 |
-
File "app.py", line
|
9 |
-
|
10 |
-
File "/home/
|
11 |
-
|
12 |
-
File "/home/
|
13 |
-
|
14 |
-
File "/home/
|
15 |
model = cls(config, *model_args, **model_kwargs)
|
16 |
-
File "/home/
|
17 |
self.transformer = MPTModel(config)
|
18 |
-
File "/home/
|
19 |
self.apply(self.param_init_fn)
|
20 |
-
File "/home/
|
21 |
module.apply(fn)
|
22 |
-
File "/home/
|
23 |
module.apply(fn)
|
24 |
-
File "/home/
|
25 |
module.apply(fn)
|
26 |
[Previous line repeated 1 more time]
|
27 |
-
File "/home/
|
28 |
fn(self)
|
29 |
-
File "/home/
|
30 |
MODEL_INIT_REGISTRY[init_fn_name](module=module, n_layers=self.config.n_layers, d_model=self.config.d_model, **self.config.init_config)
|
31 |
-
File "/home/
|
32 |
generic_param_init_fn_(module=module, init_fn_=kaiming_normal_, d_model=d_model, n_layers=n_layers, init_div_is_residual=init_div_is_residual, emb_init_std=emb_init_std, emb_init_uniform_lim=emb_init_uniform_lim, verbose=verbose)
|
33 |
-
File "/home/
|
34 |
-
|
35 |
-
File "/home/
|
|
|
|
|
36 |
return tensor.normal_(0, std)
|
37 |
KeyboardInterrupt
|
38 |
-
sys.path : ['/home/ec2-user/Gradio/MPT7BTest', '/usr/lib64/python37.zip', '/usr/lib64/python3.7', '/usr/lib64/python3.7/lib-dynload', '/home/ec2-user/.local/lib/python3.7/site-packages', '/usr/lib64/python3.7/site-packages', '/usr/lib/python3.7/site-packages', '/home/ec2-user/workspace/Notebooks/lib']
|
39 |
-
|
40 |
-
Cell imports done
|
41 |
-
|
42 |
-
Cell start generate
|
43 |
-
|
44 |
-
|
45 |
-
During handling of the above exception, another exception occurred:
|
46 |
-
|
47 |
-
Traceback (most recent call last):
|
48 |
-
File "app.py", line 68, in <module>
|
49 |
-
trust_remote_code=True,
|
50 |
-
File "/home/ec2-user/Gradio/MPT7BTest/InstructionTextGenerationPipeline.py", line 44, in __init__
|
51 |
-
use_auth_token=use_auth_token,
|
52 |
-
File "/home/ec2-user/.local/lib/python3.7/site-packages/transformers/models/auto/auto_factory.py", line 463, in from_pretrained
|
53 |
-
pretrained_model_name_or_path, *model_args, config=config, **hub_kwargs, **kwargs
|
54 |
-
File "/home/ec2-user/.local/lib/python3.7/site-packages/transformers/modeling_utils.py", line 2611, in from_pretrained
|
55 |
-
model = cls(config, *model_args, **model_kwargs)
|
56 |
-
KeyboardInterrupt
|
|
|
1 |
+
sys.path : ['/home/ubuntu/Gradio/MPT7BTest', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/home/ubuntu/.local/lib/python3.10/site-packages', '/usr/local/lib/python3.10/dist-packages', '/usr/lib/python3/dist-packages', '/home/ec2-user/workspace/Notebooks/lib']
|
2 |
+
|
3 |
+
Cell imports done
|
4 |
+
|
5 |
+
Cell start generate
|
6 |
+
You are using config.init_device='cpu', but you can also use config.init_device="meta" with Composer + FSDP for fast initialization.
|
7 |
+
|
8 |
+
|
9 |
+
Cell imports done
|
10 |
+
|
11 |
+
Cell start generate
|
12 |
+
You are using config.init_device='cpu', but you can also use config.init_device="meta" with Composer + FSDP for fast initialization.
|
13 |
+
|
14 |
|
15 |
Cell imports done
|
16 |
|
17 |
Cell start generate
|
18 |
You are using config.init_device='cpu', but you can also use config.init_device="meta" with Composer + FSDP for fast initialization.
|
19 |
Traceback (most recent call last):
|
20 |
+
File "/home/ubuntu/Gradio/MPT7BTest/app.py", line 65, in <module>
|
21 |
+
generate = InstructionTextGenerationPipeline(
|
22 |
+
File "/home/ubuntu/Gradio/MPT7BTest/InstructionTextGenerationPipeline.py", line 40, in __init__
|
23 |
+
self.model = AutoModelForCausalLM.from_pretrained(
|
24 |
+
File "/home/ubuntu/.local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 479, in from_pretrained
|
25 |
+
return model_class.from_pretrained(
|
26 |
+
File "/home/ubuntu/.local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 2675, in from_pretrained
|
27 |
model = cls(config, *model_args, **model_kwargs)
|
28 |
+
File "/home/ubuntu/.cache/huggingface/modules/transformers_modules/mosaicml/mpt-7b-instruct/e7119f37956c1a3865da33e25ef5ce9159ff2c16/modeling_mpt.py", line 222, in __init__
|
29 |
self.transformer = MPTModel(config)
|
30 |
+
File "/home/ubuntu/.cache/huggingface/modules/transformers_modules/mosaicml/mpt-7b-instruct/e7119f37956c1a3865da33e25ef5ce9159ff2c16/modeling_mpt.py", line 55, in __init__
|
31 |
self.apply(self.param_init_fn)
|
32 |
+
File "/home/ubuntu/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 884, in apply
|
33 |
module.apply(fn)
|
34 |
+
File "/home/ubuntu/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 884, in apply
|
35 |
module.apply(fn)
|
36 |
+
File "/home/ubuntu/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 884, in apply
|
37 |
module.apply(fn)
|
38 |
[Previous line repeated 1 more time]
|
39 |
+
File "/home/ubuntu/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 885, in apply
|
40 |
fn(self)
|
41 |
+
File "/home/ubuntu/.cache/huggingface/modules/transformers_modules/mosaicml/mpt-7b-instruct/e7119f37956c1a3865da33e25ef5ce9159ff2c16/modeling_mpt.py", line 208, in param_init_fn
|
42 |
MODEL_INIT_REGISTRY[init_fn_name](module=module, n_layers=self.config.n_layers, d_model=self.config.d_model, **self.config.init_config)
|
43 |
+
File "/home/ubuntu/.cache/huggingface/modules/transformers_modules/mosaicml/mpt-7b-instruct/e7119f37956c1a3865da33e25ef5ce9159ff2c16/param_init_fns.py", line 167, in kaiming_normal_param_init_fn_
|
44 |
generic_param_init_fn_(module=module, init_fn_=kaiming_normal_, d_model=d_model, n_layers=n_layers, init_div_is_residual=init_div_is_residual, emb_init_std=emb_init_std, emb_init_uniform_lim=emb_init_uniform_lim, verbose=verbose)
|
45 |
+
File "/home/ubuntu/.cache/huggingface/modules/transformers_modules/mosaicml/mpt-7b-instruct/e7119f37956c1a3865da33e25ef5ce9159ff2c16/param_init_fns.py", line 49, in generic_param_init_fn_
|
46 |
+
fused_init_helper_(module, init_fn_)
|
47 |
+
File "/home/ubuntu/.cache/huggingface/modules/transformers_modules/mosaicml/mpt-7b-instruct/e7119f37956c1a3865da33e25ef5ce9159ff2c16/param_init_fns.py", line 26, in fused_init_helper_
|
48 |
+
init_fn_(module.weight[slice_indices])
|
49 |
+
File "/home/ubuntu/.local/lib/python3.10/site-packages/torch/nn/init.py", line 451, in kaiming_normal_
|
50 |
return tensor.normal_(0, std)
|
51 |
KeyboardInterrupt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|