गाइड से जुड़ी प्रश्नोत्तरी · मध्यम स्तर
एमएल प्रश्नोत्तरी के लिए Python निर्भरता प्रबंधन
वर्चुअल वातावरण, लॉकफ़ाइल्स, पैकेज-मैनेजर भूमिकाओं को समझें और लक्ष्य प्लेटफ़ॉर्म पर GPU व्हील चयन का परीक्षण क्यों किया जाना चाहिए।
प्रश्न 1 का 8
आभासी वातावरण मुख्य रूप से क्या प्रदान करता है?
प्रत्येक प्रश्न का पूर्वावलोकन करें8 प्रश्न
जैसे ही आप प्रश्नोत्तरी लेते हैं उत्तर और स्पष्टीकरण दिखाई देते हैं।
- आभासी वातावरण मुख्य रूप से क्या प्रदान करता है?
- Isolation of project packages from other Python environments
- A compatible host GPU driver
- A guarantee of deterministic training
- A lock on external datasets
- लॉकफ़ाइल आम तौर पर निर्भरता मैनिफ़ेस्ट से परे क्या जोड़ता है?
- A copy of the training dataset
- A concrete resolved dependency set
- A host kernel driver
- A guarantee every wheel exists forever
- एक सामान्य फ्रेमवर्क इंस्टॉल कमांड अनुपयुक्त जीपीयू बिल्ड क्यों चुन सकता है?
- Every machine has the same runtime libraries
- Python packaging always ignores CUDA versions
- Wheel variants depend on platform and accelerator compatibility
- A lockfile sets host driver versions
- एक स्वच्छ सीआई इंस्टालेशन किस चीज़ का पता लगाने में मदद करता है?
- All package vulnerabilities permanently
- A model's causal validity
- Future GPU availability
- Undeclared dependencies available only on a developer machine
- Python लॉकफ़ाइल आमतौर पर किस परत को नियंत्रित नहीं करती है?
- Transitive Python package versions
- The host NVIDIA kernel driver
- Some platform package markers
- Resolved package hashes when supported
- What should a team do when supporting both CPU and GPU installations?
- Store the driver inside requirements.txt
- Assume one wheel works identically on every platform
- Test each supported environment and document package constraints
- Avoid recording the framework version
- Why use package hashes where appropriate?
- They make dependency updates automatic
- They force every package to use a GPU
- They provide model accuracy estimates
- They help verify downloaded artifacts match expected content
- What does repeatable package resolution not guarantee by itself?
- Bitwise-identical training across hardware and data pipelines
- A recorded dependency graph
- A clean project environment
- A tested installation procedure