docs: add model class verification to test output
This commit is contained in:
@@ -303,7 +303,9 @@ def test_strategy_6():
|
|||||||
trust_remote_code=True,
|
trust_remote_code=True,
|
||||||
low_cpu_mem_usage=True,
|
low_cpu_mem_usage=True,
|
||||||
)
|
)
|
||||||
print(" ✓ Model loaded to CPU with BnB 4-bit (~17.5GB)")
|
print(f" ✓ Model loaded: {type(model).__name__}")
|
||||||
|
print(f" ✓ Model class: {model.__class__.__name__}")
|
||||||
|
print(f" ✓ Model loaded to CPU with BnB 4-bit (~17.5GB)")
|
||||||
|
|
||||||
# Check CPU memory
|
# Check CPU memory
|
||||||
import psutil
|
import psutil
|
||||||
|
|||||||
Reference in New Issue
Block a user