Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
595f871
1
Parent(s):
6221fb7
refactor: remove commented-out flashinfer-python URL and clean up imports
Browse files- generate_summaries_uv.py +1 -2
generate_summaries_uv.py
CHANGED
|
@@ -13,8 +13,6 @@
|
|
| 13 |
# "flashinfer-python",
|
| 14 |
# ]
|
| 15 |
#
|
| 16 |
-
# [[tool.uv.index]]
|
| 17 |
-
# url = "https://flashinfer.ai/whl/cu126/torch2.6"
|
| 18 |
# ///
|
| 19 |
import argparse
|
| 20 |
import logging
|
|
@@ -43,6 +41,7 @@ logger = logging.getLogger(__name__)
|
|
| 43 |
|
| 44 |
# log cuda version
|
| 45 |
import torch
|
|
|
|
| 46 |
if torch.cuda.is_available():
|
| 47 |
logger.info(f"CUDA version: {torch.version.cuda}")
|
| 48 |
logger.info(f"CUDA device: {torch.cuda.get_device_name(0)}")
|
|
|
|
| 13 |
# "flashinfer-python",
|
| 14 |
# ]
|
| 15 |
#
|
|
|
|
|
|
|
| 16 |
# ///
|
| 17 |
import argparse
|
| 18 |
import logging
|
|
|
|
| 41 |
|
| 42 |
# log cuda version
|
| 43 |
import torch
|
| 44 |
+
|
| 45 |
if torch.cuda.is_available():
|
| 46 |
logger.info(f"CUDA version: {torch.version.cuda}")
|
| 47 |
logger.info(f"CUDA device: {torch.cuda.get_device_name(0)}")
|