Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to run .pt and .pth file #250

Open
pallabids opened this issue Jan 24, 2025 · 0 comments
Open

Not able to run .pt and .pth file #250

pallabids opened this issue Jan 24, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@pallabids
Copy link

pallabids commented Jan 24, 2025

Describe the bug
Modelscan tool is not scanning .pt or .pth file. it is skipping the files

modelscan -p ./scan/simple_model.pth --show-skipped
2025-01-24 08:46:27.476502: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2025-01-24 08:46:27.586308: I external/local_xla/xla/tsl/cuda/cudart_stub.cc:32] Could not find cuda drivers on your machine, GPU will not be used.
2025-01-24 08:46:28.510953: I external/local_xla/xla/tsl/cuda/cudart_stub.cc:32] Could not find cuda drivers on your machine, GPU will not be used.
2025-01-24 08:46:29.284671: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:477] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1737708390.022402 2270 cuda_dnn.cc:8310] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1737708390.239964 2270 cuda_blas.cc:1418] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2025-01-24 08:46:32.059601: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
No settings file detected at /mnt/c/Users/PallabiDas/project/scan_model/modelscan-settings.toml. Using defaults.

Scanning /mnt/c/Users/PallabiDas/project/scan_model/scan/simple_model.pth:simple_model/data.pkl using modelscan.scanners.PickleUnsafeOpScan model scan

--- Summary ---

No issues found! 🎉

--- Skipped ---

Total skipped: 7 - run with --show-skipped to see the full list.

Skipped files list:

The following file /mnt/c/Users/PallabiDas/project/scan_model/scan/simple_model.pth:simple_model/byteorder was skipped during a ModelScan scan:
Model Scan did not scan file

Expected behavior
It should scan pt files and generate a report

Environment (please complete the following information):

  • wsl Windows 11, version 24H2
  • Modelscan Version 0.8.3
@pallabids pallabids added the bug Something isn't working label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant