hoololi commited on
Commit
aac442a
·
verified ·
1 Parent(s): 5479fc2

Delete simple_gpu.py

Browse files
Files changed (1) hide show
  1. simple_gpu.py +0 -18
simple_gpu.py DELETED
@@ -1,18 +0,0 @@
1
- # simple_gpu.py - Solution GPU minimale pour HF Spaces
2
- try:
3
- import spaces
4
- except ImportError:
5
- print("Spaces non disponible, création mock")
6
- class MockSpaces:
7
- @staticmethod
8
- def GPU(func):
9
- return func
10
- spaces = MockSpaces()
11
-
12
- @spaces.GPU
13
- def gpu_dummy_function():
14
- """Fonction dummy pour satisfaire HF Spaces GPU requirement"""
15
- return "GPU OK"
16
-
17
- # Test au chargement du module
18
- print("✅ GPU module loaded with @spaces.GPU decorator")