Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -267,7 +267,8 @@ parser.add_argument(
|
|
267 |
help="The maximum number of new generated tokens.",
|
268 |
)
|
269 |
args = parser.parse_args()
|
270 |
-
|
|
|
271 |
model = EaModel.from_pretrained(
|
272 |
base_model_path=args.base_model_path,
|
273 |
ea_model_path=args.ea_model_path,
|
|
|
267 |
help="The maximum number of new generated tokens.",
|
268 |
)
|
269 |
args = parser.parse_args()
|
270 |
+
a=torch.tensor(1).cuda()
|
271 |
+
print(a)
|
272 |
model = EaModel.from_pretrained(
|
273 |
base_model_path=args.base_model_path,
|
274 |
ea_model_path=args.ea_model_path,
|