Training in progress, step 500
Browse files- adapter_config.json +5 -5
- adapter_model.safetensors +1 -1
- language_service.8096406fb6d8.root.log.INFO.20240805-122034.4270 +7 -0
- language_service.INFO +7 -0
- runs/Aug05_12-31-46_8096406fb6d8/events.out.tfevents.1722861112.8096406fb6d8.7300.0 +3 -0
- tmp4ugedcwg/__pycache__/_remote_module_non_scriptable.cpython-310.pyc +0 -0
- tmp4ugedcwg/_remote_module_non_scriptable.py +81 -0
- training_args.bin +1 -1
adapter_config.json
CHANGED
@@ -20,13 +20,13 @@
|
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
23 |
-
"q_proj",
|
24 |
-
"v_proj",
|
25 |
-
"up_proj",
|
26 |
-
"down_proj",
|
27 |
"gate_proj",
|
|
|
|
|
28 |
"k_proj",
|
29 |
-
"
|
|
|
|
|
30 |
],
|
31 |
"task_type": "CAUSAL_LM",
|
32 |
"use_dora": false,
|
|
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
|
|
|
|
|
|
|
|
23 |
"gate_proj",
|
24 |
+
"v_proj",
|
25 |
+
"o_proj",
|
26 |
"k_proj",
|
27 |
+
"down_proj",
|
28 |
+
"up_proj",
|
29 |
+
"q_proj"
|
30 |
],
|
31 |
"task_type": "CAUSAL_LM",
|
32 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1342238560
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a319813dec1eb33d84460d7a6b0203722a9068bb538ad8c6e0666533704442f
|
3 |
size 1342238560
|
language_service.8096406fb6d8.root.log.INFO.20240805-122034.4270
CHANGED
@@ -51,3 +51,10 @@ I0805 12:27:14.300485 65 ls.go:1241] cancel was requested for: 52, needs to
|
|
51 |
I0805 12:27:14.477490 65 ls.go:1241] cancel was requested for: 54, needs to be canceled: false
|
52 |
I0805 12:27:14.810338 65 ls.go:1241] cancel was requested for: 56, needs to be canceled: false
|
53 |
I0805 12:27:15.618393 65 ls.go:1241] cancel was requested for: 57, needs to be canceled: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
I0805 12:27:14.477490 65 ls.go:1241] cancel was requested for: 54, needs to be canceled: false
|
52 |
I0805 12:27:14.810338 65 ls.go:1241] cancel was requested for: 56, needs to be canceled: false
|
53 |
I0805 12:27:15.618393 65 ls.go:1241] cancel was requested for: 57, needs to be canceled: false
|
54 |
+
I0805 12:32:32.426373 65 ls.go:1241] cancel was requested for: 72, needs to be canceled: false
|
55 |
+
I0805 12:32:38.016865 65 ls.go:1241] cancel was requested for: 73, needs to be canceled: false
|
56 |
+
I0805 12:32:38.481001 65 ls.go:1241] cancel was requested for: 74, needs to be canceled: false
|
57 |
+
I0805 12:32:39.175366 65 ls.go:1241] cancel was requested for: 75, needs to be canceled: false
|
58 |
+
I0805 12:32:53.967976 65 ls.go:1241] cancel was requested for: 78, needs to be canceled: false
|
59 |
+
I0805 12:35:13.458373 65 ls.go:1241] cancel was requested for: 79, needs to be canceled: false
|
60 |
+
I0805 12:48:54.185585 65 ls.go:1241] cancel was requested for: 80, needs to be canceled: false
|
language_service.INFO
CHANGED
@@ -51,3 +51,10 @@ I0805 12:27:14.300485 65 ls.go:1241] cancel was requested for: 52, needs to
|
|
51 |
I0805 12:27:14.477490 65 ls.go:1241] cancel was requested for: 54, needs to be canceled: false
|
52 |
I0805 12:27:14.810338 65 ls.go:1241] cancel was requested for: 56, needs to be canceled: false
|
53 |
I0805 12:27:15.618393 65 ls.go:1241] cancel was requested for: 57, needs to be canceled: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
I0805 12:27:14.477490 65 ls.go:1241] cancel was requested for: 54, needs to be canceled: false
|
52 |
I0805 12:27:14.810338 65 ls.go:1241] cancel was requested for: 56, needs to be canceled: false
|
53 |
I0805 12:27:15.618393 65 ls.go:1241] cancel was requested for: 57, needs to be canceled: false
|
54 |
+
I0805 12:32:32.426373 65 ls.go:1241] cancel was requested for: 72, needs to be canceled: false
|
55 |
+
I0805 12:32:38.016865 65 ls.go:1241] cancel was requested for: 73, needs to be canceled: false
|
56 |
+
I0805 12:32:38.481001 65 ls.go:1241] cancel was requested for: 74, needs to be canceled: false
|
57 |
+
I0805 12:32:39.175366 65 ls.go:1241] cancel was requested for: 75, needs to be canceled: false
|
58 |
+
I0805 12:32:53.967976 65 ls.go:1241] cancel was requested for: 78, needs to be canceled: false
|
59 |
+
I0805 12:35:13.458373 65 ls.go:1241] cancel was requested for: 79, needs to be canceled: false
|
60 |
+
I0805 12:48:54.185585 65 ls.go:1241] cancel was requested for: 80, needs to be canceled: false
|
runs/Aug05_12-31-46_8096406fb6d8/events.out.tfevents.1722861112.8096406fb6d8.7300.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:48c09a95160e4e1709131b44b04c67d31562180005d2968bddc96ee3658e3ae8
|
3 |
+
size 6160
|
tmp4ugedcwg/__pycache__/_remote_module_non_scriptable.cpython-310.pyc
ADDED
Binary file (1.5 kB). View file
|
|
tmp4ugedcwg/_remote_module_non_scriptable.py
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import *
|
2 |
+
|
3 |
+
import torch
|
4 |
+
import torch.distributed.rpc as rpc
|
5 |
+
from torch import Tensor
|
6 |
+
from torch._jit_internal import Future
|
7 |
+
from torch.distributed.rpc import RRef
|
8 |
+
from typing import Tuple # pyre-ignore: unused import
|
9 |
+
|
10 |
+
|
11 |
+
module_interface_cls = None
|
12 |
+
|
13 |
+
|
14 |
+
def forward_async(self, *args, **kwargs):
|
15 |
+
args = (self.module_rref, self.device, self.is_device_map_set, *args)
|
16 |
+
kwargs = {**kwargs}
|
17 |
+
return rpc.rpc_async(
|
18 |
+
self.module_rref.owner(),
|
19 |
+
_remote_forward,
|
20 |
+
args,
|
21 |
+
kwargs,
|
22 |
+
)
|
23 |
+
|
24 |
+
|
25 |
+
def forward(self, *args, **kwargs):
|
26 |
+
args = (self.module_rref, self.device, self.is_device_map_set, *args)
|
27 |
+
kwargs = {**kwargs}
|
28 |
+
ret_fut = rpc.rpc_async(
|
29 |
+
self.module_rref.owner(),
|
30 |
+
_remote_forward,
|
31 |
+
args,
|
32 |
+
kwargs,
|
33 |
+
)
|
34 |
+
return ret_fut.wait()
|
35 |
+
|
36 |
+
|
37 |
+
_generated_methods = [
|
38 |
+
forward_async,
|
39 |
+
forward,
|
40 |
+
]
|
41 |
+
|
42 |
+
|
43 |
+
|
44 |
+
|
45 |
+
def _remote_forward(
|
46 |
+
module_rref: RRef[module_interface_cls], device: str, is_device_map_set: bool, *args, **kwargs):
|
47 |
+
module = module_rref.local_value()
|
48 |
+
device = torch.device(device)
|
49 |
+
|
50 |
+
if device.type != "cuda":
|
51 |
+
return module.forward(*args, **kwargs)
|
52 |
+
|
53 |
+
# If the module is on a cuda device,
|
54 |
+
# move any CPU tensor in args or kwargs to the same cuda device.
|
55 |
+
# Since torch script does not support generator expression,
|
56 |
+
# have to use concatenation instead of
|
57 |
+
# ``tuple(i.to(device) if isinstance(i, Tensor) else i for i in *args)``.
|
58 |
+
args = (*args,)
|
59 |
+
out_args: Tuple[()] = ()
|
60 |
+
for arg in args:
|
61 |
+
arg = (arg.to(device),) if isinstance(arg, Tensor) else (arg,)
|
62 |
+
out_args = out_args + arg
|
63 |
+
|
64 |
+
kwargs = {**kwargs}
|
65 |
+
for k, v in kwargs.items():
|
66 |
+
if isinstance(v, Tensor):
|
67 |
+
kwargs[k] = kwargs[k].to(device)
|
68 |
+
|
69 |
+
if is_device_map_set:
|
70 |
+
return module.forward(*out_args, **kwargs)
|
71 |
+
|
72 |
+
# If the device map is empty, then only CPU tensors are allowed to send over wire,
|
73 |
+
# so have to move any GPU tensor to CPU in the output.
|
74 |
+
# Since torch script does not support generator expression,
|
75 |
+
# have to use concatenation instead of
|
76 |
+
# ``tuple(i.cpu() if isinstance(i, Tensor) else i for i in module.forward(*out_args, **kwargs))``.
|
77 |
+
ret: Tuple[()] = ()
|
78 |
+
for i in module.forward(*out_args, **kwargs):
|
79 |
+
i = (i.cpu(),) if isinstance(i, Tensor) else (i,)
|
80 |
+
ret = ret + i
|
81 |
+
return ret
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5432
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d31a2b1b9cd6270e505123447098c3a9936da8c8b084de21f4a20859c486d6a
|
3 |
size 5432
|